Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-19 23:59:04.454195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_36_10354.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_45_9427.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_28_06_10343.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_15_9322.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_26_10361.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_36_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_36_10354.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_45_9427.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_28_06_10343.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_15_9322.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_26_10361.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_36_10361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352024986","1352024887","1352024953","1352024920","1352025042","1352025014"],"photo_ids_order":["1352024887","1352024920","1352024953","1352024986","1352025014","1352025042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8db75ed403517de3691fca1e7b0ad40a.jpg","text":"TemporaryFile(/tmp/multipartBody7825332232780751124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100065815,"filename":"image_14042025_11_28_15_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8115178d9998a9f45a5c08676d5e32b.jpg","text":"TemporaryFile(/tmp/multipartBody9180141808821422304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100065815,"filename":"image_14042025_11_27_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c100515dbc1c9d3db0b9826614c854c3.jpg","text":"TemporaryFile(/tmp/multipartBody337971324175978744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100065815,"filename":"image_14042025_11_28_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bd9ab565a8e8ac3bb77c49132c54044.jpg","text":"TemporaryFile(/tmp/multipartBody8066049960690518806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100065815,"filename":"image_14042025_11_27_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd77e7663e741bffbca7e8c28b8a5d85.jpg","text":"TemporaryFile(/tmp/multipartBody3267864630974887102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100065815,"filename":"image_14042025_11_28_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1aef7989de09383f0648a9c6f893f9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6549882347477197644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100065815,"filename":"image_14042025_11_28_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352024953","file1":"1352024920","file0":"1352024887","file4":"1352025014","file5":"1352025042","file3":"1352024986"},"map_files_photo_id_array":[{"photo_id":"1352025042","filename":"file5"},{"photo_id":"1352024953","filename":"file2"},{"photo_id":"1352025014","filename":"file4"},{"photo_id":"1352024920","filename":"file1"},{"photo_id":"1352024887","filename":"file0"},{"photo_id":"1352024986","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352024986":["hashtag1","hashtag2"]},{"1352024887":["hashtag1","hashtag2"]},{"1352024953":["hashtag1","hashtag2"]},{"1352024920":["hashtag1","hashtag2"]},{"1352025042":["hashtag1","hashtag2"]},{"1352025014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352024986, 1352024887, 1352024953, 1352024920, 1352025042, 1352025014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.19300651550293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:00:42.494428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_46_9448.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_56_10506.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_29_05_9318.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_16_10356.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_26_10353.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_36_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_46_9448.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_56_10506.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_29_05_9318.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_16_10356.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_26_10353.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_36_9911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352025175","1352025454","1352025228","1352025201","1352025149","1352025542"],"photo_ids_order":["1352025149","1352025175","1352025201","1352025228","1352025454","1352025542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6ba363b9b0e5d51cf7641442b449611.jpg","text":"TemporaryFile(/tmp/multipartBody2799403606425997505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100104195,"filename":"image_14042025_11_28_56_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d216019a3d2ffc06c94d39155e1d9e47.jpg","text":"TemporaryFile(/tmp/multipartBody3235351446333211756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100104195,"filename":"image_14042025_11_29_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b38fbf8bfc4c9edb779180bdc2cd9fe1.jpg","text":"TemporaryFile(/tmp/multipartBody329464582484182106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100104195,"filename":"image_14042025_11_29_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b01419748e47926ee2e1fdf726238e69.jpg","text":"TemporaryFile(/tmp/multipartBody5297778898283735394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100104195,"filename":"image_14042025_11_29_05_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3cea921f60d1a7a7aab583d28173db1.jpg","text":"TemporaryFile(/tmp/multipartBody6641132903192647384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100104195,"filename":"image_14042025_11_28_46_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e12871b86e0281378a1b473c387b4fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2460559647974941963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100104195,"filename":"image_14042025_11_29_36_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352025201","file1":"1352025175","file0":"1352025149","file4":"1352025454","file5":"1352025542","file3":"1352025228"},"map_files_photo_id_array":[{"photo_id":"1352025542","filename":"file5"},{"photo_id":"1352025201","filename":"file2"},{"photo_id":"1352025454","filename":"file4"},{"photo_id":"1352025175","filename":"file1"},{"photo_id":"1352025149","filename":"file0"},{"photo_id":"1352025228","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352025175":["hashtag1","hashtag2"]},{"1352025454":["hashtag1","hashtag2"]},{"1352025228":["hashtag1","hashtag2"]},{"1352025201":["hashtag1","hashtag2"]},{"1352025149":["hashtag1","hashtag2"]},{"1352025542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352025175, 1352025454, 1352025228, 1352025201, 1352025149, 1352025542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0809965133667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:01:42.273673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_45_9342.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_56_10396.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_30_06_10397.jpg', '/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_16_9343.jpg', '/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_26_10439.jpg', '/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_45_9342.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_56_10396.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_30_06_10397.jpg
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_16_9343.jpg
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_26_10439.jpg
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352025904","1352025984","1352025957","1352025930","1352026040","1352026013"],"photo_ids_order":["1352025904","1352025930","1352025957","1352025984","1352026013","1352026040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8089ec5b0ba60adfe9a626bfb3d0af2a.jpg","text":"TemporaryFile(/tmp/multipartBody3436638443879878097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100163825,"filename":"image_14042025_11_29_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/657d7d1055677961454c52175c51fa31.jpg","text":"TemporaryFile(/tmp/multipartBody4399629205226384886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100163825,"filename":"image_14042025_11_30_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/964c9e680f45215b25e274873c26edfe.jpg","text":"TemporaryFile(/tmp/multipartBody5492990251956335824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100163825,"filename":"image_14042025_11_30_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/631996095ce37e7c7bc57ab8196aec12.jpg","text":"TemporaryFile(/tmp/multipartBody5562529120922430371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100163825,"filename":"image_14042025_11_29_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00488d6e0ab8b95edfa5bfce9cafca28.jpg","text":"TemporaryFile(/tmp/multipartBody2155572838591446551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100163825,"filename":"image_14042025_11_30_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87878d022307589d52dc1abd23b5ccba.jpg","text":"TemporaryFile(/tmp/multipartBody7310981614727975669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100163825,"filename":"image_14042025_11_30_26_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352025957","file1":"1352025930","file0":"1352025904","file4":"1352026013","file5":"1352026040","file3":"1352025984"},"map_files_photo_id_array":[{"photo_id":"1352026040","filename":"file5"},{"photo_id":"1352025957","filename":"file2"},{"photo_id":"1352026013","filename":"file4"},{"photo_id":"1352025930","filename":"file1"},{"photo_id":"1352025904","filename":"file0"},{"photo_id":"1352025984","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352025904":["hashtag1","hashtag2"]},{"1352025984":["hashtag1","hashtag2"]},{"1352025957":["hashtag1","hashtag2"]},{"1352025930":["hashtag1","hashtag2"]},{"1352026040":["hashtag1","hashtag2"]},{"1352026013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352025904, 1352025984, 1352025957, 1352025930, 1352026040, 1352026013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.591810703277588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:02:42.488299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_46_9423.jpg', '/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_56_10416.jpg', '/home/pi/Desktop/images/14042025/11/30/image_14042025_11_31_06_9386.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_16_10442.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_25_9423.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_36_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_46_9423.jpg
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_56_10416.jpg
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_31_06_9386.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_16_10442.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_25_9423.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_36_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352026720","1352026639","1352026612","1352026501","1352026665","1352026691"],"photo_ids_order":["1352026501","1352026612","1352026639","1352026665","1352026691","1352026720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae42004799275408e571bcc47428a27d.jpg","text":"TemporaryFile(/tmp/multipartBody5008202079916590702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100224040,"filename":"image_14042025_11_31_36_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d513db3dd2b0fbb24c723d48127d7e8.jpg","text":"TemporaryFile(/tmp/multipartBody8798289035632716064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100224040,"filename":"image_14042025_11_31_06_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7deea8a8f8e0925b42dbcf6bfddd98cd.jpg","text":"TemporaryFile(/tmp/multipartBody7738801403403486117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100224040,"filename":"image_14042025_11_30_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8bd35a1485d8f3a31000a80548b2d6d.jpg","text":"TemporaryFile(/tmp/multipartBody1567326449068282463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100224040,"filename":"image_14042025_11_30_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf6ee1d5b78cffbe129e36dd00a175b1.jpg","text":"TemporaryFile(/tmp/multipartBody4892648484782242466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100224040,"filename":"image_14042025_11_31_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32de2219ef74661368ca50048fe7cbf3.jpg","text":"TemporaryFile(/tmp/multipartBody145845246228286483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100224040,"filename":"image_14042025_11_31_25_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352026639","file1":"1352026612","file0":"1352026501","file4":"1352026691","file5":"1352026720","file3":"1352026665"},"map_files_photo_id_array":[{"photo_id":"1352026720","filename":"file5"},{"photo_id":"1352026639","filename":"file2"},{"photo_id":"1352026691","filename":"file4"},{"photo_id":"1352026612","filename":"file1"},{"photo_id":"1352026501","filename":"file0"},{"photo_id":"1352026665","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352026720":["hashtag1","hashtag2"]},{"1352026639":["hashtag1","hashtag2"]},{"1352026612":["hashtag1","hashtag2"]},{"1352026501":["hashtag1","hashtag2"]},{"1352026665":["hashtag1","hashtag2"]},{"1352026691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352026720, 1352026639, 1352026612, 1352026501, 1352026665, 1352026691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49521040916443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:03:42.726533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_46_10361.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_56_9421.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_32_06_10372.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_16_10345.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_26_9481.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_46_10361.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_56_9421.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_32_06_10372.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_16_10345.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_26_9481.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_36_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352027466","1352027373","1352027567","1352027423","1352027542","1352027503"],"photo_ids_order":["1352027373","1352027423","1352027466","1352027503","1352027542","1352027567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75d8eb5b9b2a5d7de0f978d3220a4115.jpg","text":"TemporaryFile(/tmp/multipartBody2758661726220331737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100284289,"filename":"image_14042025_11_32_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f105b5f6f609b76c4a791be66592005.jpg","text":"TemporaryFile(/tmp/multipartBody2040545613581131865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100284289,"filename":"image_14042025_11_31_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/323643238c21316c1e2473f1b8626d29.jpg","text":"TemporaryFile(/tmp/multipartBody7355278384362530358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100284289,"filename":"image_14042025_11_32_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f341f050009e46556a8de6131bd3beb8.jpg","text":"TemporaryFile(/tmp/multipartBody5017591485456704864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100284289,"filename":"image_14042025_11_31_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/015c838adafa146cff398ccf61ed6123.jpg","text":"TemporaryFile(/tmp/multipartBody7233279933971313090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100284289,"filename":"image_14042025_11_32_26_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/854a0bab4a8d0115302068d795434950.jpg","text":"TemporaryFile(/tmp/multipartBody3813792154252139419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100284289,"filename":"image_14042025_11_32_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352027466","file1":"1352027423","file0":"1352027373","file4":"1352027542","file5":"1352027567","file3":"1352027503"},"map_files_photo_id_array":[{"photo_id":"1352027567","filename":"file5"},{"photo_id":"1352027466","filename":"file2"},{"photo_id":"1352027542","filename":"file4"},{"photo_id":"1352027423","filename":"file1"},{"photo_id":"1352027373","filename":"file0"},{"photo_id":"1352027503","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352027466":["hashtag1","hashtag2"]},{"1352027373":["hashtag1","hashtag2"]},{"1352027567":["hashtag1","hashtag2"]},{"1352027423":["hashtag1","hashtag2"]},{"1352027542":["hashtag1","hashtag2"]},{"1352027503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352027466, 1352027373, 1352027567, 1352027423, 1352027542, 1352027503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.557368278503418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:04:42.969565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_46_9530.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_33_06_9344.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_16_10448.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_26_10353.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_36_9455.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_46_9530.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_33_06_9344.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_16_10448.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_26_10353.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_36_9455.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352027973","1352027919","1352027894","1352027864","1352027837","1352027947"],"photo_ids_order":["1352027837","1352027864","1352027894","1352027919","1352027947","1352027973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de33a730581384d7dadfa44f136cc838.jpg","text":"TemporaryFile(/tmp/multipartBody3706013291078141606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100344538,"filename":"image_14042025_11_33_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a71b0b13f972d6a3df1aaeff7a2d4ba8.jpg","text":"TemporaryFile(/tmp/multipartBody165023622960269748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100344538,"filename":"image_14042025_11_33_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2eb3eed36e837ad2bc40b3321c5130f9.jpg","text":"TemporaryFile(/tmp/multipartBody7134505616242842151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100344538,"filename":"image_14042025_11_33_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f707c0f6bf3f781d8dc9841124400495.jpg","text":"TemporaryFile(/tmp/multipartBody8151740505563528688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100344538,"filename":"image_14042025_11_33_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38728122329899ed67b245e3487a41da.jpg","text":"TemporaryFile(/tmp/multipartBody8662411781637678288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100344538,"filename":"image_14042025_11_32_46_9530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d697c45bb2752322e842204e783925f.jpg","text":"TemporaryFile(/tmp/multipartBody5300348697515743450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100344538,"filename":"image_14042025_11_33_36_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352027894","file1":"1352027864","file0":"1352027837","file4":"1352027947","file5":"1352027973","file3":"1352027919"},"map_files_photo_id_array":[{"photo_id":"1352027973","filename":"file5"},{"photo_id":"1352027894","filename":"file2"},{"photo_id":"1352027947","filename":"file4"},{"photo_id":"1352027864","filename":"file1"},{"photo_id":"1352027837","filename":"file0"},{"photo_id":"1352027919","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352027973":["hashtag1","hashtag2"]},{"1352027919":["hashtag1","hashtag2"]},{"1352027894":["hashtag1","hashtag2"]},{"1352027864":["hashtag1","hashtag2"]},{"1352027837":["hashtag1","hashtag2"]},{"1352027947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352027973, 1352027919, 1352027894, 1352027864, 1352027837, 1352027947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.402302265167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:05:42.170011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_55_9348.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_34_06_10442.jpg', '/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_26_9470.jpg', '/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_56_10478.jpg', '/home/pi/Desktop/images/14042025/11/34/image_14042025_11_35_06_10347.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_16_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_55_9348.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_34_06_10442.jpg
/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_26_9470.jpg
/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_56_10478.jpg
/home/pi/Desktop/images/14042025/11/34/image_14042025_11_35_06_10347.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_16_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352028219","1352028222","1352028221","1352028215","1352028214","1352028217"],"photo_ids_order":["1352028214","1352028215","1352028217","1352028219","1352028221","1352028222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7951abe313051edd997efb52f2285606.jpg","text":"TemporaryFile(/tmp/multipartBody1681784895753570475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100403726,"filename":"image_14042025_11_34_56_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02bfeea5a8c3c2265f2a220024aa1b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5031033008502151866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100403726,"filename":"image_14042025_11_35_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a0be45ca4d9eae5b51eaf0c914a75e5.jpg","text":"TemporaryFile(/tmp/multipartBody3140443486095737658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100403726,"filename":"image_14042025_11_35_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe14c700898ee042daaa7b3cfbac3d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1636494032857642485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100403726,"filename":"image_14042025_11_34_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dcf39683a5b023b6d4eaa1bbfc3a4f2.jpg","text":"TemporaryFile(/tmp/multipartBody411705632149792004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100403726,"filename":"image_14042025_11_33_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7d06ea793a09971ed78ec5fc1e137a9.jpg","text":"TemporaryFile(/tmp/multipartBody2493506372376568832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100403726,"filename":"image_14042025_11_34_26_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352028217","file1":"1352028215","file0":"1352028214","file4":"1352028221","file5":"1352028222","file3":"1352028219"},"map_files_photo_id_array":[{"photo_id":"1352028222","filename":"file5"},{"photo_id":"1352028217","filename":"file2"},{"photo_id":"1352028221","filename":"file4"},{"photo_id":"1352028215","filename":"file1"},{"photo_id":"1352028214","filename":"file0"},{"photo_id":"1352028219","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352028219":["hashtag1","hashtag2"]},{"1352028222":["hashtag1","hashtag2"]},{"1352028221":["hashtag1","hashtag2"]},{"1352028215":["hashtag1","hashtag2"]},{"1352028214":["hashtag1","hashtag2"]},{"1352028217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352028219, 1352028222, 1352028221, 1352028215, 1352028214, 1352028217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.873887538909912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:06:42.468233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_26_10427.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_35_9365.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_46_10465.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_56_10353.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_36_06_9349.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_26_10427.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_35_9365.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_46_10465.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_56_10353.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_36_06_9349.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_16_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352028240","1352028263","1352028242","1352028244","1352028243","1352028237"],"photo_ids_order":["1352028237","1352028240","1352028242","1352028243","1352028244","1352028263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/894d40c4bed2c3836c5a39256bed54bc.jpg","text":"TemporaryFile(/tmp/multipartBody4339408190637323038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100464030,"filename":"image_14042025_11_35_35_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aab12cbc1301ef23e69d0e5af332ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody1129566967361428994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100464030,"filename":"image_14042025_11_36_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61a0946bb791d49d86cf7bb34a5351f4.jpg","text":"TemporaryFile(/tmp/multipartBody8993835531217577600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100464030,"filename":"image_14042025_11_35_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1794315209979d92935b9d2f29c8316f.jpg","text":"TemporaryFile(/tmp/multipartBody7840873393826523110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100464030,"filename":"image_14042025_11_36_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/031243e65aa70954321ec0ae2cf877c6.jpg","text":"TemporaryFile(/tmp/multipartBody4119209493261726810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100464030,"filename":"image_14042025_11_35_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a57a309839e60242a71f7d6fcabc2fb4.jpg","text":"TemporaryFile(/tmp/multipartBody4304378995565192516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100464030,"filename":"image_14042025_11_35_26_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352028242","file1":"1352028240","file0":"1352028237","file4":"1352028244","file5":"1352028263","file3":"1352028243"},"map_files_photo_id_array":[{"photo_id":"1352028263","filename":"file5"},{"photo_id":"1352028242","filename":"file2"},{"photo_id":"1352028244","filename":"file4"},{"photo_id":"1352028240","filename":"file1"},{"photo_id":"1352028237","filename":"file0"},{"photo_id":"1352028243","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352028240":["hashtag1","hashtag2"]},{"1352028263":["hashtag1","hashtag2"]},{"1352028242":["hashtag1","hashtag2"]},{"1352028244":["hashtag1","hashtag2"]},{"1352028243":["hashtag1","hashtag2"]},{"1352028237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352028240, 1352028263, 1352028242, 1352028244, 1352028243, 1352028237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54051637649536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:07:42.600642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_26_10406.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_36_9343.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_46_10371.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_56_10343.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_37_06_9401.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_26_10406.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_36_9343.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_46_10371.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_56_10343.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_37_06_9401.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_16_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352028677","1352028740","1352028608","1352028704","1352028649","1352028532"],"photo_ids_order":["1352028532","1352028608","1352028649","1352028677","1352028704","1352028740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/047e700eddfad8a676dab19c6be2569f.jpg","text":"TemporaryFile(/tmp/multipartBody3971141766930780117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100524154,"filename":"image_14042025_11_36_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af92886fef84303d82a13aa11f9a2e80.jpg","text":"TemporaryFile(/tmp/multipartBody3623306886222068712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100524154,"filename":"image_14042025_11_37_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45d5c73fa7693646324642e0f6cdc6f2.jpg","text":"TemporaryFile(/tmp/multipartBody5276453771898733124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100524154,"filename":"image_14042025_11_36_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c4092677f2f26cf687f30681311d688.jpg","text":"TemporaryFile(/tmp/multipartBody7778103339051100021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100524154,"filename":"image_14042025_11_37_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adae6491376be67ae421408407156df1.jpg","text":"TemporaryFile(/tmp/multipartBody2722459259403042185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100524154,"filename":"image_14042025_11_36_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b455036783ecea9fbab621664ce740ed.jpg","text":"TemporaryFile(/tmp/multipartBody7487889733878129804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100524154,"filename":"image_14042025_11_36_26_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352028649","file1":"1352028608","file0":"1352028532","file4":"1352028704","file5":"1352028740","file3":"1352028677"},"map_files_photo_id_array":[{"photo_id":"1352028740","filename":"file5"},{"photo_id":"1352028649","filename":"file2"},{"photo_id":"1352028704","filename":"file4"},{"photo_id":"1352028608","filename":"file1"},{"photo_id":"1352028532","filename":"file0"},{"photo_id":"1352028677","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352028677":["hashtag1","hashtag2"]},{"1352028740":["hashtag1","hashtag2"]},{"1352028608":["hashtag1","hashtag2"]},{"1352028704":["hashtag1","hashtag2"]},{"1352028649":["hashtag1","hashtag2"]},{"1352028532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352028677, 1352028740, 1352028608, 1352028704, 1352028649, 1352028532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96335458755493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:08:42.902044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_25_9343.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_36_10360.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_46_10375.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_56_9446.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_38_06_10421.jpg', '/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_15_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_25_9343.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_36_10360.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_46_10375.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_56_9446.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_38_06_10421.jpg
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_15_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352029178","1352029070","1352029124","1352029180","1352029096","1352029153"],"photo_ids_order":["1352029070","1352029096","1352029124","1352029153","1352029178","1352029180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c87c3e60519ea138f55c7e21e32247b.jpg","text":"TemporaryFile(/tmp/multipartBody704502097696683945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100584459,"filename":"image_14042025_11_38_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9f800f33a38728003a6e6f58c0e21f9.jpg","text":"TemporaryFile(/tmp/multipartBody4548432172072607320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100584459,"filename":"image_14042025_11_37_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c717dfef5f3d422bcce133856237221c.jpg","text":"TemporaryFile(/tmp/multipartBody2234403087847136568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100584459,"filename":"image_14042025_11_37_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81af046ac029c1ace11b11f4e6bac027.jpg","text":"TemporaryFile(/tmp/multipartBody3543490361021561542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100584459,"filename":"image_14042025_11_38_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b017771ce4c67498c99284d3b2174116.jpg","text":"TemporaryFile(/tmp/multipartBody2154622179839964656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100584459,"filename":"image_14042025_11_37_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0000b9570b1bd460143637721ed3b452.jpg","text":"TemporaryFile(/tmp/multipartBody8467686933457229787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100584459,"filename":"image_14042025_11_37_56_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352029124","file1":"1352029096","file0":"1352029070","file4":"1352029178","file5":"1352029180","file3":"1352029153"},"map_files_photo_id_array":[{"photo_id":"1352029180","filename":"file5"},{"photo_id":"1352029124","filename":"file2"},{"photo_id":"1352029178","filename":"file4"},{"photo_id":"1352029096","filename":"file1"},{"photo_id":"1352029070","filename":"file0"},{"photo_id":"1352029153","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352029178":["hashtag1","hashtag2"]},{"1352029070":["hashtag1","hashtag2"]},{"1352029124":["hashtag1","hashtag2"]},{"1352029180":["hashtag1","hashtag2"]},{"1352029096":["hashtag1","hashtag2"]},{"1352029153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352029178, 1352029070, 1352029124, 1352029180, 1352029096, 1352029153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37592339515686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:09:43.055401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_26_10464.jpg', '/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_36_10327.jpg', '/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_46_9514.jpg', '/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_56_10347.jpg', '/home/pi/Desktop/images/14042025/11/38/image_14042025_11_39_05_9329.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_26_10464.jpg
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_36_10327.jpg
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_46_9514.jpg
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_56_10347.jpg
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_39_05_9329.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_16_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352029337","1352029232","1352029208","1352029198","1352029293","1352029196"],"photo_ids_order":["1352029196","1352029198","1352029208","1352029232","1352029293","1352029337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d50d833ae141d5a7dd1caa525447e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4685598555587922569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100644644,"filename":"image_14042025_11_39_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdb74f8ca7374baf9bf9672b74662189.jpg","text":"TemporaryFile(/tmp/multipartBody6313975083785010612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100644644,"filename":"image_14042025_11_38_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2f1ff2dd00450f33d41215ff7a1b0c4.jpg","text":"TemporaryFile(/tmp/multipartBody2536835520839633826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100644644,"filename":"image_14042025_11_38_46_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2c98ab8b3092afc7cab8fc62d72f6af.jpg","text":"TemporaryFile(/tmp/multipartBody6376526359342328618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100644644,"filename":"image_14042025_11_38_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b005c12af18a43489e30ddb451c24326.jpg","text":"TemporaryFile(/tmp/multipartBody8988994353972223898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100644644,"filename":"image_14042025_11_39_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e00536b892f9943e3102245f3bc98f0.jpg","text":"TemporaryFile(/tmp/multipartBody2570591645241625284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100644644,"filename":"image_14042025_11_38_26_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352029208","file1":"1352029198","file0":"1352029196","file4":"1352029293","file5":"1352029337","file3":"1352029232"},"map_files_photo_id_array":[{"photo_id":"1352029337","filename":"file5"},{"photo_id":"1352029208","filename":"file2"},{"photo_id":"1352029293","filename":"file4"},{"photo_id":"1352029198","filename":"file1"},{"photo_id":"1352029196","filename":"file0"},{"photo_id":"1352029232","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352029337":["hashtag1","hashtag2"]},{"1352029232":["hashtag1","hashtag2"]},{"1352029208":["hashtag1","hashtag2"]},{"1352029198":["hashtag1","hashtag2"]},{"1352029293":["hashtag1","hashtag2"]},{"1352029196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352029337, 1352029232, 1352029208, 1352029198, 1352029293, 1352029196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.344348669052124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:10:42.272096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_26_10426.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_36_9332.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_46_10373.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_56_10333.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_40_06_9318.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_16_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_26_10426.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_36_9332.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_46_10373.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_56_10333.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_40_06_9318.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_16_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352029481","1352029535","1352029477","1352029507","1352029479","1352029533"],"photo_ids_order":["1352029477","1352029479","1352029481","1352029507","1352029533","1352029535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59a53984cd822662488bedd9fc2cd6e4.jpg","text":"TemporaryFile(/tmp/multipartBody6331423583076260384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100703836,"filename":"image_14042025_11_39_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a644380b56f50bb2f641c4819dfbb82.jpg","text":"TemporaryFile(/tmp/multipartBody7153334104458095088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100703836,"filename":"image_14042025_11_40_16_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e71c3a7ea85175a62a6620586558a76.jpg","text":"TemporaryFile(/tmp/multipartBody6321139911280375093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100703836,"filename":"image_14042025_11_39_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abee45d6fa78caa325d8f32b8ace3a3d.jpg","text":"TemporaryFile(/tmp/multipartBody943066913335317718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100703836,"filename":"image_14042025_11_39_56_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd1bf58f3cff830d6a3b2b5d73d81a9b.jpg","text":"TemporaryFile(/tmp/multipartBody8801406389779462943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100703836,"filename":"image_14042025_11_39_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1167a28c55cbc285496f0faab8f9dc4.jpg","text":"TemporaryFile(/tmp/multipartBody209403843876175386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100703836,"filename":"image_14042025_11_40_06_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352029481","file1":"1352029479","file0":"1352029477","file4":"1352029533","file5":"1352029535","file3":"1352029507"},"map_files_photo_id_array":[{"photo_id":"1352029535","filename":"file5"},{"photo_id":"1352029481","filename":"file2"},{"photo_id":"1352029533","filename":"file4"},{"photo_id":"1352029479","filename":"file1"},{"photo_id":"1352029477","filename":"file0"},{"photo_id":"1352029507","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352029481":["hashtag1","hashtag2"]},{"1352029535":["hashtag1","hashtag2"]},{"1352029477":["hashtag1","hashtag2"]},{"1352029507":["hashtag1","hashtag2"]},{"1352029479":["hashtag1","hashtag2"]},{"1352029533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352029481, 1352029535, 1352029477, 1352029507, 1352029479, 1352029533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.027626514434814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:11:42.495036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_26_10018.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_35_9346.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_46_10677.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_55_9410.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_41_06_10434.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_16_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_26_10018.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_35_9346.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_46_10677.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_55_9410.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_41_06_10434.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_16_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352030093","1352030099","1352030092","1352030089","1352030094","1352030088"],"photo_ids_order":["1352030088","1352030089","1352030092","1352030093","1352030094","1352030099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9e939723e5ebb976a6dedf93ab12bef.jpg","text":"TemporaryFile(/tmp/multipartBody5385935834589227760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100764064,"filename":"image_14042025_11_40_55_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6738e667acb4cb669bca0616cea3c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8404049348436431445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100764064,"filename":"image_14042025_11_41_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c593ab9388e804687970b321a629b927.jpg","text":"TemporaryFile(/tmp/multipartBody6764049107692354044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100764064,"filename":"image_14042025_11_40_46_10677.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbf5796d3683238d0409f6bbbeb7e71b.jpg","text":"TemporaryFile(/tmp/multipartBody8885580969097189462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100764064,"filename":"image_14042025_11_40_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6d5fe04eaf6d647e8f6014562aaa954.jpg","text":"TemporaryFile(/tmp/multipartBody5880269646478154948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100764064,"filename":"image_14042025_11_41_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3387699dc79d67a5851cd156b9497e8.jpg","text":"TemporaryFile(/tmp/multipartBody9186977513245730588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100764064,"filename":"image_14042025_11_40_26_10018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352030092","file1":"1352030089","file0":"1352030088","file4":"1352030094","file5":"1352030099","file3":"1352030093"},"map_files_photo_id_array":[{"photo_id":"1352030099","filename":"file5"},{"photo_id":"1352030092","filename":"file2"},{"photo_id":"1352030094","filename":"file4"},{"photo_id":"1352030089","filename":"file1"},{"photo_id":"1352030088","filename":"file0"},{"photo_id":"1352030093","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352030093":["hashtag1","hashtag2"]},{"1352030099":["hashtag1","hashtag2"]},{"1352030092":["hashtag1","hashtag2"]},{"1352030089":["hashtag1","hashtag2"]},{"1352030094":["hashtag1","hashtag2"]},{"1352030088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352030093, 1352030099, 1352030092, 1352030089, 1352030094, 1352030088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2663516998291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:12:42.703859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_26_9355.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_36_10354.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_46_10376.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_56_9463.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_42_06_10355.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_15_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_26_9355.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_36_10354.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_46_10376.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_56_9463.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_42_06_10355.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_15_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352030579","1352030467","1352030629","1352030493","1352030772","1352030694"],"photo_ids_order":["1352030467","1352030493","1352030579","1352030629","1352030694","1352030772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bdfbe04c92f8b1e6ddcb161273a43c87.jpg","text":"TemporaryFile(/tmp/multipartBody6972472606020797867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100824270,"filename":"image_14042025_11_41_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a318d0f8f91a5dea52e75ae2f998c1a7.jpg","text":"TemporaryFile(/tmp/multipartBody8297125503598841287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100824270,"filename":"image_14042025_11_41_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87e32128d9ea1ad51b5ccfabbf94025a.jpg","text":"TemporaryFile(/tmp/multipartBody1161756851756204809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100824270,"filename":"image_14042025_11_41_56_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6124c3b7595a9e6a2dd9dbbd9fe007c8.jpg","text":"TemporaryFile(/tmp/multipartBody1070499338391739155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100824270,"filename":"image_14042025_11_41_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/406936468c2709c1943b1094b81ba913.jpg","text":"TemporaryFile(/tmp/multipartBody798843651342101674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100824270,"filename":"image_14042025_11_42_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42bd2e5c26cd052a7261b1e39314469f.jpg","text":"TemporaryFile(/tmp/multipartBody1254820603753446193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100824270,"filename":"image_14042025_11_42_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352030579","file1":"1352030493","file0":"1352030467","file4":"1352030694","file5":"1352030772","file3":"1352030629"},"map_files_photo_id_array":[{"photo_id":"1352030772","filename":"file5"},{"photo_id":"1352030579","filename":"file2"},{"photo_id":"1352030694","filename":"file4"},{"photo_id":"1352030493","filename":"file1"},{"photo_id":"1352030467","filename":"file0"},{"photo_id":"1352030629","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352030579":["hashtag1","hashtag2"]},{"1352030467":["hashtag1","hashtag2"]},{"1352030629":["hashtag1","hashtag2"]},{"1352030493":["hashtag1","hashtag2"]},{"1352030772":["hashtag1","hashtag2"]},{"1352030694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352030579, 1352030467, 1352030629, 1352030493, 1352030772, 1352030694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.26419448852539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:13:42.978912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_26_10397.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_36_10331.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_46_9404.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_56_10343.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_43_06_10339.jpg', '/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_26_10397.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_36_10331.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_46_9404.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_56_10343.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_43_06_10339.jpg
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_26_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352031671","1352031467","1352031661","1352031628","1352031520","1352031570"],"photo_ids_order":["1352031467","1352031520","1352031570","1352031628","1352031661","1352031671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c38e2c03aef7aeac24743fb5881ba13e.jpg","text":"TemporaryFile(/tmp/multipartBody1320143461532952270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100884537,"filename":"image_14042025_11_43_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/359e7980ffbb62fe1ca51a1dbe73455f.jpg","text":"TemporaryFile(/tmp/multipartBody9139282906918603229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100884537,"filename":"image_14042025_11_42_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01d99addb91bdafabb155232d20f2415.jpg","text":"TemporaryFile(/tmp/multipartBody3193217577379448555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100884537,"filename":"image_14042025_11_43_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb7779b5b75fdb9e7aaf202de5f4c6f9.jpg","text":"TemporaryFile(/tmp/multipartBody9170608247826286202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100884537,"filename":"image_14042025_11_42_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b31b8c4bbf3e4016acc08daa6e0eb4c9.jpg","text":"TemporaryFile(/tmp/multipartBody3559736922004884053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100884537,"filename":"image_14042025_11_42_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4bd8cd2f6b75ca82c4c158784aa521c.jpg","text":"TemporaryFile(/tmp/multipartBody9183299096768289049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100884537,"filename":"image_14042025_11_42_46_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352031570","file1":"1352031520","file0":"1352031467","file4":"1352031661","file5":"1352031671","file3":"1352031628"},"map_files_photo_id_array":[{"photo_id":"1352031671","filename":"file5"},{"photo_id":"1352031570","filename":"file2"},{"photo_id":"1352031661","filename":"file4"},{"photo_id":"1352031520","filename":"file1"},{"photo_id":"1352031467","filename":"file0"},{"photo_id":"1352031628","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352031671":["hashtag1","hashtag2"]},{"1352031467":["hashtag1","hashtag2"]},{"1352031661":["hashtag1","hashtag2"]},{"1352031628":["hashtag1","hashtag2"]},{"1352031520":["hashtag1","hashtag2"]},{"1352031570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352031671, 1352031467, 1352031661, 1352031628, 1352031520, 1352031570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.931719541549683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:14:42.294351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_35_9431.jpg', '/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_46_10433.jpg', '/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_56_10346.jpg', '/home/pi/Desktop/images/14042025/11/43/image_14042025_11_44_06_9468.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_16_10356.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_25_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_35_9431.jpg
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_46_10433.jpg
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_56_10346.jpg
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_44_06_9468.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_16_10356.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_25_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352031953","1352032010","1352031850","1352031841","1352031897","1352031921"],"photo_ids_order":["1352031841","1352031850","1352031897","1352031921","1352031953","1352032010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d85cdffb506ad0c6d8421d3b79aca44a.jpg","text":"TemporaryFile(/tmp/multipartBody617215470716591045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100943849,"filename":"image_14042025_11_44_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2254e3e7ad8cde097c708e82574f0a55.jpg","text":"TemporaryFile(/tmp/multipartBody8635154502694665998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100943849,"filename":"image_14042025_11_44_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e11ccc68cfbe39347539f97cd3cc170.jpg","text":"TemporaryFile(/tmp/multipartBody3597951096631649813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100943849,"filename":"image_14042025_11_43_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/005cdc100f8544c6a7909f8eb5a9f791.jpg","text":"TemporaryFile(/tmp/multipartBody6834166713702175341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100943849,"filename":"image_14042025_11_43_35_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c03fdca49aec828de6cb05581c8bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody3501517456292380893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100943849,"filename":"image_14042025_11_43_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2008ba1249b7cb76bf352b4a9d7cf00a.jpg","text":"TemporaryFile(/tmp/multipartBody7062387550067041383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745100943849,"filename":"image_14042025_11_44_06_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352031897","file1":"1352031850","file0":"1352031841","file4":"1352031953","file5":"1352032010","file3":"1352031921"},"map_files_photo_id_array":[{"photo_id":"1352032010","filename":"file5"},{"photo_id":"1352031897","filename":"file2"},{"photo_id":"1352031953","filename":"file4"},{"photo_id":"1352031850","filename":"file1"},{"photo_id":"1352031841","filename":"file0"},{"photo_id":"1352031921","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352031953":["hashtag1","hashtag2"]},{"1352032010":["hashtag1","hashtag2"]},{"1352031850":["hashtag1","hashtag2"]},{"1352031841":["hashtag1","hashtag2"]},{"1352031897":["hashtag1","hashtag2"]},{"1352031921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352031953, 1352032010, 1352031850, 1352031841, 1352031897, 1352031921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.113022327423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:15:42.590875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_36_10383.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_46_10362.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_56_9374.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_45_06_10342.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_16_10361.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_26_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_36_10383.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_46_10362.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_56_9374.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_45_06_10342.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_16_10361.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_26_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352032759","1352032654","1352032627","1352032689","1352032812","1352032850"],"photo_ids_order":["1352032627","1352032654","1352032689","1352032759","1352032812","1352032850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6065caaefe6bfe8b12848723d693575b.jpg","text":"TemporaryFile(/tmp/multipartBody7167693726112149517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101004157,"filename":"image_14042025_11_45_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16a52fbf2fb479d05b8dca27c71a18bd.jpg","text":"TemporaryFile(/tmp/multipartBody3754263892651812580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101004157,"filename":"image_14042025_11_44_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19efa644d62676ac91c0d945d970835d.jpg","text":"TemporaryFile(/tmp/multipartBody2319986929499683724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101004157,"filename":"image_14042025_11_44_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4d08f1d3481c3c38db480baa6a1ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody7865218901851457100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101004157,"filename":"image_14042025_11_44_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e24c010c4ed16129535ab1802b1da4b5.jpg","text":"TemporaryFile(/tmp/multipartBody8619114882975409686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101004157,"filename":"image_14042025_11_45_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f233af36932dcd26902b96ac9aece841.jpg","text":"TemporaryFile(/tmp/multipartBody5153827383092279218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101004157,"filename":"image_14042025_11_45_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352032689","file1":"1352032654","file0":"1352032627","file4":"1352032812","file5":"1352032850","file3":"1352032759"},"map_files_photo_id_array":[{"photo_id":"1352032850","filename":"file5"},{"photo_id":"1352032689","filename":"file2"},{"photo_id":"1352032812","filename":"file4"},{"photo_id":"1352032654","filename":"file1"},{"photo_id":"1352032627","filename":"file0"},{"photo_id":"1352032759","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352032759":["hashtag1","hashtag2"]},{"1352032654":["hashtag1","hashtag2"]},{"1352032627":["hashtag1","hashtag2"]},{"1352032689":["hashtag1","hashtag2"]},{"1352032812":["hashtag1","hashtag2"]},{"1352032850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352032759, 1352032654, 1352032627, 1352032689, 1352032812, 1352032850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00177550315857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:16:42.918048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_36_10426.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_45_9355.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_56_10367.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_46_06_10350.jpg', '/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_26_10425.jpg', '/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_36_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_36_10426.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_45_9355.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_56_10367.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_46_06_10350.jpg
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_26_10425.jpg
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_36_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352033068","1352033064","1352033061","1352033058","1352033066","1352033071"],"photo_ids_order":["1352033058","1352033061","1352033064","1352033066","1352033068","1352033071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65d3ce83b4fd3c6198f756521e28dc2f.jpg","text":"TemporaryFile(/tmp/multipartBody4201484043864794544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101064473,"filename":"image_14042025_11_46_26_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18f511b0cc5cca54c4d36645ce3d2ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4299882423059009349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101064473,"filename":"image_14042025_11_45_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63508a1489a220ae4e2410a9458eba43.jpg","text":"TemporaryFile(/tmp/multipartBody1261413411392034838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101064473,"filename":"image_14042025_11_45_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e1eb581243d784e1c7cbf78e6df4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody8601773355776206386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101064473,"filename":"image_14042025_11_45_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/263d6bd4536e93a2d6b21a6128ec3dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1193638706409698839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101064473,"filename":"image_14042025_11_46_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/837404e27de35384926210d354776b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4032414941300109089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101064473,"filename":"image_14042025_11_46_36_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352033064","file1":"1352033061","file0":"1352033058","file4":"1352033068","file5":"1352033071","file3":"1352033066"},"map_files_photo_id_array":[{"photo_id":"1352033071","filename":"file5"},{"photo_id":"1352033064","filename":"file2"},{"photo_id":"1352033068","filename":"file4"},{"photo_id":"1352033061","filename":"file1"},{"photo_id":"1352033058","filename":"file0"},{"photo_id":"1352033066","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352033068":["hashtag1","hashtag2"]},{"1352033064":["hashtag1","hashtag2"]},{"1352033061":["hashtag1","hashtag2"]},{"1352033058":["hashtag1","hashtag2"]},{"1352033066":["hashtag1","hashtag2"]},{"1352033071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352033068, 1352033064, 1352033061, 1352033058, 1352033066, 1352033071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.050053358078003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:17:43.059735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_46_9407.jpg', '/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_56_10419.jpg', '/home/pi/Desktop/images/14042025/11/46/image_14042025_11_47_05_9318.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_16_10344.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_26_10437.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_36_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_46_9407.jpg
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_56_10419.jpg
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_47_05_9318.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_16_10344.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_26_10437.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_36_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352033308","1352033334","1352033241","1352033291","1352033267","1352033306"],"photo_ids_order":["1352033241","1352033267","1352033291","1352033306","1352033308","1352033334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32b6cc87d3ffb8bb9246db4719bad1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5878100439128279386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101125664,"filename":"image_14042025_11_47_26_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfda68c01b37cd4e36da156c82e4c566.jpg","text":"TemporaryFile(/tmp/multipartBody48021900975468326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101125664,"filename":"image_14042025_11_47_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2340d793e99a1d24498c691c63cb06b6.jpg","text":"TemporaryFile(/tmp/multipartBody6792041289093903310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101125664,"filename":"image_14042025_11_46_46_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3a926b7026424fc19a8d389b4211faf.jpg","text":"TemporaryFile(/tmp/multipartBody1175000658953912792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101125664,"filename":"image_14042025_11_47_05_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d4fd028c4176777ca14d01f9823c95e.jpg","text":"TemporaryFile(/tmp/multipartBody303327369976749933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101125664,"filename":"image_14042025_11_46_56_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1197021b0a3290c8e3fca4d67de5ecb.jpg","text":"TemporaryFile(/tmp/multipartBody7642476937441170044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101125664,"filename":"image_14042025_11_47_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352033291","file1":"1352033267","file0":"1352033241","file4":"1352033308","file5":"1352033334","file3":"1352033306"},"map_files_photo_id_array":[{"photo_id":"1352033334","filename":"file5"},{"photo_id":"1352033291","filename":"file2"},{"photo_id":"1352033308","filename":"file4"},{"photo_id":"1352033267","filename":"file1"},{"photo_id":"1352033241","filename":"file0"},{"photo_id":"1352033306","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352033308":["hashtag1","hashtag2"]},{"1352033334":["hashtag1","hashtag2"]},{"1352033241":["hashtag1","hashtag2"]},{"1352033291":["hashtag1","hashtag2"]},{"1352033267":["hashtag1","hashtag2"]},{"1352033306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352033308, 1352033334, 1352033241, 1352033291, 1352033267, 1352033306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.382402181625366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:18:42.303321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_46_10434.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_55_9422.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_48_06_10390.jpg', '/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_16_10339.jpg', '/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_25_9340.jpg', '/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_46_10434.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_55_9422.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_48_06_10390.jpg
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_16_10339.jpg
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_25_9340.jpg
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352034273","1352034299","1352034170","1352034221","1352034196","1352034250"],"photo_ids_order":["1352034170","1352034196","1352034221","1352034250","1352034273","1352034299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0ec7e94b28889257c44b4c15e56cca9.jpg","text":"TemporaryFile(/tmp/multipartBody4016476212875891197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101183870,"filename":"image_14042025_11_48_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/832dcc13611a56679854ce0a6f547ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1861864937410072441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101183870,"filename":"image_14042025_11_48_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79e704c1d386daae685721e6b84d9428.jpg","text":"TemporaryFile(/tmp/multipartBody2535726899663851636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101183870,"filename":"image_14042025_11_47_46_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70e18a80f6e48041e65347750ec11f82.jpg","text":"TemporaryFile(/tmp/multipartBody876547619540646441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101183870,"filename":"image_14042025_11_48_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fff95815c3632066f677aa915248177e.jpg","text":"TemporaryFile(/tmp/multipartBody8764837538340479194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101183870,"filename":"image_14042025_11_47_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34033da01e945daa66555b49625d5447.jpg","text":"TemporaryFile(/tmp/multipartBody6852907369961367995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101183870,"filename":"image_14042025_11_48_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352034221","file1":"1352034196","file0":"1352034170","file4":"1352034273","file5":"1352034299","file3":"1352034250"},"map_files_photo_id_array":[{"photo_id":"1352034299","filename":"file5"},{"photo_id":"1352034221","filename":"file2"},{"photo_id":"1352034273","filename":"file4"},{"photo_id":"1352034196","filename":"file1"},{"photo_id":"1352034170","filename":"file0"},{"photo_id":"1352034250","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352034273":["hashtag1","hashtag2"]},{"1352034299":["hashtag1","hashtag2"]},{"1352034170":["hashtag1","hashtag2"]},{"1352034221":["hashtag1","hashtag2"]},{"1352034196":["hashtag1","hashtag2"]},{"1352034250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352034273, 1352034299, 1352034170, 1352034221, 1352034196, 1352034250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.508063554763794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:19:42.511383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_46_10371.jpg', '/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_56_9495.jpg', '/home/pi/Desktop/images/14042025/11/48/image_14042025_11_49_06_10412.jpg', '/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_15_9333.jpg', '/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_26_10363.jpg', '/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_46_10371.jpg
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_56_9495.jpg
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_49_06_10412.jpg
/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_15_9333.jpg
/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_26_10363.jpg
/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_36_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352034990","1352035155","1352035113","1352035022","1352035180","1352034958"],"photo_ids_order":["1352034958","1352034990","1352035022","1352035113","1352035155","1352035180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c799071fd7d3e3b75ef2976edac5915d.jpg","text":"TemporaryFile(/tmp/multipartBody458508273340904040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101244064,"filename":"image_14042025_11_48_56_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/737705cc4edeb61e0d8cb084b23eaf7e.jpg","text":"TemporaryFile(/tmp/multipartBody2803660550268596721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101244064,"filename":"image_14042025_11_49_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be1076f558f8b7c82cd0e53287e3be42.jpg","text":"TemporaryFile(/tmp/multipartBody7039355052650646185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101244064,"filename":"image_14042025_11_49_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c852f2ca4c68fa8f01c19b2dea1338b.jpg","text":"TemporaryFile(/tmp/multipartBody2727124717585291137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101244064,"filename":"image_14042025_11_49_06_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af548cfba45225f63869906f37434176.jpg","text":"TemporaryFile(/tmp/multipartBody3585885318241794075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101244064,"filename":"image_14042025_11_49_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/183b1b648fee4f2e0604099d163d7ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3665337118512108986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101244064,"filename":"image_14042025_11_48_46_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035022","file1":"1352034990","file0":"1352034958","file4":"1352035155","file5":"1352035180","file3":"1352035113"},"map_files_photo_id_array":[{"photo_id":"1352035180","filename":"file5"},{"photo_id":"1352035022","filename":"file2"},{"photo_id":"1352035155","filename":"file4"},{"photo_id":"1352034990","filename":"file1"},{"photo_id":"1352034958","filename":"file0"},{"photo_id":"1352035113","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352034990":["hashtag1","hashtag2"]},{"1352035155":["hashtag1","hashtag2"]},{"1352035113":["hashtag1","hashtag2"]},{"1352035022":["hashtag1","hashtag2"]},{"1352035180":["hashtag1","hashtag2"]},{"1352034958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352034990, 1352035155, 1352035113, 1352035022, 1352035180, 1352034958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.178675174713135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:20:42.710490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_46_9334.jpg', '/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_56_10435.jpg', '/home/pi/Desktop/images/14042025/11/49/image_14042025_11_50_06_10330.jpg', '/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_16_9360.jpg', '/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_26_10442.jpg', '/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_46_9334.jpg
/home/pi/Desktop/images/14042025/11/49/image_14042025_11_49_56_10435.jpg
/home/pi/Desktop/images/14042025/11/49/image_14042025_11_50_06_10330.jpg
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_16_9360.jpg
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_26_10442.jpg
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035743","1352035712","1352035684","1352035825","1352035791","1352035851"],"photo_ids_order":["1352035684","1352035712","1352035743","1352035791","1352035825","1352035851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5aa272b385b7286bf0bf4a289c7865c.jpg","text":"TemporaryFile(/tmp/multipartBody5826273358502143895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101304267,"filename":"image_14042025_11_50_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a7192e2ec8ecfa2b393a5fb7f49aa65.jpg","text":"TemporaryFile(/tmp/multipartBody8390979241625303731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101304267,"filename":"image_14042025_11_49_56_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75536267392625f7607d7e4d963e7661.jpg","text":"TemporaryFile(/tmp/multipartBody8358526074671856427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101304267,"filename":"image_14042025_11_49_46_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bc03c80a9b209e26860ab6eaef71de2.jpg","text":"TemporaryFile(/tmp/multipartBody8716569532976344573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101304267,"filename":"image_14042025_11_50_26_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8457c8655e3a0b35f8d015f349ce6fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1484296758016470566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101304267,"filename":"image_14042025_11_50_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1c98a7d2c5d7cd86abc09780761ade1.jpg","text":"TemporaryFile(/tmp/multipartBody8289602523088239500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101304267,"filename":"image_14042025_11_50_35_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035743","file1":"1352035712","file0":"1352035684","file4":"1352035825","file5":"1352035851","file3":"1352035791"},"map_files_photo_id_array":[{"photo_id":"1352035851","filename":"file5"},{"photo_id":"1352035743","filename":"file2"},{"photo_id":"1352035825","filename":"file4"},{"photo_id":"1352035712","filename":"file1"},{"photo_id":"1352035684","filename":"file0"},{"photo_id":"1352035791","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352035743":["hashtag1","hashtag2"]},{"1352035712":["hashtag1","hashtag2"]},{"1352035684":["hashtag1","hashtag2"]},{"1352035825":["hashtag1","hashtag2"]},{"1352035791":["hashtag1","hashtag2"]},{"1352035851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352035743, 1352035712, 1352035684, 1352035825, 1352035791, 1352035851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.101152420043945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:21:42.939682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_46_10454.jpg', '/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_56_10361.jpg', '/home/pi/Desktop/images/14042025/11/50/image_14042025_11_51_06_9341.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_16_10437.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_25_9359.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_36_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_46_10454.jpg
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_56_10361.jpg
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_51_06_9341.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_16_10437.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_25_9359.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_36_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036273","1352036195","1352036296","1352036398","1352036371","1352036325"],"photo_ids_order":["1352036195","1352036273","1352036296","1352036325","1352036371","1352036398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d048cd615ce2d209c6f243395e1177e6.jpg","text":"TemporaryFile(/tmp/multipartBody8314682156006112854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101364505,"filename":"image_14042025_11_50_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1281a96f31db11e3a234cd29aa02c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5013052046793348140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101364505,"filename":"image_14042025_11_50_46_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd4be3863e7f2786f642c14dd7d6a95b.jpg","text":"TemporaryFile(/tmp/multipartBody6924727207321654012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101364505,"filename":"image_14042025_11_51_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03d8ce8562a605e51a281c4bb566c77d.jpg","text":"TemporaryFile(/tmp/multipartBody8618085325757279437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101364505,"filename":"image_14042025_11_51_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6dab016fbde73672572ea3f748ea0842.jpg","text":"TemporaryFile(/tmp/multipartBody3222918977558164064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101364505,"filename":"image_14042025_11_51_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/185c2104de2fe75c9c4672b4898255b1.jpg","text":"TemporaryFile(/tmp/multipartBody8479122673866696153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101364505,"filename":"image_14042025_11_51_16_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036296","file1":"1352036273","file0":"1352036195","file4":"1352036371","file5":"1352036398","file3":"1352036325"},"map_files_photo_id_array":[{"photo_id":"1352036398","filename":"file5"},{"photo_id":"1352036296","filename":"file2"},{"photo_id":"1352036371","filename":"file4"},{"photo_id":"1352036273","filename":"file1"},{"photo_id":"1352036195","filename":"file0"},{"photo_id":"1352036325","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352036273":["hashtag1","hashtag2"]},{"1352036195":["hashtag1","hashtag2"]},{"1352036296":["hashtag1","hashtag2"]},{"1352036398":["hashtag1","hashtag2"]},{"1352036371":["hashtag1","hashtag2"]},{"1352036325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352036273, 1352036195, 1352036296, 1352036398, 1352036371, 1352036325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71060919761658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:22:43.160572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_46_10350.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_55_9343.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_52_06_10470.jpg', '/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_16_10365.jpg', '/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_26_9354.jpg', '/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_46_10350.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_55_9343.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_52_06_10470.jpg
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_16_10365.jpg
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_26_9354.jpg
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_36_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036802","1352036738","1352036639","1352036680","1352036590","1352036547"],"photo_ids_order":["1352036547","1352036590","1352036639","1352036680","1352036738","1352036802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/098da21a7b2564257fea8bfb049d289c.jpg","text":"TemporaryFile(/tmp/multipartBody3039426634471239585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101424740,"filename":"image_14042025_11_52_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c17b47972438101cde022423941d44d.jpg","text":"TemporaryFile(/tmp/multipartBody2592599865624045210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101424740,"filename":"image_14042025_11_52_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adb524b753c1b8e6ae3cedb7af99ed86.jpg","text":"TemporaryFile(/tmp/multipartBody5193013925164838750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101424740,"filename":"image_14042025_11_52_06_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1184e6175deeaa410156b36138606727.jpg","text":"TemporaryFile(/tmp/multipartBody5965313420189838632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101424740,"filename":"image_14042025_11_52_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0f7ad16ec7dd55a680cea932cf9d328.jpg","text":"TemporaryFile(/tmp/multipartBody3503483663402481998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101424740,"filename":"image_14042025_11_51_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f607ab52b010693d2bc0426dbe80cbd8.jpg","text":"TemporaryFile(/tmp/multipartBody8667547446953490283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101424740,"filename":"image_14042025_11_51_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036639","file1":"1352036590","file0":"1352036547","file4":"1352036738","file5":"1352036802","file3":"1352036680"},"map_files_photo_id_array":[{"photo_id":"1352036802","filename":"file5"},{"photo_id":"1352036639","filename":"file2"},{"photo_id":"1352036738","filename":"file4"},{"photo_id":"1352036590","filename":"file1"},{"photo_id":"1352036547","filename":"file0"},{"photo_id":"1352036680","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352036802":["hashtag1","hashtag2"]},{"1352036738":["hashtag1","hashtag2"]},{"1352036639":["hashtag1","hashtag2"]},{"1352036680":["hashtag1","hashtag2"]},{"1352036590":["hashtag1","hashtag2"]},{"1352036547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352036802, 1352036738, 1352036639, 1352036680, 1352036590, 1352036547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.715982675552368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:23:42.398274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_45_9356.jpg', '/home/pi/Desktop/images/14042025/11/52/image_14042025_11_53_06_10374.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_16_9330.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_26_10453.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_36_10341.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_46_9485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_45_9356.jpg
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_53_06_10374.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_16_9330.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_26_10453.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_36_10341.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_46_9485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037287","1352037215","1352037172","1352037310","1352037252","1352037147"],"photo_ids_order":["1352037147","1352037172","1352037215","1352037252","1352037287","1352037310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1208cd90036c19d42ff5caa09ea56e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4802399959276345085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101483960,"filename":"image_14042025_11_53_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f02b57d1aa0e9978d878ab0bc282af2.jpg","text":"TemporaryFile(/tmp/multipartBody4632958729488762603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101483960,"filename":"image_14042025_11_53_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2c4f3b4ba7d19b78e06510ff2aa2c7a.jpg","text":"TemporaryFile(/tmp/multipartBody631663760860866472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101483960,"filename":"image_14042025_11_53_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9ada8f7e5f0c3302f45d1c8e1657fed.jpg","text":"TemporaryFile(/tmp/multipartBody4296182711803806881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101483960,"filename":"image_14042025_11_53_46_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09865ce949efb3f9e38cb19f4cce4174.jpg","text":"TemporaryFile(/tmp/multipartBody4262307587468389281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101483960,"filename":"image_14042025_11_53_26_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93c9103a2b00f7fdcf8f46b5592b6bfc.jpg","text":"TemporaryFile(/tmp/multipartBody9058162025062163654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101483960,"filename":"image_14042025_11_52_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037215","file1":"1352037172","file0":"1352037147","file4":"1352037287","file5":"1352037310","file3":"1352037252"},"map_files_photo_id_array":[{"photo_id":"1352037310","filename":"file5"},{"photo_id":"1352037215","filename":"file2"},{"photo_id":"1352037287","filename":"file4"},{"photo_id":"1352037172","filename":"file1"},{"photo_id":"1352037147","filename":"file0"},{"photo_id":"1352037252","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037287":["hashtag1","hashtag2"]},{"1352037215":["hashtag1","hashtag2"]},{"1352037172":["hashtag1","hashtag2"]},{"1352037310":["hashtag1","hashtag2"]},{"1352037252":["hashtag1","hashtag2"]},{"1352037147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037287, 1352037215, 1352037172, 1352037310, 1352037252, 1352037147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.87277603149414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:24:42.624476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_56_10363.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_54_05_9322.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_16_10376.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_26_10357.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_36_9459.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_46_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_56_10363.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_54_05_9322.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_16_10376.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_26_10357.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_36_9459.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_46_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037410","1352037412","1352037402","1352037411","1352037405","1352037408"],"photo_ids_order":["1352037402","1352037405","1352037408","1352037410","1352037411","1352037412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/809d9ffe1223388f2e8d27e8e415de0f.jpg","text":"TemporaryFile(/tmp/multipartBody3454458294187246318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101544191,"filename":"image_14042025_11_54_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/869efdf3132c43eed6581b20ee7e2504.jpg","text":"TemporaryFile(/tmp/multipartBody7208507330423809009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101544191,"filename":"image_14042025_11_54_46_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d889740916ec8d2907c50a97a9f2d39.jpg","text":"TemporaryFile(/tmp/multipartBody950872794027127924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101544191,"filename":"image_14042025_11_53_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbb80c30b180c6f8875a769aacff8725.jpg","text":"TemporaryFile(/tmp/multipartBody8996848126218171127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101544191,"filename":"image_14042025_11_54_36_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8e2323e406f43a9470f676b2a7dd2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3373420969368521621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101544191,"filename":"image_14042025_11_54_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17ffd66e2f75f5382b76e6d2baf084d0.jpg","text":"TemporaryFile(/tmp/multipartBody1507885322867627505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101544191,"filename":"image_14042025_11_54_16_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037408","file1":"1352037405","file0":"1352037402","file4":"1352037411","file5":"1352037412","file3":"1352037410"},"map_files_photo_id_array":[{"photo_id":"1352037412","filename":"file5"},{"photo_id":"1352037408","filename":"file2"},{"photo_id":"1352037411","filename":"file4"},{"photo_id":"1352037405","filename":"file1"},{"photo_id":"1352037402","filename":"file0"},{"photo_id":"1352037410","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037410":["hashtag1","hashtag2"]},{"1352037412":["hashtag1","hashtag2"]},{"1352037402":["hashtag1","hashtag2"]},{"1352037411":["hashtag1","hashtag2"]},{"1352037405":["hashtag1","hashtag2"]},{"1352037408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037410, 1352037412, 1352037402, 1352037411, 1352037405, 1352037408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.154832363128662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:25:42.879333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_56_9394.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_55_06_10456.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_16_10353.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_26_9422.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_36_10375.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_46_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_56_9394.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_55_06_10456.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_16_10353.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_26_9422.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_36_10375.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_46_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037716","1352037644","1352037620","1352037691","1352037667","1352037595"],"photo_ids_order":["1352037595","1352037620","1352037644","1352037667","1352037691","1352037716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f36d8e1cde7683b3b18c3cc8022fee8a.jpg","text":"TemporaryFile(/tmp/multipartBody7296314454644069162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101604442,"filename":"image_14042025_11_55_46_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1baebe9e8219f9ab317e603105d3d1ca.jpg","text":"TemporaryFile(/tmp/multipartBody3128292783402923191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101604442,"filename":"image_14042025_11_55_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf355daabb9c90b943f5cc17fd96e87a.jpg","text":"TemporaryFile(/tmp/multipartBody5166400203893013768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101604442,"filename":"image_14042025_11_55_06_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a8e2ab2619ecaf464189b34c863bd20.jpg","text":"TemporaryFile(/tmp/multipartBody6599472244476912010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101604442,"filename":"image_14042025_11_55_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9a378fb74b4336574e5e5766af63481.jpg","text":"TemporaryFile(/tmp/multipartBody7704228023586949887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101604442,"filename":"image_14042025_11_55_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee1e7940915387191561e7b7d52387b1.jpg","text":"TemporaryFile(/tmp/multipartBody3365529149003445542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101604442,"filename":"image_14042025_11_54_56_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037644","file1":"1352037620","file0":"1352037595","file4":"1352037691","file5":"1352037716","file3":"1352037667"},"map_files_photo_id_array":[{"photo_id":"1352037716","filename":"file5"},{"photo_id":"1352037644","filename":"file2"},{"photo_id":"1352037691","filename":"file4"},{"photo_id":"1352037620","filename":"file1"},{"photo_id":"1352037595","filename":"file0"},{"photo_id":"1352037667","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037716":["hashtag1","hashtag2"]},{"1352037644":["hashtag1","hashtag2"]},{"1352037620":["hashtag1","hashtag2"]},{"1352037691":["hashtag1","hashtag2"]},{"1352037667":["hashtag1","hashtag2"]},{"1352037595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037716, 1352037644, 1352037620, 1352037691, 1352037667, 1352037595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.605485677719116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:26:43.077878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_56_10461.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_56_05_9337.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_16_10413.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_26_10374.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_35_9332.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_46_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_56_10461.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_56_05_9337.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_16_10413.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_26_10374.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_35_9332.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_46_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037842","1352037796","1352037787","1352037817","1352037786","1352037851"],"photo_ids_order":["1352037786","1352037787","1352037796","1352037817","1352037842","1352037851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9f7cf2782f8d96ba70e886286055336.jpg","text":"TemporaryFile(/tmp/multipartBody3238850102680777206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101664683,"filename":"image_14042025_11_56_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1023730d9a7f8d58984abaf55322fd06.jpg","text":"TemporaryFile(/tmp/multipartBody1072595668290240422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101664683,"filename":"image_14042025_11_56_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89acc5dc92d32cddf6e84ca03c125761.jpg","text":"TemporaryFile(/tmp/multipartBody3894620392514165713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101664683,"filename":"image_14042025_11_56_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ccedc3341d782785e1d68dec648037a6.jpg","text":"TemporaryFile(/tmp/multipartBody196076079149845551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101664683,"filename":"image_14042025_11_56_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bac3b62f5349025ab93c679bbd85200.jpg","text":"TemporaryFile(/tmp/multipartBody8273806913171099881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101664683,"filename":"image_14042025_11_55_56_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bd4ae510c6ef44c006cb9b7650814f6.jpg","text":"TemporaryFile(/tmp/multipartBody4815964325515903753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101664683,"filename":"image_14042025_11_56_46_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037796","file1":"1352037787","file0":"1352037786","file4":"1352037842","file5":"1352037851","file3":"1352037817"},"map_files_photo_id_array":[{"photo_id":"1352037851","filename":"file5"},{"photo_id":"1352037796","filename":"file2"},{"photo_id":"1352037842","filename":"file4"},{"photo_id":"1352037787","filename":"file1"},{"photo_id":"1352037786","filename":"file0"},{"photo_id":"1352037817","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037842":["hashtag1","hashtag2"]},{"1352037796":["hashtag1","hashtag2"]},{"1352037787":["hashtag1","hashtag2"]},{"1352037817":["hashtag1","hashtag2"]},{"1352037786":["hashtag1","hashtag2"]},{"1352037851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037842, 1352037796, 1352037787, 1352037817, 1352037786, 1352037851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.66994547843933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:27:42.395660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_56_10361.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_57_06_9330.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_16_10393.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_25_9438.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_36_10340.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_56_10361.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_57_06_9330.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_16_10393.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_25_9438.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_36_10340.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_46_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037917","1352037913","1352037907","1352037916","1352037910","1352037918"],"photo_ids_order":["1352037907","1352037910","1352037913","1352037916","1352037917","1352037918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b323913881c5cee5c0275b6cd93a0e0.jpg","text":"TemporaryFile(/tmp/multipartBody3443298060687492124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101723960,"filename":"image_14042025_11_57_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d74fc29db8ff77b2615310a418bc8d6a.jpg","text":"TemporaryFile(/tmp/multipartBody1752795066589143595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101723960,"filename":"image_14042025_11_57_16_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10c262918bf1c601367068f50012837c.jpg","text":"TemporaryFile(/tmp/multipartBody1529535363260748217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101723960,"filename":"image_14042025_11_56_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/162b137e2cefda42967a7adba8f2600e.jpg","text":"TemporaryFile(/tmp/multipartBody3218359320605003988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101723960,"filename":"image_14042025_11_57_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b9ae7ed1e2f5f5e4d7147901b565fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7405486674520876912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101723960,"filename":"image_14042025_11_57_06_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d57653048b9ea72942c5b966e14a9e3.jpg","text":"TemporaryFile(/tmp/multipartBody3926233589525807386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101723960,"filename":"image_14042025_11_57_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037913","file1":"1352037910","file0":"1352037907","file4":"1352037917","file5":"1352037918","file3":"1352037916"},"map_files_photo_id_array":[{"photo_id":"1352037918","filename":"file5"},{"photo_id":"1352037913","filename":"file2"},{"photo_id":"1352037917","filename":"file4"},{"photo_id":"1352037910","filename":"file1"},{"photo_id":"1352037907","filename":"file0"},{"photo_id":"1352037916","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037917":["hashtag1","hashtag2"]},{"1352037913":["hashtag1","hashtag2"]},{"1352037907":["hashtag1","hashtag2"]},{"1352037916":["hashtag1","hashtag2"]},{"1352037910":["hashtag1","hashtag2"]},{"1352037918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037917, 1352037913, 1352037907, 1352037916, 1352037910, 1352037918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.02832007408142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:28:42.588262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_56_9348.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_58_06_10453.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_16_10341.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_26_9387.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_36_10460.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_46_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_56_9348.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_58_06_10453.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_16_10341.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_26_9387.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_36_10460.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_46_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037938","1352037937","1352037931","1352037934","1352037928","1352037939"],"photo_ids_order":["1352037928","1352037931","1352037934","1352037937","1352037938","1352037939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e403dd5f0c153333d5aeb23e720870b.jpg","text":"TemporaryFile(/tmp/multipartBody3421860359180495400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101784151,"filename":"image_14042025_11_58_36_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c44a610856ac1580a82ee0f50b65316.jpg","text":"TemporaryFile(/tmp/multipartBody941324212851473615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101784151,"filename":"image_14042025_11_58_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f0a5ddf49d45343361ffc7d19fe41e8.jpg","text":"TemporaryFile(/tmp/multipartBody7107891617174760353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101784151,"filename":"image_14042025_11_58_06_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f60bca67d2b89514ebea61115f440c2.jpg","text":"TemporaryFile(/tmp/multipartBody1076516471141794188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101784151,"filename":"image_14042025_11_58_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/292614d92eae3505ad83d8c0d85fb99c.jpg","text":"TemporaryFile(/tmp/multipartBody6985354514192785654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101784151,"filename":"image_14042025_11_57_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ac599e7c3fbf721b8e84fe78af48125.jpg","text":"TemporaryFile(/tmp/multipartBody3161675130754629661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101784151,"filename":"image_14042025_11_58_46_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037934","file1":"1352037931","file0":"1352037928","file4":"1352037938","file5":"1352037939","file3":"1352037937"},"map_files_photo_id_array":[{"photo_id":"1352037939","filename":"file5"},{"photo_id":"1352037934","filename":"file2"},{"photo_id":"1352037938","filename":"file4"},{"photo_id":"1352037931","filename":"file1"},{"photo_id":"1352037928","filename":"file0"},{"photo_id":"1352037937","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037938":["hashtag1","hashtag2"]},{"1352037937":["hashtag1","hashtag2"]},{"1352037931":["hashtag1","hashtag2"]},{"1352037934":["hashtag1","hashtag2"]},{"1352037928":["hashtag1","hashtag2"]},{"1352037939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037938, 1352037937, 1352037931, 1352037934, 1352037928, 1352037939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.707642078399658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:29:42.905549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_56_10368.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_59_06_10390.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_16_9439.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_26_10376.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_35_9338.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_46_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_56_10368.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_59_06_10390.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_16_9439.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_26_10376.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_35_9338.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_46_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037974","1352037973","1352037975","1352037969","1352037957","1352037971"],"photo_ids_order":["1352037957","1352037969","1352037971","1352037973","1352037974","1352037975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb964d592a9baa86956aebcae56b01d5.jpg","text":"TemporaryFile(/tmp/multipartBody5659623557774153197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101844475,"filename":"image_14042025_11_59_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57b360dacd0b19c8f9d079f017fb20cd.jpg","text":"TemporaryFile(/tmp/multipartBody3970499075358547095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101844475,"filename":"image_14042025_11_59_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6d431908477f517d6b34ece8f73e310.jpg","text":"TemporaryFile(/tmp/multipartBody4429416205736055698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101844475,"filename":"image_14042025_11_59_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69285f04c8979bd988b50aede651d976.jpg","text":"TemporaryFile(/tmp/multipartBody8855993707101799828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101844475,"filename":"image_14042025_11_59_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3a95772915cf665f563fea1e0d56179.jpg","text":"TemporaryFile(/tmp/multipartBody3524384135101541436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101844475,"filename":"image_14042025_11_58_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2c1478cd7cf7a0476f347bd9ec29df8.jpg","text":"TemporaryFile(/tmp/multipartBody5642103360881730670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101844475,"filename":"image_14042025_11_59_16_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037971","file1":"1352037969","file0":"1352037957","file4":"1352037974","file5":"1352037975","file3":"1352037973"},"map_files_photo_id_array":[{"photo_id":"1352037975","filename":"file5"},{"photo_id":"1352037971","filename":"file2"},{"photo_id":"1352037974","filename":"file4"},{"photo_id":"1352037969","filename":"file1"},{"photo_id":"1352037957","filename":"file0"},{"photo_id":"1352037973","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037974":["hashtag1","hashtag2"]},{"1352037973":["hashtag1","hashtag2"]},{"1352037975":["hashtag1","hashtag2"]},{"1352037969":["hashtag1","hashtag2"]},{"1352037957":["hashtag1","hashtag2"]},{"1352037971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037974, 1352037973, 1352037975, 1352037969, 1352037957, 1352037971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23085880279541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:30:43.065413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_56_10439.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_15_10073.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_26_10524.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_46_9357.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_56_10364.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_01_05_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_56_10439.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_15_10073.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_26_10524.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_46_9357.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_56_10364.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_01_05_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037994","1352037997","1352038000","1352037996","1352037998","1352037992"],"photo_ids_order":["1352037992","1352037994","1352037996","1352037997","1352037998","1352038000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f31a5f922e7175aa9bf2b7d3cc040096.jpg","text":"TemporaryFile(/tmp/multipartBody2717755893058428043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101904646,"filename":"image_14042025_12_00_15_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e19e91bdec36c36779eb6b8b7280a3e7.jpg","text":"TemporaryFile(/tmp/multipartBody1380475393998176621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101904646,"filename":"image_14042025_12_00_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba859b6a98619a313b0d2956a20421b1.jpg","text":"TemporaryFile(/tmp/multipartBody90077209936562567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101904646,"filename":"image_14042025_12_01_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c06841b9c81c6d075defcfc0f99288f1.jpg","text":"TemporaryFile(/tmp/multipartBody8955223750252728275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101904646,"filename":"image_14042025_12_00_26_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f61df78215db92e77b1d40384d40f889.jpg","text":"TemporaryFile(/tmp/multipartBody1706397849355348936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101904646,"filename":"image_14042025_12_00_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8da092f4b004064c4f0f4a704bf91cd.jpg","text":"TemporaryFile(/tmp/multipartBody3689929340873693652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101904646,"filename":"image_14042025_11_59_56_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037996","file1":"1352037994","file0":"1352037992","file4":"1352037998","file5":"1352038000","file3":"1352037997"},"map_files_photo_id_array":[{"photo_id":"1352038000","filename":"file5"},{"photo_id":"1352037996","filename":"file2"},{"photo_id":"1352037998","filename":"file4"},{"photo_id":"1352037994","filename":"file1"},{"photo_id":"1352037992","filename":"file0"},{"photo_id":"1352037997","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352037994":["hashtag1","hashtag2"]},{"1352037997":["hashtag1","hashtag2"]},{"1352038000":["hashtag1","hashtag2"]},{"1352037996":["hashtag1","hashtag2"]},{"1352037998":["hashtag1","hashtag2"]},{"1352037992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352037994, 1352037997, 1352038000, 1352037996, 1352037998, 1352037992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12662363052368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:31:42.297709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_16_10341.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_26_10458.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_35_9352.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_46_10476.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_55_9366.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_02_06_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_16_10341.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_26_10458.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_35_9352.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_46_10476.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_55_9366.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_02_06_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038022","1352038024","1352038021","1352038015","1352038020","1352038017"],"photo_ids_order":["1352038015","1352038017","1352038020","1352038021","1352038022","1352038024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d13a3bff2f682bbfd22ed9b76352a74d.jpg","text":"TemporaryFile(/tmp/multipartBody2359985934622558428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101963877,"filename":"image_14042025_12_01_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ae664146443697cc30767d0ff29ecb4.jpg","text":"TemporaryFile(/tmp/multipartBody4736188486968133132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101963877,"filename":"image_14042025_12_02_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a74cb0fd93e09f18da41ed4da6c0da5.jpg","text":"TemporaryFile(/tmp/multipartBody169639542563556467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101963877,"filename":"image_14042025_12_01_46_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48d1ed3bf6155ea9e5128d968634d749.jpg","text":"TemporaryFile(/tmp/multipartBody2701350235417850488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101963877,"filename":"image_14042025_12_01_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97b3f1d5bf17adaacf9e37947fedd81e.jpg","text":"TemporaryFile(/tmp/multipartBody6621478463863871377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101963877,"filename":"image_14042025_12_01_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87f34d2a6ef71ee87318ce8abf0662f5.jpg","text":"TemporaryFile(/tmp/multipartBody7279816204508640819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745101963877,"filename":"image_14042025_12_01_26_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038020","file1":"1352038017","file0":"1352038015","file4":"1352038022","file5":"1352038024","file3":"1352038021"},"map_files_photo_id_array":[{"photo_id":"1352038024","filename":"file5"},{"photo_id":"1352038020","filename":"file2"},{"photo_id":"1352038022","filename":"file4"},{"photo_id":"1352038017","filename":"file1"},{"photo_id":"1352038015","filename":"file0"},{"photo_id":"1352038021","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038022":["hashtag1","hashtag2"]},{"1352038024":["hashtag1","hashtag2"]},{"1352038021":["hashtag1","hashtag2"]},{"1352038015":["hashtag1","hashtag2"]},{"1352038020":["hashtag1","hashtag2"]},{"1352038017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038022, 1352038024, 1352038021, 1352038015, 1352038020, 1352038017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95893144607544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-20 00:32:42.488467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_16_10394.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_25_9398.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_36_10440.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_46_10382.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_56_9366.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_16_10034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_16_10394.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_25_9398.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_36_10440.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_46_10382.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_56_9366.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_16_10034.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038039","1352038048","1352038047","1352038041","1352038044","1352038046"],"photo_ids_order":["1352038039","1352038041","1352038044","1352038046","1352038047","1352038048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bde6fd1de4e8b2898c695d5937dd2e20.jpg","text":"TemporaryFile(/tmp/multipartBody7232601767498024546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102024097,"filename":"image_14042025_12_02_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69432395179f703e68ec354e72b9f8f2.jpg","text":"TemporaryFile(/tmp/multipartBody8296133378783108957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102024097,"filename":"image_14042025_12_03_16_10034.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9910fa762997537e4afd8f8c865e1db.jpg","text":"TemporaryFile(/tmp/multipartBody2872177324044132175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102024097,"filename":"image_14042025_12_02_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec0f71d63432925f7ddd74ed65d97ea1.jpg","text":"TemporaryFile(/tmp/multipartBody6810446331181003923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102024097,"filename":"image_14042025_12_02_25_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19045e6255fbb99c4e75327accc5b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody891146336065393255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102024097,"filename":"image_14042025_12_02_36_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03bdd633b03d14894e96e555dd923603.jpg","text":"TemporaryFile(/tmp/multipartBody5818822058188339560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102024097,"filename":"image_14042025_12_02_46_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038044","file1":"1352038041","file0":"1352038039","file4":"1352038047","file5":"1352038048","file3":"1352038046"},"map_files_photo_id_array":[{"photo_id":"1352038048","filename":"file5"},{"photo_id":"1352038044","filename":"file2"},{"photo_id":"1352038047","filename":"file4"},{"photo_id":"1352038041","filename":"file1"},{"photo_id":"1352038039","filename":"file0"},{"photo_id":"1352038046","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038039":["hashtag1","hashtag2"]},{"1352038048":["hashtag1","hashtag2"]},{"1352038047":["hashtag1","hashtag2"]},{"1352038041":["hashtag1","hashtag2"]},{"1352038044":["hashtag1","hashtag2"]},{"1352038046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038039, 1352038048, 1352038047, 1352038041, 1352038044, 1352038046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1616792678833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:34:02.863112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_26_9431.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_36_10452.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_45_9376.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_56_10503.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_04_06_10370.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_26_9431.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_36_10452.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_45_9376.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_56_10503.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_04_06_10370.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_16_9359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6773312091827393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:35:04.114281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_26_9431.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_36_10452.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_45_9376.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_56_10503.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_04_06_10370.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_26_9431.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_36_10452.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_45_9376.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_56_10503.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_04_06_10370.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_16_9359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038100","1352038098","1352038102","1352038095","1352038104","1352038107"],"photo_ids_order":["1352038095","1352038098","1352038100","1352038102","1352038104","1352038107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94b6d50a1651c368cfbf51285464018f.jpg","text":"TemporaryFile(/tmp/multipartBody8906054308735772211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102164865,"filename":"image_14042025_12_03_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2673d26c723dbe981d0b4710c5fdaac1.jpg","text":"TemporaryFile(/tmp/multipartBody1149994892200855336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102164865,"filename":"image_14042025_12_03_36_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f07874e48c06e2f1df85e57feaddf26.jpg","text":"TemporaryFile(/tmp/multipartBody8168495858251300181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102164865,"filename":"image_14042025_12_03_56_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9938c5c9872ff629b79ebaa77d8f7645.jpg","text":"TemporaryFile(/tmp/multipartBody3285810425106326570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102164865,"filename":"image_14042025_12_03_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cdb2a816771bd6d008483e9c7a8cc10.jpg","text":"TemporaryFile(/tmp/multipartBody7264091165646863390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102164865,"filename":"image_14042025_12_04_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f22443a1456274e21df60577fdcb6016.jpg","text":"TemporaryFile(/tmp/multipartBody2563787567024990034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102164865,"filename":"image_14042025_12_04_16_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038100","file1":"1352038098","file0":"1352038095","file4":"1352038104","file5":"1352038107","file3":"1352038102"},"map_files_photo_id_array":[{"photo_id":"1352038107","filename":"file5"},{"photo_id":"1352038100","filename":"file2"},{"photo_id":"1352038104","filename":"file4"},{"photo_id":"1352038098","filename":"file1"},{"photo_id":"1352038095","filename":"file0"},{"photo_id":"1352038102","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038100":["hashtag1","hashtag2"]},{"1352038098":["hashtag1","hashtag2"]},{"1352038102":["hashtag1","hashtag2"]},{"1352038095":["hashtag1","hashtag2"]},{"1352038104":["hashtag1","hashtag2"]},{"1352038107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038100, 1352038098, 1352038102, 1352038095, 1352038104, 1352038107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02836036682129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:36:02.986481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_26_10420.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_35_9342.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_46_10413.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_56_10347.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_05_05_9339.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_16_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_26_10420.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_35_9342.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_46_10413.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_56_10347.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_05_05_9339.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_16_10427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038121","1352038118","1352038123","1352038120","1352038122","1352038119"],"photo_ids_order":["1352038118","1352038119","1352038120","1352038121","1352038122","1352038123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1eb50f4e70ecc9127d07814f491d6dfe.jpg","text":"TemporaryFile(/tmp/multipartBody2513227673004968714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102223734,"filename":"image_14042025_12_04_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8cccdea5e831d8e63ca6a29b6da2092.jpg","text":"TemporaryFile(/tmp/multipartBody348698078320266419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102223734,"filename":"image_14042025_12_04_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32c802c9fda07e8715ca006576fff04c.jpg","text":"TemporaryFile(/tmp/multipartBody3268525394373715199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102223734,"filename":"image_14042025_12_05_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44eaae932361258383b5dbd721ec17c5.jpg","text":"TemporaryFile(/tmp/multipartBody1106456340574437868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102223734,"filename":"image_14042025_12_04_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a40c39326ee4e136423cf3bc9a3113c.jpg","text":"TemporaryFile(/tmp/multipartBody468135704387227151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102223734,"filename":"image_14042025_12_05_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38bb009a1ec8b0e37728e8255c9c0efa.jpg","text":"TemporaryFile(/tmp/multipartBody362434509296660032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102223734,"filename":"image_14042025_12_04_35_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038120","file1":"1352038119","file0":"1352038118","file4":"1352038122","file5":"1352038123","file3":"1352038121"},"map_files_photo_id_array":[{"photo_id":"1352038123","filename":"file5"},{"photo_id":"1352038120","filename":"file2"},{"photo_id":"1352038122","filename":"file4"},{"photo_id":"1352038119","filename":"file1"},{"photo_id":"1352038118","filename":"file0"},{"photo_id":"1352038121","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038121":["hashtag1","hashtag2"]},{"1352038118":["hashtag1","hashtag2"]},{"1352038123":["hashtag1","hashtag2"]},{"1352038120":["hashtag1","hashtag2"]},{"1352038122":["hashtag1","hashtag2"]},{"1352038119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038121, 1352038118, 1352038123, 1352038120, 1352038122, 1352038119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.230151176452637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:37:04.035838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_26_10368.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_36_9354.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_46_10418.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_55_9341.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_06_06_10400.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_16_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_26_10368.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_36_9354.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_46_10418.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_55_9341.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_06_06_10400.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_16_10427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038142","1352038135","1352038138","1352038140","1352038137","1352038139"],"photo_ids_order":["1352038135","1352038137","1352038138","1352038139","1352038140","1352038142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/256ace47cf9dad62141851c2e9b64833.jpg","text":"TemporaryFile(/tmp/multipartBody4474198352871473445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102284941,"filename":"image_14042025_12_06_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70090b73bec38eb986f5b21f28a2f54f.jpg","text":"TemporaryFile(/tmp/multipartBody6862230306925652009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102284941,"filename":"image_14042025_12_05_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79fe366f4daecc3b7318b7eeda67e7a2.jpg","text":"TemporaryFile(/tmp/multipartBody1508554153051105097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102284941,"filename":"image_14042025_12_05_46_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a1045b1922748fb971297bcb8517300.jpg","text":"TemporaryFile(/tmp/multipartBody6403820620173925941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102284941,"filename":"image_14042025_12_06_06_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb877a4545648d802bdc90060b43d49c.jpg","text":"TemporaryFile(/tmp/multipartBody7952295870874049374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102284941,"filename":"image_14042025_12_05_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/997adf6a391684b834434730aca7926d.jpg","text":"TemporaryFile(/tmp/multipartBody6410656916730131766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102284941,"filename":"image_14042025_12_05_55_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038138","file1":"1352038137","file0":"1352038135","file4":"1352038140","file5":"1352038142","file3":"1352038139"},"map_files_photo_id_array":[{"photo_id":"1352038142","filename":"file5"},{"photo_id":"1352038138","filename":"file2"},{"photo_id":"1352038140","filename":"file4"},{"photo_id":"1352038137","filename":"file1"},{"photo_id":"1352038135","filename":"file0"},{"photo_id":"1352038139","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038142":["hashtag1","hashtag2"]},{"1352038135":["hashtag1","hashtag2"]},{"1352038138":["hashtag1","hashtag2"]},{"1352038140":["hashtag1","hashtag2"]},{"1352038137":["hashtag1","hashtag2"]},{"1352038139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038142, 1352038135, 1352038138, 1352038140, 1352038137, 1352038139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.693294763565063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:38:02.787124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_26_9353.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_36_10466.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_45_9412.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_56_10432.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_07_06_10420.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_16_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_26_9353.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_36_10466.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_45_9412.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_56_10432.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_07_06_10420.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_16_9357.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038159","1352038161","1352038155","1352038163","1352038157","1352038166"],"photo_ids_order":["1352038155","1352038157","1352038159","1352038161","1352038163","1352038166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18bd175adc14a9c4c657b9f283281fb4.jpg","text":"TemporaryFile(/tmp/multipartBody1033931193250114577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102343536,"filename":"image_14042025_12_06_45_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86b5327ed4e282f98943055d5b05d39a.jpg","text":"TemporaryFile(/tmp/multipartBody1304689419665038274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102343536,"filename":"image_14042025_12_06_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f58969f390673c5fe492c6abd27a9d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2352092826430076325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102343536,"filename":"image_14042025_12_06_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f61bf7d7d56d01597589a1b0897379e5.jpg","text":"TemporaryFile(/tmp/multipartBody3814545215606837919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102343536,"filename":"image_14042025_12_07_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c77cb3030ee91feaa3bb4aa45945258.jpg","text":"TemporaryFile(/tmp/multipartBody8014821973173373772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102343536,"filename":"image_14042025_12_06_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/49aa06729dfa1bf3c011055a1c8afb0e.jpg","text":"TemporaryFile(/tmp/multipartBody7419277566563968198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102343536,"filename":"image_14042025_12_07_16_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038159","file1":"1352038157","file0":"1352038155","file4":"1352038163","file5":"1352038166","file3":"1352038161"},"map_files_photo_id_array":[{"photo_id":"1352038166","filename":"file5"},{"photo_id":"1352038159","filename":"file2"},{"photo_id":"1352038163","filename":"file4"},{"photo_id":"1352038157","filename":"file1"},{"photo_id":"1352038155","filename":"file0"},{"photo_id":"1352038161","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038159":["hashtag1","hashtag2"]},{"1352038161":["hashtag1","hashtag2"]},{"1352038155":["hashtag1","hashtag2"]},{"1352038163":["hashtag1","hashtag2"]},{"1352038157":["hashtag1","hashtag2"]},{"1352038166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038159, 1352038161, 1352038155, 1352038163, 1352038157, 1352038166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.693445682525635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:39:04.131413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_26_10421.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_35_9335.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_46_10461.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_55_9428.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_08_06_10478.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_16_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_26_10421.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_35_9335.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_46_10461.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_55_9428.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_08_06_10478.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_16_10431.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038183","1352038185","1352038187","1352038181","1352038190","1352038178"],"photo_ids_order":["1352038178","1352038181","1352038183","1352038185","1352038187","1352038190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/574385ddc5f4bd25194c98a250e19a28.jpg","text":"TemporaryFile(/tmp/multipartBody6898315871171092434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102404998,"filename":"image_14042025_12_07_46_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f6c0fd59e6ac8417cba3d73e63c525a.jpg","text":"TemporaryFile(/tmp/multipartBody4718270683276661843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102404998,"filename":"image_14042025_12_07_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eda5378568adcf150bb1be937b6cb5a1.jpg","text":"TemporaryFile(/tmp/multipartBody6229133743370251887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102404998,"filename":"image_14042025_12_08_06_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2227ebc44e382ae923df1f0d97b14423.jpg","text":"TemporaryFile(/tmp/multipartBody2048777317837758622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102404998,"filename":"image_14042025_12_07_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3f2ccb890e12a85dcbb7a38cf78795b.jpg","text":"TemporaryFile(/tmp/multipartBody8843421518032296759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102404998,"filename":"image_14042025_12_08_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ef6f8ff68e6e6d06568239f8f78ee89.jpg","text":"TemporaryFile(/tmp/multipartBody2159153374734265883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102404998,"filename":"image_14042025_12_07_26_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038183","file1":"1352038181","file0":"1352038178","file4":"1352038187","file5":"1352038190","file3":"1352038185"},"map_files_photo_id_array":[{"photo_id":"1352038190","filename":"file5"},{"photo_id":"1352038183","filename":"file2"},{"photo_id":"1352038187","filename":"file4"},{"photo_id":"1352038181","filename":"file1"},{"photo_id":"1352038178","filename":"file0"},{"photo_id":"1352038185","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038183":["hashtag1","hashtag2"]},{"1352038185":["hashtag1","hashtag2"]},{"1352038187":["hashtag1","hashtag2"]},{"1352038181":["hashtag1","hashtag2"]},{"1352038190":["hashtag1","hashtag2"]},{"1352038178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038183, 1352038185, 1352038187, 1352038181, 1352038190, 1352038178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60360860824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:40:03.109789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_26_9364.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_36_10449.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_45_9364.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_56_10407.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_09_06_10381.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_15_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_26_9364.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_36_10449.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_45_9364.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_56_10407.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_09_06_10381.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_15_9354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038208","1352038202","1352038204","1352038206","1352038199","1352038211"],"photo_ids_order":["1352038199","1352038202","1352038204","1352038206","1352038208","1352038211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e64e084bc0d7974f0023df4d497cc7af.jpg","text":"TemporaryFile(/tmp/multipartBody3239662494727936470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102463863,"filename":"image_14042025_12_09_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1291d0870003c0983baecdc4f0250cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5786467874687156357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102463863,"filename":"image_14042025_12_08_36_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e772d43069c4adf6c329a04ff972b28.jpg","text":"TemporaryFile(/tmp/multipartBody1710320596291270160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102463863,"filename":"image_14042025_12_08_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cadf76f1e00c0770c4717c15ad1de1ea.jpg","text":"TemporaryFile(/tmp/multipartBody30217173012881039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102463863,"filename":"image_14042025_12_08_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/027a38570112fdc3bf9920394a875a6a.jpg","text":"TemporaryFile(/tmp/multipartBody4907369373514771503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102463863,"filename":"image_14042025_12_08_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7b63a4650b8aac1382e8cf263b3e431.jpg","text":"TemporaryFile(/tmp/multipartBody8154095441327817753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102463863,"filename":"image_14042025_12_09_15_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038204","file1":"1352038202","file0":"1352038199","file4":"1352038208","file5":"1352038211","file3":"1352038206"},"map_files_photo_id_array":[{"photo_id":"1352038211","filename":"file5"},{"photo_id":"1352038204","filename":"file2"},{"photo_id":"1352038208","filename":"file4"},{"photo_id":"1352038202","filename":"file1"},{"photo_id":"1352038199","filename":"file0"},{"photo_id":"1352038206","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038208":["hashtag1","hashtag2"]},{"1352038202":["hashtag1","hashtag2"]},{"1352038204":["hashtag1","hashtag2"]},{"1352038206":["hashtag1","hashtag2"]},{"1352038199":["hashtag1","hashtag2"]},{"1352038211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038208, 1352038202, 1352038204, 1352038206, 1352038199, 1352038211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54541063308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:41:04.173161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_26_10480.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_35_9338.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_46_10475.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_56_10339.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_10_06_9412.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_16_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_26_10480.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_35_9338.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_46_10475.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_56_10339.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_10_06_9412.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_16_10356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038220","1352038222","1352038228","1352038230","1352038224","1352038226"],"photo_ids_order":["1352038220","1352038222","1352038224","1352038226","1352038228","1352038230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6ec447d237fb4491d871166114b71dc.jpg","text":"TemporaryFile(/tmp/multipartBody1903594030075553268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102525058,"filename":"image_14042025_12_09_26_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e861b92662d0b06c178fb44477d93c8.jpg","text":"TemporaryFile(/tmp/multipartBody4000003881500075326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102525058,"filename":"image_14042025_12_09_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9e6b6c5e1c2f9556f891bff0fac34e5.jpg","text":"TemporaryFile(/tmp/multipartBody7157023514468374911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102525058,"filename":"image_14042025_12_10_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0656e7e4f52f00283495d24fde09db4f.jpg","text":"TemporaryFile(/tmp/multipartBody4823342130052402382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102525058,"filename":"image_14042025_12_10_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/faacd3f9c3e93678e72cdfc90f96aecd.jpg","text":"TemporaryFile(/tmp/multipartBody2504631979345483612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102525058,"filename":"image_14042025_12_09_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7147276a03af4466801b50aa5a980e54.jpg","text":"TemporaryFile(/tmp/multipartBody8120987609907467063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102525058,"filename":"image_14042025_12_09_56_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038224","file1":"1352038222","file0":"1352038220","file4":"1352038228","file5":"1352038230","file3":"1352038226"},"map_files_photo_id_array":[{"photo_id":"1352038230","filename":"file5"},{"photo_id":"1352038224","filename":"file2"},{"photo_id":"1352038228","filename":"file4"},{"photo_id":"1352038222","filename":"file1"},{"photo_id":"1352038220","filename":"file0"},{"photo_id":"1352038226","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038220":["hashtag1","hashtag2"]},{"1352038222":["hashtag1","hashtag2"]},{"1352038228":["hashtag1","hashtag2"]},{"1352038230":["hashtag1","hashtag2"]},{"1352038224":["hashtag1","hashtag2"]},{"1352038226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038220, 1352038222, 1352038228, 1352038230, 1352038224, 1352038226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.572458505630493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:42:03.185864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_26_10365.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_36_9437.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_46_10371.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_55_9351.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_11_06_10455.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_16_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_26_10365.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_36_9437.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_46_10371.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_55_9351.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_11_06_10455.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_16_10343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038246","1352038248","1352038241","1352038250","1352038244","1352038253"],"photo_ids_order":["1352038241","1352038244","1352038246","1352038248","1352038250","1352038253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02f0eae067b8c9fb74d38e8816d0f5bc.jpg","text":"TemporaryFile(/tmp/multipartBody7351934565065065349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102583939,"filename":"image_14042025_12_10_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75209a892eb69bfa0085c4954c202522.jpg","text":"TemporaryFile(/tmp/multipartBody3644157492939155425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102583939,"filename":"image_14042025_12_10_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3ef9a0103cc380ec5e677a3dc01da72.jpg","text":"TemporaryFile(/tmp/multipartBody8471216050383905475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102583939,"filename":"image_14042025_12_10_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/323eadc3b03e7fa3e28a2712343ce411.jpg","text":"TemporaryFile(/tmp/multipartBody2908993111541344543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102583939,"filename":"image_14042025_12_11_06_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3c5f9bdb85051f1e449861fdc1b1c59.jpg","text":"TemporaryFile(/tmp/multipartBody2243830829548607008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102583939,"filename":"image_14042025_12_10_36_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/170f65bf19369fb1d77066b6bec5b723.jpg","text":"TemporaryFile(/tmp/multipartBody2970428423669084995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102583939,"filename":"image_14042025_12_11_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038246","file1":"1352038244","file0":"1352038241","file4":"1352038250","file5":"1352038253","file3":"1352038248"},"map_files_photo_id_array":[{"photo_id":"1352038253","filename":"file5"},{"photo_id":"1352038246","filename":"file2"},{"photo_id":"1352038250","filename":"file4"},{"photo_id":"1352038244","filename":"file1"},{"photo_id":"1352038241","filename":"file0"},{"photo_id":"1352038248","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038246":["hashtag1","hashtag2"]},{"1352038248":["hashtag1","hashtag2"]},{"1352038241":["hashtag1","hashtag2"]},{"1352038250":["hashtag1","hashtag2"]},{"1352038244":["hashtag1","hashtag2"]},{"1352038253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038246, 1352038248, 1352038241, 1352038250, 1352038244, 1352038253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.355552911758423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:43:03.369683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_26_9367.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_36_10400.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_45_9354.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_56_10506.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_12_06_10403.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_16_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_26_9367.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_36_10400.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_45_9354.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_56_10506.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_12_06_10403.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_16_9353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038273","1352038264","1352038266","1352038275","1352038269","1352038271"],"photo_ids_order":["1352038264","1352038266","1352038269","1352038271","1352038273","1352038275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/174773e79174144020692b4d4c8a3a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1404326367611627773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102644240,"filename":"image_14042025_12_12_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77a8258a9a890b901dba3eab2a04f624.jpg","text":"TemporaryFile(/tmp/multipartBody269967490377983195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102644240,"filename":"image_14042025_12_11_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb6cb62548678612212396fa35d0aaa9.jpg","text":"TemporaryFile(/tmp/multipartBody3047605129932944986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102644240,"filename":"image_14042025_12_11_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7ad1f72baa7f56713e8df6fa75e7762.jpg","text":"TemporaryFile(/tmp/multipartBody110884897348803612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102644240,"filename":"image_14042025_12_12_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c7a6a1a1452299cc75bc965d6b1e390.jpg","text":"TemporaryFile(/tmp/multipartBody6237416366690878156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102644240,"filename":"image_14042025_12_11_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/836c50bdcf4bef5bb1554006822f484b.jpg","text":"TemporaryFile(/tmp/multipartBody3847491466448204722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102644240,"filename":"image_14042025_12_11_56_10506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038269","file1":"1352038266","file0":"1352038264","file4":"1352038273","file5":"1352038275","file3":"1352038271"},"map_files_photo_id_array":[{"photo_id":"1352038275","filename":"file5"},{"photo_id":"1352038269","filename":"file2"},{"photo_id":"1352038273","filename":"file4"},{"photo_id":"1352038266","filename":"file1"},{"photo_id":"1352038264","filename":"file0"},{"photo_id":"1352038271","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038273":["hashtag1","hashtag2"]},{"1352038264":["hashtag1","hashtag2"]},{"1352038266":["hashtag1","hashtag2"]},{"1352038275":["hashtag1","hashtag2"]},{"1352038269":["hashtag1","hashtag2"]},{"1352038271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038273, 1352038264, 1352038266, 1352038275, 1352038269, 1352038271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.42565155029297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:44:03.337226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_26_10348.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_35_9328.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_46_10445.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_56_10334.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_13_06_9457.jpg', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_16_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_26_10348.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_35_9328.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_46_10445.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_56_10334.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_13_06_9457.jpg
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_16_10419.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038297","1352038291","1352038300","1352038293","1352038295","1352038289"],"photo_ids_order":["1352038289","1352038291","1352038293","1352038295","1352038297","1352038300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d4ddea70695f5213e5abe23e5769054.jpg","text":"TemporaryFile(/tmp/multipartBody6129591228749382843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102704091,"filename":"image_14042025_12_13_06_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ef2282d70d89228f0214d6ad05b0dd1.jpg","text":"TemporaryFile(/tmp/multipartBody7643867389300158871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102704091,"filename":"image_14042025_12_12_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/357885eec3162da92aba028e3b095676.jpg","text":"TemporaryFile(/tmp/multipartBody86553462305159447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102704091,"filename":"image_14042025_12_13_16_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12ebecd953506d9ff8a89acd82e83903.jpg","text":"TemporaryFile(/tmp/multipartBody5323728849792122676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102704091,"filename":"image_14042025_12_12_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9756f90afee01df470a5527e3dfa89e2.jpg","text":"TemporaryFile(/tmp/multipartBody8655815907287078051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102704091,"filename":"image_14042025_12_12_56_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9162ddf905953dd63efaab797d29b767.jpg","text":"TemporaryFile(/tmp/multipartBody4636539629279207477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102704091,"filename":"image_14042025_12_12_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038293","file1":"1352038291","file0":"1352038289","file4":"1352038297","file5":"1352038300","file3":"1352038295"},"map_files_photo_id_array":[{"photo_id":"1352038300","filename":"file5"},{"photo_id":"1352038293","filename":"file2"},{"photo_id":"1352038297","filename":"file4"},{"photo_id":"1352038291","filename":"file1"},{"photo_id":"1352038289","filename":"file0"},{"photo_id":"1352038295","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038297":["hashtag1","hashtag2"]},{"1352038291":["hashtag1","hashtag2"]},{"1352038300":["hashtag1","hashtag2"]},{"1352038293":["hashtag1","hashtag2"]},{"1352038295":["hashtag1","hashtag2"]},{"1352038289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038297, 1352038291, 1352038300, 1352038293, 1352038295, 1352038289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26910972595215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:45:03.356432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_25_9362.jpg', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_36_10407.jpg', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_46_10354.jpg', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_55_9350.jpg', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_14_06_10349.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_16_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_25_9362.jpg
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_36_10407.jpg
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_46_10354.jpg
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_55_9350.jpg
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_14_06_10349.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_16_10344.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038313","1352038316","1352038321","1352038324","1352038318","1352038320"],"photo_ids_order":["1352038313","1352038316","1352038318","1352038320","1352038321","1352038324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cb6705839f724bd333786a6736e052e.jpg","text":"TemporaryFile(/tmp/multipartBody3649025133277877693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102765569,"filename":"image_14042025_12_13_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d14114444ab44fa128906b76fa2e770.jpg","text":"TemporaryFile(/tmp/multipartBody277044598083081021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102765569,"filename":"image_14042025_12_13_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8776122214d3c9b94cec70d1ccabc2d4.jpg","text":"TemporaryFile(/tmp/multipartBody1250447062180235025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102765569,"filename":"image_14042025_12_14_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6bc13b18e359b3aca098e46d7141d39d.jpg","text":"TemporaryFile(/tmp/multipartBody1770879652176575077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102765569,"filename":"image_14042025_12_14_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1fc008146507b214c0a4140a6149ea5.jpg","text":"TemporaryFile(/tmp/multipartBody816680142605995654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102765569,"filename":"image_14042025_12_13_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf7a38bde5e0e76f810da48f9bcf9e30.jpg","text":"TemporaryFile(/tmp/multipartBody9002463774232330699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102765569,"filename":"image_14042025_12_13_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038318","file1":"1352038316","file0":"1352038313","file4":"1352038321","file5":"1352038324","file3":"1352038320"},"map_files_photo_id_array":[{"photo_id":"1352038324","filename":"file5"},{"photo_id":"1352038318","filename":"file2"},{"photo_id":"1352038321","filename":"file4"},{"photo_id":"1352038316","filename":"file1"},{"photo_id":"1352038313","filename":"file0"},{"photo_id":"1352038320","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038313":["hashtag1","hashtag2"]},{"1352038316":["hashtag1","hashtag2"]},{"1352038321":["hashtag1","hashtag2"]},{"1352038324":["hashtag1","hashtag2"]},{"1352038318":["hashtag1","hashtag2"]},{"1352038320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038313, 1352038316, 1352038321, 1352038324, 1352038318, 1352038320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.798319578170776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:46:03.482398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_25_9345.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_36_10362.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_46_10387.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_56_9333.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_15_06_10366.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_25_9345.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_36_10362.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_46_10387.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_56_9333.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_15_06_10366.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_16_10354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038342","1352038336","1352038339","1352038344","1352038338","1352038340"],"photo_ids_order":["1352038336","1352038338","1352038339","1352038340","1352038342","1352038344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/654f7fa1e9f09b24693a5bcd021f651d.jpg","text":"TemporaryFile(/tmp/multipartBody2788347613537667885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102829289,"filename":"image_14042025_12_15_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d56e659ad37e66b25411d93b67fc849.jpg","text":"TemporaryFile(/tmp/multipartBody8804566694182018105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102829289,"filename":"image_14042025_12_14_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2347fba581e6db6f8ba47d4a8b060c00.jpg","text":"TemporaryFile(/tmp/multipartBody3255507204053155536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102829289,"filename":"image_14042025_12_14_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f92de939032061ad80e68f0b28592147.jpg","text":"TemporaryFile(/tmp/multipartBody8602344936705744808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102829289,"filename":"image_14042025_12_15_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60802d1d06592086d1b8fd14f8bd223f.jpg","text":"TemporaryFile(/tmp/multipartBody6260273837462492483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102829289,"filename":"image_14042025_12_14_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4080723c8a4ae4e2e3d175bfa831c700.jpg","text":"TemporaryFile(/tmp/multipartBody8741720105221265228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102829289,"filename":"image_14042025_12_14_56_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038339","file1":"1352038338","file0":"1352038336","file4":"1352038342","file5":"1352038344","file3":"1352038340"},"map_files_photo_id_array":[{"photo_id":"1352038344","filename":"file5"},{"photo_id":"1352038339","filename":"file2"},{"photo_id":"1352038342","filename":"file4"},{"photo_id":"1352038338","filename":"file1"},{"photo_id":"1352038336","filename":"file0"},{"photo_id":"1352038340","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038342":["hashtag1","hashtag2"]},{"1352038336":["hashtag1","hashtag2"]},{"1352038339":["hashtag1","hashtag2"]},{"1352038344":["hashtag1","hashtag2"]},{"1352038338":["hashtag1","hashtag2"]},{"1352038340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038342, 1352038336, 1352038339, 1352038344, 1352038338, 1352038340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01705980300903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:47:03.577161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_26_9353.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_36_10361.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_45_9366.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_16_06_10341.jpg', '/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_16_9332.jpg', '/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_26_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_26_9353.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_36_10361.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_45_9366.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_16_06_10341.jpg
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_16_9332.jpg
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_26_10378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038351","1352038354","1352038348","1352038350","1352038349","1352038352"],"photo_ids_order":["1352038348","1352038349","1352038350","1352038351","1352038352","1352038354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95de47188b7e5f1dc6c79eb884788b19.jpg","text":"TemporaryFile(/tmp/multipartBody7160201345083237239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102884440,"filename":"image_14042025_12_16_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1442690b3eae2af06fedb9af477f8810.jpg","text":"TemporaryFile(/tmp/multipartBody7696795087945689876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102884440,"filename":"image_14042025_12_16_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de7f38a910f92bd8c6bc408e243ebd0e.jpg","text":"TemporaryFile(/tmp/multipartBody2170008104730184131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102884440,"filename":"image_14042025_12_15_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0133c877f04d8ab8b23315e021622253.jpg","text":"TemporaryFile(/tmp/multipartBody5519513091503795742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102884440,"filename":"image_14042025_12_15_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/727429490ae498b233b6a0bb0c14707c.jpg","text":"TemporaryFile(/tmp/multipartBody7106606912396014496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102884440,"filename":"image_14042025_12_15_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af81033488dff362203411f3ec23862d.jpg","text":"TemporaryFile(/tmp/multipartBody6451919936077035031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102884440,"filename":"image_14042025_12_16_16_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038350","file1":"1352038349","file0":"1352038348","file4":"1352038352","file5":"1352038354","file3":"1352038351"},"map_files_photo_id_array":[{"photo_id":"1352038354","filename":"file5"},{"photo_id":"1352038350","filename":"file2"},{"photo_id":"1352038352","filename":"file4"},{"photo_id":"1352038349","filename":"file1"},{"photo_id":"1352038348","filename":"file0"},{"photo_id":"1352038351","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038351":["hashtag1","hashtag2"]},{"1352038354":["hashtag1","hashtag2"]},{"1352038348":["hashtag1","hashtag2"]},{"1352038350":["hashtag1","hashtag2"]},{"1352038349":["hashtag1","hashtag2"]},{"1352038352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038351, 1352038354, 1352038348, 1352038350, 1352038349, 1352038352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.35409688949585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:48:02.626426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_36_10349.jpg', '/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_46_9359.jpg', '/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_56_10344.jpg', '/home/pi/Desktop/images/14042025/12/16/image_14042025_12_17_05_9351.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_16_10348.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_26_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_36_10349.jpg
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_46_9359.jpg
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_56_10344.jpg
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_17_05_9351.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_16_10348.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_26_10374.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038372","1352038369","1352038374","1352038371","1352038373","1352038370"],"photo_ids_order":["1352038369","1352038370","1352038371","1352038372","1352038373","1352038374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fdeb1050265a7b5fd331679dbf62c83.jpg","text":"TemporaryFile(/tmp/multipartBody405278231731314093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102943411,"filename":"image_14042025_12_17_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cfa01bbb62d73b62c844a786ab747ba.jpg","text":"TemporaryFile(/tmp/multipartBody3327878368100780571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102943411,"filename":"image_14042025_12_16_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14e44b413d4890bd4d719a46f4128a7b.jpg","text":"TemporaryFile(/tmp/multipartBody6209277186831108675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102943411,"filename":"image_14042025_12_17_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9ba74d72ac26e6dfed4ef8e98a900c7.jpg","text":"TemporaryFile(/tmp/multipartBody8874827680863453531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102943411,"filename":"image_14042025_12_16_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a3e30123346257563b11a67433c66d3.jpg","text":"TemporaryFile(/tmp/multipartBody336438613860255788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102943411,"filename":"image_14042025_12_17_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d54c4424106d9fce2dc694be3a8c5fa.jpg","text":"TemporaryFile(/tmp/multipartBody6707236207209138241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745102943411,"filename":"image_14042025_12_16_46_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038371","file1":"1352038370","file0":"1352038369","file4":"1352038373","file5":"1352038374","file3":"1352038372"},"map_files_photo_id_array":[{"photo_id":"1352038374","filename":"file5"},{"photo_id":"1352038371","filename":"file2"},{"photo_id":"1352038373","filename":"file4"},{"photo_id":"1352038370","filename":"file1"},{"photo_id":"1352038369","filename":"file0"},{"photo_id":"1352038372","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038372":["hashtag1","hashtag2"]},{"1352038369":["hashtag1","hashtag2"]},{"1352038374":["hashtag1","hashtag2"]},{"1352038371":["hashtag1","hashtag2"]},{"1352038373":["hashtag1","hashtag2"]},{"1352038370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038372, 1352038369, 1352038374, 1352038371, 1352038373, 1352038370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.96924114227295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:49:03.517223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/17/image_14042025_12_18_06_9418.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_16_10376.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_25_9343.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_36_10357.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_46_10439.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_18_06_9418.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_16_10376.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_25_9343.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_36_10357.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_46_10439.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_55_9360.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038396","1352038393","1352038398","1352038391","1352038385","1352038388"],"photo_ids_order":["1352038385","1352038388","1352038391","1352038393","1352038396","1352038398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40df00351ef5e772aeb8739da00799da.jpg","text":"TemporaryFile(/tmp/multipartBody4820715347876124761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103004386,"filename":"image_14042025_12_18_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eec4a6fd5abd879f728914f90912be46.jpg","text":"TemporaryFile(/tmp/multipartBody8576614306450460702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103004386,"filename":"image_14042025_12_18_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/907548076a3fe426d0ec62008e0896fd.jpg","text":"TemporaryFile(/tmp/multipartBody6058150690096789686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103004386,"filename":"image_14042025_12_18_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94dceb3c2330dc7120e1efb06895aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody5706811968654619352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103004386,"filename":"image_14042025_12_18_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27c4c7532405aad311fa3a250d1df4ee.jpg","text":"TemporaryFile(/tmp/multipartBody5400266219589361691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103004386,"filename":"image_14042025_12_18_06_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1ad4bbc7e43c8cc32e05ace64aa678b.jpg","text":"TemporaryFile(/tmp/multipartBody3480648407905643753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103004386,"filename":"image_14042025_12_18_16_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038391","file1":"1352038388","file0":"1352038385","file4":"1352038396","file5":"1352038398","file3":"1352038393"},"map_files_photo_id_array":[{"photo_id":"1352038398","filename":"file5"},{"photo_id":"1352038391","filename":"file2"},{"photo_id":"1352038396","filename":"file4"},{"photo_id":"1352038388","filename":"file1"},{"photo_id":"1352038385","filename":"file0"},{"photo_id":"1352038393","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038396":["hashtag1","hashtag2"]},{"1352038393":["hashtag1","hashtag2"]},{"1352038398":["hashtag1","hashtag2"]},{"1352038391":["hashtag1","hashtag2"]},{"1352038385":["hashtag1","hashtag2"]},{"1352038388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038396, 1352038393, 1352038398, 1352038391, 1352038385, 1352038388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.385182857513428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:50:02.619079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/18/image_14042025_12_19_06_10442.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_26_9453.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_36_10407.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_46_9465.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_56_10483.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_20_05_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_19_06_10442.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_26_9453.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_36_10407.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_46_9465.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_56_10483.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_20_05_9336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038417","1352038426","1352038419","1352038428","1352038421","1352038424"],"photo_ids_order":["1352038417","1352038419","1352038421","1352038424","1352038426","1352038428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1f55d9b9f35a23bab91c21c222d7fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1024865834069944775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103063382,"filename":"image_14042025_12_19_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70b364b9fde88a7ae802635dc1cbbd38.jpg","text":"TemporaryFile(/tmp/multipartBody3612861272480857162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103063382,"filename":"image_14042025_12_19_56_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c3cb05fd50def48afeb952dfa1dae7b.jpg","text":"TemporaryFile(/tmp/multipartBody8987071608632287346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103063382,"filename":"image_14042025_12_19_26_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8570557c4a6415f5d8530089fd617d54.jpg","text":"TemporaryFile(/tmp/multipartBody7137009999896851408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103063382,"filename":"image_14042025_12_20_05_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44a0b53af5493c61dce18d42a1810b15.jpg","text":"TemporaryFile(/tmp/multipartBody6783584202718646348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103063382,"filename":"image_14042025_12_19_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9745591adc2d288ad851894e8a909d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5762235394754128087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103063382,"filename":"image_14042025_12_19_46_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038421","file1":"1352038419","file0":"1352038417","file4":"1352038426","file5":"1352038428","file3":"1352038424"},"map_files_photo_id_array":[{"photo_id":"1352038428","filename":"file5"},{"photo_id":"1352038421","filename":"file2"},{"photo_id":"1352038426","filename":"file4"},{"photo_id":"1352038419","filename":"file1"},{"photo_id":"1352038417","filename":"file0"},{"photo_id":"1352038424","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038417":["hashtag1","hashtag2"]},{"1352038426":["hashtag1","hashtag2"]},{"1352038419":["hashtag1","hashtag2"]},{"1352038428":["hashtag1","hashtag2"]},{"1352038421":["hashtag1","hashtag2"]},{"1352038424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038417, 1352038426, 1352038419, 1352038428, 1352038421, 1352038424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.273839712142944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:51:03.729590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_16_10413.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_26_10411.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_36_9346.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_46_10350.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_56_10360.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_21_06_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_16_10413.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_26_10411.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_36_9346.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_46_10350.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_56_10360.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_21_06_9326.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038441","1352038444","1352038452","1352038446","1352038449","1352038439"],"photo_ids_order":["1352038439","1352038441","1352038444","1352038446","1352038449","1352038452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79c014b6af541666ac1b9ed1934c9e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5634023226689481560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103124564,"filename":"image_14042025_12_20_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/687e8a8e38e419f7e1852b5cb595b0a6.jpg","text":"TemporaryFile(/tmp/multipartBody157252704944999981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103124564,"filename":"image_14042025_12_20_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0565966d264191438a1a2194dff1756a.jpg","text":"TemporaryFile(/tmp/multipartBody5838384509026464277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103124564,"filename":"image_14042025_12_21_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83ad53640a97772c00653b12dca6d114.jpg","text":"TemporaryFile(/tmp/multipartBody3018516825346278733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103124564,"filename":"image_14042025_12_20_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae842447e8d20ae2b0b1147cbf6e863d.jpg","text":"TemporaryFile(/tmp/multipartBody6985946306871869129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103124564,"filename":"image_14042025_12_20_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4245ac16534018d596566b560355d5a3.jpg","text":"TemporaryFile(/tmp/multipartBody3773579090925241324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103124564,"filename":"image_14042025_12_20_16_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038444","file1":"1352038441","file0":"1352038439","file4":"1352038449","file5":"1352038452","file3":"1352038446"},"map_files_photo_id_array":[{"photo_id":"1352038452","filename":"file5"},{"photo_id":"1352038444","filename":"file2"},{"photo_id":"1352038449","filename":"file4"},{"photo_id":"1352038441","filename":"file1"},{"photo_id":"1352038439","filename":"file0"},{"photo_id":"1352038446","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038441":["hashtag1","hashtag2"]},{"1352038444":["hashtag1","hashtag2"]},{"1352038452":["hashtag1","hashtag2"]},{"1352038446":["hashtag1","hashtag2"]},{"1352038449":["hashtag1","hashtag2"]},{"1352038439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038441, 1352038444, 1352038452, 1352038446, 1352038449, 1352038439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.418558597564697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:52:02.598480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_16_10449.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_25_9360.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_36_10521.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_46_10362.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_56_9356.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_22_06_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_16_10449.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_25_9360.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_36_10521.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_46_10362.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_56_9356.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_22_06_10340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038471","1352038465","1352038474","1352038470","1352038467","1352038472"],"photo_ids_order":["1352038465","1352038467","1352038470","1352038471","1352038472","1352038474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/545a5c04c923b2468245173b2e7a1cda.jpg","text":"TemporaryFile(/tmp/multipartBody7072414428808596580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103183329,"filename":"image_14042025_12_21_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c60a5d6ab961a8f59c4ebaf300b8363.jpg","text":"TemporaryFile(/tmp/multipartBody8837452409830187318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103183329,"filename":"image_14042025_12_21_16_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29e6b6fcb4506040c8aae1adee2a84ab.jpg","text":"TemporaryFile(/tmp/multipartBody5455118828065630840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103183329,"filename":"image_14042025_12_22_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04f154e9ad46694ba0b37bc799de6a21.jpg","text":"TemporaryFile(/tmp/multipartBody5846331019426211239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103183329,"filename":"image_14042025_12_21_36_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bbeb4908fe462f19497bffd712c5309.jpg","text":"TemporaryFile(/tmp/multipartBody8453471280611245352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103183329,"filename":"image_14042025_12_21_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06b554490b515ce5d32b68e36bb8dc71.jpg","text":"TemporaryFile(/tmp/multipartBody7059868766111885507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103183329,"filename":"image_14042025_12_21_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038470","file1":"1352038467","file0":"1352038465","file4":"1352038472","file5":"1352038474","file3":"1352038471"},"map_files_photo_id_array":[{"photo_id":"1352038474","filename":"file5"},{"photo_id":"1352038470","filename":"file2"},{"photo_id":"1352038472","filename":"file4"},{"photo_id":"1352038467","filename":"file1"},{"photo_id":"1352038465","filename":"file0"},{"photo_id":"1352038471","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038471":["hashtag1","hashtag2"]},{"1352038465":["hashtag1","hashtag2"]},{"1352038474":["hashtag1","hashtag2"]},{"1352038470":["hashtag1","hashtag2"]},{"1352038467":["hashtag1","hashtag2"]},{"1352038472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038471, 1352038465, 1352038474, 1352038470, 1352038467, 1352038472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26168465614319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:53:03.895732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_15_9341.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_26_10465.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_36_10340.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_46_9444.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_56_10359.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_23_06_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_15_9341.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_26_10465.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_36_10340.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_46_9444.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_56_10359.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_23_06_10347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038495","1352038489","1352038498","1352038492","1352038494","1352038487"],"photo_ids_order":["1352038487","1352038489","1352038492","1352038494","1352038495","1352038498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/840b3757337c8b7358c30b587781d18d.jpg","text":"TemporaryFile(/tmp/multipartBody865292601887325012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103244744,"filename":"image_14042025_12_22_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f85b6cb6a1908059ec2cd8e0da3269ed.jpg","text":"TemporaryFile(/tmp/multipartBody4291825594696329594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103244744,"filename":"image_14042025_12_22_26_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/370532e098b856e6c8a6b6239062ff2a.jpg","text":"TemporaryFile(/tmp/multipartBody479921219132311556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103244744,"filename":"image_14042025_12_23_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb69ae05cdfeae3af99aa6a7ce8bd278.jpg","text":"TemporaryFile(/tmp/multipartBody1869439753690069002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103244744,"filename":"image_14042025_12_22_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7ac808867f40f8d83c26d14dec15327.jpg","text":"TemporaryFile(/tmp/multipartBody5672848541272764084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103244744,"filename":"image_14042025_12_22_46_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c65f19e1f6a7d5f944520d3148bed0b2.jpg","text":"TemporaryFile(/tmp/multipartBody4317245341235966092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103244744,"filename":"image_14042025_12_22_15_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038492","file1":"1352038489","file0":"1352038487","file4":"1352038495","file5":"1352038498","file3":"1352038494"},"map_files_photo_id_array":[{"photo_id":"1352038498","filename":"file5"},{"photo_id":"1352038492","filename":"file2"},{"photo_id":"1352038495","filename":"file4"},{"photo_id":"1352038489","filename":"file1"},{"photo_id":"1352038487","filename":"file0"},{"photo_id":"1352038494","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038495":["hashtag1","hashtag2"]},{"1352038489":["hashtag1","hashtag2"]},{"1352038498":["hashtag1","hashtag2"]},{"1352038492":["hashtag1","hashtag2"]},{"1352038494":["hashtag1","hashtag2"]},{"1352038487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038495, 1352038489, 1352038498, 1352038492, 1352038494, 1352038487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.595882177352905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:54:02.821266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_16_9447.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_26_10358.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_35_9337.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_46_10372.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_56_10366.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_24_05_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_16_9447.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_26_10358.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_35_9337.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_46_10372.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_56_10366.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_24_05_9344.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038516","1352038519","1352038510","1352038507","1352038512","1352038515"],"photo_ids_order":["1352038507","1352038510","1352038512","1352038515","1352038516","1352038519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4749673a9cc01f4de39a0aa24171e37.jpg","text":"TemporaryFile(/tmp/multipartBody663265275430309909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103303557,"filename":"image_14042025_12_23_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6db9cd9abad5195c65a67f004b02877.jpg","text":"TemporaryFile(/tmp/multipartBody6406978043736315372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103303557,"filename":"image_14042025_12_24_05_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b3585a8ea456cb91b81cc603d5a8cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7707424041232951977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103303557,"filename":"image_14042025_12_23_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/514aae50063a549df6bb42be315acc77.jpg","text":"TemporaryFile(/tmp/multipartBody1433315629836444193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103303557,"filename":"image_14042025_12_23_16_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/024e67b7e0b17618b01a37ac137eb6f0.jpg","text":"TemporaryFile(/tmp/multipartBody3674140770815519412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103303557,"filename":"image_14042025_12_23_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33887436a37f1fe975c43ce155d29b68.jpg","text":"TemporaryFile(/tmp/multipartBody7731079690897175907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103303557,"filename":"image_14042025_12_23_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038512","file1":"1352038510","file0":"1352038507","file4":"1352038516","file5":"1352038519","file3":"1352038515"},"map_files_photo_id_array":[{"photo_id":"1352038519","filename":"file5"},{"photo_id":"1352038512","filename":"file2"},{"photo_id":"1352038516","filename":"file4"},{"photo_id":"1352038510","filename":"file1"},{"photo_id":"1352038507","filename":"file0"},{"photo_id":"1352038515","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038516":["hashtag1","hashtag2"]},{"1352038519":["hashtag1","hashtag2"]},{"1352038510":["hashtag1","hashtag2"]},{"1352038507":["hashtag1","hashtag2"]},{"1352038512":["hashtag1","hashtag2"]},{"1352038515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038516, 1352038519, 1352038510, 1352038507, 1352038512, 1352038515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.965007781982422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:55:03.940766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_16_10346.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_26_10349.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_36_9434.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_46_10442.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_55_9342.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_25_06_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_16_10346.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_26_10349.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_36_9434.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_46_10442.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_55_9342.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_25_06_10446.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038531","1352038537","1352038542","1352038539","1352038533","1352038535"],"photo_ids_order":["1352038531","1352038533","1352038535","1352038537","1352038539","1352038542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/887f3b9bfc3e7d04dfa39c3956876dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6661816487636736710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103364778,"filename":"image_14042025_12_24_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15ca64a061f72c319089a3e0c4e362f8.jpg","text":"TemporaryFile(/tmp/multipartBody5629961200313476326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103364778,"filename":"image_14042025_12_24_46_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b1ae40f108493ac90c148b8ce8bc532.jpg","text":"TemporaryFile(/tmp/multipartBody7535740452965845103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103364778,"filename":"image_14042025_12_25_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5e699a17052dbeec33b6842509393ae.jpg","text":"TemporaryFile(/tmp/multipartBody1258798817484467759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103364778,"filename":"image_14042025_12_24_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bad25843a52dfc87fd64ce3270ead689.jpg","text":"TemporaryFile(/tmp/multipartBody1385422548027695233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103364778,"filename":"image_14042025_12_24_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb516da4b0ff21be57d5dee745725885.jpg","text":"TemporaryFile(/tmp/multipartBody8374742306859174855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103364778,"filename":"image_14042025_12_24_36_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038535","file1":"1352038533","file0":"1352038531","file4":"1352038539","file5":"1352038542","file3":"1352038537"},"map_files_photo_id_array":[{"photo_id":"1352038542","filename":"file5"},{"photo_id":"1352038535","filename":"file2"},{"photo_id":"1352038539","filename":"file4"},{"photo_id":"1352038533","filename":"file1"},{"photo_id":"1352038531","filename":"file0"},{"photo_id":"1352038537","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038531":["hashtag1","hashtag2"]},{"1352038537":["hashtag1","hashtag2"]},{"1352038542":["hashtag1","hashtag2"]},{"1352038539":["hashtag1","hashtag2"]},{"1352038533":["hashtag1","hashtag2"]},{"1352038535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038531, 1352038537, 1352038542, 1352038539, 1352038533, 1352038535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46618175506592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:56:02.721758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_15_9438.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_26_10349.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_36_10391.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_45_9357.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_56_10397.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_26_06_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_15_9438.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_26_10349.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_36_10391.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_45_9357.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_56_10397.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_26_06_10343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038564","1352038549","1352038615","1352038590","1352038638","1352038551"],"photo_ids_order":["1352038549","1352038551","1352038564","1352038590","1352038615","1352038638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5948bfa7d3ca00a0e7f794b601254a4f.jpg","text":"TemporaryFile(/tmp/multipartBody6796357571953633671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103423457,"filename":"image_14042025_12_25_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53788e9ff3eb7ff45adc5a2e48b16a35.jpg","text":"TemporaryFile(/tmp/multipartBody3844669788650046801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103423457,"filename":"image_14042025_12_25_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bd6bd23bc48bea2475f3eca18cba562.jpg","text":"TemporaryFile(/tmp/multipartBody1548933599993698571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103423457,"filename":"image_14042025_12_25_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8a1b8780833a10e1b5708c1dbc38ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1687224217906258817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103423457,"filename":"image_14042025_12_25_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b63e168d3511e81c14c2a8ee8aefa224.jpg","text":"TemporaryFile(/tmp/multipartBody4014366136506067894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103423457,"filename":"image_14042025_12_26_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be5e5413ad295dcb9503c5a7a3603832.jpg","text":"TemporaryFile(/tmp/multipartBody1451112670797664216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103423457,"filename":"image_14042025_12_25_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038564","file1":"1352038551","file0":"1352038549","file4":"1352038615","file5":"1352038638","file3":"1352038590"},"map_files_photo_id_array":[{"photo_id":"1352038638","filename":"file5"},{"photo_id":"1352038564","filename":"file2"},{"photo_id":"1352038615","filename":"file4"},{"photo_id":"1352038551","filename":"file1"},{"photo_id":"1352038549","filename":"file0"},{"photo_id":"1352038590","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038564":["hashtag1","hashtag2"]},{"1352038549":["hashtag1","hashtag2"]},{"1352038615":["hashtag1","hashtag2"]},{"1352038590":["hashtag1","hashtag2"]},{"1352038638":["hashtag1","hashtag2"]},{"1352038551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038564, 1352038549, 1352038615, 1352038590, 1352038638, 1352038551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.559205532073975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:57:04.002888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_15_9345.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_26_10387.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_36_10359.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_46_9352.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_56_10417.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_27_05_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_15_9345.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_26_10387.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_36_10359.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_46_9352.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_56_10417.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_27_05_9437.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038901","1352038891","1352038854","1352038830","1352038874","1352038877"],"photo_ids_order":["1352038830","1352038854","1352038874","1352038877","1352038891","1352038901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3478d59ead7c003f50d74aae452917b9.jpg","text":"TemporaryFile(/tmp/multipartBody5288360130725257889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103484839,"filename":"image_14042025_12_27_05_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dec26f05a4173382acc1072389d55f60.jpg","text":"TemporaryFile(/tmp/multipartBody1687153255857316748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103484839,"filename":"image_14042025_12_26_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd0acd3ae07f54aec61d8c01f98b08fc.jpg","text":"TemporaryFile(/tmp/multipartBody4015275376678558571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103484839,"filename":"image_14042025_12_26_26_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c36aabe1f28c9b2706ac62da6c9ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody6877044273879513809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103484839,"filename":"image_14042025_12_26_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58f9171a81f17ba844da8be52ca8e805.jpg","text":"TemporaryFile(/tmp/multipartBody2067489475167510045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103484839,"filename":"image_14042025_12_26_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d79ece3e3c9c6cbba2dc7b0cbaa5ed45.jpg","text":"TemporaryFile(/tmp/multipartBody1019966445017358481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103484839,"filename":"image_14042025_12_26_46_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038874","file1":"1352038854","file0":"1352038830","file4":"1352038891","file5":"1352038901","file3":"1352038877"},"map_files_photo_id_array":[{"photo_id":"1352038901","filename":"file5"},{"photo_id":"1352038874","filename":"file2"},{"photo_id":"1352038891","filename":"file4"},{"photo_id":"1352038854","filename":"file1"},{"photo_id":"1352038830","filename":"file0"},{"photo_id":"1352038877","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352038901":["hashtag1","hashtag2"]},{"1352038891":["hashtag1","hashtag2"]},{"1352038854":["hashtag1","hashtag2"]},{"1352038830":["hashtag1","hashtag2"]},{"1352038874":["hashtag1","hashtag2"]},{"1352038877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352038901, 1352038891, 1352038854, 1352038830, 1352038874, 1352038877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.288854360580444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:59:03.971894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_16_10478.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_25_9360.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_36_10357.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_46_10360.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_55_9354.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_28_06_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_16_10478.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_25_9360.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_36_10357.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_46_10360.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_55_9354.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_28_06_10392.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352039644","1352039545","1352039750","1352039593","1352039494","1352039695"],"photo_ids_order":["1352039494","1352039545","1352039593","1352039644","1352039695","1352039750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30e1864cfbf97c11114d83d83e2edaf5.jpg","text":"TemporaryFile(/tmp/multipartBody4348819658404036415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103604808,"filename":"image_14042025_12_27_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0752b26ae75501c8550def4dff0bafed.jpg","text":"TemporaryFile(/tmp/multipartBody8743948255264861137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103604808,"filename":"image_14042025_12_27_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f504e77660f3062e558a6e56fa4e8ee2.jpg","text":"TemporaryFile(/tmp/multipartBody910328783786791463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103604808,"filename":"image_14042025_12_28_06_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76910acf2f93a9e9fd22f3ab2a562471.jpg","text":"TemporaryFile(/tmp/multipartBody7358522725919303625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103604808,"filename":"image_14042025_12_27_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15091714396b48494cd17e3fb49d0e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1983781952770086406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103604808,"filename":"image_14042025_12_27_16_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2eac9d28212d99405bd5c94a64decc9.jpg","text":"TemporaryFile(/tmp/multipartBody3489362746345014722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103604808,"filename":"image_14042025_12_27_55_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352039593","file1":"1352039545","file0":"1352039494","file4":"1352039695","file5":"1352039750","file3":"1352039644"},"map_files_photo_id_array":[{"photo_id":"1352039750","filename":"file5"},{"photo_id":"1352039593","filename":"file2"},{"photo_id":"1352039695","filename":"file4"},{"photo_id":"1352039545","filename":"file1"},{"photo_id":"1352039494","filename":"file0"},{"photo_id":"1352039644","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352039644":["hashtag1","hashtag2"]},{"1352039545":["hashtag1","hashtag2"]},{"1352039750":["hashtag1","hashtag2"]},{"1352039593":["hashtag1","hashtag2"]},{"1352039494":["hashtag1","hashtag2"]},{"1352039695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352039644, 1352039545, 1352039750, 1352039593, 1352039494, 1352039695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13985800743103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 00:59:42.673346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_16_10334.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_25_9396.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_46_10368.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_56_9356.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_29_06_10379.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_15_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_16_10334.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_25_9396.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_46_10368.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_56_9356.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_29_06_10379.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_15_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352039923","1352039886","1352039949","1352039897","1352039885","1352039887"],"photo_ids_order":["1352039885","1352039886","1352039887","1352039897","1352039923","1352039949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26319bf5620ecaba2895c7ca6df477b8.jpg","text":"TemporaryFile(/tmp/multipartBody8784652544693806417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103643376,"filename":"image_14042025_12_29_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96b08c1a1656f6da0cb748299bdb2fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6755315936399481369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103643376,"filename":"image_14042025_12_28_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/798019749f7133f77cde7888992794f7.jpg","text":"TemporaryFile(/tmp/multipartBody1187196396313199718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103643376,"filename":"image_14042025_12_29_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5da5c7ecea32b19b40c0d0eb07618e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5807155235627473155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103643376,"filename":"image_14042025_12_28_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd010dc0639dab8f46ca873e36f06466.jpg","text":"TemporaryFile(/tmp/multipartBody5542030950930787390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103643376,"filename":"image_14042025_12_28_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e1b9a1fd9f3a5d5908d6d82a48543ea.jpg","text":"TemporaryFile(/tmp/multipartBody543128872266526092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103643376,"filename":"image_14042025_12_28_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352039887","file1":"1352039886","file0":"1352039885","file4":"1352039923","file5":"1352039949","file3":"1352039897"},"map_files_photo_id_array":[{"photo_id":"1352039949","filename":"file5"},{"photo_id":"1352039887","filename":"file2"},{"photo_id":"1352039923","filename":"file4"},{"photo_id":"1352039886","filename":"file1"},{"photo_id":"1352039885","filename":"file0"},{"photo_id":"1352039897","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352039923":["hashtag1","hashtag2"]},{"1352039886":["hashtag1","hashtag2"]},{"1352039949":["hashtag1","hashtag2"]},{"1352039897":["hashtag1","hashtag2"]},{"1352039885":["hashtag1","hashtag2"]},{"1352039887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352039923, 1352039886, 1352039949, 1352039897, 1352039885, 1352039887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.911657094955444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:00:32.960936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_26_10344.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_36_10375.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_45_9352.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_56_10387.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_30_06_10350.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_15_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_26_10344.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_36_10375.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_45_9352.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_56_10387.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_30_06_10350.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_15_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040064","1352040099","1352040075","1352040063","1352040126","1352040062"],"photo_ids_order":["1352040062","1352040063","1352040064","1352040075","1352040099","1352040126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5b1bdf9acbf02c46c4a32bb2e870cdb.jpg","text":"TemporaryFile(/tmp/multipartBody714325036509229922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103694505,"filename":"image_14042025_12_29_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8805faf921c932b96d24323a16e40a51.jpg","text":"TemporaryFile(/tmp/multipartBody227883841322794815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103694505,"filename":"image_14042025_12_30_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5f6cba377170bf9e74a24b747bb9d65.jpg","text":"TemporaryFile(/tmp/multipartBody2614749692888359476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103694505,"filename":"image_14042025_12_29_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b953713e149f0e8cd8aad88ec147b55.jpg","text":"TemporaryFile(/tmp/multipartBody7075686607438636211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103694505,"filename":"image_14042025_12_29_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38c5fea9432237fa5e923e31c3a6bbb5.jpg","text":"TemporaryFile(/tmp/multipartBody7817575570994124559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103694505,"filename":"image_14042025_12_30_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d058c1c4782b14b3ae3015ca63b1fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4867329144633240924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103694505,"filename":"image_14042025_12_29_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040064","file1":"1352040063","file0":"1352040062","file4":"1352040099","file5":"1352040126","file3":"1352040075"},"map_files_photo_id_array":[{"photo_id":"1352040126","filename":"file5"},{"photo_id":"1352040064","filename":"file2"},{"photo_id":"1352040099","filename":"file4"},{"photo_id":"1352040063","filename":"file1"},{"photo_id":"1352040062","filename":"file0"},{"photo_id":"1352040075","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040064":["hashtag1","hashtag2"]},{"1352040099":["hashtag1","hashtag2"]},{"1352040075":["hashtag1","hashtag2"]},{"1352040063":["hashtag1","hashtag2"]},{"1352040126":["hashtag1","hashtag2"]},{"1352040062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040064, 1352040099, 1352040075, 1352040063, 1352040126, 1352040062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21463871002197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:01:33.019081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_26_10452.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_36_10348.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_46_9354.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_56_10394.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_31_05_9324.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_16_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_26_10452.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_36_10348.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_46_9354.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_56_10394.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_31_05_9324.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_16_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040382","1352040400","1352040432","1352040398","1352040434","1352040407"],"photo_ids_order":["1352040382","1352040398","1352040400","1352040407","1352040432","1352040434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbf141f68fbd3016fad612b2ce1db1ac.jpg","text":"TemporaryFile(/tmp/multipartBody1466195705782482706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103754557,"filename":"image_14042025_12_30_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/716efcda1e9e270bed8a1a6ea99aadbe.jpg","text":"TemporaryFile(/tmp/multipartBody2314747247262909066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103754557,"filename":"image_14042025_12_30_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34017814666983f704205c62e7eb7584.jpg","text":"TemporaryFile(/tmp/multipartBody1469011383398836077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103754557,"filename":"image_14042025_12_31_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f143f9faa04c924fca67e253ff1818aa.jpg","text":"TemporaryFile(/tmp/multipartBody620735561187509970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103754557,"filename":"image_14042025_12_30_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d913192e783899dcbf610f88b1c7ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody3391231409010520225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103754557,"filename":"image_14042025_12_31_16_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2483d468b42b6d6ece69015fdbfeffaa.jpg","text":"TemporaryFile(/tmp/multipartBody365038656428335952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103754557,"filename":"image_14042025_12_30_56_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040400","file1":"1352040398","file0":"1352040382","file4":"1352040432","file5":"1352040434","file3":"1352040407"},"map_files_photo_id_array":[{"photo_id":"1352040434","filename":"file5"},{"photo_id":"1352040400","filename":"file2"},{"photo_id":"1352040432","filename":"file4"},{"photo_id":"1352040398","filename":"file1"},{"photo_id":"1352040382","filename":"file0"},{"photo_id":"1352040407","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040382":["hashtag1","hashtag2"]},{"1352040400":["hashtag1","hashtag2"]},{"1352040432":["hashtag1","hashtag2"]},{"1352040398":["hashtag1","hashtag2"]},{"1352040434":["hashtag1","hashtag2"]},{"1352040407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040382, 1352040400, 1352040432, 1352040398, 1352040434, 1352040407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.559699296951294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:02:32.389341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_26_10446.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_36_9331.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_46_10426.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_55_9350.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_32_06_10413.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_16_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_26_10446.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_36_9331.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_46_10426.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_55_9350.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_32_06_10413.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_16_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040509","1352040499","1352040502","1352040511","1352040504","1352040507"],"photo_ids_order":["1352040499","1352040502","1352040504","1352040507","1352040509","1352040511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92b1295cf0fb74217421c4ee6cd0e1a2.jpg","text":"TemporaryFile(/tmp/multipartBody1191380658499492753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103813945,"filename":"image_14042025_12_32_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3be2b5fff813789f78b3e82abc8d040.jpg","text":"TemporaryFile(/tmp/multipartBody5900429082066473963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103813945,"filename":"image_14042025_12_31_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5254de3c80061f6259a6a7eb52a8fc1d.jpg","text":"TemporaryFile(/tmp/multipartBody2621725522208476987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103813945,"filename":"image_14042025_12_31_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/799dddb4c2482fe2def850ec0744f4b7.jpg","text":"TemporaryFile(/tmp/multipartBody3302586030450884428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103813945,"filename":"image_14042025_12_32_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37f9b810ef6a2e957fdb3a54128c9f48.jpg","text":"TemporaryFile(/tmp/multipartBody2361431829416991670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103813945,"filename":"image_14042025_12_31_46_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ea7929155fb11c0a80bce0d4f5c395a.jpg","text":"TemporaryFile(/tmp/multipartBody761367404100730387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103813945,"filename":"image_14042025_12_31_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040504","file1":"1352040502","file0":"1352040499","file4":"1352040509","file5":"1352040511","file3":"1352040507"},"map_files_photo_id_array":[{"photo_id":"1352040511","filename":"file5"},{"photo_id":"1352040504","filename":"file2"},{"photo_id":"1352040509","filename":"file4"},{"photo_id":"1352040502","filename":"file1"},{"photo_id":"1352040499","filename":"file0"},{"photo_id":"1352040507","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040509":["hashtag1","hashtag2"]},{"1352040499":["hashtag1","hashtag2"]},{"1352040502":["hashtag1","hashtag2"]},{"1352040511":["hashtag1","hashtag2"]},{"1352040504":["hashtag1","hashtag2"]},{"1352040507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040509, 1352040499, 1352040502, 1352040511, 1352040504, 1352040507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2204487323761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:03:32.546798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_26_9363.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_36_10360.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_45_9357.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_56_10378.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_33_06_10374.jpg', '/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_15_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_26_9363.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_36_10360.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_45_9357.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_56_10378.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_33_06_10374.jpg
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_15_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040523","1352040532","1352040526","1352040528","1352040525","1352040530"],"photo_ids_order":["1352040523","1352040525","1352040526","1352040528","1352040530","1352040532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b535278c831c249fff67a68a72dcafa2.jpg","text":"TemporaryFile(/tmp/multipartBody5021228068696629706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103874106,"filename":"image_14042025_12_32_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df9ab64b5d619e0f26929beb25a85def.jpg","text":"TemporaryFile(/tmp/multipartBody7523374518283687823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103874106,"filename":"image_14042025_12_33_15_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80cec0ab176a22a85a55bdd45e7cecbc.jpg","text":"TemporaryFile(/tmp/multipartBody1758947804482514648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103874106,"filename":"image_14042025_12_32_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7a6264c2abdbafc88585f64d11ee408.jpg","text":"TemporaryFile(/tmp/multipartBody6778748736449526708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103874106,"filename":"image_14042025_12_32_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d9f9324cc06a3c475d3a5fee95047d7.jpg","text":"TemporaryFile(/tmp/multipartBody7482444508664338673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103874106,"filename":"image_14042025_12_32_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6e0fb3f51b2043153f47386338dce8f.jpg","text":"TemporaryFile(/tmp/multipartBody8308867754175168958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103874106,"filename":"image_14042025_12_33_06_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040526","file1":"1352040525","file0":"1352040523","file4":"1352040530","file5":"1352040532","file3":"1352040528"},"map_files_photo_id_array":[{"photo_id":"1352040532","filename":"file5"},{"photo_id":"1352040526","filename":"file2"},{"photo_id":"1352040530","filename":"file4"},{"photo_id":"1352040525","filename":"file1"},{"photo_id":"1352040523","filename":"file0"},{"photo_id":"1352040528","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040523":["hashtag1","hashtag2"]},{"1352040532":["hashtag1","hashtag2"]},{"1352040526":["hashtag1","hashtag2"]},{"1352040528":["hashtag1","hashtag2"]},{"1352040525":["hashtag1","hashtag2"]},{"1352040530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040523, 1352040532, 1352040526, 1352040528, 1352040525, 1352040530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.439046144485474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:04:32.654949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_26_10451.jpg', '/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_36_10388.jpg', '/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_46_9371.jpg', '/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_56_10443.jpg', '/home/pi/Desktop/images/14042025/12/33/image_14042025_12_34_05_9333.jpg', '/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_16_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_26_10451.jpg
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_36_10388.jpg
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_46_9371.jpg
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_56_10443.jpg
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_34_05_9333.jpg
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_16_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040553","1352040550","1352040544","1352040546","1352040551","1352040548"],"photo_ids_order":["1352040544","1352040546","1352040548","1352040550","1352040551","1352040553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93abd8ff44a36b44146fc2d7b9d4eeb6.jpg","text":"TemporaryFile(/tmp/multipartBody5465660882722236428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103934210,"filename":"image_14042025_12_34_16_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e97b1dc49d731ce8d330cc4222f290ac.jpg","text":"TemporaryFile(/tmp/multipartBody4801946868026023491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103934210,"filename":"image_14042025_12_33_56_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ceee7a5ff91873f5b21a66182f14cb0a.jpg","text":"TemporaryFile(/tmp/multipartBody3366787745088378267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103934210,"filename":"image_14042025_12_33_26_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51f4b82d78d3759ad277ed9964e97f19.jpg","text":"TemporaryFile(/tmp/multipartBody1497964531488037428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103934210,"filename":"image_14042025_12_33_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f3c57505a114660e4526e1750b81790.jpg","text":"TemporaryFile(/tmp/multipartBody1088260751942982249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103934210,"filename":"image_14042025_12_34_05_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb605f79ac7dfb0bb2a2f0b92b692e65.jpg","text":"TemporaryFile(/tmp/multipartBody4415823427157000198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103934210,"filename":"image_14042025_12_33_46_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040548","file1":"1352040546","file0":"1352040544","file4":"1352040551","file5":"1352040553","file3":"1352040550"},"map_files_photo_id_array":[{"photo_id":"1352040553","filename":"file5"},{"photo_id":"1352040548","filename":"file2"},{"photo_id":"1352040551","filename":"file4"},{"photo_id":"1352040546","filename":"file1"},{"photo_id":"1352040544","filename":"file0"},{"photo_id":"1352040550","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040553":["hashtag1","hashtag2"]},{"1352040550":["hashtag1","hashtag2"]},{"1352040544":["hashtag1","hashtag2"]},{"1352040546":["hashtag1","hashtag2"]},{"1352040551":["hashtag1","hashtag2"]},{"1352040548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040553, 1352040550, 1352040544, 1352040546, 1352040551, 1352040548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.175069570541382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:05:32.836692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_26_10340.jpg', '/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_35_9379.jpg', '/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_46_10417.jpg', '/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_56_10342.jpg', '/home/pi/Desktop/images/14042025/12/34/image_14042025_12_35_06_9333.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_16_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_26_10340.jpg
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_35_9379.jpg
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_46_10417.jpg
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_56_10342.jpg
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_35_06_9333.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_16_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040565","1352040568","1352040564","1352040567","1352040569","1352040566"],"photo_ids_order":["1352040564","1352040565","1352040566","1352040567","1352040568","1352040569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/066f41a45a9bf1c7c974449173e52ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4838681008996939538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103994386,"filename":"image_14042025_12_34_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbac51f9bfdfa1a78e9f8e6f51ce3a50.jpg","text":"TemporaryFile(/tmp/multipartBody1455114555950467567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103994386,"filename":"image_14042025_12_35_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/efb52a7ce82bc05254af0b640e72cfae.jpg","text":"TemporaryFile(/tmp/multipartBody5111441388389884342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103994386,"filename":"image_14042025_12_34_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad06aa20802939dbef8bf0048812109a.jpg","text":"TemporaryFile(/tmp/multipartBody5248979455354779670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103994386,"filename":"image_14042025_12_34_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e66a738a69a1fa10409906eeeba7544.jpg","text":"TemporaryFile(/tmp/multipartBody2573460673696392009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103994386,"filename":"image_14042025_12_35_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8d0ec0bac8216ef9a9b7e684b8a24a7.jpg","text":"TemporaryFile(/tmp/multipartBody8167568044787832089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745103994386,"filename":"image_14042025_12_34_46_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040566","file1":"1352040565","file0":"1352040564","file4":"1352040568","file5":"1352040569","file3":"1352040567"},"map_files_photo_id_array":[{"photo_id":"1352040569","filename":"file5"},{"photo_id":"1352040566","filename":"file2"},{"photo_id":"1352040568","filename":"file4"},{"photo_id":"1352040565","filename":"file1"},{"photo_id":"1352040564","filename":"file0"},{"photo_id":"1352040567","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040565":["hashtag1","hashtag2"]},{"1352040568":["hashtag1","hashtag2"]},{"1352040564":["hashtag1","hashtag2"]},{"1352040567":["hashtag1","hashtag2"]},{"1352040569":["hashtag1","hashtag2"]},{"1352040566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040565, 1352040568, 1352040564, 1352040567, 1352040569, 1352040566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.64580774307251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:06:33.077121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_26_10365.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_36_9326.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_46_10362.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_55_9354.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_36_06_10447.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_16_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_26_10365.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_36_9326.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_46_10362.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_55_9354.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_36_06_10447.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_16_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040583","1352040586","1352040589","1352040580","1352040593","1352040596"],"photo_ids_order":["1352040580","1352040583","1352040586","1352040589","1352040593","1352040596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33ee2580aa7a2497c1f26b33a44cdcbd.jpg","text":"TemporaryFile(/tmp/multipartBody1217383429478742381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104054649,"filename":"image_14042025_12_35_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73e25e2303d109fbdc3b6d667cc8128a.jpg","text":"TemporaryFile(/tmp/multipartBody8551959091021904775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104054649,"filename":"image_14042025_12_35_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9ac6f157771dd5a5858600d2034641f.jpg","text":"TemporaryFile(/tmp/multipartBody8128597009665849393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104054649,"filename":"image_14042025_12_35_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b964c0e97eed41be513345d0a87a3253.jpg","text":"TemporaryFile(/tmp/multipartBody5013481591690196056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104054649,"filename":"image_14042025_12_35_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b26b6844e13df8d412b0379155d08712.jpg","text":"TemporaryFile(/tmp/multipartBody9152232729097674926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104054649,"filename":"image_14042025_12_36_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e64a6712d5c248a735c3a5cdf327e50.jpg","text":"TemporaryFile(/tmp/multipartBody566024740580998624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104054649,"filename":"image_14042025_12_36_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040586","file1":"1352040583","file0":"1352040580","file4":"1352040593","file5":"1352040596","file3":"1352040589"},"map_files_photo_id_array":[{"photo_id":"1352040596","filename":"file5"},{"photo_id":"1352040586","filename":"file2"},{"photo_id":"1352040593","filename":"file4"},{"photo_id":"1352040583","filename":"file1"},{"photo_id":"1352040580","filename":"file0"},{"photo_id":"1352040589","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040583":["hashtag1","hashtag2"]},{"1352040586":["hashtag1","hashtag2"]},{"1352040589":["hashtag1","hashtag2"]},{"1352040580":["hashtag1","hashtag2"]},{"1352040593":["hashtag1","hashtag2"]},{"1352040596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040583, 1352040586, 1352040589, 1352040580, 1352040593, 1352040596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.231594562530518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:07:32.385897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_25_9339.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_36_10405.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_46_10365.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_56_9336.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_37_06_10322.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_25_9339.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_36_10405.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_46_10365.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_56_9336.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_37_06_10322.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_16_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4638066291809082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 01:07:42.273708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_25_9339.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_36_10405.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_46_10365.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_56_9336.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_37_06_10322.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_25_9339.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_36_10405.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_46_10365.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_56_9336.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_37_06_10322.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_16_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040620","1352040614","1352040619","1352040610","1352040621","1352040617"],"photo_ids_order":["1352040610","1352040614","1352040617","1352040619","1352040620","1352040621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/28e6506754672e5860a8fefb352a34d0.jpg","text":"TemporaryFile(/tmp/multipartBody5793462902738229033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104123033,"filename":"image_14042025_12_37_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c789725d5e8fd9efd78fb002d58de66.jpg","text":"TemporaryFile(/tmp/multipartBody9023327429909743675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104123033,"filename":"image_14042025_12_36_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c68d1d816e2af45c2c4319c9539d518e.jpg","text":"TemporaryFile(/tmp/multipartBody2994671892405572588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104123033,"filename":"image_14042025_12_36_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4683817e644ada5e1c0a28a0a0110811.jpg","text":"TemporaryFile(/tmp/multipartBody8340509489546579185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104123033,"filename":"image_14042025_12_36_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/125cd2fa4601b779b77130a8bbfd2692.jpg","text":"TemporaryFile(/tmp/multipartBody2501797397544729279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104123033,"filename":"image_14042025_12_37_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d56c0f67ce6f0e0fd028f48d55df8b71.jpg","text":"TemporaryFile(/tmp/multipartBody4830313246113089584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104123033,"filename":"image_14042025_12_36_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040617","file1":"1352040614","file0":"1352040610","file4":"1352040620","file5":"1352040621","file3":"1352040619"},"map_files_photo_id_array":[{"photo_id":"1352040621","filename":"file5"},{"photo_id":"1352040617","filename":"file2"},{"photo_id":"1352040620","filename":"file4"},{"photo_id":"1352040614","filename":"file1"},{"photo_id":"1352040610","filename":"file0"},{"photo_id":"1352040619","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040620":["hashtag1","hashtag2"]},{"1352040614":["hashtag1","hashtag2"]},{"1352040619":["hashtag1","hashtag2"]},{"1352040610":["hashtag1","hashtag2"]},{"1352040621":["hashtag1","hashtag2"]},{"1352040617":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040620, 1352040614, 1352040619, 1352040610, 1352040621, 1352040617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.38835883140564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:08:32.483314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_26_9358.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_36_10335.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_45_9351.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_56_10341.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_38_06_10387.jpg', '/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_15_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_26_9358.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_36_10335.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_45_9351.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_56_10341.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_38_06_10387.jpg
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_15_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040646","1352040643","1352040639","1352040636","1352040641","1352040632"],"photo_ids_order":["1352040632","1352040636","1352040639","1352040641","1352040643","1352040646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9e401e17101b12089264e960df8746f.jpg","text":"TemporaryFile(/tmp/multipartBody4842133391687693838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104174038,"filename":"image_14042025_12_38_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1430b72cbb4f1cf118e9bb14e415c4f.jpg","text":"TemporaryFile(/tmp/multipartBody8923118926390834322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104174038,"filename":"image_14042025_12_38_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71a2ef59b535cbdf18f93d10477045a0.jpg","text":"TemporaryFile(/tmp/multipartBody7911106977953386870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104174038,"filename":"image_14042025_12_37_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f61c85846a486c69c7e818272c96e86.jpg","text":"TemporaryFile(/tmp/multipartBody500183296368919082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104174038,"filename":"image_14042025_12_37_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e2f7ba7197323165f3ed40df9291398.jpg","text":"TemporaryFile(/tmp/multipartBody5160859268356157783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104174038,"filename":"image_14042025_12_37_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76f47d833e66ea16d8f5e5a16db88854.jpg","text":"TemporaryFile(/tmp/multipartBody4869220928446757797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104174038,"filename":"image_14042025_12_37_26_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040639","file1":"1352040636","file0":"1352040632","file4":"1352040643","file5":"1352040646","file3":"1352040641"},"map_files_photo_id_array":[{"photo_id":"1352040646","filename":"file5"},{"photo_id":"1352040639","filename":"file2"},{"photo_id":"1352040643","filename":"file4"},{"photo_id":"1352040636","filename":"file1"},{"photo_id":"1352040632","filename":"file0"},{"photo_id":"1352040641","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040646":["hashtag1","hashtag2"]},{"1352040643":["hashtag1","hashtag2"]},{"1352040639":["hashtag1","hashtag2"]},{"1352040636":["hashtag1","hashtag2"]},{"1352040641":["hashtag1","hashtag2"]},{"1352040632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040646, 1352040643, 1352040639, 1352040636, 1352040641, 1352040632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.0059552192688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:09:32.760596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_26_10398.jpg', '/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_36_10340.jpg', '/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_45_9357.jpg', '/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_56_10415.jpg', '/home/pi/Desktop/images/14042025/12/38/image_14042025_12_39_06_10332.jpg', '/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_16_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_26_10398.jpg
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_36_10340.jpg
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_45_9357.jpg
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_56_10415.jpg
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_39_06_10332.jpg
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_16_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040664","1352040667","1352040661","1352040658","1352040669","1352040671"],"photo_ids_order":["1352040658","1352040661","1352040664","1352040667","1352040669","1352040671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d003c5894db12cb50ad3430b2dd66bf.jpg","text":"TemporaryFile(/tmp/multipartBody6353038384259118490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104234310,"filename":"image_14042025_12_38_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0af83b0d5efab541b24ff9a04fedd60.jpg","text":"TemporaryFile(/tmp/multipartBody1738953444320165656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104234310,"filename":"image_14042025_12_38_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f081a3d8bd41d15aea63646a7afe6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7768289020743973441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104234310,"filename":"image_14042025_12_38_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5b5be3d0e9b4a6958539a01b965cf1e.jpg","text":"TemporaryFile(/tmp/multipartBody5688105289597644601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104234310,"filename":"image_14042025_12_38_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a207dc246fd27c924ca488cd9c37a92c.jpg","text":"TemporaryFile(/tmp/multipartBody1213734926735984616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104234310,"filename":"image_14042025_12_39_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9cdf6ca5a3e5287f281d32c7c5c81f8.jpg","text":"TemporaryFile(/tmp/multipartBody222928827183422316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104234310,"filename":"image_14042025_12_39_16_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040664","file1":"1352040661","file0":"1352040658","file4":"1352040669","file5":"1352040671","file3":"1352040667"},"map_files_photo_id_array":[{"photo_id":"1352040671","filename":"file5"},{"photo_id":"1352040664","filename":"file2"},{"photo_id":"1352040669","filename":"file4"},{"photo_id":"1352040661","filename":"file1"},{"photo_id":"1352040658","filename":"file0"},{"photo_id":"1352040667","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040664":["hashtag1","hashtag2"]},{"1352040667":["hashtag1","hashtag2"]},{"1352040661":["hashtag1","hashtag2"]},{"1352040658":["hashtag1","hashtag2"]},{"1352040669":["hashtag1","hashtag2"]},{"1352040671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040664, 1352040667, 1352040661, 1352040658, 1352040669, 1352040671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01821827888489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:10:32.869581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_26_10364.jpg', '/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_35_9319.jpg', '/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_46_10362.jpg', '/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_56_10359.jpg', '/home/pi/Desktop/images/14042025/12/39/image_14042025_12_40_05_9351.jpg', '/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_16_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_26_10364.jpg
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_35_9319.jpg
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_46_10362.jpg
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_56_10359.jpg
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_40_05_9351.jpg
/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_16_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040685","1352040687","1352040681","1352040690","1352040692","1352040695"],"photo_ids_order":["1352040681","1352040685","1352040687","1352040690","1352040692","1352040695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e035eb4bee4ee5bc06ebff5abdbf91fe.jpg","text":"TemporaryFile(/tmp/multipartBody8432490371822424532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104294516,"filename":"image_14042025_12_39_35_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6a1d97524d4eebd547d724fe0b7b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody6969885469225619396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104294516,"filename":"image_14042025_12_39_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25b6b552ca6c60c6c3b3e5140fb93f97.jpg","text":"TemporaryFile(/tmp/multipartBody6612740069578657124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104294516,"filename":"image_14042025_12_39_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae32eb43d59fe0ae188dcbfe91e4eed8.jpg","text":"TemporaryFile(/tmp/multipartBody732721913425218323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104294516,"filename":"image_14042025_12_39_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dce70f44f99717c224613d9e10cbff6e.jpg","text":"TemporaryFile(/tmp/multipartBody417354877886940427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104294516,"filename":"image_14042025_12_40_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95bda0cea66647ed034a07b218ee3f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4735297970051435710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104294516,"filename":"image_14042025_12_40_16_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040687","file1":"1352040685","file0":"1352040681","file4":"1352040692","file5":"1352040695","file3":"1352040690"},"map_files_photo_id_array":[{"photo_id":"1352040695","filename":"file5"},{"photo_id":"1352040687","filename":"file2"},{"photo_id":"1352040692","filename":"file4"},{"photo_id":"1352040685","filename":"file1"},{"photo_id":"1352040681","filename":"file0"},{"photo_id":"1352040690","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040685":["hashtag1","hashtag2"]},{"1352040687":["hashtag1","hashtag2"]},{"1352040681":["hashtag1","hashtag2"]},{"1352040690":["hashtag1","hashtag2"]},{"1352040692":["hashtag1","hashtag2"]},{"1352040695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040685, 1352040687, 1352040681, 1352040690, 1352040692, 1352040695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37277436256409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:11:32.243729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_26_10372.jpg', '/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_36_9325.jpg', '/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_46_10362.jpg', '/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_55_9437.jpg', '/home/pi/Desktop/images/14042025/12/40/image_14042025_12_41_06_10468.jpg', '/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_16_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_26_10372.jpg
/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_36_9325.jpg
/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_46_10362.jpg
/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_55_9437.jpg
/home/pi/Desktop/images/14042025/12/40/image_14042025_12_41_06_10468.jpg
/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_16_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040713","1352040707","1352040716","1352040719","1352040710","1352040704"],"photo_ids_order":["1352040704","1352040707","1352040710","1352040713","1352040716","1352040719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99b58b1591a2e96fa3fa49a022db6997.jpg","text":"TemporaryFile(/tmp/multipartBody5432332321747411508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104353795,"filename":"image_14042025_12_40_55_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37f3df12bf504665088c567ac7dc3d03.jpg","text":"TemporaryFile(/tmp/multipartBody524265740511035062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104353795,"filename":"image_14042025_12_40_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/596ab98a62a7ab400d0dbbf84a677491.jpg","text":"TemporaryFile(/tmp/multipartBody1597223993096389563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104353795,"filename":"image_14042025_12_41_06_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a477e99b6770ddc446fcf790f0872b3.jpg","text":"TemporaryFile(/tmp/multipartBody2121060645760031520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104353795,"filename":"image_14042025_12_41_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/276cf2f6ae83e940b4f252fa5a3a286e.jpg","text":"TemporaryFile(/tmp/multipartBody5034161179826029839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104353795,"filename":"image_14042025_12_40_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f236383b7475349550b9273a28b1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4980734014980475069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104353795,"filename":"image_14042025_12_40_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040710","file1":"1352040707","file0":"1352040704","file4":"1352040716","file5":"1352040719","file3":"1352040713"},"map_files_photo_id_array":[{"photo_id":"1352040719","filename":"file5"},{"photo_id":"1352040710","filename":"file2"},{"photo_id":"1352040716","filename":"file4"},{"photo_id":"1352040707","filename":"file1"},{"photo_id":"1352040704","filename":"file0"},{"photo_id":"1352040713","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040713":["hashtag1","hashtag2"]},{"1352040707":["hashtag1","hashtag2"]},{"1352040716":["hashtag1","hashtag2"]},{"1352040719":["hashtag1","hashtag2"]},{"1352040710":["hashtag1","hashtag2"]},{"1352040704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040713, 1352040707, 1352040716, 1352040719, 1352040710, 1352040704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.764841556549072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:12:32.461232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_26_9352.jpg', '/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_46_10361.jpg', '/home/pi/Desktop/images/14042025/12/41/image_14042025_12_42_06_10427.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_15_9340.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_26_10416.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_46_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_26_9352.jpg
/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_46_10361.jpg
/home/pi/Desktop/images/14042025/12/41/image_14042025_12_42_06_10427.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_15_9340.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_26_10416.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_46_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040727","1352040724","1352040740","1352040734","1352040737","1352040731"],"photo_ids_order":["1352040724","1352040727","1352040731","1352040734","1352040737","1352040740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21af78aa3ae07e24989d7bfaed45feb5.jpg","text":"TemporaryFile(/tmp/multipartBody2345028624300384150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104414021,"filename":"image_14042025_12_41_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f797289a623ca86d1bc40e4b7e5196b.jpg","text":"TemporaryFile(/tmp/multipartBody7272651428531178958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104414021,"filename":"image_14042025_12_41_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d002a9e4a6dd3b295242ce9306d4ea8.jpg","text":"TemporaryFile(/tmp/multipartBody168923568728918662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104414021,"filename":"image_14042025_12_42_46_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1fbafefb29ddfb499df1556a3d4dd04.jpg","text":"TemporaryFile(/tmp/multipartBody2789623509970041216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104414021,"filename":"image_14042025_12_42_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13847691af01ea2d86a1d7e211e67162.jpg","text":"TemporaryFile(/tmp/multipartBody2726859901691704897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104414021,"filename":"image_14042025_12_42_26_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f2f9ed7e03c8d35d4d1734a90f1ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody1181079447766143109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104414021,"filename":"image_14042025_12_42_06_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040731","file1":"1352040727","file0":"1352040724","file4":"1352040737","file5":"1352040740","file3":"1352040734"},"map_files_photo_id_array":[{"photo_id":"1352040740","filename":"file5"},{"photo_id":"1352040731","filename":"file2"},{"photo_id":"1352040737","filename":"file4"},{"photo_id":"1352040727","filename":"file1"},{"photo_id":"1352040724","filename":"file0"},{"photo_id":"1352040734","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040727":["hashtag1","hashtag2"]},{"1352040724":["hashtag1","hashtag2"]},{"1352040740":["hashtag1","hashtag2"]},{"1352040734":["hashtag1","hashtag2"]},{"1352040737":["hashtag1","hashtag2"]},{"1352040731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040727, 1352040724, 1352040740, 1352040734, 1352040737, 1352040731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20188283920288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:13:32.745801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/42/image_14042025_12_43_05_9415.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_26_10358.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_35_9312.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_46_10343.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_56_10349.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_44_05_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_43_05_9415.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_26_10358.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_35_9312.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_46_10343.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_56_10349.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_44_05_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040757","1352040750","1352040744","1352040753","1352040747","1352040755"],"photo_ids_order":["1352040744","1352040747","1352040750","1352040753","1352040755","1352040757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7f3a79a4aef20a6317de5a468866940.jpg","text":"TemporaryFile(/tmp/multipartBody3577953130772827491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104474684,"filename":"image_14042025_12_44_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f12fedc311c2af7efba19cba7a7967d4.jpg","text":"TemporaryFile(/tmp/multipartBody112787780926367727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104474684,"filename":"image_14042025_12_43_35_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afdc05a4a5fa7fb7f17f7426e56e8a7b.jpg","text":"TemporaryFile(/tmp/multipartBody6829857982699450755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104474684,"filename":"image_14042025_12_43_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7106624ddd036a7ea0b08ec2ff2219c.jpg","text":"TemporaryFile(/tmp/multipartBody6712381399794564839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104474684,"filename":"image_14042025_12_43_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46482e00c04113115a8cb788d7dd6dc2.jpg","text":"TemporaryFile(/tmp/multipartBody6038359983045295471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104474684,"filename":"image_14042025_12_43_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/979afd5184ba908a9e60ee223b679093.jpg","text":"TemporaryFile(/tmp/multipartBody952927705258836285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104474684,"filename":"image_14042025_12_43_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040750","file1":"1352040747","file0":"1352040744","file4":"1352040755","file5":"1352040757","file3":"1352040753"},"map_files_photo_id_array":[{"photo_id":"1352040757","filename":"file5"},{"photo_id":"1352040750","filename":"file2"},{"photo_id":"1352040755","filename":"file4"},{"photo_id":"1352040747","filename":"file1"},{"photo_id":"1352040744","filename":"file0"},{"photo_id":"1352040753","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040757":["hashtag1","hashtag2"]},{"1352040750":["hashtag1","hashtag2"]},{"1352040744":["hashtag1","hashtag2"]},{"1352040753":["hashtag1","hashtag2"]},{"1352040747":["hashtag1","hashtag2"]},{"1352040755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040757, 1352040750, 1352040744, 1352040753, 1352040747, 1352040755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28127121925354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:14:32.947587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_16_10336.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_26_10351.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_36_9335.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_46_10432.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_56_10336.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_45_06_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_16_10336.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_26_10351.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_36_9335.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_46_10432.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_56_10336.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_45_06_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040778","1352040772","1352040780","1352040774","1352040770","1352040776"],"photo_ids_order":["1352040770","1352040772","1352040774","1352040776","1352040778","1352040780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ad9793659f9a97b148477d22ff9d60e.jpg","text":"TemporaryFile(/tmp/multipartBody5400953683922393600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104534506,"filename":"image_14042025_12_44_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57a3faba1751902c8f6a76b11ed81ef7.jpg","text":"TemporaryFile(/tmp/multipartBody950065368549044417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104534506,"filename":"image_14042025_12_44_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4266049c16f04eaa2539ecb470b73222.jpg","text":"TemporaryFile(/tmp/multipartBody1439285199350740156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104534506,"filename":"image_14042025_12_45_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe343540ea5a17da9fe52a0ae5039b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7461101268776570154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104534506,"filename":"image_14042025_12_44_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/487706ffde80e674a525bc3f22691ada.jpg","text":"TemporaryFile(/tmp/multipartBody14682623269792894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104534506,"filename":"image_14042025_12_44_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d50bc84e1c0a6404ee644c5626ae1dee.jpg","text":"TemporaryFile(/tmp/multipartBody3863549995998424635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104534506,"filename":"image_14042025_12_44_46_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040774","file1":"1352040772","file0":"1352040770","file4":"1352040778","file5":"1352040780","file3":"1352040776"},"map_files_photo_id_array":[{"photo_id":"1352040780","filename":"file5"},{"photo_id":"1352040774","filename":"file2"},{"photo_id":"1352040778","filename":"file4"},{"photo_id":"1352040772","filename":"file1"},{"photo_id":"1352040770","filename":"file0"},{"photo_id":"1352040776","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040778":["hashtag1","hashtag2"]},{"1352040772":["hashtag1","hashtag2"]},{"1352040780":["hashtag1","hashtag2"]},{"1352040774":["hashtag1","hashtag2"]},{"1352040770":["hashtag1","hashtag2"]},{"1352040776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040778, 1352040772, 1352040780, 1352040774, 1352040770, 1352040776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41461229324341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:15:32.318823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_16_10444.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_25_9381.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_36_10357.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_46_10343.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_55_9336.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_46_06_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_16_10444.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_25_9381.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_36_10357.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_46_10343.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_55_9336.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_46_06_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040800","1352040792","1352040789","1352040797","1352040794","1352040803"],"photo_ids_order":["1352040789","1352040792","1352040794","1352040797","1352040800","1352040803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5346eb4a557ea8b9e61b3f5b814fe44a.jpg","text":"TemporaryFile(/tmp/multipartBody9199302053359860522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104593869,"filename":"image_14042025_12_45_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6edcd71f1615d16b84a25fd57c1538e3.jpg","text":"TemporaryFile(/tmp/multipartBody1254520400764527395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104593869,"filename":"image_14042025_12_45_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfc62016fcd1f0da84f2d0f1c714c5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2162833169430954415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104593869,"filename":"image_14042025_12_45_16_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/105dad548f1c8f61ed6e1ebbb37bcb4b.jpg","text":"TemporaryFile(/tmp/multipartBody8233362479011623049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104593869,"filename":"image_14042025_12_45_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/216ed6f0068dcc13fc25949bb51764bb.jpg","text":"TemporaryFile(/tmp/multipartBody6732101220190160270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104593869,"filename":"image_14042025_12_45_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e2294d17d24cf71eb8580cd2c3b3b16.jpg","text":"TemporaryFile(/tmp/multipartBody1434748613824653646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104593869,"filename":"image_14042025_12_46_06_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040794","file1":"1352040792","file0":"1352040789","file4":"1352040800","file5":"1352040803","file3":"1352040797"},"map_files_photo_id_array":[{"photo_id":"1352040803","filename":"file5"},{"photo_id":"1352040794","filename":"file2"},{"photo_id":"1352040800","filename":"file4"},{"photo_id":"1352040792","filename":"file1"},{"photo_id":"1352040789","filename":"file0"},{"photo_id":"1352040797","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040800":["hashtag1","hashtag2"]},{"1352040792":["hashtag1","hashtag2"]},{"1352040789":["hashtag1","hashtag2"]},{"1352040797":["hashtag1","hashtag2"]},{"1352040794":["hashtag1","hashtag2"]},{"1352040803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040800, 1352040792, 1352040789, 1352040797, 1352040794, 1352040803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69761371612549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:16:32.724726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_16_10338.jpg', '/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_26_9354.jpg', '/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_36_10401.jpg', '/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_45_9427.jpg', '/home/pi/Desktop/images/14042025/12/46/image_14042025_12_47_06_10343.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_16_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_16_10338.jpg
/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_26_9354.jpg
/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_36_10401.jpg
/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_45_9427.jpg
/home/pi/Desktop/images/14042025/12/46/image_14042025_12_47_06_10343.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_16_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040826","1352040814","1352040817","1352040819","1352040821","1352040824"],"photo_ids_order":["1352040814","1352040817","1352040819","1352040821","1352040824","1352040826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/679183e0b70c017de1d793acbce2f303.jpg","text":"TemporaryFile(/tmp/multipartBody361380782799295364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104654281,"filename":"image_14042025_12_47_16_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/595d160f9c3d6f939b999bbe9e64cc48.jpg","text":"TemporaryFile(/tmp/multipartBody7229358368085094233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104654281,"filename":"image_14042025_12_46_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4805468530a9e01836023c358ebb9037.jpg","text":"TemporaryFile(/tmp/multipartBody8906460879238758691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104654281,"filename":"image_14042025_12_46_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/655f6a07538feabe42747e7ab2044c86.jpg","text":"TemporaryFile(/tmp/multipartBody1408410310165425825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104654281,"filename":"image_14042025_12_46_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bea8716bc464faaf0cf0516559a417d.jpg","text":"TemporaryFile(/tmp/multipartBody1837569633903814205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104654281,"filename":"image_14042025_12_46_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58cbd69df18274dd6cee33728fda1465.jpg","text":"TemporaryFile(/tmp/multipartBody5654228994926599219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104654281,"filename":"image_14042025_12_47_06_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040819","file1":"1352040817","file0":"1352040814","file4":"1352040824","file5":"1352040826","file3":"1352040821"},"map_files_photo_id_array":[{"photo_id":"1352040826","filename":"file5"},{"photo_id":"1352040819","filename":"file2"},{"photo_id":"1352040824","filename":"file4"},{"photo_id":"1352040817","filename":"file1"},{"photo_id":"1352040814","filename":"file0"},{"photo_id":"1352040821","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040826":["hashtag1","hashtag2"]},{"1352040814":["hashtag1","hashtag2"]},{"1352040817":["hashtag1","hashtag2"]},{"1352040819":["hashtag1","hashtag2"]},{"1352040821":["hashtag1","hashtag2"]},{"1352040824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040826, 1352040814, 1352040817, 1352040819, 1352040821, 1352040824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.255803108215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:17:32.861371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_26_10601.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_36_9342.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_46_10430.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_55_9346.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_48_06_10372.jpg', '/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_16_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_26_10601.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_36_9342.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_46_10430.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_55_9346.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_48_06_10372.jpg
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_16_10327.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.470916509628296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 01:17:42.885919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_26_10601.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_36_9342.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_46_10430.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_55_9346.jpg', '/home/pi/Desktop/images/14042025/12/47/image_14042025_12_48_06_10372.jpg', '/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_16_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_26_10601.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_36_9342.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_46_10430.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_55_9346.jpg
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_48_06_10372.jpg
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_16_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040856","1352040858","1352040851","1352040854","1352040848","1352040857"],"photo_ids_order":["1352040848","1352040851","1352040854","1352040856","1352040857","1352040858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d0deb3de5de30728e7e6b1e49dbe3eb.jpg","text":"TemporaryFile(/tmp/multipartBody4938623103066694448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104723521,"filename":"image_14042025_12_47_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5013cc21e41dbcd5e05e2b4116937ada.jpg","text":"TemporaryFile(/tmp/multipartBody2863397080837169232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104723521,"filename":"image_14042025_12_48_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd5956afcb7e9a9b166c957f8c4aba23.jpg","text":"TemporaryFile(/tmp/multipartBody493294554630150791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104723521,"filename":"image_14042025_12_47_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e621f603d4f305afdcefbc58d453dc94.jpg","text":"TemporaryFile(/tmp/multipartBody2968917075347992538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104723521,"filename":"image_14042025_12_47_46_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/562d818914cdf58e37e5a696eb430f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5438790176649730903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104723521,"filename":"image_14042025_12_47_26_10601.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c547f0a89478bc6ce8a881198185916f.jpg","text":"TemporaryFile(/tmp/multipartBody2565796471012131696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104723521,"filename":"image_14042025_12_48_06_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040854","file1":"1352040851","file0":"1352040848","file4":"1352040857","file5":"1352040858","file3":"1352040856"},"map_files_photo_id_array":[{"photo_id":"1352040858","filename":"file5"},{"photo_id":"1352040854","filename":"file2"},{"photo_id":"1352040857","filename":"file4"},{"photo_id":"1352040851","filename":"file1"},{"photo_id":"1352040848","filename":"file0"},{"photo_id":"1352040856","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040856":["hashtag1","hashtag2"]},{"1352040858":["hashtag1","hashtag2"]},{"1352040851":["hashtag1","hashtag2"]},{"1352040854":["hashtag1","hashtag2"]},{"1352040848":["hashtag1","hashtag2"]},{"1352040857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040856, 1352040858, 1352040851, 1352040854, 1352040848, 1352040857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.009226083755493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:18:33.025028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_25_9340.jpg', '/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_36_10337.jpg', '/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_46_10388.jpg', '/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_56_9369.jpg', '/home/pi/Desktop/images/14042025/12/48/image_14042025_12_49_06_10464.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_15_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_25_9340.jpg
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_36_10337.jpg
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_46_10388.jpg
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_56_9369.jpg
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_49_06_10464.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_15_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040880","1352040871","1352040874","1352040882","1352040876","1352040878"],"photo_ids_order":["1352040871","1352040874","1352040876","1352040878","1352040880","1352040882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/927958ad82a69596552c0a8dac39445a.jpg","text":"TemporaryFile(/tmp/multipartBody410428243052292520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104774580,"filename":"image_14042025_12_49_06_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95eea1534c5c5fd84c002665e9418837.jpg","text":"TemporaryFile(/tmp/multipartBody2437615870088540339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104774580,"filename":"image_14042025_12_48_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb876f4cd88f0c78d79ec7fff0745348.jpg","text":"TemporaryFile(/tmp/multipartBody4043214587858888872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104774580,"filename":"image_14042025_12_48_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4161f9d1c431bc2f94149bad7ae7a671.jpg","text":"TemporaryFile(/tmp/multipartBody8946374780884676725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104774580,"filename":"image_14042025_12_49_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dd236cfb7164322d201db589accbc5f.jpg","text":"TemporaryFile(/tmp/multipartBody4799958682376231149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104774580,"filename":"image_14042025_12_48_46_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50b7f4376153d6da7660feba22b18caf.jpg","text":"TemporaryFile(/tmp/multipartBody4588070023623006235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104774580,"filename":"image_14042025_12_48_56_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040876","file1":"1352040874","file0":"1352040871","file4":"1352040880","file5":"1352040882","file3":"1352040878"},"map_files_photo_id_array":[{"photo_id":"1352040882","filename":"file5"},{"photo_id":"1352040876","filename":"file2"},{"photo_id":"1352040880","filename":"file4"},{"photo_id":"1352040874","filename":"file1"},{"photo_id":"1352040871","filename":"file0"},{"photo_id":"1352040878","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040880":["hashtag1","hashtag2"]},{"1352040871":["hashtag1","hashtag2"]},{"1352040874":["hashtag1","hashtag2"]},{"1352040882":["hashtag1","hashtag2"]},{"1352040876":["hashtag1","hashtag2"]},{"1352040878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040880, 1352040871, 1352040874, 1352040882, 1352040876, 1352040878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29732894897461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:19:32.255843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_26_10432.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_36_10347.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_45_9337.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_56_10367.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_50_06_10391.jpg', '/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_16_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_26_10432.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_36_10347.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_45_9337.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_56_10367.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_50_06_10391.jpg
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_16_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040895","1352040898","1352040907","1352040901","1352040904","1352040906"],"photo_ids_order":["1352040895","1352040898","1352040901","1352040904","1352040906","1352040907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d824b0c27d1a43b54cc7bd61b50cb31e.jpg","text":"TemporaryFile(/tmp/multipartBody5134349325060040903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104833809,"filename":"image_14042025_12_49_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5008e49ba2378e3f56ad334a44282fc7.jpg","text":"TemporaryFile(/tmp/multipartBody9146039581010374249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104833809,"filename":"image_14042025_12_49_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4dca2851b43a2d6e208a926a5d86941.jpg","text":"TemporaryFile(/tmp/multipartBody8577395061271508640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104833809,"filename":"image_14042025_12_50_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc151890b6c879cd82e88301f6c722c9.jpg","text":"TemporaryFile(/tmp/multipartBody6888093772972533588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104833809,"filename":"image_14042025_12_49_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3652d931838e19f6a1e37e11244419ce.jpg","text":"TemporaryFile(/tmp/multipartBody5237219804538046915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104833809,"filename":"image_14042025_12_49_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cde37538a54dee23c2872951bd5496f.jpg","text":"TemporaryFile(/tmp/multipartBody2249912239912744811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104833809,"filename":"image_14042025_12_50_06_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040901","file1":"1352040898","file0":"1352040895","file4":"1352040906","file5":"1352040907","file3":"1352040904"},"map_files_photo_id_array":[{"photo_id":"1352040907","filename":"file5"},{"photo_id":"1352040901","filename":"file2"},{"photo_id":"1352040906","filename":"file4"},{"photo_id":"1352040898","filename":"file1"},{"photo_id":"1352040895","filename":"file0"},{"photo_id":"1352040904","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040895":["hashtag1","hashtag2"]},{"1352040898":["hashtag1","hashtag2"]},{"1352040907":["hashtag1","hashtag2"]},{"1352040901":["hashtag1","hashtag2"]},{"1352040904":["hashtag1","hashtag2"]},{"1352040906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040895, 1352040898, 1352040907, 1352040901, 1352040904, 1352040906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88202214241028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:20:32.485066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_26_10460.jpg', '/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_35_9438.jpg', '/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_46_10483.jpg', '/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_55_9402.jpg', '/home/pi/Desktop/images/14042025/12/50/image_14042025_12_51_06_10425.jpg', '/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_26_10460.jpg
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_35_9438.jpg
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_46_10483.jpg
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_55_9402.jpg
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_51_06_10425.jpg
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_16_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040926","1352040934","1352040932","1352040929","1352040920","1352040923"],"photo_ids_order":["1352040920","1352040923","1352040926","1352040929","1352040932","1352040934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aac8138d536a02bdd99d5898ad98b6a4.jpg","text":"TemporaryFile(/tmp/multipartBody5916351306790734023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104894112,"filename":"image_14042025_12_50_46_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0104808165fe01b292a42918f761bdb.jpg","text":"TemporaryFile(/tmp/multipartBody901679035067298335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104894112,"filename":"image_14042025_12_51_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29a1f61c7765708943c8b7056778d660.jpg","text":"TemporaryFile(/tmp/multipartBody6111893301228406167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104894112,"filename":"image_14042025_12_51_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/49253b32ed13444a04123d3a0f21acd2.jpg","text":"TemporaryFile(/tmp/multipartBody3742609746496694609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104894112,"filename":"image_14042025_12_50_55_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64e0d209904da8d3277bd9c30783aa18.jpg","text":"TemporaryFile(/tmp/multipartBody851817201341893862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104894112,"filename":"image_14042025_12_50_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f838ef7ced1b828c6703c3bd0beb0807.jpg","text":"TemporaryFile(/tmp/multipartBody224941361433329953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104894112,"filename":"image_14042025_12_50_35_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040926","file1":"1352040923","file0":"1352040920","file4":"1352040932","file5":"1352040934","file3":"1352040929"},"map_files_photo_id_array":[{"photo_id":"1352040934","filename":"file5"},{"photo_id":"1352040926","filename":"file2"},{"photo_id":"1352040932","filename":"file4"},{"photo_id":"1352040923","filename":"file1"},{"photo_id":"1352040920","filename":"file0"},{"photo_id":"1352040929","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040926":["hashtag1","hashtag2"]},{"1352040934":["hashtag1","hashtag2"]},{"1352040932":["hashtag1","hashtag2"]},{"1352040929":["hashtag1","hashtag2"]},{"1352040920":["hashtag1","hashtag2"]},{"1352040923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040926, 1352040934, 1352040932, 1352040929, 1352040920, 1352040923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.496825695037842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:21:32.731335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_25_9339.jpg', '/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_36_10677.jpg', '/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_45_9347.jpg', '/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_56_10448.jpg', '/home/pi/Desktop/images/14042025/12/51/image_14042025_12_52_05_9388.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_16_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_25_9339.jpg
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_36_10677.jpg
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_45_9347.jpg
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_56_10448.jpg
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_52_05_9388.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_16_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040943","1352040949","1352040951","1352040945","1352040953","1352040947"],"photo_ids_order":["1352040943","1352040945","1352040947","1352040949","1352040951","1352040953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/459d00eaf3ad72d0110ff86f37b03547.jpg","text":"TemporaryFile(/tmp/multipartBody7006997439917757725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104954280,"filename":"image_14042025_12_51_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bda8915376f131ee8fffe7721b2ef84f.jpg","text":"TemporaryFile(/tmp/multipartBody5245046351709794021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104954280,"filename":"image_14042025_12_51_56_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba7a0828f2b367bb3f432cf16edce7be.jpg","text":"TemporaryFile(/tmp/multipartBody1706900667763327622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104954280,"filename":"image_14042025_12_52_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfb64d09cfab4578e562c3c0de46175f.jpg","text":"TemporaryFile(/tmp/multipartBody6850823180533913736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104954280,"filename":"image_14042025_12_51_36_10677.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f841ae3cb4165afd41601df54ac79df.jpg","text":"TemporaryFile(/tmp/multipartBody595437487006908054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104954280,"filename":"image_14042025_12_52_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d6ac3bd3aa4b9bb134442951dcffae6.jpg","text":"TemporaryFile(/tmp/multipartBody7098105337964316547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745104954280,"filename":"image_14042025_12_51_45_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040947","file1":"1352040945","file0":"1352040943","file4":"1352040951","file5":"1352040953","file3":"1352040949"},"map_files_photo_id_array":[{"photo_id":"1352040953","filename":"file5"},{"photo_id":"1352040947","filename":"file2"},{"photo_id":"1352040951","filename":"file4"},{"photo_id":"1352040945","filename":"file1"},{"photo_id":"1352040943","filename":"file0"},{"photo_id":"1352040949","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040943":["hashtag1","hashtag2"]},{"1352040949":["hashtag1","hashtag2"]},{"1352040951":["hashtag1","hashtag2"]},{"1352040945":["hashtag1","hashtag2"]},{"1352040953":["hashtag1","hashtag2"]},{"1352040947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040943, 1352040949, 1352040951, 1352040945, 1352040953, 1352040947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.03990149497986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:22:32.987293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_26_10371.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_35_9326.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_46_10373.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_56_10345.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_53_05_9335.jpg', '/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_26_10371.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_35_9326.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_46_10373.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_56_10345.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_53_05_9335.jpg
/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_16_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040970","1352040964","1352040966","1352040959","1352040968","1352040962"],"photo_ids_order":["1352040959","1352040962","1352040964","1352040966","1352040968","1352040970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74a716b30cb9c451b5af428711eb3199.jpg","text":"TemporaryFile(/tmp/multipartBody337892351572615336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105014534,"filename":"image_14042025_12_53_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2d56397c1ed30e7930447f9de3f242d.jpg","text":"TemporaryFile(/tmp/multipartBody8461360020353585766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105014534,"filename":"image_14042025_12_52_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d450243fcc36be172a7e2b898f606cfa.jpg","text":"TemporaryFile(/tmp/multipartBody3077723911366269764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105014534,"filename":"image_14042025_12_52_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1adb63511f0737cc95c63cb36c7f1210.jpg","text":"TemporaryFile(/tmp/multipartBody3553390240539737746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105014534,"filename":"image_14042025_12_52_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bc0ddd9c6829d75d84333595774bec6.jpg","text":"TemporaryFile(/tmp/multipartBody6837670273836268894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105014534,"filename":"image_14042025_12_53_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e640fb2d6e146f79d14785021dfdbfb0.jpg","text":"TemporaryFile(/tmp/multipartBody990015075975602207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105014534,"filename":"image_14042025_12_52_35_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040964","file1":"1352040962","file0":"1352040959","file4":"1352040968","file5":"1352040970","file3":"1352040966"},"map_files_photo_id_array":[{"photo_id":"1352040970","filename":"file5"},{"photo_id":"1352040964","filename":"file2"},{"photo_id":"1352040968","filename":"file4"},{"photo_id":"1352040962","filename":"file1"},{"photo_id":"1352040959","filename":"file0"},{"photo_id":"1352040966","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040970":["hashtag1","hashtag2"]},{"1352040964":["hashtag1","hashtag2"]},{"1352040966":["hashtag1","hashtag2"]},{"1352040959":["hashtag1","hashtag2"]},{"1352040968":["hashtag1","hashtag2"]},{"1352040962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040970, 1352040964, 1352040966, 1352040959, 1352040968, 1352040962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80927348136902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:23:33.109298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_26_10377.jpg', '/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_36_9463.jpg', '/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_46_10372.jpg', '/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_55_9360.jpg', '/home/pi/Desktop/images/14042025/12/53/image_14042025_12_54_06_10349.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_16_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_26_10377.jpg
/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_36_9463.jpg
/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_46_10372.jpg
/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_55_9360.jpg
/home/pi/Desktop/images/14042025/12/53/image_14042025_12_54_06_10349.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_16_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040985","1352040987","1352040981","1352040983","1352040989","1352040991"],"photo_ids_order":["1352040981","1352040983","1352040985","1352040987","1352040989","1352040991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12b75f4e13d583eea1437277147d6f26.jpg","text":"TemporaryFile(/tmp/multipartBody3993209258843830540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105074675,"filename":"image_14042025_12_53_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9561656b28bfcfd6202024ab1272066b.jpg","text":"TemporaryFile(/tmp/multipartBody4027598957759487194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105074675,"filename":"image_14042025_12_53_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/278dea005e0eab103e1efbf5375f3d18.jpg","text":"TemporaryFile(/tmp/multipartBody5561890052461163554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105074675,"filename":"image_14042025_12_53_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/323f0f11a88bfaf710dcfeba6a5e568d.jpg","text":"TemporaryFile(/tmp/multipartBody7574853299076851238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105074675,"filename":"image_14042025_12_53_36_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/865cfdbc5af62859af69ccbd387325dd.jpg","text":"TemporaryFile(/tmp/multipartBody2522373090994009541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105074675,"filename":"image_14042025_12_54_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/908a9bc5babfc2f3c7186d2ce91a4c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5675836661835492679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105074675,"filename":"image_14042025_12_54_16_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040985","file1":"1352040983","file0":"1352040981","file4":"1352040989","file5":"1352040991","file3":"1352040987"},"map_files_photo_id_array":[{"photo_id":"1352040991","filename":"file5"},{"photo_id":"1352040985","filename":"file2"},{"photo_id":"1352040989","filename":"file4"},{"photo_id":"1352040983","filename":"file1"},{"photo_id":"1352040981","filename":"file0"},{"photo_id":"1352040987","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352040985":["hashtag1","hashtag2"]},{"1352040987":["hashtag1","hashtag2"]},{"1352040981":["hashtag1","hashtag2"]},{"1352040983":["hashtag1","hashtag2"]},{"1352040989":["hashtag1","hashtag2"]},{"1352040991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352040985, 1352040987, 1352040981, 1352040983, 1352040989, 1352040991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.935790300369263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:24:32.376368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_26_9387.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_36_10437.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_45_9350.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_56_10400.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_55_06_10336.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_15_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_26_9387.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_36_10437.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_45_9350.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_56_10400.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_55_06_10336.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_15_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041009","1352041003","1352041011","1352041005","1352041001","1352041007"],"photo_ids_order":["1352041001","1352041003","1352041005","1352041007","1352041009","1352041011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3799e02eabbe1b52f7c2d2bd76a97925.jpg","text":"TemporaryFile(/tmp/multipartBody1585292358841549337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105133939,"filename":"image_14042025_12_55_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6023692e3a8dbcf13382cf24baa47bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8394216667440413153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105133939,"filename":"image_14042025_12_54_36_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40314df445f5d33547378651185fb8eb.jpg","text":"TemporaryFile(/tmp/multipartBody141906704494032222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105133939,"filename":"image_14042025_12_55_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6883d7bbe3199390d499baf293bae54f.jpg","text":"TemporaryFile(/tmp/multipartBody7984342838701892657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105133939,"filename":"image_14042025_12_54_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c4bb84b45577e310fa26856653f3183.jpg","text":"TemporaryFile(/tmp/multipartBody7847093205386362934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105133939,"filename":"image_14042025_12_54_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/108808755309707acf6116d48404f4ab.jpg","text":"TemporaryFile(/tmp/multipartBody5649766572325084183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105133939,"filename":"image_14042025_12_54_56_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041005","file1":"1352041003","file0":"1352041001","file4":"1352041009","file5":"1352041011","file3":"1352041007"},"map_files_photo_id_array":[{"photo_id":"1352041011","filename":"file5"},{"photo_id":"1352041005","filename":"file2"},{"photo_id":"1352041009","filename":"file4"},{"photo_id":"1352041003","filename":"file1"},{"photo_id":"1352041001","filename":"file0"},{"photo_id":"1352041007","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041009":["hashtag1","hashtag2"]},{"1352041003":["hashtag1","hashtag2"]},{"1352041011":["hashtag1","hashtag2"]},{"1352041005":["hashtag1","hashtag2"]},{"1352041001":["hashtag1","hashtag2"]},{"1352041007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041009, 1352041003, 1352041011, 1352041005, 1352041001, 1352041007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40870690345764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:25:32.609265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_26_10455.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_36_10382.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_46_9368.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_56_10367.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_56_05_9343.jpg', '/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_16_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_26_10455.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_36_10382.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_46_9368.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_56_10367.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_56_05_9343.jpg
/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_16_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041030","1352041024","1352041032","1352041026","1352041028","1352041022"],"photo_ids_order":["1352041022","1352041024","1352041026","1352041028","1352041030","1352041032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a67c17a8fdbee2f2bed851527003712d.jpg","text":"TemporaryFile(/tmp/multipartBody367663603380960981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105194173,"filename":"image_14042025_12_56_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6791c7f7cf3acaf4e699dc068e53744.jpg","text":"TemporaryFile(/tmp/multipartBody3839391286436367112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105194173,"filename":"image_14042025_12_55_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d3853ed0af3f3275eae0fdf292c0747.jpg","text":"TemporaryFile(/tmp/multipartBody1861789958862718401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105194173,"filename":"image_14042025_12_56_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34360b0f34164411b4d1c681f8cf0cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1619224984647848534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105194173,"filename":"image_14042025_12_55_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85dadf812d94ca2d409ba8ebebb3b49c.jpg","text":"TemporaryFile(/tmp/multipartBody8248717628583313630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105194173,"filename":"image_14042025_12_55_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1bf42c45335681340ba4a6cb9983fff.jpg","text":"TemporaryFile(/tmp/multipartBody5791758071054877480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105194173,"filename":"image_14042025_12_55_26_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041026","file1":"1352041024","file0":"1352041022","file4":"1352041030","file5":"1352041032","file3":"1352041028"},"map_files_photo_id_array":[{"photo_id":"1352041032","filename":"file5"},{"photo_id":"1352041026","filename":"file2"},{"photo_id":"1352041030","filename":"file4"},{"photo_id":"1352041024","filename":"file1"},{"photo_id":"1352041022","filename":"file0"},{"photo_id":"1352041028","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041030":["hashtag1","hashtag2"]},{"1352041024":["hashtag1","hashtag2"]},{"1352041032":["hashtag1","hashtag2"]},{"1352041026":["hashtag1","hashtag2"]},{"1352041028":["hashtag1","hashtag2"]},{"1352041022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041030, 1352041024, 1352041032, 1352041026, 1352041028, 1352041022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.649404764175415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:26:32.791875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_26_10361.jpg', '/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_35_9336.jpg', '/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_46_10424.jpg', '/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_55_9446.jpg', '/home/pi/Desktop/images/14042025/12/56/image_14042025_12_57_06_10455.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_26_10361.jpg
/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_35_9336.jpg
/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_46_10424.jpg
/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_55_9446.jpg
/home/pi/Desktop/images/14042025/12/56/image_14042025_12_57_06_10455.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_16_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041051","1352041048","1352041053","1352041050","1352041055","1352041049"],"photo_ids_order":["1352041048","1352041049","1352041050","1352041051","1352041053","1352041055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04deaeb9aaf153effeed9e2201a6596e.jpg","text":"TemporaryFile(/tmp/multipartBody962026865108152411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105254344,"filename":"image_14042025_12_56_55_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d113f3947f952b0b9f79a2ecfd9c2ec.jpg","text":"TemporaryFile(/tmp/multipartBody5785750066956015841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105254344,"filename":"image_14042025_12_56_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83f0488e80ae747b95a565813f056dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3853165545478699897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105254344,"filename":"image_14042025_12_57_06_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b39421ed36134f5d88026c2a0a29ff92.jpg","text":"TemporaryFile(/tmp/multipartBody2241398271441817697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105254344,"filename":"image_14042025_12_56_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/525e632913f7b4705b6251e3c9f8aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody5134631856460603741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105254344,"filename":"image_14042025_12_57_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/340571a7274aa1f18c894d83879687e8.jpg","text":"TemporaryFile(/tmp/multipartBody4155455642028607518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105254344,"filename":"image_14042025_12_56_35_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041050","file1":"1352041049","file0":"1352041048","file4":"1352041053","file5":"1352041055","file3":"1352041051"},"map_files_photo_id_array":[{"photo_id":"1352041055","filename":"file5"},{"photo_id":"1352041050","filename":"file2"},{"photo_id":"1352041053","filename":"file4"},{"photo_id":"1352041049","filename":"file1"},{"photo_id":"1352041048","filename":"file0"},{"photo_id":"1352041051","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041051":["hashtag1","hashtag2"]},{"1352041048":["hashtag1","hashtag2"]},{"1352041053":["hashtag1","hashtag2"]},{"1352041050":["hashtag1","hashtag2"]},{"1352041055":["hashtag1","hashtag2"]},{"1352041049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041051, 1352041048, 1352041053, 1352041050, 1352041055, 1352041049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.093403816223145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:27:33.086579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_25_9332.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_36_10424.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_46_10352.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_56_9356.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_58_06_10380.jpg', '/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_15_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_25_9332.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_36_10424.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_46_10352.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_56_9356.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_58_06_10380.jpg
/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_15_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041071","1352041068","1352041070","1352041073","1352041075","1352041069"],"photo_ids_order":["1352041068","1352041069","1352041070","1352041071","1352041073","1352041075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da96d5a49fc5252d891279f9fe2e08b5.jpg","text":"TemporaryFile(/tmp/multipartBody990633751722206351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105314688,"filename":"image_14042025_12_57_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c256c322b6c3a145a96e2fb61a1b34fd.jpg","text":"TemporaryFile(/tmp/multipartBody3807578681774169972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105314688,"filename":"image_14042025_12_57_25_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ceca07460adad5d2f3f247f7a04cb23.jpg","text":"TemporaryFile(/tmp/multipartBody8717304988928539499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105314688,"filename":"image_14042025_12_57_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0d499d729e87ce727b63a1ff135c56c.jpg","text":"TemporaryFile(/tmp/multipartBody1061492730532452435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105314688,"filename":"image_14042025_12_58_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9352b77329e9fdc9a4bfed48c401b80.jpg","text":"TemporaryFile(/tmp/multipartBody8399124256275967216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105314688,"filename":"image_14042025_12_58_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c05f63f2962c631178e2819d3568b55c.jpg","text":"TemporaryFile(/tmp/multipartBody8947031252093846644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105314688,"filename":"image_14042025_12_57_36_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041070","file1":"1352041069","file0":"1352041068","file4":"1352041073","file5":"1352041075","file3":"1352041071"},"map_files_photo_id_array":[{"photo_id":"1352041075","filename":"file5"},{"photo_id":"1352041070","filename":"file2"},{"photo_id":"1352041073","filename":"file4"},{"photo_id":"1352041069","filename":"file1"},{"photo_id":"1352041068","filename":"file0"},{"photo_id":"1352041071","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041071":["hashtag1","hashtag2"]},{"1352041068":["hashtag1","hashtag2"]},{"1352041070":["hashtag1","hashtag2"]},{"1352041073":["hashtag1","hashtag2"]},{"1352041075":["hashtag1","hashtag2"]},{"1352041069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041071, 1352041068, 1352041070, 1352041073, 1352041075, 1352041069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.841452598571777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:28:32.225550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_26_10343.jpg', '/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_36_10416.jpg', '/home/pi/Desktop/images/14042025/12/58/image_14042025_12_59_06_10336.jpg', '/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_15_9351.jpg', '/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_26_10363.jpg', '/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_36_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_26_10343.jpg
/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_36_10416.jpg
/home/pi/Desktop/images/14042025/12/58/image_14042025_12_59_06_10336.jpg
/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_15_9351.jpg
/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_26_10363.jpg
/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_36_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041090","1352041098","1352041092","1352041094","1352041088","1352041096"],"photo_ids_order":["1352041088","1352041090","1352041092","1352041094","1352041096","1352041098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f0aea582c5abd46d7ebce77cb80b3a6.jpg","text":"TemporaryFile(/tmp/multipartBody7304717934686489757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105373780,"filename":"image_14042025_12_58_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/408b9332512fb16e62d7c38300e78e90.jpg","text":"TemporaryFile(/tmp/multipartBody1748270648367273305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105373780,"filename":"image_14042025_12_59_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2c9ca84af98c97effa4e78d8c879611.jpg","text":"TemporaryFile(/tmp/multipartBody6152193447642382950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105373780,"filename":"image_14042025_12_59_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/737defc701ef0c0ee50f0549ddbd9b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3767228695962675452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105373780,"filename":"image_14042025_12_59_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30365a3a00eb0d5a2eec34a23a8a099d.jpg","text":"TemporaryFile(/tmp/multipartBody9017015595823962787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105373780,"filename":"image_14042025_12_58_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/951bfa17d0d3048d6daeb4b873bee277.jpg","text":"TemporaryFile(/tmp/multipartBody6573062678461770665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105373780,"filename":"image_14042025_12_59_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041092","file1":"1352041090","file0":"1352041088","file4":"1352041096","file5":"1352041098","file3":"1352041094"},"map_files_photo_id_array":[{"photo_id":"1352041098","filename":"file5"},{"photo_id":"1352041092","filename":"file2"},{"photo_id":"1352041096","filename":"file4"},{"photo_id":"1352041090","filename":"file1"},{"photo_id":"1352041088","filename":"file0"},{"photo_id":"1352041094","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041090":["hashtag1","hashtag2"]},{"1352041098":["hashtag1","hashtag2"]},{"1352041092":["hashtag1","hashtag2"]},{"1352041094":["hashtag1","hashtag2"]},{"1352041088":["hashtag1","hashtag2"]},{"1352041096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041090, 1352041098, 1352041092, 1352041094, 1352041088, 1352041096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44131660461426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:29:32.517768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_46_9338.jpg', '/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_56_10432.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_16_10074.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_27_10390.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_37_10414.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_46_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_46_9338.jpg
/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_56_10432.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_16_10074.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_27_10390.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_37_10414.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_46_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041117","1352041111","1352041113","1352041115","1352041109","1352041106"],"photo_ids_order":["1352041106","1352041109","1352041111","1352041113","1352041115","1352041117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63b42318ff95218fdb418004049b7ca2.jpg","text":"TemporaryFile(/tmp/multipartBody902745176005896113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105434081,"filename":"image_14042025_13_00_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48bc5c2712f26a5f829a7e6b6904035a.jpg","text":"TemporaryFile(/tmp/multipartBody6794691566777117051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105434081,"filename":"image_14042025_13_00_16_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a470dcc7abbe0dd1c0f5bab8af5461de.jpg","text":"TemporaryFile(/tmp/multipartBody4686267175318242496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105434081,"filename":"image_14042025_13_00_27_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc83f61719ad52e1db614a97b96d17db.jpg","text":"TemporaryFile(/tmp/multipartBody5883847504371772158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105434081,"filename":"image_14042025_13_00_37_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04010a1f3b44cc1fd10b620f5637d849.jpg","text":"TemporaryFile(/tmp/multipartBody4627149517901077615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105434081,"filename":"image_14042025_12_59_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ccfef1c42def5441fa533e8ab086c46.jpg","text":"TemporaryFile(/tmp/multipartBody6489479710105929993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105434081,"filename":"image_14042025_12_59_46_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041111","file1":"1352041109","file0":"1352041106","file4":"1352041115","file5":"1352041117","file3":"1352041113"},"map_files_photo_id_array":[{"photo_id":"1352041117","filename":"file5"},{"photo_id":"1352041111","filename":"file2"},{"photo_id":"1352041115","filename":"file4"},{"photo_id":"1352041109","filename":"file1"},{"photo_id":"1352041106","filename":"file0"},{"photo_id":"1352041113","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041117":["hashtag1","hashtag2"]},{"1352041111":["hashtag1","hashtag2"]},{"1352041113":["hashtag1","hashtag2"]},{"1352041115":["hashtag1","hashtag2"]},{"1352041109":["hashtag1","hashtag2"]},{"1352041106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041117, 1352041111, 1352041113, 1352041115, 1352041109, 1352041106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.923859357833862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:30:32.884618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_57_10376.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_01_06_9337.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_16_10341.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_27_10436.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_36_9346.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_47_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_57_10376.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_01_06_9337.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_16_10341.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_27_10436.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_36_9346.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_47_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041129","1352041140","1352041134","1352041137","1352041131","1352041127"],"photo_ids_order":["1352041127","1352041129","1352041131","1352041134","1352041137","1352041140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20493d100cbc270c96499a0a6586367f.jpg","text":"TemporaryFile(/tmp/multipartBody724874904383182688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105494444,"filename":"image_14042025_13_01_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b4cbd967ea9472d620892288860c0b7.jpg","text":"TemporaryFile(/tmp/multipartBody3555507355592036836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105494444,"filename":"image_14042025_13_01_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6beca4591d61193a3acd4ecb3166d6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8295196811139457525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105494444,"filename":"image_14042025_13_01_27_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae679fe1257de71a23df7f58c538ec34.jpg","text":"TemporaryFile(/tmp/multipartBody266110453894357667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105494444,"filename":"image_14042025_13_01_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7aa3eeb13ae7f6b0179b48cc5ee6938b.jpg","text":"TemporaryFile(/tmp/multipartBody676807043684256730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105494444,"filename":"image_14042025_13_01_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35e195dbd2237c4ed3f14565e687bd28.jpg","text":"TemporaryFile(/tmp/multipartBody4549317026900603765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105494444,"filename":"image_14042025_13_00_57_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041131","file1":"1352041129","file0":"1352041127","file4":"1352041137","file5":"1352041140","file3":"1352041134"},"map_files_photo_id_array":[{"photo_id":"1352041140","filename":"file5"},{"photo_id":"1352041131","filename":"file2"},{"photo_id":"1352041137","filename":"file4"},{"photo_id":"1352041129","filename":"file1"},{"photo_id":"1352041127","filename":"file0"},{"photo_id":"1352041134","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041129":["hashtag1","hashtag2"]},{"1352041140":["hashtag1","hashtag2"]},{"1352041134":["hashtag1","hashtag2"]},{"1352041137":["hashtag1","hashtag2"]},{"1352041131":["hashtag1","hashtag2"]},{"1352041127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041129, 1352041140, 1352041134, 1352041137, 1352041131, 1352041127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.15645718574524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:31:33.198099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_57_10402.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_02_06_9339.jpg', '/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_17_10387.jpg', '/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_36_10325.jpg', '/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_47_10453.jpg', '/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_56_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_57_10402.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_02_06_9339.jpg
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_17_10387.jpg
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_36_10325.jpg
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_47_10453.jpg
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_56_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041162","1352041158","1352041151","1352041145","1352041154","1352041148"],"photo_ids_order":["1352041145","1352041148","1352041151","1352041154","1352041158","1352041162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/699f19629cceeddee5940e3908b24020.jpg","text":"TemporaryFile(/tmp/multipartBody2585122506787707792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105554743,"filename":"image_14042025_13_02_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cdb73dad2d4461454ef3447d9df24fb.jpg","text":"TemporaryFile(/tmp/multipartBody6012356224749618881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105554743,"filename":"image_14042025_13_02_47_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/867c75a7ca9dba8b42ab09bcfa3e722f.jpg","text":"TemporaryFile(/tmp/multipartBody1827712745376422312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105554743,"filename":"image_14042025_13_02_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a07c3c4dd9d159317e8030a7472f5139.jpg","text":"TemporaryFile(/tmp/multipartBody7425262426961701083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105554743,"filename":"image_14042025_13_01_57_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/322cab2a3543604e485458e5c0c372eb.jpg","text":"TemporaryFile(/tmp/multipartBody3173606707138509291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105554743,"filename":"image_14042025_13_02_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c931c89653bc3d665cf98cc6c8fafa4a.jpg","text":"TemporaryFile(/tmp/multipartBody1853107265996903626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105554743,"filename":"image_14042025_13_02_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041151","file1":"1352041148","file0":"1352041145","file4":"1352041158","file5":"1352041162","file3":"1352041154"},"map_files_photo_id_array":[{"photo_id":"1352041162","filename":"file5"},{"photo_id":"1352041151","filename":"file2"},{"photo_id":"1352041158","filename":"file4"},{"photo_id":"1352041148","filename":"file1"},{"photo_id":"1352041145","filename":"file0"},{"photo_id":"1352041154","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041162":["hashtag1","hashtag2"]},{"1352041158":["hashtag1","hashtag2"]},{"1352041151":["hashtag1","hashtag2"]},{"1352041145":["hashtag1","hashtag2"]},{"1352041154":["hashtag1","hashtag2"]},{"1352041148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041162, 1352041158, 1352041151, 1352041145, 1352041154, 1352041148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69761872291565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:32:32.408450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/02/image_14042025_13_03_07_10335.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_17_10356.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_26_9470.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_37_10338.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_46_9354.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_56_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_03_07_10335.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_17_10356.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_26_9470.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_37_10338.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_46_9354.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_56_10348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.474992275238037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 01:32:42.474461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/02/image_14042025_13_03_07_10335.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_17_10356.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_26_9470.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_37_10338.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_46_9354.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_56_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_03_07_10335.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_17_10356.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_26_9470.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_37_10338.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_46_9354.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_56_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041183","1352041177","1352041188","1352041187","1352041186","1352041180"],"photo_ids_order":["1352041177","1352041180","1352041183","1352041186","1352041187","1352041188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/048c15d2f9d1221ae60417814a4608c5.jpg","text":"TemporaryFile(/tmp/multipartBody7528633447688578647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105623114,"filename":"image_14042025_13_03_26_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1564089fc84dc9fc9314b2a61ac52e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3806438655434894401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105623114,"filename":"image_14042025_13_03_07_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce182b42c166d3a4cb154c184917f556.jpg","text":"TemporaryFile(/tmp/multipartBody6416732905003917542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105623114,"filename":"image_14042025_13_03_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50309b0129316d85cfea762c5f224e89.jpg","text":"TemporaryFile(/tmp/multipartBody5446405569252947956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105623114,"filename":"image_14042025_13_03_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f30888fa217da92f5e86fa4bdaab7419.jpg","text":"TemporaryFile(/tmp/multipartBody4112365822131181307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105623114,"filename":"image_14042025_13_03_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e619fa35be8b42c8764a54bdfc3f13e.jpg","text":"TemporaryFile(/tmp/multipartBody8402899908938622453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105623114,"filename":"image_14042025_13_03_17_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041183","file1":"1352041180","file0":"1352041177","file4":"1352041187","file5":"1352041188","file3":"1352041186"},"map_files_photo_id_array":[{"photo_id":"1352041188","filename":"file5"},{"photo_id":"1352041183","filename":"file2"},{"photo_id":"1352041187","filename":"file4"},{"photo_id":"1352041180","filename":"file1"},{"photo_id":"1352041177","filename":"file0"},{"photo_id":"1352041186","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041183":["hashtag1","hashtag2"]},{"1352041177":["hashtag1","hashtag2"]},{"1352041188":["hashtag1","hashtag2"]},{"1352041187":["hashtag1","hashtag2"]},{"1352041186":["hashtag1","hashtag2"]},{"1352041180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041183, 1352041177, 1352041188, 1352041187, 1352041186, 1352041180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.833088397979736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:33:32.640725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/03/image_14042025_13_04_07_10344.jpg', '/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_16_9323.jpg', '/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_26_10341.jpg', '/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_37_10434.jpg', '/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_57_10338.jpg', '/home/pi/Desktop/images/14042025/13/04/image_14042025_13_05_07_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_04_07_10344.jpg
/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_16_9323.jpg
/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_26_10341.jpg
/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_37_10434.jpg
/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_57_10338.jpg
/home/pi/Desktop/images/14042025/13/04/image_14042025_13_05_07_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041210","1352041204","1352041201","1352041212","1352041206","1352041208"],"photo_ids_order":["1352041201","1352041204","1352041206","1352041208","1352041210","1352041212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0cba651fe1916504e0c2f5916d31cace.jpg","text":"TemporaryFile(/tmp/multipartBody89179791985533927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105674187,"filename":"image_14042025_13_04_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f7b3512d0a90c7f05baf397259e6701.jpg","text":"TemporaryFile(/tmp/multipartBody1212645556790904918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105674187,"filename":"image_14042025_13_04_16_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9bcacf2b8bea414cb1adf47829292b1.jpg","text":"TemporaryFile(/tmp/multipartBody5381857038915118996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105674187,"filename":"image_14042025_13_04_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e56bb0263330ff4eed3cc7ae4198f541.jpg","text":"TemporaryFile(/tmp/multipartBody5652694276167582466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105674187,"filename":"image_14042025_13_05_07_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e42f231688bc62caa62ad156ec5f377.jpg","text":"TemporaryFile(/tmp/multipartBody7331009012875130071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105674187,"filename":"image_14042025_13_04_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ac5e0fca7780fac9cfa7de23f4d1e23.jpg","text":"TemporaryFile(/tmp/multipartBody4923572616313454964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105674187,"filename":"image_14042025_13_04_37_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041206","file1":"1352041204","file0":"1352041201","file4":"1352041210","file5":"1352041212","file3":"1352041208"},"map_files_photo_id_array":[{"photo_id":"1352041212","filename":"file5"},{"photo_id":"1352041206","filename":"file2"},{"photo_id":"1352041210","filename":"file4"},{"photo_id":"1352041204","filename":"file1"},{"photo_id":"1352041201","filename":"file0"},{"photo_id":"1352041208","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041210":["hashtag1","hashtag2"]},{"1352041204":["hashtag1","hashtag2"]},{"1352041201":["hashtag1","hashtag2"]},{"1352041212":["hashtag1","hashtag2"]},{"1352041206":["hashtag1","hashtag2"]},{"1352041208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041210, 1352041204, 1352041201, 1352041212, 1352041206, 1352041208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.700093030929565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:34:32.813454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_16_9373.jpg', '/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_27_10506.jpg', '/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_36_9356.jpg', '/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_47_10343.jpg', '/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_57_10412.jpg', '/home/pi/Desktop/images/14042025/13/05/image_14042025_13_06_06_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_16_9373.jpg
/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_27_10506.jpg
/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_36_9356.jpg
/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_47_10343.jpg
/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_57_10412.jpg
/home/pi/Desktop/images/14042025/13/05/image_14042025_13_06_06_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041222","1352041238","1352041232","1352041226","1352041235","1352041229"],"photo_ids_order":["1352041222","1352041226","1352041229","1352041232","1352041235","1352041238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ad7feaabc511f61a2241ceca57d5310.jpg","text":"TemporaryFile(/tmp/multipartBody3214620053181898891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105734366,"filename":"image_14042025_13_05_16_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d92e85504c81143f67e7a30220c6d698.jpg","text":"TemporaryFile(/tmp/multipartBody2443737948945593805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105734366,"filename":"image_14042025_13_06_06_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e490aba3fdea41c1a8eba41ad26f4a9.jpg","text":"TemporaryFile(/tmp/multipartBody6166977611459744575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105734366,"filename":"image_14042025_13_05_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba7f03a0edccd2e5aca419e4134b5e5a.jpg","text":"TemporaryFile(/tmp/multipartBody2377211895872157604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105734366,"filename":"image_14042025_13_05_27_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44eb85d5bf2989447b75a7dd1d76802f.jpg","text":"TemporaryFile(/tmp/multipartBody5751668815896660789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105734366,"filename":"image_14042025_13_05_57_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29dabe6be8a90bcd91408509ba5d3c09.jpg","text":"TemporaryFile(/tmp/multipartBody6626722136304914933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105734366,"filename":"image_14042025_13_05_36_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041229","file1":"1352041226","file0":"1352041222","file4":"1352041235","file5":"1352041238","file3":"1352041232"},"map_files_photo_id_array":[{"photo_id":"1352041238","filename":"file5"},{"photo_id":"1352041229","filename":"file2"},{"photo_id":"1352041235","filename":"file4"},{"photo_id":"1352041226","filename":"file1"},{"photo_id":"1352041222","filename":"file0"},{"photo_id":"1352041232","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041222":["hashtag1","hashtag2"]},{"1352041238":["hashtag1","hashtag2"]},{"1352041232":["hashtag1","hashtag2"]},{"1352041226":["hashtag1","hashtag2"]},{"1352041235":["hashtag1","hashtag2"]},{"1352041229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041222, 1352041238, 1352041232, 1352041226, 1352041235, 1352041229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37029504776001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:35:32.974043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_17_10452.jpg', '/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_26_9352.jpg', '/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_36_10344.jpg', '/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_47_10339.jpg', '/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_56_9347.jpg', '/home/pi/Desktop/images/14042025/13/06/image_14042025_13_07_06_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_17_10452.jpg
/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_26_9352.jpg
/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_36_10344.jpg
/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_47_10339.jpg
/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_56_9347.jpg
/home/pi/Desktop/images/14042025/13/06/image_14042025_13_07_06_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041255","1352041249","1352041251","1352041245","1352041257","1352041253"],"photo_ids_order":["1352041245","1352041249","1352041251","1352041253","1352041255","1352041257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eafd719567010567a0494fd6f7c078fb.jpg","text":"TemporaryFile(/tmp/multipartBody40221379407629450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105794519,"filename":"image_14042025_13_06_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81b45f91310af1c481e78d3616744961.jpg","text":"TemporaryFile(/tmp/multipartBody4597607003108159910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105794519,"filename":"image_14042025_13_06_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4b693b499a45c2742afa51ceb15b8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3616940442215254535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105794519,"filename":"image_14042025_13_06_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c48d694e9a8712311a6f2301921f052.jpg","text":"TemporaryFile(/tmp/multipartBody374763552206140584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105794519,"filename":"image_14042025_13_06_17_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45240540029e9ba5981b549da85abbdd.jpg","text":"TemporaryFile(/tmp/multipartBody2536748925333651938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105794519,"filename":"image_14042025_13_07_06_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fca751ce83b6f948b6a79e2a71d04657.jpg","text":"TemporaryFile(/tmp/multipartBody6676246328109458559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105794519,"filename":"image_14042025_13_06_47_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041251","file1":"1352041249","file0":"1352041245","file4":"1352041255","file5":"1352041257","file3":"1352041253"},"map_files_photo_id_array":[{"photo_id":"1352041257","filename":"file5"},{"photo_id":"1352041251","filename":"file2"},{"photo_id":"1352041255","filename":"file4"},{"photo_id":"1352041249","filename":"file1"},{"photo_id":"1352041245","filename":"file0"},{"photo_id":"1352041253","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041255":["hashtag1","hashtag2"]},{"1352041249":["hashtag1","hashtag2"]},{"1352041251":["hashtag1","hashtag2"]},{"1352041245":["hashtag1","hashtag2"]},{"1352041257":["hashtag1","hashtag2"]},{"1352041253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041255, 1352041249, 1352041251, 1352041245, 1352041257, 1352041253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.038699865341187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:36:32.222652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_17_10447.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_26_9405.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_37_10431.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_47_10363.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_56_9364.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_08_07_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_17_10447.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_26_9405.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_37_10431.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_47_10363.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_56_9364.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_08_07_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041272","1352041268","1352041271","1352041270","1352041273","1352041267"],"photo_ids_order":["1352041267","1352041268","1352041270","1352041271","1352041272","1352041273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/094bb122a36055bb190418a95f3e3c59.jpg","text":"TemporaryFile(/tmp/multipartBody5278211950779149255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105853775,"filename":"image_14042025_13_07_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/213d3738ef44f7161c6dd9bee4c8b41c.jpg","text":"TemporaryFile(/tmp/multipartBody8840197486580877188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105853775,"filename":"image_14042025_13_07_26_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/979131d6d860c41bf5e41596df81d25e.jpg","text":"TemporaryFile(/tmp/multipartBody6474930427103203717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105853775,"filename":"image_14042025_13_07_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f98cff9400fb18b014273222e42cfe07.jpg","text":"TemporaryFile(/tmp/multipartBody6792134387641459509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105853775,"filename":"image_14042025_13_07_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34dc2526d10bd5e1ef285d23bff46c73.jpg","text":"TemporaryFile(/tmp/multipartBody4220015156420566397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105853775,"filename":"image_14042025_13_08_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cca7cf25867fc911bfa529f076c6cda8.jpg","text":"TemporaryFile(/tmp/multipartBody1213722634359554226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105853775,"filename":"image_14042025_13_07_17_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041270","file1":"1352041268","file0":"1352041267","file4":"1352041272","file5":"1352041273","file3":"1352041271"},"map_files_photo_id_array":[{"photo_id":"1352041273","filename":"file5"},{"photo_id":"1352041270","filename":"file2"},{"photo_id":"1352041272","filename":"file4"},{"photo_id":"1352041268","filename":"file1"},{"photo_id":"1352041267","filename":"file0"},{"photo_id":"1352041271","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041272":["hashtag1","hashtag2"]},{"1352041268":["hashtag1","hashtag2"]},{"1352041271":["hashtag1","hashtag2"]},{"1352041270":["hashtag1","hashtag2"]},{"1352041273":["hashtag1","hashtag2"]},{"1352041267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041272, 1352041268, 1352041271, 1352041270, 1352041273, 1352041267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00351905822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:37:32.406620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_16_9352.jpg', '/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_27_10355.jpg', '/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_37_10348.jpg', '/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_46_9364.jpg', '/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_57_10400.jpg', '/home/pi/Desktop/images/14042025/13/08/image_14042025_13_09_07_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_16_9352.jpg
/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_27_10355.jpg
/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_37_10348.jpg
/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_46_9364.jpg
/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_57_10400.jpg
/home/pi/Desktop/images/14042025/13/08/image_14042025_13_09_07_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041282","1352041287","1352041292","1352041289","1352041285","1352041279"],"photo_ids_order":["1352041279","1352041282","1352041285","1352041287","1352041289","1352041292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f493b793b12e0091a1da7b664eb50e2.jpg","text":"TemporaryFile(/tmp/multipartBody2110067687870846591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105913968,"filename":"image_14042025_13_08_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82fea830597c63a8585d45176133a49a.jpg","text":"TemporaryFile(/tmp/multipartBody6512326559053791296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105913968,"filename":"image_14042025_13_08_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6b58a9c62e87f571076c3a85d5eff86.jpg","text":"TemporaryFile(/tmp/multipartBody6858454740032317936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105913968,"filename":"image_14042025_13_09_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/667131316b6c07fdf99efd57b5d775c3.jpg","text":"TemporaryFile(/tmp/multipartBody784347606440735280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105913968,"filename":"image_14042025_13_08_57_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de1b8b6a26e874cd6c55b7648547082.jpg","text":"TemporaryFile(/tmp/multipartBody4125544569094546826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105913968,"filename":"image_14042025_13_08_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7a640f200125576a500f5518bda9e40.jpg","text":"TemporaryFile(/tmp/multipartBody7257639559728111450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105913968,"filename":"image_14042025_13_08_16_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041285","file1":"1352041282","file0":"1352041279","file4":"1352041289","file5":"1352041292","file3":"1352041287"},"map_files_photo_id_array":[{"photo_id":"1352041292","filename":"file5"},{"photo_id":"1352041285","filename":"file2"},{"photo_id":"1352041289","filename":"file4"},{"photo_id":"1352041282","filename":"file1"},{"photo_id":"1352041279","filename":"file0"},{"photo_id":"1352041287","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041282":["hashtag1","hashtag2"]},{"1352041287":["hashtag1","hashtag2"]},{"1352041292":["hashtag1","hashtag2"]},{"1352041289":["hashtag1","hashtag2"]},{"1352041285":["hashtag1","hashtag2"]},{"1352041279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041282, 1352041287, 1352041292, 1352041289, 1352041285, 1352041279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2466139793396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:38:32.619632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_16_9352.jpg', '/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_27_10404.jpg', '/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_37_10369.jpg', '/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_46_9353.jpg', '/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_57_10411.jpg', '/home/pi/Desktop/images/14042025/13/09/image_14042025_13_10_06_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_16_9352.jpg
/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_27_10404.jpg
/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_37_10369.jpg
/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_46_9353.jpg
/home/pi/Desktop/images/14042025/13/09/image_14042025_13_09_57_10411.jpg
/home/pi/Desktop/images/14042025/13/09/image_14042025_13_10_06_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041312","1352041309","1352041314","1352041317","1352041302","1352041305"],"photo_ids_order":["1352041302","1352041305","1352041309","1352041312","1352041314","1352041317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ac2688d000029b9badace187d8a6ae0.jpg","text":"TemporaryFile(/tmp/multipartBody5346214120223490847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105974187,"filename":"image_14042025_13_09_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/286f73a4a9739e4d04edcde8253372c4.jpg","text":"TemporaryFile(/tmp/multipartBody8524385181587825261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105974187,"filename":"image_14042025_13_09_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac03f695b326d702e307bc0fde4e9afa.jpg","text":"TemporaryFile(/tmp/multipartBody7685964287780206492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105974187,"filename":"image_14042025_13_09_57_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dafbe04bd223104a075585bc50aef6b.jpg","text":"TemporaryFile(/tmp/multipartBody5343133617607288548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105974187,"filename":"image_14042025_13_10_06_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ef4d54d367ec7adbab4930d645477b5.jpg","text":"TemporaryFile(/tmp/multipartBody3445794707660315153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105974187,"filename":"image_14042025_13_09_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43a9b3cca61791f08f3c99e7cefc0a82.jpg","text":"TemporaryFile(/tmp/multipartBody7136394730892141074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745105974187,"filename":"image_14042025_13_09_27_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041309","file1":"1352041305","file0":"1352041302","file4":"1352041314","file5":"1352041317","file3":"1352041312"},"map_files_photo_id_array":[{"photo_id":"1352041317","filename":"file5"},{"photo_id":"1352041309","filename":"file2"},{"photo_id":"1352041314","filename":"file4"},{"photo_id":"1352041305","filename":"file1"},{"photo_id":"1352041302","filename":"file0"},{"photo_id":"1352041312","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041312":["hashtag1","hashtag2"]},{"1352041309":["hashtag1","hashtag2"]},{"1352041314":["hashtag1","hashtag2"]},{"1352041317":["hashtag1","hashtag2"]},{"1352041302":["hashtag1","hashtag2"]},{"1352041305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041312, 1352041309, 1352041314, 1352041317, 1352041302, 1352041305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91479468345642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:39:32.988328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_17_10341.jpg', '/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_26_9460.jpg', '/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_36_10344.jpg', '/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_47_10355.jpg', '/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_56_9364.jpg', '/home/pi/Desktop/images/14042025/13/10/image_14042025_13_11_07_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_17_10341.jpg
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_26_9460.jpg
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_36_10344.jpg
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_47_10355.jpg
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_56_9364.jpg
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_11_07_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041333","1352041336","1352041330","1352041324","1352041327","1352041329"],"photo_ids_order":["1352041324","1352041327","1352041329","1352041330","1352041333","1352041336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dc15f79ace4225107fb6ea0e3488753.jpg","text":"TemporaryFile(/tmp/multipartBody5842109338890338357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106034537,"filename":"image_14042025_13_10_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/119f3c4dc93dbb2a75f494d0072e9a22.jpg","text":"TemporaryFile(/tmp/multipartBody6091291043133257358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106034537,"filename":"image_14042025_13_11_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ddb4a142835910f8265bd894b350405.jpg","text":"TemporaryFile(/tmp/multipartBody6095886154550620700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106034537,"filename":"image_14042025_13_10_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45e13c296cd0fef8134bbfeb4a6ae8f6.jpg","text":"TemporaryFile(/tmp/multipartBody8452181694668574096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106034537,"filename":"image_14042025_13_10_17_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afd4d4d3bd709848974580181e63dbb1.jpg","text":"TemporaryFile(/tmp/multipartBody5299494476215075202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106034537,"filename":"image_14042025_13_10_26_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04f3f3b33bbbd328b0253f51d5cc7967.jpg","text":"TemporaryFile(/tmp/multipartBody686754161515620596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106034537,"filename":"image_14042025_13_10_36_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041329","file1":"1352041327","file0":"1352041324","file4":"1352041333","file5":"1352041336","file3":"1352041330"},"map_files_photo_id_array":[{"photo_id":"1352041336","filename":"file5"},{"photo_id":"1352041329","filename":"file2"},{"photo_id":"1352041333","filename":"file4"},{"photo_id":"1352041327","filename":"file1"},{"photo_id":"1352041324","filename":"file0"},{"photo_id":"1352041330","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041333":["hashtag1","hashtag2"]},{"1352041336":["hashtag1","hashtag2"]},{"1352041330":["hashtag1","hashtag2"]},{"1352041324":["hashtag1","hashtag2"]},{"1352041327":["hashtag1","hashtag2"]},{"1352041329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041333, 1352041336, 1352041330, 1352041324, 1352041327, 1352041329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0382239818573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:40:32.258721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_17_10386.jpg', '/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_26_9369.jpg', '/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_37_10340.jpg', '/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_47_10376.jpg', '/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_56_9417.jpg', '/home/pi/Desktop/images/14042025/13/11/image_14042025_13_12_07_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_17_10386.jpg
/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_26_9369.jpg
/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_37_10340.jpg
/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_47_10376.jpg
/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_56_9417.jpg
/home/pi/Desktop/images/14042025/13/11/image_14042025_13_12_07_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041360","1352041363","1352041353","1352041356","1352041358","1352041366"],"photo_ids_order":["1352041353","1352041356","1352041358","1352041360","1352041363","1352041366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f35e15e35b5137b5912f2025618b2467.jpg","text":"TemporaryFile(/tmp/multipartBody585715923995108338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106093819,"filename":"image_14042025_13_11_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6547fa8a99432431640b5b4a31c2ed09.jpg","text":"TemporaryFile(/tmp/multipartBody260014691324938964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106093819,"filename":"image_14042025_13_11_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dac0cdbb2a57dbe13e9e9666d3248307.jpg","text":"TemporaryFile(/tmp/multipartBody3194949530233815656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106093819,"filename":"image_14042025_13_11_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a527cf2c44bdc7c867124872d49fb3a.jpg","text":"TemporaryFile(/tmp/multipartBody5375721328954333916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106093819,"filename":"image_14042025_13_11_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de6acfffab67f924fe4c25c74d16039e.jpg","text":"TemporaryFile(/tmp/multipartBody7432454557415993629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106093819,"filename":"image_14042025_13_11_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97e8371ff55a63957f76f1d7e8b8a8aa.jpg","text":"TemporaryFile(/tmp/multipartBody4883067467798039044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106093819,"filename":"image_14042025_13_12_07_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041358","file1":"1352041356","file0":"1352041353","file4":"1352041363","file5":"1352041366","file3":"1352041360"},"map_files_photo_id_array":[{"photo_id":"1352041366","filename":"file5"},{"photo_id":"1352041358","filename":"file2"},{"photo_id":"1352041363","filename":"file4"},{"photo_id":"1352041356","filename":"file1"},{"photo_id":"1352041353","filename":"file0"},{"photo_id":"1352041360","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041360":["hashtag1","hashtag2"]},{"1352041363":["hashtag1","hashtag2"]},{"1352041353":["hashtag1","hashtag2"]},{"1352041356":["hashtag1","hashtag2"]},{"1352041358":["hashtag1","hashtag2"]},{"1352041366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041360, 1352041363, 1352041353, 1352041356, 1352041358, 1352041366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.425678968429565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:41:32.485309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_16_9341.jpg', '/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_27_10371.jpg', '/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_36_9741.jpg', '/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_47_10362.jpg', '/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_57_10439.jpg', '/home/pi/Desktop/images/14042025/13/12/image_14042025_13_13_06_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_16_9341.jpg
/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_27_10371.jpg
/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_36_9741.jpg
/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_47_10362.jpg
/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_57_10439.jpg
/home/pi/Desktop/images/14042025/13/12/image_14042025_13_13_06_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041392","1352041385","1352041394","1352041388","1352041382","1352041390"],"photo_ids_order":["1352041382","1352041385","1352041388","1352041390","1352041392","1352041394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a838becd49373bb845b068b9fbb0564b.jpg","text":"TemporaryFile(/tmp/multipartBody6227119913298144864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106154054,"filename":"image_14042025_13_12_57_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65458e5c23f4082729fe95545db56a33.jpg","text":"TemporaryFile(/tmp/multipartBody1162298205763741431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106154054,"filename":"image_14042025_13_12_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/351d1a303030fca7db43770a8bbdc3af.jpg","text":"TemporaryFile(/tmp/multipartBody7633138446940434807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106154054,"filename":"image_14042025_13_13_06_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/882eb455f721a8feeb8a16897237e75a.jpg","text":"TemporaryFile(/tmp/multipartBody8679686612368992809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106154054,"filename":"image_14042025_13_12_36_9741.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48d8f9e55b284ed1702e62b5ea801cae.jpg","text":"TemporaryFile(/tmp/multipartBody2244031040680764935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106154054,"filename":"image_14042025_13_12_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ed1913a4b8c908bc536b11f73cf41e9.jpg","text":"TemporaryFile(/tmp/multipartBody8788370088185457315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106154054,"filename":"image_14042025_13_12_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041388","file1":"1352041385","file0":"1352041382","file4":"1352041392","file5":"1352041394","file3":"1352041390"},"map_files_photo_id_array":[{"photo_id":"1352041394","filename":"file5"},{"photo_id":"1352041388","filename":"file2"},{"photo_id":"1352041392","filename":"file4"},{"photo_id":"1352041385","filename":"file1"},{"photo_id":"1352041382","filename":"file0"},{"photo_id":"1352041390","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041392":["hashtag1","hashtag2"]},{"1352041385":["hashtag1","hashtag2"]},{"1352041394":["hashtag1","hashtag2"]},{"1352041388":["hashtag1","hashtag2"]},{"1352041382":["hashtag1","hashtag2"]},{"1352041390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041392, 1352041385, 1352041394, 1352041388, 1352041382, 1352041390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.92597270011902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:42:32.651166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_17_10352.jpg', '/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_26_9353.jpg', '/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_37_10382.jpg', '/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_46_9894.jpg', '/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_57_10464.jpg', '/home/pi/Desktop/images/14042025/13/13/image_14042025_13_14_06_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_17_10352.jpg
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_26_9353.jpg
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_37_10382.jpg
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_46_9894.jpg
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_57_10464.jpg
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_14_06_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041414","1352041407","1352041401","1352041410","1352041404","1352041412"],"photo_ids_order":["1352041401","1352041404","1352041407","1352041410","1352041412","1352041414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/435848b81990a7c2a6cd9c6086cffc6a.jpg","text":"TemporaryFile(/tmp/multipartBody7383618998826553072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106214216,"filename":"image_14042025_13_14_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/536566a7bd4ec5c6deaa1c300d529be0.jpg","text":"TemporaryFile(/tmp/multipartBody3076987213018855234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106214216,"filename":"image_14042025_13_13_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f33b416acfbe64a84ec47e2295d681db.jpg","text":"TemporaryFile(/tmp/multipartBody6027082914054367728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106214216,"filename":"image_14042025_13_13_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e727c3937403ca72e21ae9a86932c42e.jpg","text":"TemporaryFile(/tmp/multipartBody7407717421727727522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106214216,"filename":"image_14042025_13_13_46_9894.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f787aa8237c51f2ee525dfd480c877b.jpg","text":"TemporaryFile(/tmp/multipartBody6429223988593465535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106214216,"filename":"image_14042025_13_13_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80b8921155e46c168b45e3ea2af2e92f.jpg","text":"TemporaryFile(/tmp/multipartBody6554896853757149540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106214216,"filename":"image_14042025_13_13_57_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041407","file1":"1352041404","file0":"1352041401","file4":"1352041412","file5":"1352041414","file3":"1352041410"},"map_files_photo_id_array":[{"photo_id":"1352041414","filename":"file5"},{"photo_id":"1352041407","filename":"file2"},{"photo_id":"1352041412","filename":"file4"},{"photo_id":"1352041404","filename":"file1"},{"photo_id":"1352041401","filename":"file0"},{"photo_id":"1352041410","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041414":["hashtag1","hashtag2"]},{"1352041407":["hashtag1","hashtag2"]},{"1352041401":["hashtag1","hashtag2"]},{"1352041410":["hashtag1","hashtag2"]},{"1352041404":["hashtag1","hashtag2"]},{"1352041412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041414, 1352041407, 1352041401, 1352041410, 1352041404, 1352041412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.720813751220703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:43:32.892556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_17_10338.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_27_10344.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_36_9389.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_47_10442.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_57_9978.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_15_06_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_17_10338.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_27_10344.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_36_9389.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_47_10442.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_57_9978.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_15_06_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041429","1352041431","1352041425","1352041434","1352041433","1352041427"],"photo_ids_order":["1352041425","1352041427","1352041429","1352041431","1352041433","1352041434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9fed9c09abd39d251926d7993ae5ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6046693785276749002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106274448,"filename":"image_14042025_13_14_36_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e239180041116beb5932b018e8a08c4.jpg","text":"TemporaryFile(/tmp/multipartBody470243539490538738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106274448,"filename":"image_14042025_13_14_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/130047a5f9d3a5084401b8a18d080957.jpg","text":"TemporaryFile(/tmp/multipartBody8551943807564784372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106274448,"filename":"image_14042025_13_14_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e2e1d503984348ed5ce44d2f308e954.jpg","text":"TemporaryFile(/tmp/multipartBody1658352458384355720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106274448,"filename":"image_14042025_13_15_06_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50ce6cb95bf075e1d6fa605b98a3796c.jpg","text":"TemporaryFile(/tmp/multipartBody3570377375720547349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106274448,"filename":"image_14042025_13_14_57_9978.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c31651c05c133c52227bfca500373e1.jpg","text":"TemporaryFile(/tmp/multipartBody3574618500905641167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106274448,"filename":"image_14042025_13_14_27_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041429","file1":"1352041427","file0":"1352041425","file4":"1352041433","file5":"1352041434","file3":"1352041431"},"map_files_photo_id_array":[{"photo_id":"1352041434","filename":"file5"},{"photo_id":"1352041429","filename":"file2"},{"photo_id":"1352041433","filename":"file4"},{"photo_id":"1352041427","filename":"file1"},{"photo_id":"1352041425","filename":"file0"},{"photo_id":"1352041431","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041429":["hashtag1","hashtag2"]},{"1352041431":["hashtag1","hashtag2"]},{"1352041425":["hashtag1","hashtag2"]},{"1352041434":["hashtag1","hashtag2"]},{"1352041433":["hashtag1","hashtag2"]},{"1352041427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041429, 1352041431, 1352041425, 1352041434, 1352041433, 1352041427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.143516302108765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:44:32.997232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_16_10343.jpg', '/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_27_10433.jpg', '/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_36_9387.jpg', '/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_47_10369.jpg', '/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_57_10353.jpg', '/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_17_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_16_10343.jpg
/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_27_10433.jpg
/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_36_9387.jpg
/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_47_10369.jpg
/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_57_10353.jpg
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_17_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041456","1352041452","1352041446","1352041454","1352041448","1352041450"],"photo_ids_order":["1352041446","1352041448","1352041450","1352041452","1352041454","1352041456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77fd18356c4b4800769a877540ce88f2.jpg","text":"TemporaryFile(/tmp/multipartBody5219363780769097215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106334565,"filename":"image_14042025_13_16_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6508f8022a0dd753aff03c0a19b596da.jpg","text":"TemporaryFile(/tmp/multipartBody4260669098779857782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106334565,"filename":"image_14042025_13_15_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcda407b5d2586c96cc7096445fb0328.jpg","text":"TemporaryFile(/tmp/multipartBody6335076859134208931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106334565,"filename":"image_14042025_13_15_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84b363117f49495a0d2cfef37e6eafcf.jpg","text":"TemporaryFile(/tmp/multipartBody6920784358615676370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106334565,"filename":"image_14042025_13_15_57_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/726dded135150062d6197ac4b4dd6be4.jpg","text":"TemporaryFile(/tmp/multipartBody6275047009637232696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106334565,"filename":"image_14042025_13_15_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22436dfe15bd2cfd50d67d2e0db6c4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6268584615037828635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106334565,"filename":"image_14042025_13_15_36_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041450","file1":"1352041448","file0":"1352041446","file4":"1352041454","file5":"1352041456","file3":"1352041452"},"map_files_photo_id_array":[{"photo_id":"1352041456","filename":"file5"},{"photo_id":"1352041450","filename":"file2"},{"photo_id":"1352041454","filename":"file4"},{"photo_id":"1352041448","filename":"file1"},{"photo_id":"1352041446","filename":"file0"},{"photo_id":"1352041452","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041456":["hashtag1","hashtag2"]},{"1352041452":["hashtag1","hashtag2"]},{"1352041446":["hashtag1","hashtag2"]},{"1352041454":["hashtag1","hashtag2"]},{"1352041448":["hashtag1","hashtag2"]},{"1352041450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041456, 1352041452, 1352041446, 1352041454, 1352041448, 1352041450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00249266624451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:45:32.247809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_27_10360.jpg', '/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_36_9342.jpg', '/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_47_10442.jpg', '/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_56_9329.jpg', '/home/pi/Desktop/images/14042025/13/16/image_14042025_13_17_07_10327.jpg', '/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_17_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_27_10360.jpg
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_36_9342.jpg
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_47_10442.jpg
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_56_9329.jpg
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_17_07_10327.jpg
/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_17_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041468","1352041473","1352041479","1352041475","1352041477","1352041471"],"photo_ids_order":["1352041468","1352041471","1352041473","1352041475","1352041477","1352041479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/562e7f65ebf0b70f33415bb1acbcf44f.jpg","text":"TemporaryFile(/tmp/multipartBody5424910681847460834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106393797,"filename":"image_14042025_13_16_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed89eb83d33589bf51675671da382c28.jpg","text":"TemporaryFile(/tmp/multipartBody4296665978224401275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106393797,"filename":"image_14042025_13_16_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5059c1777dce1134cbf8659f18a53a19.jpg","text":"TemporaryFile(/tmp/multipartBody7984521584116913582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106393797,"filename":"image_14042025_13_17_17_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e1186e233e5f0e9ff63980170743967.jpg","text":"TemporaryFile(/tmp/multipartBody5481135204818920009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106393797,"filename":"image_14042025_13_16_56_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6648462c23e515ca2eab611f1f7a32c2.jpg","text":"TemporaryFile(/tmp/multipartBody100508725492672578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106393797,"filename":"image_14042025_13_17_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/619349df1164d5c75268538526ab1ab5.jpg","text":"TemporaryFile(/tmp/multipartBody603175837040922717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106393797,"filename":"image_14042025_13_16_36_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041473","file1":"1352041471","file0":"1352041468","file4":"1352041477","file5":"1352041479","file3":"1352041475"},"map_files_photo_id_array":[{"photo_id":"1352041479","filename":"file5"},{"photo_id":"1352041473","filename":"file2"},{"photo_id":"1352041477","filename":"file4"},{"photo_id":"1352041471","filename":"file1"},{"photo_id":"1352041468","filename":"file0"},{"photo_id":"1352041475","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041468":["hashtag1","hashtag2"]},{"1352041473":["hashtag1","hashtag2"]},{"1352041479":["hashtag1","hashtag2"]},{"1352041475":["hashtag1","hashtag2"]},{"1352041477":["hashtag1","hashtag2"]},{"1352041471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041468, 1352041473, 1352041479, 1352041475, 1352041477, 1352041471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95795774459839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:46:32.459561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_26_9358.jpg', '/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_37_10442.jpg', '/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_46_9425.jpg', '/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_57_10399.jpg', '/home/pi/Desktop/images/14042025/13/17/image_14042025_13_18_07_10343.jpg', '/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_16_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_26_9358.jpg
/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_37_10442.jpg
/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_46_9425.jpg
/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_57_10399.jpg
/home/pi/Desktop/images/14042025/13/17/image_14042025_13_18_07_10343.jpg
/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_16_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041501","1352041494","1352041500","1352041496","1352041498","1352041492"],"photo_ids_order":["1352041492","1352041494","1352041496","1352041498","1352041500","1352041501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5153cf5e2158e18159fd2c14598eb8c6.jpg","text":"TemporaryFile(/tmp/multipartBody3115147106185324071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106454009,"filename":"image_14042025_13_18_16_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa8c8f0ae71895bc4949a3fa5b52fea4.jpg","text":"TemporaryFile(/tmp/multipartBody4465268215051223589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106454009,"filename":"image_14042025_13_17_37_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9161952b5d4042da0cd3344f7241774.jpg","text":"TemporaryFile(/tmp/multipartBody5678509565731298567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106454009,"filename":"image_14042025_13_18_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6af491b67f0e8a1a8e438d298be39a0.jpg","text":"TemporaryFile(/tmp/multipartBody1024739215104246201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106454009,"filename":"image_14042025_13_17_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ac3ad83315db3d0886cd0b960154818.jpg","text":"TemporaryFile(/tmp/multipartBody7850748074716888240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106454009,"filename":"image_14042025_13_17_57_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13ced90f3e2ba61fb90ab01ffe3d0f88.jpg","text":"TemporaryFile(/tmp/multipartBody8893295161322771285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106454009,"filename":"image_14042025_13_17_26_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041496","file1":"1352041494","file0":"1352041492","file4":"1352041500","file5":"1352041501","file3":"1352041498"},"map_files_photo_id_array":[{"photo_id":"1352041501","filename":"file5"},{"photo_id":"1352041496","filename":"file2"},{"photo_id":"1352041500","filename":"file4"},{"photo_id":"1352041494","filename":"file1"},{"photo_id":"1352041492","filename":"file0"},{"photo_id":"1352041498","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041501":["hashtag1","hashtag2"]},{"1352041494":["hashtag1","hashtag2"]},{"1352041500":["hashtag1","hashtag2"]},{"1352041496":["hashtag1","hashtag2"]},{"1352041498":["hashtag1","hashtag2"]},{"1352041492":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041501, 1352041494, 1352041500, 1352041496, 1352041498, 1352041492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62166738510132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:47:32.654333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_27_10481.jpg', '/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_36_9326.jpg', '/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_46_10343.jpg', '/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_57_10448.jpg', '/home/pi/Desktop/images/14042025/13/18/image_14042025_13_19_06_9342.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_17_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_27_10481.jpg
/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_36_9326.jpg
/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_46_10343.jpg
/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_57_10448.jpg
/home/pi/Desktop/images/14042025/13/18/image_14042025_13_19_06_9342.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_17_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041522","1352041516","1352041524","1352041518","1352041520","1352041514"],"photo_ids_order":["1352041514","1352041516","1352041518","1352041520","1352041522","1352041524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43c97861985d922b942045ea50a2347e.jpg","text":"TemporaryFile(/tmp/multipartBody7981415099875653104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106514219,"filename":"image_14042025_13_19_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea2dad0815490fbd34698a57778ecd26.jpg","text":"TemporaryFile(/tmp/multipartBody3875871499332727956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106514219,"filename":"image_14042025_13_18_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecfd33722e5d46173f8bff8e69b153be.jpg","text":"TemporaryFile(/tmp/multipartBody3041324648286045490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106514219,"filename":"image_14042025_13_19_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3e80d76f677ea4463c7c156f69382f3.jpg","text":"TemporaryFile(/tmp/multipartBody4350581855866594571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106514219,"filename":"image_14042025_13_18_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adfdb21f453e009f61f3b8bfa4e4c653.jpg","text":"TemporaryFile(/tmp/multipartBody8186187985431312635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106514219,"filename":"image_14042025_13_18_57_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0574b9db25e61d5a9d85f46c5300397f.jpg","text":"TemporaryFile(/tmp/multipartBody1866608962711044966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106514219,"filename":"image_14042025_13_18_27_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041518","file1":"1352041516","file0":"1352041514","file4":"1352041522","file5":"1352041524","file3":"1352041520"},"map_files_photo_id_array":[{"photo_id":"1352041524","filename":"file5"},{"photo_id":"1352041518","filename":"file2"},{"photo_id":"1352041522","filename":"file4"},{"photo_id":"1352041516","filename":"file1"},{"photo_id":"1352041514","filename":"file0"},{"photo_id":"1352041520","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041522":["hashtag1","hashtag2"]},{"1352041516":["hashtag1","hashtag2"]},{"1352041524":["hashtag1","hashtag2"]},{"1352041518":["hashtag1","hashtag2"]},{"1352041520":["hashtag1","hashtag2"]},{"1352041514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041522, 1352041516, 1352041524, 1352041518, 1352041520, 1352041514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37592315673828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:48:32.863197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_27_10412.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_36_9330.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_47_10481.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_56_9339.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_20_07_10327.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_17_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_27_10412.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_36_9330.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_47_10481.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_56_9339.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_20_07_10327.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_17_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041546","1352041540","1352041534","1352041537","1352041548","1352041544"],"photo_ids_order":["1352041534","1352041537","1352041540","1352041544","1352041546","1352041548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75e26cc8448012ce60ff8118f0dbe33b.jpg","text":"TemporaryFile(/tmp/multipartBody2732440017812060622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106574420,"filename":"image_14042025_13_20_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0ed39c479c37ce259868b53bb437389.jpg","text":"TemporaryFile(/tmp/multipartBody5877247859528107148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106574420,"filename":"image_14042025_13_19_47_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/781e3d55fe98c2a6d0a596dd19d3f627.jpg","text":"TemporaryFile(/tmp/multipartBody3626632848105992563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106574420,"filename":"image_14042025_13_19_27_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3ae273d4cda05304648af861299f8de.jpg","text":"TemporaryFile(/tmp/multipartBody3207639956094784327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106574420,"filename":"image_14042025_13_19_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/316e77f7e6fb937a59e686d3848fb371.jpg","text":"TemporaryFile(/tmp/multipartBody5444592254840767033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106574420,"filename":"image_14042025_13_20_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0ac3edbf9f56a135c3cbd18610e1547.jpg","text":"TemporaryFile(/tmp/multipartBody6569497248009382688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106574420,"filename":"image_14042025_13_19_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041540","file1":"1352041537","file0":"1352041534","file4":"1352041546","file5":"1352041548","file3":"1352041544"},"map_files_photo_id_array":[{"photo_id":"1352041548","filename":"file5"},{"photo_id":"1352041540","filename":"file2"},{"photo_id":"1352041546","filename":"file4"},{"photo_id":"1352041537","filename":"file1"},{"photo_id":"1352041534","filename":"file0"},{"photo_id":"1352041544","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041546":["hashtag1","hashtag2"]},{"1352041540":["hashtag1","hashtag2"]},{"1352041534":["hashtag1","hashtag2"]},{"1352041537":["hashtag1","hashtag2"]},{"1352041548":["hashtag1","hashtag2"]},{"1352041544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041546, 1352041540, 1352041534, 1352041537, 1352041548, 1352041544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.888097047805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:49:33.142995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_26_9354.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_37_10406.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_47_10366.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_56_9353.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_21_07_10420.jpg', '/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_16_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_26_9354.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_37_10406.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_47_10366.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_56_9353.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_21_07_10420.jpg
/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_16_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041567","1352041569","1352041560","1352041571","1352041562","1352041564"],"photo_ids_order":["1352041560","1352041562","1352041564","1352041567","1352041569","1352041571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3eb2db42e028ec35064667f676798367.jpg","text":"TemporaryFile(/tmp/multipartBody2394447774745087846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106634707,"filename":"image_14042025_13_20_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a79ae068315c175639dd2b91062e30f0.jpg","text":"TemporaryFile(/tmp/multipartBody2952500210826290504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106634707,"filename":"image_14042025_13_21_07_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c1d29ef09dc0de35ee35cb6a7a2cbc7.jpg","text":"TemporaryFile(/tmp/multipartBody4116475879022646505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106634707,"filename":"image_14042025_13_20_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bca098440d25867e7db79d9708792dac.jpg","text":"TemporaryFile(/tmp/multipartBody3503721946613030262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106634707,"filename":"image_14042025_13_21_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aaa726ef925286b49b71a905c1edff69.jpg","text":"TemporaryFile(/tmp/multipartBody5002107551838781139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106634707,"filename":"image_14042025_13_20_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aae2038c3fcefc7abdb8c08935f90462.jpg","text":"TemporaryFile(/tmp/multipartBody8070194160727122798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106634707,"filename":"image_14042025_13_20_47_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041564","file1":"1352041562","file0":"1352041560","file4":"1352041569","file5":"1352041571","file3":"1352041567"},"map_files_photo_id_array":[{"photo_id":"1352041571","filename":"file5"},{"photo_id":"1352041564","filename":"file2"},{"photo_id":"1352041569","filename":"file4"},{"photo_id":"1352041562","filename":"file1"},{"photo_id":"1352041560","filename":"file0"},{"photo_id":"1352041567","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041567":["hashtag1","hashtag2"]},{"1352041569":["hashtag1","hashtag2"]},{"1352041560":["hashtag1","hashtag2"]},{"1352041571":["hashtag1","hashtag2"]},{"1352041562":["hashtag1","hashtag2"]},{"1352041564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041567, 1352041569, 1352041560, 1352041571, 1352041562, 1352041564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.497446537017822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:50:32.404600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_27_10550.jpg', '/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_47_10353.jpg', '/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_57_10452.jpg', '/home/pi/Desktop/images/14042025/13/21/image_14042025_13_22_06_9351.jpg', '/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_17_10409.jpg', '/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_27_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_27_10550.jpg
/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_47_10353.jpg
/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_57_10452.jpg
/home/pi/Desktop/images/14042025/13/21/image_14042025_13_22_06_9351.jpg
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_17_10409.jpg
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_27_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041596","1352041583","1352041586","1352041594","1352041588","1352041591"],"photo_ids_order":["1352041583","1352041586","1352041588","1352041591","1352041594","1352041596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/160b3213a084290d7fc0e5e8e5164b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5936410677490345191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106693961,"filename":"image_14042025_13_22_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d69f783786d26c6aaa3fbffc848e02db.jpg","text":"TemporaryFile(/tmp/multipartBody4432937461520677910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106693961,"filename":"image_14042025_13_21_27_10550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ea08f774bbc86087523c99ba66a1cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3250601641467460481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106693961,"filename":"image_14042025_13_21_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe892633522f3d1eca01125322b1080e.jpg","text":"TemporaryFile(/tmp/multipartBody871329017635891231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106693961,"filename":"image_14042025_13_22_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bc58a5b5ea3cda84227d75bafe69eae.jpg","text":"TemporaryFile(/tmp/multipartBody8664053584518340595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106693961,"filename":"image_14042025_13_21_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d0b1c4a38396e87f30cba18d2956d57.jpg","text":"TemporaryFile(/tmp/multipartBody8881497525655449858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106693961,"filename":"image_14042025_13_22_06_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041588","file1":"1352041586","file0":"1352041583","file4":"1352041594","file5":"1352041596","file3":"1352041591"},"map_files_photo_id_array":[{"photo_id":"1352041596","filename":"file5"},{"photo_id":"1352041588","filename":"file2"},{"photo_id":"1352041594","filename":"file4"},{"photo_id":"1352041586","filename":"file1"},{"photo_id":"1352041583","filename":"file0"},{"photo_id":"1352041591","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041596":["hashtag1","hashtag2"]},{"1352041583":["hashtag1","hashtag2"]},{"1352041586":["hashtag1","hashtag2"]},{"1352041594":["hashtag1","hashtag2"]},{"1352041588":["hashtag1","hashtag2"]},{"1352041591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041596, 1352041583, 1352041586, 1352041594, 1352041588, 1352041591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76198720932007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:51:32.561781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_36_9329.jpg', '/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_47_10457.jpg', '/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_56_9351.jpg', '/home/pi/Desktop/images/14042025/13/22/image_14042025_13_23_07_10443.jpg', '/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_17_10333.jpg', '/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_26_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_36_9329.jpg
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_47_10457.jpg
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_56_9351.jpg
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_23_07_10443.jpg
/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_17_10333.jpg
/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_26_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041617","1352041611","1352041620","1352041614","1352041608","1352041622"],"photo_ids_order":["1352041608","1352041611","1352041614","1352041617","1352041620","1352041622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c959df9457062f66a77be1cf46c9a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7288996323725839187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106754118,"filename":"image_14042025_13_23_07_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da8c75f7ecc657fb9add37dbc35e6f37.jpg","text":"TemporaryFile(/tmp/multipartBody3367320977768122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106754118,"filename":"image_14042025_13_22_47_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4d022267bc8da99560c0cd6f3c9735a.jpg","text":"TemporaryFile(/tmp/multipartBody5638768674998281589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106754118,"filename":"image_14042025_13_23_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c509ac14f0258d10838f5b5551d81e28.jpg","text":"TemporaryFile(/tmp/multipartBody4405743133775816005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106754118,"filename":"image_14042025_13_22_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef33ec2da407dfe33d54fcd67324beda.jpg","text":"TemporaryFile(/tmp/multipartBody8346495006400789879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106754118,"filename":"image_14042025_13_22_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d86746395bacad38bf54436d9a59379.jpg","text":"TemporaryFile(/tmp/multipartBody3673682005744138635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106754118,"filename":"image_14042025_13_23_26_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041614","file1":"1352041611","file0":"1352041608","file4":"1352041620","file5":"1352041622","file3":"1352041617"},"map_files_photo_id_array":[{"photo_id":"1352041622","filename":"file5"},{"photo_id":"1352041614","filename":"file2"},{"photo_id":"1352041620","filename":"file4"},{"photo_id":"1352041611","filename":"file1"},{"photo_id":"1352041608","filename":"file0"},{"photo_id":"1352041617","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041617":["hashtag1","hashtag2"]},{"1352041611":["hashtag1","hashtag2"]},{"1352041620":["hashtag1","hashtag2"]},{"1352041614":["hashtag1","hashtag2"]},{"1352041608":["hashtag1","hashtag2"]},{"1352041622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041617, 1352041611, 1352041620, 1352041614, 1352041608, 1352041622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.806161880493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:52:32.773497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_37_10380.jpg', '/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_47_10367.jpg', '/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_56_9332.jpg', '/home/pi/Desktop/images/14042025/13/23/image_14042025_13_24_07_10360.jpg', '/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_16_9372.jpg', '/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_27_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_37_10380.jpg
/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_47_10367.jpg
/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_56_9332.jpg
/home/pi/Desktop/images/14042025/13/23/image_14042025_13_24_07_10360.jpg
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_16_9372.jpg
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_27_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041645","1352041648","1352041641","1352041635","1352041638","1352041643"],"photo_ids_order":["1352041635","1352041638","1352041641","1352041643","1352041645","1352041648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce070f198471f94f11b1d0e5d0713968.jpg","text":"TemporaryFile(/tmp/multipartBody579031229234665863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106814332,"filename":"image_14042025_13_24_16_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e349fd6c4bcf5536d5cb649c939d5348.jpg","text":"TemporaryFile(/tmp/multipartBody2610078928741680438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106814332,"filename":"image_14042025_13_24_27_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d488b822d88ac76001953f6038bac862.jpg","text":"TemporaryFile(/tmp/multipartBody1448732465329913679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106814332,"filename":"image_14042025_13_23_56_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e92dec96aceb874b97075cd028ffe6a6.jpg","text":"TemporaryFile(/tmp/multipartBody4162637153295008339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106814332,"filename":"image_14042025_13_23_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3200885cce70e3aa0bccf2a14461961e.jpg","text":"TemporaryFile(/tmp/multipartBody8064364083604604778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106814332,"filename":"image_14042025_13_23_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5623ad0e17b47709f024aa04b5cac45.jpg","text":"TemporaryFile(/tmp/multipartBody9030343967206923306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106814332,"filename":"image_14042025_13_24_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041641","file1":"1352041638","file0":"1352041635","file4":"1352041645","file5":"1352041648","file3":"1352041643"},"map_files_photo_id_array":[{"photo_id":"1352041648","filename":"file5"},{"photo_id":"1352041641","filename":"file2"},{"photo_id":"1352041645","filename":"file4"},{"photo_id":"1352041638","filename":"file1"},{"photo_id":"1352041635","filename":"file0"},{"photo_id":"1352041643","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041645":["hashtag1","hashtag2"]},{"1352041648":["hashtag1","hashtag2"]},{"1352041641":["hashtag1","hashtag2"]},{"1352041635":["hashtag1","hashtag2"]},{"1352041638":["hashtag1","hashtag2"]},{"1352041643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041645, 1352041648, 1352041641, 1352041635, 1352041638, 1352041643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.391281843185425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:53:33.016153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_37_10417.jpg', '/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_46_9356.jpg', '/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_57_10350.jpg', '/home/pi/Desktop/images/14042025/13/24/image_14042025_13_25_06_9337.jpg', '/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_16_10354.jpg', '/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_27_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_37_10417.jpg
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_46_9356.jpg
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_57_10350.jpg
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_25_06_9337.jpg
/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_16_10354.jpg
/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_27_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041672","1352041666","1352041668","1352041670","1352041664","1352041673"],"photo_ids_order":["1352041664","1352041666","1352041668","1352041670","1352041672","1352041673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/675d7bed4a9c3b92c15424cc94070675.jpg","text":"TemporaryFile(/tmp/multipartBody506872223461147786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106876913,"filename":"image_14042025_13_25_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b9e32d42f9643770b49c37c5d4e193d.jpg","text":"TemporaryFile(/tmp/multipartBody3769302520974041775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106876913,"filename":"image_14042025_13_24_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/389d26f4e9c7006979b21ccb5d92d2f7.jpg","text":"TemporaryFile(/tmp/multipartBody2023303647184876100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106876913,"filename":"image_14042025_13_24_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3911541d483116376bea2ea6414a3c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3148096099583006877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106876913,"filename":"image_14042025_13_25_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/608102588fba182284c7e273433fff46.jpg","text":"TemporaryFile(/tmp/multipartBody2341948583820699383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106876913,"filename":"image_14042025_13_24_37_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29823d187b640733e6d3f041ecb843ac.jpg","text":"TemporaryFile(/tmp/multipartBody848581345214251106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106876913,"filename":"image_14042025_13_25_27_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041668","file1":"1352041666","file0":"1352041664","file4":"1352041672","file5":"1352041673","file3":"1352041670"},"map_files_photo_id_array":[{"photo_id":"1352041673","filename":"file5"},{"photo_id":"1352041668","filename":"file2"},{"photo_id":"1352041672","filename":"file4"},{"photo_id":"1352041666","filename":"file1"},{"photo_id":"1352041664","filename":"file0"},{"photo_id":"1352041670","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041672":["hashtag1","hashtag2"]},{"1352041666":["hashtag1","hashtag2"]},{"1352041668":["hashtag1","hashtag2"]},{"1352041670":["hashtag1","hashtag2"]},{"1352041664":["hashtag1","hashtag2"]},{"1352041673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041672, 1352041666, 1352041668, 1352041670, 1352041664, 1352041673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29154324531555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:54:32.277998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_36_9335.jpg', '/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_47_10375.jpg', '/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_57_10475.jpg', '/home/pi/Desktop/images/14042025/13/25/image_14042025_13_26_06_9349.jpg', '/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_17_10421.jpg', '/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_26_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_36_9335.jpg
/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_47_10375.jpg
/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_57_10475.jpg
/home/pi/Desktop/images/14042025/13/25/image_14042025_13_26_06_9349.jpg
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_17_10421.jpg
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_26_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041698","1352041692","1352041695","1352041689","1352041701","1352041685"],"photo_ids_order":["1352041685","1352041689","1352041692","1352041695","1352041698","1352041701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/479a110743472f868dba8f3d15b427d9.jpg","text":"TemporaryFile(/tmp/multipartBody6835080525500062586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106933844,"filename":"image_14042025_13_26_17_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b95081b344d3a2fa96dec238ba011e1.jpg","text":"TemporaryFile(/tmp/multipartBody2238842170338832525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106933844,"filename":"image_14042025_13_25_57_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cc91871c80760ce4abab69d73c890b2.jpg","text":"TemporaryFile(/tmp/multipartBody5754451803839161469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106933844,"filename":"image_14042025_13_26_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/498f940867cf17c39c17957883d7ab36.jpg","text":"TemporaryFile(/tmp/multipartBody2848683867241276808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106933844,"filename":"image_14042025_13_25_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb0e54349129ae9585e6b3aaa57deeab.jpg","text":"TemporaryFile(/tmp/multipartBody4393761976983733049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106933844,"filename":"image_14042025_13_26_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d13fb588bb0944945db706e99530b82.jpg","text":"TemporaryFile(/tmp/multipartBody5313459924933342306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106933844,"filename":"image_14042025_13_25_36_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041692","file1":"1352041689","file0":"1352041685","file4":"1352041698","file5":"1352041701","file3":"1352041695"},"map_files_photo_id_array":[{"photo_id":"1352041701","filename":"file5"},{"photo_id":"1352041692","filename":"file2"},{"photo_id":"1352041698","filename":"file4"},{"photo_id":"1352041689","filename":"file1"},{"photo_id":"1352041685","filename":"file0"},{"photo_id":"1352041695","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041698":["hashtag1","hashtag2"]},{"1352041692":["hashtag1","hashtag2"]},{"1352041695":["hashtag1","hashtag2"]},{"1352041689":["hashtag1","hashtag2"]},{"1352041701":["hashtag1","hashtag2"]},{"1352041685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041698, 1352041692, 1352041695, 1352041689, 1352041701, 1352041685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22424817085266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:55:32.488459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_37_10343.jpg', '/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_47_10410.jpg', '/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_56_9371.jpg', '/home/pi/Desktop/images/14042025/13/26/image_14042025_13_27_07_10335.jpg', '/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_17_10364.jpg', '/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_26_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_37_10343.jpg
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_47_10410.jpg
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_56_9371.jpg
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_27_07_10335.jpg
/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_17_10364.jpg
/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_26_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041726","1352041722","1352041716","1352041719","1352041713","1352041724"],"photo_ids_order":["1352041713","1352041716","1352041719","1352041722","1352041724","1352041726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/315a10e409bbc6072990e75797b3992f.jpg","text":"TemporaryFile(/tmp/multipartBody8561744518112220893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106994059,"filename":"image_14042025_13_27_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96275e97e086ad31b2642c47e22d01f7.jpg","text":"TemporaryFile(/tmp/multipartBody6255324382964431329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106994059,"filename":"image_14042025_13_27_07_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7efd0f5758595b0b525165ad62fc705.jpg","text":"TemporaryFile(/tmp/multipartBody6953548562527459368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106994059,"filename":"image_14042025_13_26_47_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb57e67615c647f73d784d5c144ea2cb.jpg","text":"TemporaryFile(/tmp/multipartBody5606423596252672005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106994059,"filename":"image_14042025_13_26_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4b0c4258eab9122e17e385213a57ba4.jpg","text":"TemporaryFile(/tmp/multipartBody364003937754618369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106994059,"filename":"image_14042025_13_26_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b491aafbdec04d928be933a86e84de9b.jpg","text":"TemporaryFile(/tmp/multipartBody8106859752770784415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745106994059,"filename":"image_14042025_13_27_17_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041719","file1":"1352041716","file0":"1352041713","file4":"1352041724","file5":"1352041726","file3":"1352041722"},"map_files_photo_id_array":[{"photo_id":"1352041726","filename":"file5"},{"photo_id":"1352041719","filename":"file2"},{"photo_id":"1352041724","filename":"file4"},{"photo_id":"1352041716","filename":"file1"},{"photo_id":"1352041713","filename":"file0"},{"photo_id":"1352041722","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041726":["hashtag1","hashtag2"]},{"1352041722":["hashtag1","hashtag2"]},{"1352041716":["hashtag1","hashtag2"]},{"1352041719":["hashtag1","hashtag2"]},{"1352041713":["hashtag1","hashtag2"]},{"1352041724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041726, 1352041722, 1352041716, 1352041719, 1352041713, 1352041724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.500813722610474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:56:32.714514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_37_10432.jpg', '/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_46_9350.jpg', '/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_57_10431.jpg', '/home/pi/Desktop/images/14042025/13/27/image_14042025_13_28_07_10449.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_16_9337.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_27_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_37_10432.jpg
/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_46_9350.jpg
/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_57_10431.jpg
/home/pi/Desktop/images/14042025/13/27/image_14042025_13_28_07_10449.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_16_9337.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_27_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041744","1352041738","1352041740","1352041745","1352041742","1352041736"],"photo_ids_order":["1352041736","1352041738","1352041740","1352041742","1352041744","1352041745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec13ab702259875b195037473bee59f8.jpg","text":"TemporaryFile(/tmp/multipartBody7516892858140827091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107054289,"filename":"image_14042025_13_28_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b3b9a7bfe306e4c1cef2f0ec8f604e3.jpg","text":"TemporaryFile(/tmp/multipartBody4211664074048669361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107054289,"filename":"image_14042025_13_27_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7082237cca41d7e97558212343d699e.jpg","text":"TemporaryFile(/tmp/multipartBody6162195518870431807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107054289,"filename":"image_14042025_13_27_57_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/845abd7b60adee709698b17feea0a725.jpg","text":"TemporaryFile(/tmp/multipartBody3984031742762458176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107054289,"filename":"image_14042025_13_28_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52c6f18eb87e1382c621ee74f0ff0fb8.jpg","text":"TemporaryFile(/tmp/multipartBody655386723016755477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107054289,"filename":"image_14042025_13_28_07_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7f2e2b60b2f33fb24a3d074b660671b.jpg","text":"TemporaryFile(/tmp/multipartBody4415986605923702083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107054289,"filename":"image_14042025_13_27_37_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041740","file1":"1352041738","file0":"1352041736","file4":"1352041744","file5":"1352041745","file3":"1352041742"},"map_files_photo_id_array":[{"photo_id":"1352041745","filename":"file5"},{"photo_id":"1352041740","filename":"file2"},{"photo_id":"1352041744","filename":"file4"},{"photo_id":"1352041738","filename":"file1"},{"photo_id":"1352041736","filename":"file0"},{"photo_id":"1352041742","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352041744":["hashtag1","hashtag2"]},{"1352041738":["hashtag1","hashtag2"]},{"1352041740":["hashtag1","hashtag2"]},{"1352041745":["hashtag1","hashtag2"]},{"1352041742":["hashtag1","hashtag2"]},{"1352041736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352041744, 1352041738, 1352041740, 1352041745, 1352041742, 1352041736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.455047369003296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 01:57:32.973942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_36_9401.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_47_10376.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_57_10461.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_29_06_9340.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_17_10544.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_26_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_36_9401.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_47_10376.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_57_10461.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_29_06_9340.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_17_10544.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_26_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 01:59:03.233577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_36_9401.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_47_10376.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_57_10461.jpg', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_29_06_9340.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_17_10544.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_26_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_36_9401.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_47_10376.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_57_10461.jpg
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_29_06_9340.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_17_10544.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_26_9355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352042212","1352042241","1352042271","1352042315","1352042365","1352042434"],"photo_ids_order":["1352042212","1352042241","1352042271","1352042315","1352042365","1352042434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89d50123c0a8a2e72a03f170955bf9ae.jpg","text":"TemporaryFile(/tmp/multipartBody9099762477526199618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107203977,"filename":"image_14042025_13_28_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26c717e11e1a4200bf48bbee7b7cad02.jpg","text":"TemporaryFile(/tmp/multipartBody2800031919787709912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107203977,"filename":"image_14042025_13_28_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83cd9f420b7dbadc95a549c5a2c5b6fe.jpg","text":"TemporaryFile(/tmp/multipartBody10001760684510495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107203977,"filename":"image_14042025_13_28_57_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fbfc6f1f39d7ffc3396d745b7eaa9ed.jpg","text":"TemporaryFile(/tmp/multipartBody6118975251891510868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107203977,"filename":"image_14042025_13_29_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0588d175907f845c400744c960b2c0f.jpg","text":"TemporaryFile(/tmp/multipartBody5108307718253182438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107203977,"filename":"image_14042025_13_29_17_10544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c008baf3aecf02bc97f82d3ab56e68ea.jpg","text":"TemporaryFile(/tmp/multipartBody6414975656813304675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107203977,"filename":"image_14042025_13_29_26_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352042271","file1":"1352042241","file0":"1352042212","file4":"1352042365","file5":"1352042434","file3":"1352042315"},"map_files_photo_id_array":[{"photo_id":"1352042434","filename":"file5"},{"photo_id":"1352042271","filename":"file2"},{"photo_id":"1352042365","filename":"file4"},{"photo_id":"1352042241","filename":"file1"},{"photo_id":"1352042212","filename":"file0"},{"photo_id":"1352042315","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352042212":["hashtag1","hashtag2"]},{"1352042241":["hashtag1","hashtag2"]},{"1352042271":["hashtag1","hashtag2"]},{"1352042315":["hashtag1","hashtag2"]},{"1352042365":["hashtag1","hashtag2"]},{"1352042434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352042212, 1352042241, 1352042271, 1352042315, 1352042365, 1352042434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.512184381484985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 01:59:42.396922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_37_10356.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_47_10361.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_56_9424.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_30_07_10390.jpg', '/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_16_9354.jpg', '/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_27_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_37_10356.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_47_10361.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_56_9424.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_30_07_10390.jpg
/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_16_9354.jpg
/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_27_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352042889","1352043111","1352042952","1352043050","1352043002","1352043153"],"photo_ids_order":["1352042889","1352042952","1352043002","1352043050","1352043111","1352043153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a25fd2c0580a82f1d122f275e2e3016.jpg","text":"TemporaryFile(/tmp/multipartBody4468226981775643691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107243117,"filename":"image_14042025_13_29_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8d0e9a0c9e2f56c5542cfd67a042e89.jpg","text":"TemporaryFile(/tmp/multipartBody7412394672901835873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107243117,"filename":"image_14042025_13_30_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96c2e4a37f6737df0c17dc6b08ed9d66.jpg","text":"TemporaryFile(/tmp/multipartBody7682165813375908556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107243117,"filename":"image_14042025_13_29_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98c36b206419de00ba5ba70c70aae398.jpg","text":"TemporaryFile(/tmp/multipartBody3409638532186065750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107243117,"filename":"image_14042025_13_30_07_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5baf20e585ed89b179d82c9094ffcf6a.jpg","text":"TemporaryFile(/tmp/multipartBody8572514441140976913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107243117,"filename":"image_14042025_13_29_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcaec1c749dcfdd3771bc7d34e94062b.jpg","text":"TemporaryFile(/tmp/multipartBody8051669797456358504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107243117,"filename":"image_14042025_13_30_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352043002","file1":"1352042952","file0":"1352042889","file4":"1352043111","file5":"1352043153","file3":"1352043050"},"map_files_photo_id_array":[{"photo_id":"1352043153","filename":"file5"},{"photo_id":"1352043002","filename":"file2"},{"photo_id":"1352043111","filename":"file4"},{"photo_id":"1352042952","filename":"file1"},{"photo_id":"1352042889","filename":"file0"},{"photo_id":"1352043050","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352042889":["hashtag1","hashtag2"]},{"1352043111":["hashtag1","hashtag2"]},{"1352042952":["hashtag1","hashtag2"]},{"1352043050":["hashtag1","hashtag2"]},{"1352043002":["hashtag1","hashtag2"]},{"1352043153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352042889, 1352043111, 1352042952, 1352043050, 1352043002, 1352043153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.40462589263916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:00:32.598258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_37_10342.jpg', '/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_46_9345.jpg', '/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_57_10358.jpg', '/home/pi/Desktop/images/14042025/13/30/image_14042025_13_31_07_10415.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_16_9328.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_27_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_37_10342.jpg
/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_46_9345.jpg
/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_57_10358.jpg
/home/pi/Desktop/images/14042025/13/30/image_14042025_13_31_07_10415.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_16_9328.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_27_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352043441","1352043417","1352043389","1352043464","1352043515","1352043490"],"photo_ids_order":["1352043389","1352043417","1352043441","1352043464","1352043490","1352043515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5ce8a809d7609b6400d82006acbc36f.jpg","text":"TemporaryFile(/tmp/multipartBody8313830146969997475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107294150,"filename":"image_14042025_13_30_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d76c101c8316ee21981e87a43345ec9f.jpg","text":"TemporaryFile(/tmp/multipartBody2193735224697449444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107294150,"filename":"image_14042025_13_30_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78a6f7f7526e316717588e02c8287f7b.jpg","text":"TemporaryFile(/tmp/multipartBody8284059413916324610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107294150,"filename":"image_14042025_13_30_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ed30bbd13fb43997dfa13257646f520.jpg","text":"TemporaryFile(/tmp/multipartBody758697542292195081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107294150,"filename":"image_14042025_13_31_07_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0f63dcc72b0e3a8319e310281b88e5d.jpg","text":"TemporaryFile(/tmp/multipartBody775470841093339148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107294150,"filename":"image_14042025_13_31_27_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62e14b04b21d51570239d50c0186fada.jpg","text":"TemporaryFile(/tmp/multipartBody2223621707103843059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107294150,"filename":"image_14042025_13_31_16_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352043441","file1":"1352043417","file0":"1352043389","file4":"1352043490","file5":"1352043515","file3":"1352043464"},"map_files_photo_id_array":[{"photo_id":"1352043515","filename":"file5"},{"photo_id":"1352043441","filename":"file2"},{"photo_id":"1352043490","filename":"file4"},{"photo_id":"1352043417","filename":"file1"},{"photo_id":"1352043389","filename":"file0"},{"photo_id":"1352043464","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352043441":["hashtag1","hashtag2"]},{"1352043417":["hashtag1","hashtag2"]},{"1352043389":["hashtag1","hashtag2"]},{"1352043464":["hashtag1","hashtag2"]},{"1352043515":["hashtag1","hashtag2"]},{"1352043490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352043441, 1352043417, 1352043389, 1352043464, 1352043515, 1352043490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.201414823532104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:01:32.892952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_37_10335.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_46_9362.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_57_10361.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_32_06_9351.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_16_10336.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_27_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_37_10335.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_46_9362.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_57_10361.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_32_06_9351.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_16_10336.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_27_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044085","1352044058","1352044034","1352043965","1352044004","1352043911"],"photo_ids_order":["1352043911","1352043965","1352044004","1352044034","1352044058","1352044085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f45c83b285676351db29afe512d1972b.jpg","text":"TemporaryFile(/tmp/multipartBody3314755682328285546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107354445,"filename":"image_14042025_13_32_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c017c581110c06c77b4a5ca1668faea.jpg","text":"TemporaryFile(/tmp/multipartBody5248906852279987475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107354445,"filename":"image_14042025_13_32_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc39f999932f8c23ebd92d6ea2519f92.jpg","text":"TemporaryFile(/tmp/multipartBody7288387190056400441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107354445,"filename":"image_14042025_13_32_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43ab613aaa7044a9d01f3a2c1dee3486.jpg","text":"TemporaryFile(/tmp/multipartBody5790157906061812445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107354445,"filename":"image_14042025_13_31_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f69fa9ff36f0297b3523917e91f771f9.jpg","text":"TemporaryFile(/tmp/multipartBody6823014562127522074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107354445,"filename":"image_14042025_13_31_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89ad6cd20e88970c0a3122bfee52ba16.jpg","text":"TemporaryFile(/tmp/multipartBody2290370410689829071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107354445,"filename":"image_14042025_13_31_37_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044004","file1":"1352043965","file0":"1352043911","file4":"1352044058","file5":"1352044085","file3":"1352044034"},"map_files_photo_id_array":[{"photo_id":"1352044085","filename":"file5"},{"photo_id":"1352044004","filename":"file2"},{"photo_id":"1352044058","filename":"file4"},{"photo_id":"1352043965","filename":"file1"},{"photo_id":"1352043911","filename":"file0"},{"photo_id":"1352044034","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044085":["hashtag1","hashtag2"]},{"1352044058":["hashtag1","hashtag2"]},{"1352044034":["hashtag1","hashtag2"]},{"1352043965":["hashtag1","hashtag2"]},{"1352044004":["hashtag1","hashtag2"]},{"1352043911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044085, 1352044058, 1352044034, 1352043965, 1352044004, 1352043911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.685049295425415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:02:32.290381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_36_9334.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_47_10372.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_57_10361.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_33_06_9314.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_17_10338.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_27_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_36_9334.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_47_10372.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_57_10361.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_33_06_9314.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_17_10338.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_27_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044422","1352044424","1352044418","1352044328","1352044371","1352044397"],"photo_ids_order":["1352044328","1352044371","1352044397","1352044418","1352044422","1352044424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a4414c882295ba041cc77f8a259ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody1841670099305051880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107413934,"filename":"image_14042025_13_33_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f660efed077d7352bfe255571bb44d1.jpg","text":"TemporaryFile(/tmp/multipartBody2032344081356543079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107413934,"filename":"image_14042025_13_33_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/803048c1d13afc25fce9821e805f1c60.jpg","text":"TemporaryFile(/tmp/multipartBody637113726298340984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107413934,"filename":"image_14042025_13_33_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1229f2df017474760de8bd978a2a0a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2705138830401681632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107413934,"filename":"image_14042025_13_32_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/502d71f13c933341564cc7ef32e02c86.jpg","text":"TemporaryFile(/tmp/multipartBody7721580011953024970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107413934,"filename":"image_14042025_13_32_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51fbd2cb6a0311fcefdf6a600fda8a87.jpg","text":"TemporaryFile(/tmp/multipartBody4320928843216958189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107413934,"filename":"image_14042025_13_32_57_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044397","file1":"1352044371","file0":"1352044328","file4":"1352044422","file5":"1352044424","file3":"1352044418"},"map_files_photo_id_array":[{"photo_id":"1352044424","filename":"file5"},{"photo_id":"1352044397","filename":"file2"},{"photo_id":"1352044422","filename":"file4"},{"photo_id":"1352044371","filename":"file1"},{"photo_id":"1352044328","filename":"file0"},{"photo_id":"1352044418","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044422":["hashtag1","hashtag2"]},{"1352044424":["hashtag1","hashtag2"]},{"1352044418":["hashtag1","hashtag2"]},{"1352044328":["hashtag1","hashtag2"]},{"1352044371":["hashtag1","hashtag2"]},{"1352044397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044422, 1352044424, 1352044418, 1352044328, 1352044371, 1352044397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.203157663345337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:03:32.481297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_36_9340.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_47_10349.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_57_10422.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_34_06_9341.jpg', '/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_17_10389.jpg', '/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_27_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_36_9340.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_47_10349.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_57_10422.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_34_06_9341.jpg
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_17_10389.jpg
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_27_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044532","1352044538","1352044534","1352044528","1352044536","1352044530"],"photo_ids_order":["1352044528","1352044530","1352044532","1352044534","1352044536","1352044538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27fdd46c8dbb7ceb1f71b3110be94c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2439858361879677660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107474029,"filename":"image_14042025_13_33_57_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc8447cd22d4ccc03bf6affb4ff766cc.jpg","text":"TemporaryFile(/tmp/multipartBody118718975166044030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107474029,"filename":"image_14042025_13_34_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d23936d9bc7dbb25cf3c1fcaa9e318ce.jpg","text":"TemporaryFile(/tmp/multipartBody2935205961984833897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107474029,"filename":"image_14042025_13_34_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9bfbc6f9779a61ae47159798bc79882.jpg","text":"TemporaryFile(/tmp/multipartBody1490430161519586732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107474029,"filename":"image_14042025_13_33_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98817f6cb80e7317067d6e8b6638c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody8431149661110348353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107474029,"filename":"image_14042025_13_34_17_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7929e24eac4151bf2d05710fcf68f7d.jpg","text":"TemporaryFile(/tmp/multipartBody8131116651785537098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107474029,"filename":"image_14042025_13_33_47_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044532","file1":"1352044530","file0":"1352044528","file4":"1352044536","file5":"1352044538","file3":"1352044534"},"map_files_photo_id_array":[{"photo_id":"1352044538","filename":"file5"},{"photo_id":"1352044532","filename":"file2"},{"photo_id":"1352044536","filename":"file4"},{"photo_id":"1352044530","filename":"file1"},{"photo_id":"1352044528","filename":"file0"},{"photo_id":"1352044534","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044532":["hashtag1","hashtag2"]},{"1352044538":["hashtag1","hashtag2"]},{"1352044534":["hashtag1","hashtag2"]},{"1352044528":["hashtag1","hashtag2"]},{"1352044536":["hashtag1","hashtag2"]},{"1352044530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044532, 1352044538, 1352044534, 1352044528, 1352044536, 1352044530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08346438407898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:04:32.619901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_36_9348.jpg', '/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_47_10337.jpg', '/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_56_9326.jpg', '/home/pi/Desktop/images/14042025/13/34/image_14042025_13_35_06_10333.jpg', '/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_17_10444.jpg', '/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_26_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_36_9348.jpg
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_47_10337.jpg
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_56_9326.jpg
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_35_06_10333.jpg
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_17_10444.jpg
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_26_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044553","1352044558","1352044555","1352044549","1352044557","1352044551"],"photo_ids_order":["1352044549","1352044551","1352044553","1352044555","1352044557","1352044558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77825468e834b4eea6f3cd2963859ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5384989031542477010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107534174,"filename":"image_14042025_13_34_56_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64b1794bf2faf7ea1febde0687092beb.jpg","text":"TemporaryFile(/tmp/multipartBody1877715255640289974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107534174,"filename":"image_14042025_13_35_26_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a04a0064741d34b8b951e98eb7d942d.jpg","text":"TemporaryFile(/tmp/multipartBody4495053246866487971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107534174,"filename":"image_14042025_13_35_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6788da230afff76231ac936958fc533.jpg","text":"TemporaryFile(/tmp/multipartBody8062121583443315665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107534174,"filename":"image_14042025_13_34_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52d3080a23265466660a476afcb0c3ad.jpg","text":"TemporaryFile(/tmp/multipartBody4239517148716206603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107534174,"filename":"image_14042025_13_35_17_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4ff47876b35210eef7b7eaeaa607fde.jpg","text":"TemporaryFile(/tmp/multipartBody4718026117870195964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107534174,"filename":"image_14042025_13_34_47_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044553","file1":"1352044551","file0":"1352044549","file4":"1352044557","file5":"1352044558","file3":"1352044555"},"map_files_photo_id_array":[{"photo_id":"1352044558","filename":"file5"},{"photo_id":"1352044553","filename":"file2"},{"photo_id":"1352044557","filename":"file4"},{"photo_id":"1352044551","filename":"file1"},{"photo_id":"1352044549","filename":"file0"},{"photo_id":"1352044555","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044553":["hashtag1","hashtag2"]},{"1352044558":["hashtag1","hashtag2"]},{"1352044555":["hashtag1","hashtag2"]},{"1352044549":["hashtag1","hashtag2"]},{"1352044557":["hashtag1","hashtag2"]},{"1352044551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044553, 1352044558, 1352044555, 1352044549, 1352044557, 1352044551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.290008783340454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:05:33.041585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_37_10334.jpg', '/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_47_10353.jpg', '/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_56_9335.jpg', '/home/pi/Desktop/images/14042025/13/35/image_14042025_13_36_07_10446.jpg', '/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_16_9351.jpg', '/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_37_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_37_10334.jpg
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_47_10353.jpg
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_56_9335.jpg
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_36_07_10446.jpg
/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_16_9351.jpg
/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_37_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044580","1352044574","1352044576","1352044570","1352044573","1352044578"],"photo_ids_order":["1352044570","1352044573","1352044574","1352044576","1352044578","1352044580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2b9b73eb85ffbcf49b28077005c391e.jpg","text":"TemporaryFile(/tmp/multipartBody8247977056552040532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107594611,"filename":"image_14042025_13_36_37_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12ae75e7093346e19fa22101e5b7529f.jpg","text":"TemporaryFile(/tmp/multipartBody8442396292714330512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107594611,"filename":"image_14042025_13_35_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73438585e73024bcbb33d681c69dd64a.jpg","text":"TemporaryFile(/tmp/multipartBody8739962753691222973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107594611,"filename":"image_14042025_13_36_07_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21f7731d7eee09bd31bbdab46d4d97af.jpg","text":"TemporaryFile(/tmp/multipartBody2249497549459011760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107594611,"filename":"image_14042025_13_35_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c357d7de7f083a3a3677ba4f2719eaf8.jpg","text":"TemporaryFile(/tmp/multipartBody1711933455956471180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107594611,"filename":"image_14042025_13_35_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7f1cf690824c4dd584571bf89d7008a.jpg","text":"TemporaryFile(/tmp/multipartBody891180169642486326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107594611,"filename":"image_14042025_13_36_16_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044574","file1":"1352044573","file0":"1352044570","file4":"1352044578","file5":"1352044580","file3":"1352044576"},"map_files_photo_id_array":[{"photo_id":"1352044580","filename":"file5"},{"photo_id":"1352044574","filename":"file2"},{"photo_id":"1352044578","filename":"file4"},{"photo_id":"1352044573","filename":"file1"},{"photo_id":"1352044570","filename":"file0"},{"photo_id":"1352044576","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044580":["hashtag1","hashtag2"]},{"1352044574":["hashtag1","hashtag2"]},{"1352044576":["hashtag1","hashtag2"]},{"1352044570":["hashtag1","hashtag2"]},{"1352044573":["hashtag1","hashtag2"]},{"1352044578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044580, 1352044574, 1352044576, 1352044570, 1352044573, 1352044578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.64616370201111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:06:32.179053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_46_9356.jpg', '/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_57_10353.jpg', '/home/pi/Desktop/images/14042025/13/36/image_14042025_13_37_07_10376.jpg', '/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_16_9331.jpg', '/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_27_10418.jpg', '/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_36_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_46_9356.jpg
/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_57_10353.jpg
/home/pi/Desktop/images/14042025/13/36/image_14042025_13_37_07_10376.jpg
/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_16_9331.jpg
/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_27_10418.jpg
/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_36_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044592","1352044589","1352044594","1352044591","1352044590","1352044593"],"photo_ids_order":["1352044589","1352044590","1352044591","1352044592","1352044593","1352044594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70d3a0bc64d48ff7e1ba6ecb55fda2dd.jpg","text":"TemporaryFile(/tmp/multipartBody2274270287702017106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107653748,"filename":"image_14042025_13_37_16_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ba89739124b6be38ee1f23f78f088f8.jpg","text":"TemporaryFile(/tmp/multipartBody8499018274886700279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107653748,"filename":"image_14042025_13_36_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7da408baed803535b39bce1cde603123.jpg","text":"TemporaryFile(/tmp/multipartBody1181827903552180774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107653748,"filename":"image_14042025_13_37_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f3fc0775828bb81f690eef78fe0e152.jpg","text":"TemporaryFile(/tmp/multipartBody8269051739303092619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107653748,"filename":"image_14042025_13_37_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00ca1410297b7bedaf67075168a0957b.jpg","text":"TemporaryFile(/tmp/multipartBody7935220270618524559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107653748,"filename":"image_14042025_13_36_57_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/28286241fe242c89ebfb25629b83a93c.jpg","text":"TemporaryFile(/tmp/multipartBody8049594660713945916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107653748,"filename":"image_14042025_13_37_27_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044591","file1":"1352044590","file0":"1352044589","file4":"1352044593","file5":"1352044594","file3":"1352044592"},"map_files_photo_id_array":[{"photo_id":"1352044594","filename":"file5"},{"photo_id":"1352044591","filename":"file2"},{"photo_id":"1352044593","filename":"file4"},{"photo_id":"1352044590","filename":"file1"},{"photo_id":"1352044589","filename":"file0"},{"photo_id":"1352044592","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044592":["hashtag1","hashtag2"]},{"1352044589":["hashtag1","hashtag2"]},{"1352044594":["hashtag1","hashtag2"]},{"1352044591":["hashtag1","hashtag2"]},{"1352044590":["hashtag1","hashtag2"]},{"1352044593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044592, 1352044589, 1352044594, 1352044591, 1352044590, 1352044593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.265644311904907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:07:32.474000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_57_10409.jpg', '/home/pi/Desktop/images/14042025/13/37/image_14042025_13_38_06_9395.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_17_10385.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_26_9344.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_37_10358.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_47_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_57_10409.jpg
/home/pi/Desktop/images/14042025/13/37/image_14042025_13_38_06_9395.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_17_10385.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_26_9344.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_37_10358.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_47_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044742","1352044660","1352044756","1352044684","1352044728","1352044716"],"photo_ids_order":["1352044660","1352044684","1352044716","1352044728","1352044742","1352044756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e47dc102ffb1fa81e13f0f8250488f01.jpg","text":"TemporaryFile(/tmp/multipartBody6229842493485638561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107714040,"filename":"image_14042025_13_38_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d896d6c3caca24a32c51eed724e430b.jpg","text":"TemporaryFile(/tmp/multipartBody3287096229139615657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107714040,"filename":"image_14042025_13_37_57_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9ae51090e2f125af23eb41a27a7e4fb.jpg","text":"TemporaryFile(/tmp/multipartBody254623589093056260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107714040,"filename":"image_14042025_13_38_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/516b64927735eb7a1b88196f12b8756e.jpg","text":"TemporaryFile(/tmp/multipartBody5522883307760443936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107714040,"filename":"image_14042025_13_38_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82a976f4730d045d1e0c66a96972598f.jpg","text":"TemporaryFile(/tmp/multipartBody6615585369875751500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107714040,"filename":"image_14042025_13_38_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aaa09ad15f798160e94982cbd7ae0a05.jpg","text":"TemporaryFile(/tmp/multipartBody934681661625745594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107714040,"filename":"image_14042025_13_38_17_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044716","file1":"1352044684","file0":"1352044660","file4":"1352044742","file5":"1352044756","file3":"1352044728"},"map_files_photo_id_array":[{"photo_id":"1352044756","filename":"file5"},{"photo_id":"1352044716","filename":"file2"},{"photo_id":"1352044742","filename":"file4"},{"photo_id":"1352044684","filename":"file1"},{"photo_id":"1352044660","filename":"file0"},{"photo_id":"1352044728","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044742":["hashtag1","hashtag2"]},{"1352044660":["hashtag1","hashtag2"]},{"1352044756":["hashtag1","hashtag2"]},{"1352044684":["hashtag1","hashtag2"]},{"1352044728":["hashtag1","hashtag2"]},{"1352044716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044742, 1352044660, 1352044756, 1352044684, 1352044728, 1352044716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.277417182922363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:08:32.536429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_56_9342.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_39_07_10341.jpg', '/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_17_10448.jpg', '/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_26_9358.jpg', '/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_37_10406.jpg', '/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_46_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_56_9342.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_39_07_10341.jpg
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_17_10448.jpg
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_26_9358.jpg
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_37_10406.jpg
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_46_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044889","1352044940","1352044876","1352044942","1352044915","1352044944"],"photo_ids_order":["1352044876","1352044889","1352044915","1352044940","1352044942","1352044944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96a128ae81c64f40a385fca3930177f0.jpg","text":"TemporaryFile(/tmp/multipartBody9014313051685156925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107774112,"filename":"image_14042025_13_39_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57582190f1935620ebb5cb0d8575c269.jpg","text":"TemporaryFile(/tmp/multipartBody8850624890347370246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107774112,"filename":"image_14042025_13_39_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76f874655c3720e4237a568c2b0287f7.jpg","text":"TemporaryFile(/tmp/multipartBody2168285293074179025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107774112,"filename":"image_14042025_13_38_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/49c72352e6cd3d158741995608718637.jpg","text":"TemporaryFile(/tmp/multipartBody3215398524381189612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107774112,"filename":"image_14042025_13_39_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/144b01d8b7679b47b79029af16762828.jpg","text":"TemporaryFile(/tmp/multipartBody6980972455727676379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107774112,"filename":"image_14042025_13_39_17_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e67d8846a8314e34eab528a6b57b226.jpg","text":"TemporaryFile(/tmp/multipartBody660185642860947667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107774112,"filename":"image_14042025_13_39_46_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044915","file1":"1352044889","file0":"1352044876","file4":"1352044942","file5":"1352044944","file3":"1352044940"},"map_files_photo_id_array":[{"photo_id":"1352044944","filename":"file5"},{"photo_id":"1352044915","filename":"file2"},{"photo_id":"1352044942","filename":"file4"},{"photo_id":"1352044889","filename":"file1"},{"photo_id":"1352044876","filename":"file0"},{"photo_id":"1352044940","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044889":["hashtag1","hashtag2"]},{"1352044940":["hashtag1","hashtag2"]},{"1352044876":["hashtag1","hashtag2"]},{"1352044942":["hashtag1","hashtag2"]},{"1352044915":["hashtag1","hashtag2"]},{"1352044944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044889, 1352044940, 1352044876, 1352044942, 1352044915, 1352044944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.868890523910522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:09:32.813615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_56_10344.jpg', '/home/pi/Desktop/images/14042025/13/39/image_14042025_13_40_07_10319.jpg', '/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_16_9350.jpg', '/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_27_10411.jpg', '/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_37_10406.jpg', '/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_46_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_56_10344.jpg
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_40_07_10319.jpg
/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_16_9350.jpg
/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_27_10411.jpg
/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_37_10406.jpg
/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_46_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044967","1352044966","1352044960","1352044963","1352044957","1352044965"],"photo_ids_order":["1352044957","1352044960","1352044963","1352044965","1352044966","1352044967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1560eda85a2661d5d673248ee979e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3148376044765021565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107834374,"filename":"image_14042025_13_40_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56aee3ea1e33a133cd676cd7682c0e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8147920144260675335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107834374,"filename":"image_14042025_13_40_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b5e3c01a122471ae5bf1f0a91051f69.jpg","text":"TemporaryFile(/tmp/multipartBody3940713984066158398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107834374,"filename":"image_14042025_13_40_07_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb6257b548d5641230eff0b5005ef710.jpg","text":"TemporaryFile(/tmp/multipartBody3387557046216453856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107834374,"filename":"image_14042025_13_40_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9464661bbfa4e79588b8750e44d744fb.jpg","text":"TemporaryFile(/tmp/multipartBody6091718453029713105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107834374,"filename":"image_14042025_13_39_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a5f366e5d1ab3168b741a8922783a92.jpg","text":"TemporaryFile(/tmp/multipartBody1095252409653906771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107834374,"filename":"image_14042025_13_40_27_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044963","file1":"1352044960","file0":"1352044957","file4":"1352044966","file5":"1352044967","file3":"1352044965"},"map_files_photo_id_array":[{"photo_id":"1352044967","filename":"file5"},{"photo_id":"1352044963","filename":"file2"},{"photo_id":"1352044966","filename":"file4"},{"photo_id":"1352044960","filename":"file1"},{"photo_id":"1352044957","filename":"file0"},{"photo_id":"1352044965","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044967":["hashtag1","hashtag2"]},{"1352044966":["hashtag1","hashtag2"]},{"1352044960":["hashtag1","hashtag2"]},{"1352044963":["hashtag1","hashtag2"]},{"1352044957":["hashtag1","hashtag2"]},{"1352044965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044967, 1352044966, 1352044960, 1352044963, 1352044957, 1352044965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.888545751571655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:10:33.149171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_57_10416.jpg', '/home/pi/Desktop/images/14042025/13/40/image_14042025_13_41_06_9380.jpg', '/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_16_10336.jpg', '/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_27_10488.jpg', '/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_36_9336.jpg', '/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_47_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_57_10416.jpg
/home/pi/Desktop/images/14042025/13/40/image_14042025_13_41_06_9380.jpg
/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_16_10336.jpg
/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_27_10488.jpg
/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_36_9336.jpg
/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_47_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044982","1352044987","1352044989","1352044980","1352044983","1352044985"],"photo_ids_order":["1352044980","1352044982","1352044983","1352044985","1352044987","1352044989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3791dcfebb1853ecd5e8cf9c332acf9e.jpg","text":"TemporaryFile(/tmp/multipartBody2639241674688641760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107894719,"filename":"image_14042025_13_41_06_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cf203a8addb5fae1f92ef6888f42b08.jpg","text":"TemporaryFile(/tmp/multipartBody1810445608108951550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107894719,"filename":"image_14042025_13_41_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1c345fe4ae32a683e78a02d66d019bb.jpg","text":"TemporaryFile(/tmp/multipartBody570668953087826349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107894719,"filename":"image_14042025_13_41_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7924a32c3412ab53e4bdff48379c3760.jpg","text":"TemporaryFile(/tmp/multipartBody4278542077273875165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107894719,"filename":"image_14042025_13_40_57_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6dd14f037aba113506ea0b4d6d47859.jpg","text":"TemporaryFile(/tmp/multipartBody9196121432162794058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107894719,"filename":"image_14042025_13_41_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbef052df7be676f0b342405473f2ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2012300109240240232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107894719,"filename":"image_14042025_13_41_27_10488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044983","file1":"1352044982","file0":"1352044980","file4":"1352044987","file5":"1352044989","file3":"1352044985"},"map_files_photo_id_array":[{"photo_id":"1352044989","filename":"file5"},{"photo_id":"1352044983","filename":"file2"},{"photo_id":"1352044987","filename":"file4"},{"photo_id":"1352044982","filename":"file1"},{"photo_id":"1352044980","filename":"file0"},{"photo_id":"1352044985","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352044982":["hashtag1","hashtag2"]},{"1352044987":["hashtag1","hashtag2"]},{"1352044989":["hashtag1","hashtag2"]},{"1352044980":["hashtag1","hashtag2"]},{"1352044983":["hashtag1","hashtag2"]},{"1352044985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352044982, 1352044987, 1352044989, 1352044980, 1352044983, 1352044985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.45438838005066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:11:32.254481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_57_10357.jpg', '/home/pi/Desktop/images/14042025/13/41/image_14042025_13_42_07_9837.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_16_9363.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_27_10437.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_36_9680.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_47_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_57_10357.jpg
/home/pi/Desktop/images/14042025/13/41/image_14042025_13_42_07_9837.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_16_9363.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_27_10437.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_36_9680.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_47_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045012","1352044999","1352045002","1352045005","1352045008","1352045010"],"photo_ids_order":["1352044999","1352045002","1352045005","1352045008","1352045010","1352045012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42a420c6727ace853e44f8bd3c1207ac.jpg","text":"TemporaryFile(/tmp/multipartBody6478629849619952740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107953855,"filename":"image_14042025_13_42_47_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5a67d4ee528c91a681a5dc26b94a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1165530601581892473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107953855,"filename":"image_14042025_13_41_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3751f103b3cb058f5dc2ae51ae330701.jpg","text":"TemporaryFile(/tmp/multipartBody625737172787225616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107953855,"filename":"image_14042025_13_42_07_9837.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85a2edde625b7eda225f2018155a65e1.jpg","text":"TemporaryFile(/tmp/multipartBody1655161216422845668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107953855,"filename":"image_14042025_13_42_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a56e30ced2699dbd0f95ae3afb31268.jpg","text":"TemporaryFile(/tmp/multipartBody1506139644523421612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107953855,"filename":"image_14042025_13_42_27_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17aa6e6f30280f750f87c690ce34cbea.jpg","text":"TemporaryFile(/tmp/multipartBody1198203853863731041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745107953855,"filename":"image_14042025_13_42_36_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045005","file1":"1352045002","file0":"1352044999","file4":"1352045010","file5":"1352045012","file3":"1352045008"},"map_files_photo_id_array":[{"photo_id":"1352045012","filename":"file5"},{"photo_id":"1352045005","filename":"file2"},{"photo_id":"1352045010","filename":"file4"},{"photo_id":"1352045002","filename":"file1"},{"photo_id":"1352044999","filename":"file0"},{"photo_id":"1352045008","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045012":["hashtag1","hashtag2"]},{"1352044999":["hashtag1","hashtag2"]},{"1352045002":["hashtag1","hashtag2"]},{"1352045005":["hashtag1","hashtag2"]},{"1352045008":["hashtag1","hashtag2"]},{"1352045010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045012, 1352044999, 1352045002, 1352045005, 1352045008, 1352045010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59507751464844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:12:32.458209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_56_9402.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_43_07_10366.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_17_10455.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_26_9348.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_37_10484.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_56_9402.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_43_07_10366.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_17_10455.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_26_9348.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_37_10484.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_46_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045033","1352045029","1352045023","1352045026","1352045031","1352045034"],"photo_ids_order":["1352045023","1352045026","1352045029","1352045031","1352045033","1352045034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34b7ea8df8479a588425fba8cb5f8d09.jpg","text":"TemporaryFile(/tmp/multipartBody2647319549179210389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108014023,"filename":"image_14042025_13_43_37_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b75c44165c14d75bd417a0a577b96c6.jpg","text":"TemporaryFile(/tmp/multipartBody5034066001867447878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108014023,"filename":"image_14042025_13_43_17_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ac9c1abc1bfa64774d7f25ce7feb6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6843498204243868645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108014023,"filename":"image_14042025_13_42_56_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/276c0997099e384df3856839bbe5c456.jpg","text":"TemporaryFile(/tmp/multipartBody910564838223507978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108014023,"filename":"image_14042025_13_43_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/795627039eaaaac5995c3f1bf8dbe95c.jpg","text":"TemporaryFile(/tmp/multipartBody5522982619717881359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108014023,"filename":"image_14042025_13_43_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00f5f41d99158d5a7b468e2b5473c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody2016322152951864867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108014023,"filename":"image_14042025_13_43_46_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045029","file1":"1352045026","file0":"1352045023","file4":"1352045033","file5":"1352045034","file3":"1352045031"},"map_files_photo_id_array":[{"photo_id":"1352045034","filename":"file5"},{"photo_id":"1352045029","filename":"file2"},{"photo_id":"1352045033","filename":"file4"},{"photo_id":"1352045026","filename":"file1"},{"photo_id":"1352045023","filename":"file0"},{"photo_id":"1352045031","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045033":["hashtag1","hashtag2"]},{"1352045029":["hashtag1","hashtag2"]},{"1352045023":["hashtag1","hashtag2"]},{"1352045026":["hashtag1","hashtag2"]},{"1352045031":["hashtag1","hashtag2"]},{"1352045034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045033, 1352045029, 1352045023, 1352045026, 1352045031, 1352045034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2890408039093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:13:32.615203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_57_10398.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_44_07_10453.jpg', '/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_16_9349.jpg', '/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_27_10441.jpg', '/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_47_10357.jpg', '/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_57_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_57_10398.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_44_07_10453.jpg
/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_16_9349.jpg
/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_27_10441.jpg
/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_47_10357.jpg
/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_57_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045051","1352045050","1352045053","1352045043","1352045046","1352045048"],"photo_ids_order":["1352045043","1352045046","1352045048","1352045050","1352045051","1352045053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4880c3e9ec32d2624f6a929597a787df.jpg","text":"TemporaryFile(/tmp/multipartBody4184750144269218215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108074190,"filename":"image_14042025_13_44_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e9b2ee12116f407de04b0b98bc6f586.jpg","text":"TemporaryFile(/tmp/multipartBody7024735191163987831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108074190,"filename":"image_14042025_13_44_27_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77690f86c5c023bb6dbca4a1fc4d8c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4418616319130649437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108074190,"filename":"image_14042025_13_44_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c535e21a3d91bbcff1ee2255b2f0199.jpg","text":"TemporaryFile(/tmp/multipartBody7382112507595900853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108074190,"filename":"image_14042025_13_43_57_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a332b770e342ab4c30893e5677b0a66.jpg","text":"TemporaryFile(/tmp/multipartBody8678067230842465680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108074190,"filename":"image_14042025_13_44_07_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e61bfcc0a2c86ae50345ef8be5900a1.jpg","text":"TemporaryFile(/tmp/multipartBody4786378545791039017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108074190,"filename":"image_14042025_13_44_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045048","file1":"1352045046","file0":"1352045043","file4":"1352045051","file5":"1352045053","file3":"1352045050"},"map_files_photo_id_array":[{"photo_id":"1352045053","filename":"file5"},{"photo_id":"1352045048","filename":"file2"},{"photo_id":"1352045051","filename":"file4"},{"photo_id":"1352045046","filename":"file1"},{"photo_id":"1352045043","filename":"file0"},{"photo_id":"1352045050","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045051":["hashtag1","hashtag2"]},{"1352045050":["hashtag1","hashtag2"]},{"1352045053":["hashtag1","hashtag2"]},{"1352045043":["hashtag1","hashtag2"]},{"1352045046":["hashtag1","hashtag2"]},{"1352045048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045051, 1352045050, 1352045053, 1352045043, 1352045046, 1352045048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25982713699341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:14:32.823330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/44/image_14042025_13_45_06_9434.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_17_10499.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_26_9344.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_37_10443.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_47_10429.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_56_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/44/image_14042025_13_45_06_9434.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_17_10499.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_26_9344.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_37_10443.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_47_10429.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_56_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045074","1352045068","1352045076","1352045070","1352045072","1352045066"],"photo_ids_order":["1352045066","1352045068","1352045070","1352045072","1352045074","1352045076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edab8bf9466325f2130c4c7f6caf2c2f.jpg","text":"TemporaryFile(/tmp/multipartBody70488528570927460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108134395,"filename":"image_14042025_13_45_47_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba2b1d479f20864b473df6f68e491ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1699344697438210864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108134395,"filename":"image_14042025_13_45_17_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27601718c2b1ad724a49237b4a89bc6f.jpg","text":"TemporaryFile(/tmp/multipartBody373844054542569341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108134395,"filename":"image_14042025_13_45_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/741dfce1cf683b0d95a3b0a649d07002.jpg","text":"TemporaryFile(/tmp/multipartBody5946081604316811023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108134395,"filename":"image_14042025_13_45_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c25e6d5645a7ecafd895c173f2f50999.jpg","text":"TemporaryFile(/tmp/multipartBody9204351104911490361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108134395,"filename":"image_14042025_13_45_37_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/921eeb0d4dc31800e1ac8f235a7bfa80.jpg","text":"TemporaryFile(/tmp/multipartBody3388340171046392303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108134395,"filename":"image_14042025_13_45_06_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045070","file1":"1352045068","file0":"1352045066","file4":"1352045074","file5":"1352045076","file3":"1352045072"},"map_files_photo_id_array":[{"photo_id":"1352045076","filename":"file5"},{"photo_id":"1352045070","filename":"file2"},{"photo_id":"1352045074","filename":"file4"},{"photo_id":"1352045068","filename":"file1"},{"photo_id":"1352045066","filename":"file0"},{"photo_id":"1352045072","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045074":["hashtag1","hashtag2"]},{"1352045068":["hashtag1","hashtag2"]},{"1352045076":["hashtag1","hashtag2"]},{"1352045070":["hashtag1","hashtag2"]},{"1352045072":["hashtag1","hashtag2"]},{"1352045066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045074, 1352045068, 1352045076, 1352045070, 1352045072, 1352045066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.938021183013916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:15:32.928537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/45/image_14042025_13_46_07_10455.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_16_9351.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_27_10413.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_37_10364.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_46_9365.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_57_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_46_07_10455.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_16_9351.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_27_10413.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_37_10364.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_46_9365.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_57_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045098","1352045092","1352045089","1352045094","1352045087","1352045096"],"photo_ids_order":["1352045087","1352045089","1352045092","1352045094","1352045096","1352045098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe1c69305e661c5ae29dce510eea3a50.jpg","text":"TemporaryFile(/tmp/multipartBody4108648508317086401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108194502,"filename":"image_14042025_13_46_57_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da5fb615433386a7d07c9a61527e4d13.jpg","text":"TemporaryFile(/tmp/multipartBody7747717667360685810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108194502,"filename":"image_14042025_13_46_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eaef511e108dee027e9381a7d53bd357.jpg","text":"TemporaryFile(/tmp/multipartBody3653476850694080202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108194502,"filename":"image_14042025_13_46_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50dcfe9070e776c41b2f3d3da33fc0b9.jpg","text":"TemporaryFile(/tmp/multipartBody6633068000585094003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108194502,"filename":"image_14042025_13_46_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e61e475e570717f3a1195f01713dde57.jpg","text":"TemporaryFile(/tmp/multipartBody4780915644011882502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108194502,"filename":"image_14042025_13_46_07_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b368e068cca8380f68f1536cb1a60e6b.jpg","text":"TemporaryFile(/tmp/multipartBody304045223672088871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108194502,"filename":"image_14042025_13_46_46_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045092","file1":"1352045089","file0":"1352045087","file4":"1352045096","file5":"1352045098","file3":"1352045094"},"map_files_photo_id_array":[{"photo_id":"1352045098","filename":"file5"},{"photo_id":"1352045092","filename":"file2"},{"photo_id":"1352045096","filename":"file4"},{"photo_id":"1352045089","filename":"file1"},{"photo_id":"1352045087","filename":"file0"},{"photo_id":"1352045094","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045098":["hashtag1","hashtag2"]},{"1352045092":["hashtag1","hashtag2"]},{"1352045089":["hashtag1","hashtag2"]},{"1352045094":["hashtag1","hashtag2"]},{"1352045087":["hashtag1","hashtag2"]},{"1352045096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045098, 1352045092, 1352045089, 1352045094, 1352045087, 1352045096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.266358137130737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:16:33.157256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/46/image_14042025_13_47_07_10329.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_16_9354.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_27_10387.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_36_9451.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_47_10351.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_57_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_47_07_10329.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_16_9354.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_27_10387.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_36_9451.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_47_10351.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_57_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045111","1352045108","1352045113","1352045107","1352045112","1352045109"],"photo_ids_order":["1352045107","1352045108","1352045109","1352045111","1352045112","1352045113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/369b4d363b5b098245b47891837eaea6.jpg","text":"TemporaryFile(/tmp/multipartBody1444627076086029413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108254733,"filename":"image_14042025_13_47_36_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92ce180e2bf60202e8165e9c6982aac7.jpg","text":"TemporaryFile(/tmp/multipartBody5183666538999971355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108254733,"filename":"image_14042025_13_47_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e152ca5947bc0e969f9e86f824e0da50.jpg","text":"TemporaryFile(/tmp/multipartBody5904301902958440171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108254733,"filename":"image_14042025_13_47_57_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/883b9c0e839305901430f29267b718ef.jpg","text":"TemporaryFile(/tmp/multipartBody8751967733066882478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108254733,"filename":"image_14042025_13_47_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b166f5bc6769462b09fb7dffaf76626.jpg","text":"TemporaryFile(/tmp/multipartBody8818277210817042332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108254733,"filename":"image_14042025_13_47_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/464c208d0e49503081d9d5dfa187f32c.jpg","text":"TemporaryFile(/tmp/multipartBody1300390146596414128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108254733,"filename":"image_14042025_13_47_27_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045109","file1":"1352045108","file0":"1352045107","file4":"1352045112","file5":"1352045113","file3":"1352045111"},"map_files_photo_id_array":[{"photo_id":"1352045113","filename":"file5"},{"photo_id":"1352045109","filename":"file2"},{"photo_id":"1352045112","filename":"file4"},{"photo_id":"1352045108","filename":"file1"},{"photo_id":"1352045107","filename":"file0"},{"photo_id":"1352045111","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045111":["hashtag1","hashtag2"]},{"1352045108":["hashtag1","hashtag2"]},{"1352045113":["hashtag1","hashtag2"]},{"1352045107":["hashtag1","hashtag2"]},{"1352045112":["hashtag1","hashtag2"]},{"1352045109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045111, 1352045108, 1352045113, 1352045107, 1352045112, 1352045109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.505645751953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:17:32.448883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/47/image_14042025_13_48_06_9336.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_17_10389.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_26_9395.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_37_10443.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_47_10446.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_56_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_48_06_9336.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_17_10389.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_26_9395.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_37_10443.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_47_10446.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_56_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045123","1352045140","1352045137","1352045130","1352045133","1352045127"],"photo_ids_order":["1352045123","1352045127","1352045130","1352045133","1352045137","1352045140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5aea7c62bbb2c486ca9fd270c8098c5.jpg","text":"TemporaryFile(/tmp/multipartBody8660693455227727579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108314009,"filename":"image_14042025_13_48_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b8cfbfc33a114e8ada2ec542c722cc5.jpg","text":"TemporaryFile(/tmp/multipartBody6271962995165125439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108314009,"filename":"image_14042025_13_48_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac5ee2494ec37a41b55c6a8873f74f14.jpg","text":"TemporaryFile(/tmp/multipartBody646966290847422221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108314009,"filename":"image_14042025_13_48_47_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be19db601825aa88234d576582668265.jpg","text":"TemporaryFile(/tmp/multipartBody7958719194388521046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108314009,"filename":"image_14042025_13_48_26_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81641e70a8d11d91f8bdc0dfb5ec9270.jpg","text":"TemporaryFile(/tmp/multipartBody9156583721933544669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108314009,"filename":"image_14042025_13_48_37_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a08183041e44317202d6f03b0ca58f6.jpg","text":"TemporaryFile(/tmp/multipartBody8797618367295903984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108314009,"filename":"image_14042025_13_48_17_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045130","file1":"1352045127","file0":"1352045123","file4":"1352045137","file5":"1352045140","file3":"1352045133"},"map_files_photo_id_array":[{"photo_id":"1352045140","filename":"file5"},{"photo_id":"1352045130","filename":"file2"},{"photo_id":"1352045137","filename":"file4"},{"photo_id":"1352045127","filename":"file1"},{"photo_id":"1352045123","filename":"file0"},{"photo_id":"1352045133","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045123":["hashtag1","hashtag2"]},{"1352045140":["hashtag1","hashtag2"]},{"1352045137":["hashtag1","hashtag2"]},{"1352045130":["hashtag1","hashtag2"]},{"1352045133":["hashtag1","hashtag2"]},{"1352045127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045123, 1352045140, 1352045137, 1352045130, 1352045133, 1352045127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.511878490447998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:18:32.672858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/48/image_14042025_13_49_07_10460.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_27_10355.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_37_10336.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_46_9432.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_57_10403.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_50_07_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_49_07_10460.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_27_10355.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_37_10336.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_46_9432.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_57_10403.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_50_07_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045156","1352045159","1352045150","1352045167","1352045163","1352045153"],"photo_ids_order":["1352045150","1352045153","1352045156","1352045159","1352045163","1352045167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2559a8cdfbdec4ac972f94134280fb23.jpg","text":"TemporaryFile(/tmp/multipartBody4739899125193457386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108374244,"filename":"image_14042025_13_49_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a4f4c17266b006c8f1b6b4b3e349fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3375018990124467833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108374244,"filename":"image_14042025_13_49_46_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b8ce545657b10297d769fff9e8923bc.jpg","text":"TemporaryFile(/tmp/multipartBody7123011209778921812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108374244,"filename":"image_14042025_13_49_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/816bc392a854e42aff47d7f4b25ccff6.jpg","text":"TemporaryFile(/tmp/multipartBody8653089067190081451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108374244,"filename":"image_14042025_13_50_07_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ca4321b6121d6ff3c753a0b993982c5.jpg","text":"TemporaryFile(/tmp/multipartBody4477479617795354220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108374244,"filename":"image_14042025_13_49_57_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4a4816f06625004316c3a107bb3189e.jpg","text":"TemporaryFile(/tmp/multipartBody8762462931722159536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108374244,"filename":"image_14042025_13_49_27_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045156","file1":"1352045153","file0":"1352045150","file4":"1352045163","file5":"1352045167","file3":"1352045159"},"map_files_photo_id_array":[{"photo_id":"1352045167","filename":"file5"},{"photo_id":"1352045156","filename":"file2"},{"photo_id":"1352045163","filename":"file4"},{"photo_id":"1352045153","filename":"file1"},{"photo_id":"1352045150","filename":"file0"},{"photo_id":"1352045159","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045156":["hashtag1","hashtag2"]},{"1352045159":["hashtag1","hashtag2"]},{"1352045150":["hashtag1","hashtag2"]},{"1352045167":["hashtag1","hashtag2"]},{"1352045163":["hashtag1","hashtag2"]},{"1352045153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045156, 1352045159, 1352045150, 1352045167, 1352045163, 1352045153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08151292800903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:19:32.831885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_17_9445.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_27_10361.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_36_9345.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_47_10374.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_57_10427.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_51_06_9313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_17_9445.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_27_10361.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_36_9345.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_47_10374.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_57_10427.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_51_06_9313.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4764735698699951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 02:19:42.853408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_17_9445.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_27_10361.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_36_9345.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_47_10374.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_57_10427.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_51_06_9313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_17_9445.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_27_10361.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_36_9345.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_47_10374.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_57_10427.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_51_06_9313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045194","1352045191","1352045187","1352045190","1352045183","1352045192"],"photo_ids_order":["1352045183","1352045187","1352045190","1352045191","1352045192","1352045194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/681997efbe2ca9721c0553a17a853255.jpg","text":"TemporaryFile(/tmp/multipartBody8641329763360728887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108443513,"filename":"image_14042025_13_51_06_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f71ad32d572f0c9145866331cbe61c69.jpg","text":"TemporaryFile(/tmp/multipartBody3716665026565823565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108443513,"filename":"image_14042025_13_50_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb58b31a0945107ae1ccb6236e32bf38.jpg","text":"TemporaryFile(/tmp/multipartBody7649959491362274845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108443513,"filename":"image_14042025_13_50_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2af52f929f74541a0dfd15b4bdfe4d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4318704979878304428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108443513,"filename":"image_14042025_13_50_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84ee7f6f43c85abea74e2bf53b16b3ab.jpg","text":"TemporaryFile(/tmp/multipartBody756904712286606797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108443513,"filename":"image_14042025_13_50_17_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23c953aedf2888f44cda23c27356da1c.jpg","text":"TemporaryFile(/tmp/multipartBody1128637311888713871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108443513,"filename":"image_14042025_13_50_57_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045190","file1":"1352045187","file0":"1352045183","file4":"1352045192","file5":"1352045194","file3":"1352045191"},"map_files_photo_id_array":[{"photo_id":"1352045194","filename":"file5"},{"photo_id":"1352045190","filename":"file2"},{"photo_id":"1352045192","filename":"file4"},{"photo_id":"1352045187","filename":"file1"},{"photo_id":"1352045183","filename":"file0"},{"photo_id":"1352045191","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045194":["hashtag1","hashtag2"]},{"1352045191":["hashtag1","hashtag2"]},{"1352045187":["hashtag1","hashtag2"]},{"1352045190":["hashtag1","hashtag2"]},{"1352045183":["hashtag1","hashtag2"]},{"1352045192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045194, 1352045191, 1352045187, 1352045190, 1352045183, 1352045192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6986985206604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:20:32.992103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_17_10466.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_26_9367.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_37_10412.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_47_10474.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_56_9338.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_52_07_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_17_10466.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_26_9367.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_37_10412.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_47_10474.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_56_9338.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_52_07_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045216","1352045204","1352045200","1352045211","1352045214","1352045208"],"photo_ids_order":["1352045200","1352045204","1352045208","1352045211","1352045214","1352045216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f538d46693bee9aa97713cb7027efacd.jpg","text":"TemporaryFile(/tmp/multipartBody5967553301039133646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108494573,"filename":"image_14042025_13_52_07_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb794ef13d9364d312f800a05681d660.jpg","text":"TemporaryFile(/tmp/multipartBody6880086079428885242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108494573,"filename":"image_14042025_13_51_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc66370876780e4485955f04e7822e23.jpg","text":"TemporaryFile(/tmp/multipartBody2893851506522730322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108494573,"filename":"image_14042025_13_51_17_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/406ba7745eae929c9aa7e647d109add3.jpg","text":"TemporaryFile(/tmp/multipartBody3052513329160771831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108494573,"filename":"image_14042025_13_51_47_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a24bbe262fbf7876d1643e4019d6cde.jpg","text":"TemporaryFile(/tmp/multipartBody2848848443063760496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108494573,"filename":"image_14042025_13_51_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f6d96082e7722c9fd861cb98b75b474.jpg","text":"TemporaryFile(/tmp/multipartBody5503291582194706198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108494573,"filename":"image_14042025_13_51_37_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045208","file1":"1352045204","file0":"1352045200","file4":"1352045214","file5":"1352045216","file3":"1352045211"},"map_files_photo_id_array":[{"photo_id":"1352045216","filename":"file5"},{"photo_id":"1352045208","filename":"file2"},{"photo_id":"1352045214","filename":"file4"},{"photo_id":"1352045204","filename":"file1"},{"photo_id":"1352045200","filename":"file0"},{"photo_id":"1352045211","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045216":["hashtag1","hashtag2"]},{"1352045204":["hashtag1","hashtag2"]},{"1352045200":["hashtag1","hashtag2"]},{"1352045211":["hashtag1","hashtag2"]},{"1352045214":["hashtag1","hashtag2"]},{"1352045208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045216, 1352045204, 1352045200, 1352045211, 1352045214, 1352045208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.473817110061646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:21:32.177906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_16_9333.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_27_10351.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_37_10351.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_46_9352.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_57_10358.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_53_07_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_16_9333.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_27_10351.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_37_10351.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_46_9352.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_57_10358.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_53_07_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045237","1352045223","1352045232","1352045226","1352045235","1352045229"],"photo_ids_order":["1352045223","1352045226","1352045229","1352045232","1352045235","1352045237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05fb2587f74d4e8d2c14f0b5a05bab8d.jpg","text":"TemporaryFile(/tmp/multipartBody1544084928659330969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108553745,"filename":"image_14042025_13_53_07_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c82dd88da8c29bac1713164a26c4f643.jpg","text":"TemporaryFile(/tmp/multipartBody4678851872978418014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108553745,"filename":"image_14042025_13_52_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ee1e193966fd8f536cdf5ea95586457.jpg","text":"TemporaryFile(/tmp/multipartBody6942366051598545844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108553745,"filename":"image_14042025_13_52_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a71e529d4f023990bb3eae75ed3210e.jpg","text":"TemporaryFile(/tmp/multipartBody8952034719504837013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108553745,"filename":"image_14042025_13_52_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a12233caf47504991f28b968a6c5d5e1.jpg","text":"TemporaryFile(/tmp/multipartBody4960528334500191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108553745,"filename":"image_14042025_13_52_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c04fb991356d00a51f3089d89c28a7ae.jpg","text":"TemporaryFile(/tmp/multipartBody8894770780823745867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108553745,"filename":"image_14042025_13_52_37_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045229","file1":"1352045226","file0":"1352045223","file4":"1352045235","file5":"1352045237","file3":"1352045232"},"map_files_photo_id_array":[{"photo_id":"1352045237","filename":"file5"},{"photo_id":"1352045229","filename":"file2"},{"photo_id":"1352045235","filename":"file4"},{"photo_id":"1352045226","filename":"file1"},{"photo_id":"1352045223","filename":"file0"},{"photo_id":"1352045232","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045237":["hashtag1","hashtag2"]},{"1352045223":["hashtag1","hashtag2"]},{"1352045232":["hashtag1","hashtag2"]},{"1352045226":["hashtag1","hashtag2"]},{"1352045235":["hashtag1","hashtag2"]},{"1352045229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045237, 1352045223, 1352045232, 1352045226, 1352045235, 1352045229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81491017341614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:22:32.491670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_16_9336.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_27_10470.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_36_9346.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_47_10380.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_57_10468.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_54_06_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_16_9336.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_27_10470.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_36_9346.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_47_10380.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_57_10468.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_54_06_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045249","1352045257","1352045251","1352045256","1352045253","1352045247"],"photo_ids_order":["1352045247","1352045249","1352045251","1352045253","1352045256","1352045257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca3ff3e30cb025cf274bacd0eb492c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3134548992855938292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108614052,"filename":"image_14042025_13_53_27_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ed040843ab3132e4356005ce4359bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6792978172482602925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108614052,"filename":"image_14042025_13_54_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/838fc5118302dd296486c6ec4393d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody2722585801664513435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108614052,"filename":"image_14042025_13_53_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3544b807651fa0866517141f86767dde.jpg","text":"TemporaryFile(/tmp/multipartBody2678318291531634752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108614052,"filename":"image_14042025_13_53_57_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35d85075891fe10162ccf45517668bce.jpg","text":"TemporaryFile(/tmp/multipartBody1812619070268191670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108614052,"filename":"image_14042025_13_53_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b92addc7283dcd25b439d6666772024.jpg","text":"TemporaryFile(/tmp/multipartBody2654137670762893582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108614052,"filename":"image_14042025_13_53_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045251","file1":"1352045249","file0":"1352045247","file4":"1352045256","file5":"1352045257","file3":"1352045253"},"map_files_photo_id_array":[{"photo_id":"1352045257","filename":"file5"},{"photo_id":"1352045251","filename":"file2"},{"photo_id":"1352045256","filename":"file4"},{"photo_id":"1352045249","filename":"file1"},{"photo_id":"1352045247","filename":"file0"},{"photo_id":"1352045253","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045249":["hashtag1","hashtag2"]},{"1352045257":["hashtag1","hashtag2"]},{"1352045251":["hashtag1","hashtag2"]},{"1352045256":["hashtag1","hashtag2"]},{"1352045253":["hashtag1","hashtag2"]},{"1352045247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045249, 1352045257, 1352045251, 1352045256, 1352045253, 1352045247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06760835647583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:23:32.652303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_17_10518.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_26_9358.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_47_10350.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_56_9336.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_55_07_10338.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_17_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_17_10518.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_26_9358.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_47_10350.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_56_9336.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_55_07_10338.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_17_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045281","1352045275","1352045278","1352045272","1352045269","1352045280"],"photo_ids_order":["1352045269","1352045272","1352045275","1352045278","1352045280","1352045281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11e0fa9b1fd784828283b3320c1c5b10.jpg","text":"TemporaryFile(/tmp/multipartBody8809715077520648784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108674215,"filename":"image_14042025_13_55_17_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3ab5e22d638d80db68972f8a10e9400.jpg","text":"TemporaryFile(/tmp/multipartBody8628906247145877285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108674215,"filename":"image_14042025_13_54_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f937a5b79e08b602f85cefbe417d7435.jpg","text":"TemporaryFile(/tmp/multipartBody4445723035157319973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108674215,"filename":"image_14042025_13_54_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/030f3c515f59433a596e943ce79044ab.jpg","text":"TemporaryFile(/tmp/multipartBody471815460386221504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108674215,"filename":"image_14042025_13_54_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/452a2744adb7020d8b00a40679c3fbc1.jpg","text":"TemporaryFile(/tmp/multipartBody4967835351157550182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108674215,"filename":"image_14042025_13_54_17_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecc233695357f4a3847a8261be1a0129.jpg","text":"TemporaryFile(/tmp/multipartBody1524328518553721148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108674215,"filename":"image_14042025_13_55_07_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045275","file1":"1352045272","file0":"1352045269","file4":"1352045280","file5":"1352045281","file3":"1352045278"},"map_files_photo_id_array":[{"photo_id":"1352045281","filename":"file5"},{"photo_id":"1352045275","filename":"file2"},{"photo_id":"1352045280","filename":"file4"},{"photo_id":"1352045272","filename":"file1"},{"photo_id":"1352045269","filename":"file0"},{"photo_id":"1352045278","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045281":["hashtag1","hashtag2"]},{"1352045275":["hashtag1","hashtag2"]},{"1352045278":["hashtag1","hashtag2"]},{"1352045272":["hashtag1","hashtag2"]},{"1352045269":["hashtag1","hashtag2"]},{"1352045280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045281, 1352045275, 1352045278, 1352045272, 1352045269, 1352045280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.503695249557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:24:32.972514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_26_9427.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_37_10444.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_46_9369.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_57_10347.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_56_07_10392.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_16_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_26_9427.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_37_10444.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_46_9369.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_57_10347.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_56_07_10392.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_16_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045303","1352045293","1352045299","1352045295","1352045297","1352045301"],"photo_ids_order":["1352045293","1352045295","1352045297","1352045299","1352045301","1352045303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ed7e389e7fc8545353030dfe0366439.jpg","text":"TemporaryFile(/tmp/multipartBody8012017511907324487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108734539,"filename":"image_14042025_13_56_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/958e531f942e076993987343d8124578.jpg","text":"TemporaryFile(/tmp/multipartBody1380481028115505170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108734539,"filename":"image_14042025_13_55_26_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d0f1646c16e28f5e2fcee7995fc4853.jpg","text":"TemporaryFile(/tmp/multipartBody4340517116897409640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108734539,"filename":"image_14042025_13_55_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee95bbfaffc9bf1a3774d896b7e08492.jpg","text":"TemporaryFile(/tmp/multipartBody2207570286905969933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108734539,"filename":"image_14042025_13_55_37_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c14e9ae084229e176a04dc255e7e5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7100797577587455725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108734539,"filename":"image_14042025_13_55_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/081fff6d369876c5634458f39efcec17.jpg","text":"TemporaryFile(/tmp/multipartBody4178144633364871202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108734539,"filename":"image_14042025_13_56_07_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045297","file1":"1352045295","file0":"1352045293","file4":"1352045301","file5":"1352045303","file3":"1352045299"},"map_files_photo_id_array":[{"photo_id":"1352045303","filename":"file5"},{"photo_id":"1352045297","filename":"file2"},{"photo_id":"1352045301","filename":"file4"},{"photo_id":"1352045295","filename":"file1"},{"photo_id":"1352045293","filename":"file0"},{"photo_id":"1352045299","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045303":["hashtag1","hashtag2"]},{"1352045293":["hashtag1","hashtag2"]},{"1352045299":["hashtag1","hashtag2"]},{"1352045295":["hashtag1","hashtag2"]},{"1352045297":["hashtag1","hashtag2"]},{"1352045301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045303, 1352045293, 1352045299, 1352045295, 1352045297, 1352045301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.528334617614746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:25:34.020838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_27_10429.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_36_9385.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_47_10429.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_57_10441.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_57_06_9427.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_17_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_27_10429.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_36_9385.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_47_10429.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_57_10441.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_57_06_9427.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_17_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045324","1352045318","1352045320","1352045322","1352045316","1352045313"],"photo_ids_order":["1352045313","1352045316","1352045318","1352045320","1352045322","1352045324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed3f34e52acf73325dcbac9349926137.jpg","text":"TemporaryFile(/tmp/multipartBody7983056439327776274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108795596,"filename":"image_14042025_13_57_17_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5590eb9d3faa7b95503ca96ac2d4a065.jpg","text":"TemporaryFile(/tmp/multipartBody3066806061796820437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108795596,"filename":"image_14042025_13_56_47_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a28d4cd5517d60baf83f4e936608e2c2.jpg","text":"TemporaryFile(/tmp/multipartBody9206541587720675799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108795596,"filename":"image_14042025_13_56_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c59fd718ad37921606fb79c8af8e49f.jpg","text":"TemporaryFile(/tmp/multipartBody1875952644438676693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108795596,"filename":"image_14042025_13_57_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e18de3cd891a253391024b5eca1e603.jpg","text":"TemporaryFile(/tmp/multipartBody7076210512998335998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108795596,"filename":"image_14042025_13_56_36_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5b8f2109d19778dc62b333ee6b203fd.jpg","text":"TemporaryFile(/tmp/multipartBody8703584416369148284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108795596,"filename":"image_14042025_13_56_27_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045318","file1":"1352045316","file0":"1352045313","file4":"1352045322","file5":"1352045324","file3":"1352045320"},"map_files_photo_id_array":[{"photo_id":"1352045324","filename":"file5"},{"photo_id":"1352045318","filename":"file2"},{"photo_id":"1352045322","filename":"file4"},{"photo_id":"1352045316","filename":"file1"},{"photo_id":"1352045313","filename":"file0"},{"photo_id":"1352045320","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045324":["hashtag1","hashtag2"]},{"1352045318":["hashtag1","hashtag2"]},{"1352045320":["hashtag1","hashtag2"]},{"1352045322":["hashtag1","hashtag2"]},{"1352045316":["hashtag1","hashtag2"]},{"1352045313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045324, 1352045318, 1352045320, 1352045322, 1352045316, 1352045313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9974148273468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:26:32.886739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_26_9349.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_37_10343.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_47_10462.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_56_9426.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_58_07_10364.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_26_9349.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_37_10343.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_47_10462.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_56_9426.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_58_07_10364.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_16_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045327","1352045339","1352045341","1352045335","1352045337","1352045331"],"photo_ids_order":["1352045327","1352045331","1352045335","1352045337","1352045339","1352045341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9109decf581384ec5b394c17296050d4.jpg","text":"TemporaryFile(/tmp/multipartBody1155224774056049615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108854448,"filename":"image_14042025_13_57_26_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3208196cb0a9221d01a4076ff8888d0a.jpg","text":"TemporaryFile(/tmp/multipartBody1373157277925736046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108854448,"filename":"image_14042025_13_58_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4ec166e78aa40ba905debbcad96e011.jpg","text":"TemporaryFile(/tmp/multipartBody4988162560648503991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108854448,"filename":"image_14042025_13_58_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50659c141e5f8277281d1029453fc191.jpg","text":"TemporaryFile(/tmp/multipartBody2485678901251139844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108854448,"filename":"image_14042025_13_57_47_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b9b8346aa704f1b555559393bff89e5.jpg","text":"TemporaryFile(/tmp/multipartBody8419722035331808755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108854448,"filename":"image_14042025_13_57_56_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51b2658ac6a161d8dbf10bbc171a3712.jpg","text":"TemporaryFile(/tmp/multipartBody3650648694706372433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108854448,"filename":"image_14042025_13_57_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045335","file1":"1352045331","file0":"1352045327","file4":"1352045339","file5":"1352045341","file3":"1352045337"},"map_files_photo_id_array":[{"photo_id":"1352045341","filename":"file5"},{"photo_id":"1352045335","filename":"file2"},{"photo_id":"1352045339","filename":"file4"},{"photo_id":"1352045331","filename":"file1"},{"photo_id":"1352045327","filename":"file0"},{"photo_id":"1352045337","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045327":["hashtag1","hashtag2"]},{"1352045339":["hashtag1","hashtag2"]},{"1352045341":["hashtag1","hashtag2"]},{"1352045335":["hashtag1","hashtag2"]},{"1352045337":["hashtag1","hashtag2"]},{"1352045331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045327, 1352045339, 1352045341, 1352045335, 1352045337, 1352045331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.852147340774536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:27:32.297853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_27_10361.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_37_10357.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_46_9408.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_57_10512.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_59_06_9401.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_17_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_27_10361.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_37_10357.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_46_9408.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_57_10512.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_59_06_9401.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_17_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045354","1352045348","1352045357","1352045361","1352045351","1352045345"],"photo_ids_order":["1352045345","1352045348","1352045351","1352045354","1352045357","1352045361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db225d9c395e20949bc9c6d1a10632f3.jpg","text":"TemporaryFile(/tmp/multipartBody945590007920597576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108913864,"filename":"image_14042025_13_58_57_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1f29b752db784a06c328c5316f17c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5188116099744711169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108913864,"filename":"image_14042025_13_58_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a6dcbd45be38ac1e560caba7c672470.jpg","text":"TemporaryFile(/tmp/multipartBody3554333296796700372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108913864,"filename":"image_14042025_13_59_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65caf5434dafc32c7bc189bcf0b08194.jpg","text":"TemporaryFile(/tmp/multipartBody7214006077432704917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108913864,"filename":"image_14042025_13_59_17_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a5b2966b4e27fac6eb30eb0b2e0a4ef.jpg","text":"TemporaryFile(/tmp/multipartBody832538328636088349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108913864,"filename":"image_14042025_13_58_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dcc03c887df4893c3057f2d5b322c9c.jpg","text":"TemporaryFile(/tmp/multipartBody4970683913399562426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108913864,"filename":"image_14042025_13_58_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045351","file1":"1352045348","file0":"1352045345","file4":"1352045357","file5":"1352045361","file3":"1352045354"},"map_files_photo_id_array":[{"photo_id":"1352045361","filename":"file5"},{"photo_id":"1352045351","filename":"file2"},{"photo_id":"1352045357","filename":"file4"},{"photo_id":"1352045348","filename":"file1"},{"photo_id":"1352045345","filename":"file0"},{"photo_id":"1352045354","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045354":["hashtag1","hashtag2"]},{"1352045348":["hashtag1","hashtag2"]},{"1352045357":["hashtag1","hashtag2"]},{"1352045361":["hashtag1","hashtag2"]},{"1352045351":["hashtag1","hashtag2"]},{"1352045345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045354, 1352045348, 1352045357, 1352045361, 1352045351, 1352045345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97592902183533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:28:32.603584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_27_10469.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_36_9337.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_47_10488.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_56_9354.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_14_10067.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_25_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_27_10469.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_36_9337.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_47_10488.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_56_9354.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_14_10067.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_25_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045380","1352045383","1352045377","1352045370","1352045373","1352045367"],"photo_ids_order":["1352045367","1352045370","1352045373","1352045377","1352045380","1352045383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4a80c4366c414d58c53a9e580347d79.jpg","text":"TemporaryFile(/tmp/multipartBody2877276271248142699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108974180,"filename":"image_14042025_14_01_14_10067.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df023ad3c431100533eebbf0189f62c0.jpg","text":"TemporaryFile(/tmp/multipartBody7717099239045884262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108974180,"filename":"image_14042025_14_01_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8bd215fde3595da3af15371a3504e98.jpg","text":"TemporaryFile(/tmp/multipartBody8093327570169576007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108974180,"filename":"image_14042025_13_59_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edad15330da1af5106fc2dc762c3c065.jpg","text":"TemporaryFile(/tmp/multipartBody4203875814718776517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108974180,"filename":"image_14042025_13_59_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/222d11f4793e8fed4b0605f244bef88c.jpg","text":"TemporaryFile(/tmp/multipartBody5859144976021768814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108974180,"filename":"image_14042025_13_59_47_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8822e5185fe5d3a4a3a0ad755278770.jpg","text":"TemporaryFile(/tmp/multipartBody2273504424540799310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745108974180,"filename":"image_14042025_13_59_27_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045373","file1":"1352045370","file0":"1352045367","file4":"1352045380","file5":"1352045383","file3":"1352045377"},"map_files_photo_id_array":[{"photo_id":"1352045383","filename":"file5"},{"photo_id":"1352045373","filename":"file2"},{"photo_id":"1352045380","filename":"file4"},{"photo_id":"1352045370","filename":"file1"},{"photo_id":"1352045367","filename":"file0"},{"photo_id":"1352045377","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045380":["hashtag1","hashtag2"]},{"1352045383":["hashtag1","hashtag2"]},{"1352045377":["hashtag1","hashtag2"]},{"1352045370":["hashtag1","hashtag2"]},{"1352045373":["hashtag1","hashtag2"]},{"1352045367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045380, 1352045383, 1352045377, 1352045370, 1352045373, 1352045367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.508692026138306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:29:32.752287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_35_10483.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_44_9359.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_55_10410.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_02_04_9345.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_15_10385.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_35_10483.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_44_9359.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_55_10410.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_02_04_9345.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_15_10385.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_25_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045402","1352045405","1352045397","1352045391","1352045394","1352045400"],"photo_ids_order":["1352045391","1352045394","1352045397","1352045400","1352045402","1352045405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e0680dfd23163b8363e12122be2a578.jpg","text":"TemporaryFile(/tmp/multipartBody7466049386881973662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109034323,"filename":"image_14042025_14_02_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2589886142d1bc4e8d10464bbc4280b7.jpg","text":"TemporaryFile(/tmp/multipartBody4680633251301346269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109034323,"filename":"image_14042025_14_02_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3e80e00a30a74218d49c980a6f85c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1696123443258908170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109034323,"filename":"image_14042025_14_01_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83143de2df27bd2f0b65ab3c3336f2c8.jpg","text":"TemporaryFile(/tmp/multipartBody7315397798520379208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109034323,"filename":"image_14042025_14_01_35_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d54c8f5fccaee39a17695c5cc48e973f.jpg","text":"TemporaryFile(/tmp/multipartBody4755129252526409007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109034323,"filename":"image_14042025_14_01_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f649f516dccff5f8783b2e0d94b917f.jpg","text":"TemporaryFile(/tmp/multipartBody8194750472662077366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109034323,"filename":"image_14042025_14_02_04_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045397","file1":"1352045394","file0":"1352045391","file4":"1352045402","file5":"1352045405","file3":"1352045400"},"map_files_photo_id_array":[{"photo_id":"1352045405","filename":"file5"},{"photo_id":"1352045397","filename":"file2"},{"photo_id":"1352045402","filename":"file4"},{"photo_id":"1352045394","filename":"file1"},{"photo_id":"1352045391","filename":"file0"},{"photo_id":"1352045400","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045402":["hashtag1","hashtag2"]},{"1352045405":["hashtag1","hashtag2"]},{"1352045397":["hashtag1","hashtag2"]},{"1352045391":["hashtag1","hashtag2"]},{"1352045394":["hashtag1","hashtag2"]},{"1352045400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045402, 1352045405, 1352045397, 1352045391, 1352045394, 1352045400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.402662992477417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:30:32.966484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_34_9340.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_45_10402.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_55_10385.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_03_04_9412.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_15_10448.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_24_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_34_9340.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_45_10402.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_55_10385.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_03_04_9412.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_15_10448.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_24_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045423","1352045425","1352045419","1352045413","1352045416","1352045421"],"photo_ids_order":["1352045413","1352045416","1352045419","1352045421","1352045423","1352045425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a26d0c91eaff44a02ec4c56a95823d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2937748021957990480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109094546,"filename":"image_14042025_14_03_15_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54a4cf901d44b722dd3ffce9f1f8d079.jpg","text":"TemporaryFile(/tmp/multipartBody6450909556354192683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109094546,"filename":"image_14042025_14_03_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52f25ec27997cbc0a5e52324e5701857.jpg","text":"TemporaryFile(/tmp/multipartBody2750622879784605417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109094546,"filename":"image_14042025_14_02_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd2e0c4b9a1396508d1c842f0f5e75ba.jpg","text":"TemporaryFile(/tmp/multipartBody2543873902662393463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109094546,"filename":"image_14042025_14_02_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d28620a30220f7414f40926e207f216.jpg","text":"TemporaryFile(/tmp/multipartBody2757882288912267422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109094546,"filename":"image_14042025_14_02_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7989b872207fe11ef2ab3979ee4b7a81.jpg","text":"TemporaryFile(/tmp/multipartBody14440483206743671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109094546,"filename":"image_14042025_14_03_04_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045419","file1":"1352045416","file0":"1352045413","file4":"1352045423","file5":"1352045425","file3":"1352045421"},"map_files_photo_id_array":[{"photo_id":"1352045425","filename":"file5"},{"photo_id":"1352045419","filename":"file2"},{"photo_id":"1352045423","filename":"file4"},{"photo_id":"1352045416","filename":"file1"},{"photo_id":"1352045413","filename":"file0"},{"photo_id":"1352045421","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045423":["hashtag1","hashtag2"]},{"1352045425":["hashtag1","hashtag2"]},{"1352045419":["hashtag1","hashtag2"]},{"1352045413":["hashtag1","hashtag2"]},{"1352045416":["hashtag1","hashtag2"]},{"1352045421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045423, 1352045425, 1352045419, 1352045413, 1352045416, 1352045421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.368821382522583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:31:33.163695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_35_10354.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_54_9459.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_04_05_10455.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_14_9323.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_25_10378.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_35_10354.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_54_9459.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_04_05_10455.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_14_9323.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_25_10378.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045441","1352045435","1352045438","1352045443","1352045446","1352045445"],"photo_ids_order":["1352045435","1352045438","1352045441","1352045443","1352045445","1352045446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2047380ef035b42d658fa4d7ca93dd2.jpg","text":"TemporaryFile(/tmp/multipartBody3804724125205840574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109154739,"filename":"image_14042025_14_04_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/945408027642f4afa360872f9b70d34f.jpg","text":"TemporaryFile(/tmp/multipartBody8600722643779174331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109154739,"filename":"image_14042025_14_03_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b9d28c3841bae8c272e7488971b6871.jpg","text":"TemporaryFile(/tmp/multipartBody8356475284696875898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109154739,"filename":"image_14042025_14_03_54_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f527ac08c5cb8c5ed0f1c713f4c14fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7363481645539876605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109154739,"filename":"image_14042025_14_04_14_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3327ad572680af160c7a225010b61a59.jpg","text":"TemporaryFile(/tmp/multipartBody1157753941584993271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109154739,"filename":"image_14042025_14_04_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96ea5a071c80ab7826e3694e9a7124b0.jpg","text":"TemporaryFile(/tmp/multipartBody8097250134520993400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109154739,"filename":"image_14042025_14_04_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045441","file1":"1352045438","file0":"1352045435","file4":"1352045445","file5":"1352045446","file3":"1352045443"},"map_files_photo_id_array":[{"photo_id":"1352045446","filename":"file5"},{"photo_id":"1352045441","filename":"file2"},{"photo_id":"1352045445","filename":"file4"},{"photo_id":"1352045438","filename":"file1"},{"photo_id":"1352045435","filename":"file0"},{"photo_id":"1352045443","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045441":["hashtag1","hashtag2"]},{"1352045435":["hashtag1","hashtag2"]},{"1352045438":["hashtag1","hashtag2"]},{"1352045443":["hashtag1","hashtag2"]},{"1352045446":["hashtag1","hashtag2"]},{"1352045445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045441, 1352045435, 1352045438, 1352045443, 1352045446, 1352045445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41811656951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:32:32.401453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_44_9438.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_55_10452.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_05_04_9338.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_15_10349.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_25_10367.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_34_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_44_9438.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_55_10452.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_05_04_9338.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_15_10349.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_25_10367.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_34_9366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4897270202636719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 02:32:42.383168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_44_9438.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_55_10452.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_05_04_9338.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_15_10349.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_25_10367.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_34_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_44_9438.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_55_10452.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_05_04_9338.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_15_10349.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_25_10367.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_34_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045468","1352045467","1352045461","1352045464","1352045458","1352045469"],"photo_ids_order":["1352045458","1352045461","1352045464","1352045467","1352045468","1352045469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fd04dce815c3ec57fbe4685eb73fc8e.jpg","text":"TemporaryFile(/tmp/multipartBody3468554104556424297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109223029,"filename":"image_14042025_14_05_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/daf7d4cb1df29ef74ae56b1dc8c8c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody5607230940336248732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109223029,"filename":"image_14042025_14_05_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8fc8f96c3f42d23395e615a17b8f2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5532283031076755588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109223029,"filename":"image_14042025_14_04_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4d722101c31529da51c66a2bf183f60.jpg","text":"TemporaryFile(/tmp/multipartBody3643745399478041230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109223029,"filename":"image_14042025_14_05_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e22af2bcfddaf0c24ed963a3c7848bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4989944298626619461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109223029,"filename":"image_14042025_14_04_44_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d501098e88ddc28cc5cb69bb6d659ee1.jpg","text":"TemporaryFile(/tmp/multipartBody4814437892054226519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109223029,"filename":"image_14042025_14_05_34_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045464","file1":"1352045461","file0":"1352045458","file4":"1352045468","file5":"1352045469","file3":"1352045467"},"map_files_photo_id_array":[{"photo_id":"1352045469","filename":"file5"},{"photo_id":"1352045464","filename":"file2"},{"photo_id":"1352045468","filename":"file4"},{"photo_id":"1352045461","filename":"file1"},{"photo_id":"1352045458","filename":"file0"},{"photo_id":"1352045467","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045468":["hashtag1","hashtag2"]},{"1352045467":["hashtag1","hashtag2"]},{"1352045461":["hashtag1","hashtag2"]},{"1352045464":["hashtag1","hashtag2"]},{"1352045458":["hashtag1","hashtag2"]},{"1352045469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045468, 1352045467, 1352045461, 1352045464, 1352045458, 1352045469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.084309339523315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:33:32.640543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_45_10352.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_55_10394.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_06_04_9337.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_15_10408.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_24_9427.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_45_10352.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_55_10394.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_06_04_9337.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_15_10408.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_24_9427.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_35_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045485","1352045479","1352045487","1352045481","1352045489","1352045483"],"photo_ids_order":["1352045479","1352045481","1352045483","1352045485","1352045487","1352045489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b311751499c0f5ddabc794c75f166b4.jpg","text":"TemporaryFile(/tmp/multipartBody1752341119178456157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109274205,"filename":"image_14042025_14_06_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/575755f305afb8b9e1a75aff78934d7d.jpg","text":"TemporaryFile(/tmp/multipartBody3739913123590892543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109274205,"filename":"image_14042025_14_05_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a745b44ce395bed98ac1d31c589cde01.jpg","text":"TemporaryFile(/tmp/multipartBody1524909079191964777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109274205,"filename":"image_14042025_14_06_24_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8e3c47a4a763a0abfb16c23936ef1e1.jpg","text":"TemporaryFile(/tmp/multipartBody4477724050088169988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109274205,"filename":"image_14042025_14_05_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d29e7c2f6840d19e4f46616e1498fc4a.jpg","text":"TemporaryFile(/tmp/multipartBody5095330983291101256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109274205,"filename":"image_14042025_14_06_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/700cbbf99d3837e4f2ef99916f76c6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5112165269609285387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109274205,"filename":"image_14042025_14_06_04_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045483","file1":"1352045481","file0":"1352045479","file4":"1352045487","file5":"1352045489","file3":"1352045485"},"map_files_photo_id_array":[{"photo_id":"1352045489","filename":"file5"},{"photo_id":"1352045483","filename":"file2"},{"photo_id":"1352045487","filename":"file4"},{"photo_id":"1352045481","filename":"file1"},{"photo_id":"1352045479","filename":"file0"},{"photo_id":"1352045485","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045485":["hashtag1","hashtag2"]},{"1352045479":["hashtag1","hashtag2"]},{"1352045487":["hashtag1","hashtag2"]},{"1352045481":["hashtag1","hashtag2"]},{"1352045489":["hashtag1","hashtag2"]},{"1352045483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045485, 1352045479, 1352045487, 1352045481, 1352045489, 1352045483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54583239555359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:34:32.902835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_45_10426.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_54_9338.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_07_05_10411.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_15_10323.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_24_9358.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_35_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_45_10426.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_54_9338.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_07_05_10411.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_15_10323.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_24_9358.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_35_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045507","1352045504","1352045509","1352045499","1352045502","1352045495"],"photo_ids_order":["1352045495","1352045499","1352045502","1352045504","1352045507","1352045509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0ecb4d9ba9759100e88b5482a07ea54.jpg","text":"TemporaryFile(/tmp/multipartBody2184336922739782243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109334458,"filename":"image_14042025_14_07_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3486636a455fcab13c55a8dda3a62a66.jpg","text":"TemporaryFile(/tmp/multipartBody2159356096177875234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109334458,"filename":"image_14042025_14_07_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/572d3163205e773f6f5dff1e7da830d8.jpg","text":"TemporaryFile(/tmp/multipartBody8351062243600314896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109334458,"filename":"image_14042025_14_07_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cb43ba6ac4f5f81103728e784d2c87a.jpg","text":"TemporaryFile(/tmp/multipartBody6979767314110984689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109334458,"filename":"image_14042025_14_06_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebe8d553bea16ac694f50092596b1041.jpg","text":"TemporaryFile(/tmp/multipartBody1202253643285498812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109334458,"filename":"image_14042025_14_07_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/502a2cb2dcac2b98eff12383f63b4eba.jpg","text":"TemporaryFile(/tmp/multipartBody7540765959275480736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109334458,"filename":"image_14042025_14_06_45_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045502","file1":"1352045499","file0":"1352045495","file4":"1352045507","file5":"1352045509","file3":"1352045504"},"map_files_photo_id_array":[{"photo_id":"1352045509","filename":"file5"},{"photo_id":"1352045502","filename":"file2"},{"photo_id":"1352045507","filename":"file4"},{"photo_id":"1352045499","filename":"file1"},{"photo_id":"1352045495","filename":"file0"},{"photo_id":"1352045504","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045507":["hashtag1","hashtag2"]},{"1352045504":["hashtag1","hashtag2"]},{"1352045509":["hashtag1","hashtag2"]},{"1352045499":["hashtag1","hashtag2"]},{"1352045502":["hashtag1","hashtag2"]},{"1352045495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045507, 1352045504, 1352045509, 1352045499, 1352045502, 1352045495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.05972385406494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:35:33.124424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_44_9356.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_55_10372.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_08_05_10354.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_14_9426.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_25_10411.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_34_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_44_9356.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_55_10372.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_08_05_10354.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_14_9426.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_25_10411.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_34_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045525","1352045522","1352045524","1352045520","1352045523","1352045526"],"photo_ids_order":["1352045520","1352045522","1352045523","1352045524","1352045525","1352045526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08a03432ca3d16f5764a229f40d3f7fb.jpg","text":"TemporaryFile(/tmp/multipartBody4566680834615780273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109394689,"filename":"image_14042025_14_08_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79a45c40aae425f8b19f3f2ec7c1fe79.jpg","text":"TemporaryFile(/tmp/multipartBody1998595780952927217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109394689,"filename":"image_14042025_14_07_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b95a8856b9071787cefb95dd0ebc4900.jpg","text":"TemporaryFile(/tmp/multipartBody4654979998584077711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109394689,"filename":"image_14042025_14_08_14_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70e2b9b339ea8e871ac1838fa87202db.jpg","text":"TemporaryFile(/tmp/multipartBody5021132938289201726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109394689,"filename":"image_14042025_14_07_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3233f5283894d2c050e460953b6ba83e.jpg","text":"TemporaryFile(/tmp/multipartBody4568241524254383409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109394689,"filename":"image_14042025_14_08_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97340be35ff09cf141a58a73144b7614.jpg","text":"TemporaryFile(/tmp/multipartBody2567668282621570127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109394689,"filename":"image_14042025_14_08_34_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045523","file1":"1352045522","file0":"1352045520","file4":"1352045525","file5":"1352045526","file3":"1352045524"},"map_files_photo_id_array":[{"photo_id":"1352045526","filename":"file5"},{"photo_id":"1352045523","filename":"file2"},{"photo_id":"1352045525","filename":"file4"},{"photo_id":"1352045522","filename":"file1"},{"photo_id":"1352045520","filename":"file0"},{"photo_id":"1352045524","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045525":["hashtag1","hashtag2"]},{"1352045522":["hashtag1","hashtag2"]},{"1352045524":["hashtag1","hashtag2"]},{"1352045520":["hashtag1","hashtag2"]},{"1352045523":["hashtag1","hashtag2"]},{"1352045526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045525, 1352045522, 1352045524, 1352045520, 1352045523, 1352045526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.534345388412476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:36:32.376229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_44_10353.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_55_10368.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_09_04_9345.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_15_10349.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_25_10445.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_34_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_44_10353.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_55_10368.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_09_04_9345.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_15_10349.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_25_10445.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_34_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045540","1352045537","1352045542","1352045535","1352045544","1352045538"],"photo_ids_order":["1352045535","1352045537","1352045538","1352045540","1352045542","1352045544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b408b4fbd0aed5e43ec2fd42de3d0de.jpg","text":"TemporaryFile(/tmp/multipartBody8669083020229379652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109453942,"filename":"image_14042025_14_09_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7442d6f58d60d2a09d0afcef69367528.jpg","text":"TemporaryFile(/tmp/multipartBody2510388000564801308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109453942,"filename":"image_14042025_14_08_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86b0452785a8d4c3ed5f2b2cb81548ca.jpg","text":"TemporaryFile(/tmp/multipartBody6664000490973214095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109453942,"filename":"image_14042025_14_09_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/713698732e3f8e52351eac0a1149d3de.jpg","text":"TemporaryFile(/tmp/multipartBody8019346793133760298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109453942,"filename":"image_14042025_14_08_44_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/752c1ece762c7792adf19e1c3ed1a64d.jpg","text":"TemporaryFile(/tmp/multipartBody2181915827256127259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109453942,"filename":"image_14042025_14_09_34_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/989d03460e761339f0ca4913f7fd1453.jpg","text":"TemporaryFile(/tmp/multipartBody5088357863796097159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109453942,"filename":"image_14042025_14_09_04_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045538","file1":"1352045537","file0":"1352045535","file4":"1352045542","file5":"1352045544","file3":"1352045540"},"map_files_photo_id_array":[{"photo_id":"1352045544","filename":"file5"},{"photo_id":"1352045538","filename":"file2"},{"photo_id":"1352045542","filename":"file4"},{"photo_id":"1352045537","filename":"file1"},{"photo_id":"1352045535","filename":"file0"},{"photo_id":"1352045540","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045540":["hashtag1","hashtag2"]},{"1352045537":["hashtag1","hashtag2"]},{"1352045542":["hashtag1","hashtag2"]},{"1352045535":["hashtag1","hashtag2"]},{"1352045544":["hashtag1","hashtag2"]},{"1352045538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045540, 1352045537, 1352045542, 1352045535, 1352045544, 1352045538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.007115125656128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:37:32.662712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_45_10350.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_15_10450.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_24_9458.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_35_10460.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_44_9351.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_54_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_45_10350.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_15_10450.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_24_9458.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_35_10460.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_44_9351.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_54_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045560","1352045554","1352045562","1352045556","1352045564","1352045558"],"photo_ids_order":["1352045554","1352045556","1352045558","1352045560","1352045562","1352045564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4ef8c17ea7627ba4e601771b1ece9cb.jpg","text":"TemporaryFile(/tmp/multipartBody8122504764029760173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109514227,"filename":"image_14042025_14_10_35_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb0dcb600a5e8ae8afab56134c6ff791.jpg","text":"TemporaryFile(/tmp/multipartBody5470007258925934901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109514227,"filename":"image_14042025_14_09_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a1fec9daf080e59e197207df002189e.jpg","text":"TemporaryFile(/tmp/multipartBody1698101606201276711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109514227,"filename":"image_14042025_14_10_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed916f5b539b3fbbe125dcd356a6978b.jpg","text":"TemporaryFile(/tmp/multipartBody674507588415607461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109514227,"filename":"image_14042025_14_10_15_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e30019ba333d0884f295cb8f05d8fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3758444454383424285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109514227,"filename":"image_14042025_14_10_54_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72fa9b4581b096d3dfc3730668d73c5d.jpg","text":"TemporaryFile(/tmp/multipartBody8035777468775345842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109514227,"filename":"image_14042025_14_10_24_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045558","file1":"1352045556","file0":"1352045554","file4":"1352045562","file5":"1352045564","file3":"1352045560"},"map_files_photo_id_array":[{"photo_id":"1352045564","filename":"file5"},{"photo_id":"1352045558","filename":"file2"},{"photo_id":"1352045562","filename":"file4"},{"photo_id":"1352045556","filename":"file1"},{"photo_id":"1352045554","filename":"file0"},{"photo_id":"1352045560","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045560":["hashtag1","hashtag2"]},{"1352045554":["hashtag1","hashtag2"]},{"1352045562":["hashtag1","hashtag2"]},{"1352045556":["hashtag1","hashtag2"]},{"1352045564":["hashtag1","hashtag2"]},{"1352045558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045560, 1352045554, 1352045562, 1352045556, 1352045564, 1352045558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47496223449707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:38:32.798633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/10/image_14042025_14_11_05_10468.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_14_9325.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_25_10368.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_34_9441.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_44_10376.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_55_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_11_05_10468.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_14_9325.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_25_10368.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_34_9441.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_44_10376.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_55_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045584","1352045578","1352045586","1352045580","1352045582","1352045576"],"photo_ids_order":["1352045576","1352045578","1352045580","1352045582","1352045584","1352045586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e761ba71a5d6b3ee65dfe0dff77e24c.jpg","text":"TemporaryFile(/tmp/multipartBody6745112691386003159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109574349,"filename":"image_14042025_14_11_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b7be13c9733c5a9bfa297f05ec65422.jpg","text":"TemporaryFile(/tmp/multipartBody1184520150657085313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109574349,"filename":"image_14042025_14_11_14_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14f7efa13ca2b7532e4755bf7f258ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4825711764297588131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109574349,"filename":"image_14042025_14_11_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/329476ccc254806322e88f9f8132655c.jpg","text":"TemporaryFile(/tmp/multipartBody3609366263725804105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109574349,"filename":"image_14042025_14_11_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/731d61178f0ecb06a65fbc8219a4279e.jpg","text":"TemporaryFile(/tmp/multipartBody5030658674848427657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109574349,"filename":"image_14042025_14_11_34_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5231a5c165121b1905d34f8b4206cea.jpg","text":"TemporaryFile(/tmp/multipartBody7014422384844670570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109574349,"filename":"image_14042025_14_11_05_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045580","file1":"1352045578","file0":"1352045576","file4":"1352045584","file5":"1352045586","file3":"1352045582"},"map_files_photo_id_array":[{"photo_id":"1352045586","filename":"file5"},{"photo_id":"1352045580","filename":"file2"},{"photo_id":"1352045584","filename":"file4"},{"photo_id":"1352045578","filename":"file1"},{"photo_id":"1352045576","filename":"file0"},{"photo_id":"1352045582","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045584":["hashtag1","hashtag2"]},{"1352045578":["hashtag1","hashtag2"]},{"1352045586":["hashtag1","hashtag2"]},{"1352045580":["hashtag1","hashtag2"]},{"1352045582":["hashtag1","hashtag2"]},{"1352045576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045584, 1352045578, 1352045586, 1352045580, 1352045582, 1352045576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57026219367981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:39:33.139083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/11/image_14042025_14_12_04_9346.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_15_10377.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_25_10392.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_34_9330.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_45_10464.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_54_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_12_04_9346.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_15_10377.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_25_10392.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_34_9330.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_45_10464.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_54_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045606","1352045609","1352045600","1352045603","1352045595","1352045597"],"photo_ids_order":["1352045595","1352045597","1352045600","1352045603","1352045606","1352045609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04fd2b2203f5f7cc9cac91bb59a3674d.jpg","text":"TemporaryFile(/tmp/multipartBody1378560442897072957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109634711,"filename":"image_14042025_14_12_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c5ee9bdc37cf0262c8b4b460e78f9e0.jpg","text":"TemporaryFile(/tmp/multipartBody2002200722722535021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109634711,"filename":"image_14042025_14_12_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0f1ef4fb32e93652fbfc618028751d4.jpg","text":"TemporaryFile(/tmp/multipartBody6923410706826310452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109634711,"filename":"image_14042025_14_12_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e81418e3df9c1babf9a3806d81f71fc.jpg","text":"TemporaryFile(/tmp/multipartBody8726428839779064240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109634711,"filename":"image_14042025_14_12_34_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/974f126f66f56a7539ea641299a4ffbb.jpg","text":"TemporaryFile(/tmp/multipartBody5238932535427523036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109634711,"filename":"image_14042025_14_12_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/384d3a6db6416c3415917274d0f94072.jpg","text":"TemporaryFile(/tmp/multipartBody8008573386667652796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109634711,"filename":"image_14042025_14_12_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045600","file1":"1352045597","file0":"1352045595","file4":"1352045606","file5":"1352045609","file3":"1352045603"},"map_files_photo_id_array":[{"photo_id":"1352045609","filename":"file5"},{"photo_id":"1352045600","filename":"file2"},{"photo_id":"1352045606","filename":"file4"},{"photo_id":"1352045597","filename":"file1"},{"photo_id":"1352045595","filename":"file0"},{"photo_id":"1352045603","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045606":["hashtag1","hashtag2"]},{"1352045609":["hashtag1","hashtag2"]},{"1352045600":["hashtag1","hashtag2"]},{"1352045603":["hashtag1","hashtag2"]},{"1352045595":["hashtag1","hashtag2"]},{"1352045597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045606, 1352045609, 1352045600, 1352045603, 1352045595, 1352045597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12775993347168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:40:32.409379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/12/image_14042025_14_13_05_10413.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_15_10392.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_24_9408.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_35_10431.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_44_9338.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_13_05_10413.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_15_10392.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_24_9408.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_35_10431.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_44_9338.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045624","1352045626","1352045631","1352045634","1352045628","1352045622"],"photo_ids_order":["1352045622","1352045624","1352045626","1352045628","1352045631","1352045634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d57f763be33eb8f29732b6e3e8b401e.jpg","text":"TemporaryFile(/tmp/multipartBody6973612826292572637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109693982,"filename":"image_14042025_14_13_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9b22ec5667a907fcafc4c607b3aa23c.jpg","text":"TemporaryFile(/tmp/multipartBody7197259543567392282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109693982,"filename":"image_14042025_14_13_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/843558e694b7f50e3cd9deac14a8af8e.jpg","text":"TemporaryFile(/tmp/multipartBody7653398516428579850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109693982,"filename":"image_14042025_14_13_44_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7eacec1c64c2636ff386e5077169a82b.jpg","text":"TemporaryFile(/tmp/multipartBody6187966387796198038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109693982,"filename":"image_14042025_14_13_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15eb47f14c1162d77246250ef8c80e35.jpg","text":"TemporaryFile(/tmp/multipartBody2008590279468195120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109693982,"filename":"image_14042025_14_13_35_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3fdf2216404efb48293f3e50a74eaef5.jpg","text":"TemporaryFile(/tmp/multipartBody6820314434278356665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109693982,"filename":"image_14042025_14_13_05_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045626","file1":"1352045624","file0":"1352045622","file4":"1352045631","file5":"1352045634","file3":"1352045628"},"map_files_photo_id_array":[{"photo_id":"1352045634","filename":"file5"},{"photo_id":"1352045626","filename":"file2"},{"photo_id":"1352045631","filename":"file4"},{"photo_id":"1352045624","filename":"file1"},{"photo_id":"1352045622","filename":"file0"},{"photo_id":"1352045628","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045624":["hashtag1","hashtag2"]},{"1352045626":["hashtag1","hashtag2"]},{"1352045631":["hashtag1","hashtag2"]},{"1352045634":["hashtag1","hashtag2"]},{"1352045628":["hashtag1","hashtag2"]},{"1352045622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045624, 1352045626, 1352045631, 1352045634, 1352045628, 1352045622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.66249442100525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:41:32.492756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/13/image_14042025_14_14_05_10360.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_14_9343.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_25_10365.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_35_10443.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_44_9369.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_55_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_14_05_10360.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_14_9343.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_25_10365.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_35_10443.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_44_9369.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_55_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045651","1352045653","1352045656","1352045658","1352045655","1352045649"],"photo_ids_order":["1352045649","1352045651","1352045653","1352045655","1352045656","1352045658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4766dd5c384ff00d1a1b50564333777d.jpg","text":"TemporaryFile(/tmp/multipartBody9039651713116452084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109754058,"filename":"image_14042025_14_14_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/766ebd346a71939bebd84539500e4b96.jpg","text":"TemporaryFile(/tmp/multipartBody3942078376221945365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109754058,"filename":"image_14042025_14_14_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41cc7eb482a8876cc189769105780ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5837261247437149359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109754058,"filename":"image_14042025_14_14_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b02a769ad9f85a271f8de23e6608198.jpg","text":"TemporaryFile(/tmp/multipartBody6351028224287406982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109754058,"filename":"image_14042025_14_14_55_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11f8f46be73fd3235535c3b100ce4ea0.jpg","text":"TemporaryFile(/tmp/multipartBody167355931774524001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109754058,"filename":"image_14042025_14_14_35_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82432553fcae14b20ff56256c82669e6.jpg","text":"TemporaryFile(/tmp/multipartBody8775488874598220367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109754058,"filename":"image_14042025_14_14_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045653","file1":"1352045651","file0":"1352045649","file4":"1352045656","file5":"1352045658","file3":"1352045655"},"map_files_photo_id_array":[{"photo_id":"1352045658","filename":"file5"},{"photo_id":"1352045653","filename":"file2"},{"photo_id":"1352045656","filename":"file4"},{"photo_id":"1352045651","filename":"file1"},{"photo_id":"1352045649","filename":"file0"},{"photo_id":"1352045655","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045651":["hashtag1","hashtag2"]},{"1352045653":["hashtag1","hashtag2"]},{"1352045656":["hashtag1","hashtag2"]},{"1352045658":["hashtag1","hashtag2"]},{"1352045655":["hashtag1","hashtag2"]},{"1352045649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045651, 1352045653, 1352045656, 1352045658, 1352045655, 1352045649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37649941444397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:42:32.745107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/14/image_14042025_14_15_04_9333.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_15_10369.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_24_9449.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_34_10358.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_45_10430.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_54_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_15_04_9333.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_15_10369.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_24_9449.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_34_10358.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_45_10430.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_54_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045683","1352045676","1352045685","1352045679","1352045670","1352045673"],"photo_ids_order":["1352045670","1352045673","1352045676","1352045679","1352045683","1352045685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f019d67eae3f1f56eb532b92f5b9c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3257506388322829541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109814435,"filename":"image_14042025_14_15_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d0579ae8880e363412fddb05d485d60.jpg","text":"TemporaryFile(/tmp/multipartBody484529637286815062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109814435,"filename":"image_14042025_14_15_24_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e01920f9c6e45f8be8a2ca598ed2959.jpg","text":"TemporaryFile(/tmp/multipartBody4968330405688999996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109814435,"filename":"image_14042025_14_15_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51fb7d189438045f3481c0144ee9d229.jpg","text":"TemporaryFile(/tmp/multipartBody1408623904566951396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109814435,"filename":"image_14042025_14_15_34_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3fb47bd57d4dac4089a73576489bf3b4.jpg","text":"TemporaryFile(/tmp/multipartBody6018502040961373697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109814435,"filename":"image_14042025_14_15_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/147bb9ff08e351866c51c13102e4e7fe.jpg","text":"TemporaryFile(/tmp/multipartBody1275674786216450958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109814435,"filename":"image_14042025_14_15_15_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045676","file1":"1352045673","file0":"1352045670","file4":"1352045683","file5":"1352045685","file3":"1352045679"},"map_files_photo_id_array":[{"photo_id":"1352045685","filename":"file5"},{"photo_id":"1352045676","filename":"file2"},{"photo_id":"1352045683","filename":"file4"},{"photo_id":"1352045673","filename":"file1"},{"photo_id":"1352045670","filename":"file0"},{"photo_id":"1352045679","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045683":["hashtag1","hashtag2"]},{"1352045676":["hashtag1","hashtag2"]},{"1352045685":["hashtag1","hashtag2"]},{"1352045679":["hashtag1","hashtag2"]},{"1352045670":["hashtag1","hashtag2"]},{"1352045673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045683, 1352045676, 1352045685, 1352045679, 1352045670, 1352045673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10555410385132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:43:33.009486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/15/image_14042025_14_16_05_10505.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_14_9399.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_24_10336.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_35_10437.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_44_9361.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_16_05_10505.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_14_9399.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_24_10336.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_35_10437.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_44_9361.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045705","1352045702","1352045699","1352045690","1352045693","1352045696"],"photo_ids_order":["1352045690","1352045693","1352045696","1352045699","1352045702","1352045705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad2e943f1cbb223ff7d2642b8e92769c.jpg","text":"TemporaryFile(/tmp/multipartBody9111795552899564315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109874565,"filename":"image_14042025_14_16_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfaf301014e2be66e11907b4f0cbc2f7.jpg","text":"TemporaryFile(/tmp/multipartBody3635637665939026150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109874565,"filename":"image_14042025_14_16_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb33f43dd78db15bab6720d7288222c3.jpg","text":"TemporaryFile(/tmp/multipartBody6523284884822863778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109874565,"filename":"image_14042025_14_16_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c62ba8430e6e6fe6d06267dd648efb82.jpg","text":"TemporaryFile(/tmp/multipartBody2895018359092110638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109874565,"filename":"image_14042025_14_16_05_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82f13b07293d3d7aa4d56c949342e635.jpg","text":"TemporaryFile(/tmp/multipartBody8724613472152098166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109874565,"filename":"image_14042025_14_16_14_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0a77126d433c0dc593ca407e41ee264.jpg","text":"TemporaryFile(/tmp/multipartBody1584775843903939289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109874565,"filename":"image_14042025_14_16_24_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045696","file1":"1352045693","file0":"1352045690","file4":"1352045702","file5":"1352045705","file3":"1352045699"},"map_files_photo_id_array":[{"photo_id":"1352045705","filename":"file5"},{"photo_id":"1352045696","filename":"file2"},{"photo_id":"1352045702","filename":"file4"},{"photo_id":"1352045693","filename":"file1"},{"photo_id":"1352045690","filename":"file0"},{"photo_id":"1352045699","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045705":["hashtag1","hashtag2"]},{"1352045702":["hashtag1","hashtag2"]},{"1352045699":["hashtag1","hashtag2"]},{"1352045690":["hashtag1","hashtag2"]},{"1352045693":["hashtag1","hashtag2"]},{"1352045696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045705, 1352045702, 1352045699, 1352045690, 1352045693, 1352045696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.399677753448486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:44:32.182307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/16/image_14042025_14_17_05_10366.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_14_9352.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_25_10409.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_34_9348.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_44_10345.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_55_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_17_05_10366.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_14_9352.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_25_10409.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_34_9348.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_44_10345.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_55_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045722","1352045716","1352045719","1352045713","1352045727","1352045724"],"photo_ids_order":["1352045713","1352045716","1352045719","1352045722","1352045724","1352045727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b382296e5c7ceadb0d447141d4e0863.jpg","text":"TemporaryFile(/tmp/multipartBody3869847448721622089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109933736,"filename":"image_14042025_14_17_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21d3ee2121d269f17cddb9a01a9b7633.jpg","text":"TemporaryFile(/tmp/multipartBody5420794841634151801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109933736,"filename":"image_14042025_14_17_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67bc09a3854effa2d9d6f323ca8f15c0.jpg","text":"TemporaryFile(/tmp/multipartBody2163186639330975990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109933736,"filename":"image_14042025_14_17_25_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/690207bab4f4618d0fb0d430d9af8d01.jpg","text":"TemporaryFile(/tmp/multipartBody840803415139565959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109933736,"filename":"image_14042025_14_17_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1f872ac85bd6bdb42e322a16639624e.jpg","text":"TemporaryFile(/tmp/multipartBody2219879304602534702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109933736,"filename":"image_14042025_14_17_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff8c55174f9299ea74c3a3e3bd51fda0.jpg","text":"TemporaryFile(/tmp/multipartBody6652129089556692458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109933736,"filename":"image_14042025_14_17_44_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045719","file1":"1352045716","file0":"1352045713","file4":"1352045724","file5":"1352045727","file3":"1352045722"},"map_files_photo_id_array":[{"photo_id":"1352045727","filename":"file5"},{"photo_id":"1352045719","filename":"file2"},{"photo_id":"1352045724","filename":"file4"},{"photo_id":"1352045716","filename":"file1"},{"photo_id":"1352045713","filename":"file0"},{"photo_id":"1352045722","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045722":["hashtag1","hashtag2"]},{"1352045716":["hashtag1","hashtag2"]},{"1352045719":["hashtag1","hashtag2"]},{"1352045713":["hashtag1","hashtag2"]},{"1352045727":["hashtag1","hashtag2"]},{"1352045724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045722, 1352045716, 1352045719, 1352045713, 1352045727, 1352045724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.910809755325317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:45:32.417670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/17/image_14042025_14_18_04_9375.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_15_10361.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_25_10425.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_34_9339.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_45_10405.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_54_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_18_04_9375.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_15_10361.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_25_10425.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_34_9339.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_45_10405.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_54_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045752","1352045746","1352045749","1352045740","1352045743","1352045751"],"photo_ids_order":["1352045740","1352045743","1352045746","1352045749","1352045751","1352045752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08fc0a6112700e8ea2198bc6c6b81b9a.jpg","text":"TemporaryFile(/tmp/multipartBody8259247208877640048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109993982,"filename":"image_14042025_14_18_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/019b85bc76c7d86eb4747aadecd3c99a.jpg","text":"TemporaryFile(/tmp/multipartBody63351007481162442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109993982,"filename":"image_14042025_14_18_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4313e4c4c1d37139e912c0204f2b4e3.jpg","text":"TemporaryFile(/tmp/multipartBody2441299581907090632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109993982,"filename":"image_14042025_14_18_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82cd64a736fd1bdd06ea8b05594566df.jpg","text":"TemporaryFile(/tmp/multipartBody7159139056561290586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109993982,"filename":"image_14042025_14_18_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/658626d057631278c36c73a928d40fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8493335475976734707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109993982,"filename":"image_14042025_14_18_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e6bc4a3b0a6c2ba58876029b9dd7914.jpg","text":"TemporaryFile(/tmp/multipartBody7824773151732423497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745109993982,"filename":"image_14042025_14_18_45_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045746","file1":"1352045743","file0":"1352045740","file4":"1352045751","file5":"1352045752","file3":"1352045749"},"map_files_photo_id_array":[{"photo_id":"1352045752","filename":"file5"},{"photo_id":"1352045746","filename":"file2"},{"photo_id":"1352045751","filename":"file4"},{"photo_id":"1352045743","filename":"file1"},{"photo_id":"1352045740","filename":"file0"},{"photo_id":"1352045749","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045752":["hashtag1","hashtag2"]},{"1352045746":["hashtag1","hashtag2"]},{"1352045749":["hashtag1","hashtag2"]},{"1352045740":["hashtag1","hashtag2"]},{"1352045743":["hashtag1","hashtag2"]},{"1352045751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045752, 1352045746, 1352045749, 1352045740, 1352045743, 1352045751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.44178080558777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:46:32.721864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/18/image_14042025_14_19_04_10363.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_15_10381.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_24_9357.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_35_10344.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_45_10346.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_54_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_19_04_10363.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_15_10381.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_24_9357.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_35_10344.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_45_10346.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_54_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045770","1352045764","1352045772","1352045766","1352045774","1352045768"],"photo_ids_order":["1352045764","1352045766","1352045768","1352045770","1352045772","1352045774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0d82b4ec7aaa4e480778b13151dd27c.jpg","text":"TemporaryFile(/tmp/multipartBody4205152709893164235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110054278,"filename":"image_14042025_14_19_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55d13b4d9955febc4706c5dd52a5fcae.jpg","text":"TemporaryFile(/tmp/multipartBody3905911285346081335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110054278,"filename":"image_14042025_14_19_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d351ce23696533c6f88e0be9e423df1.jpg","text":"TemporaryFile(/tmp/multipartBody5742795677773211584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110054278,"filename":"image_14042025_14_19_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dc53d368feb51bf9ee196ae1c34e77c.jpg","text":"TemporaryFile(/tmp/multipartBody3518131465814337617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110054278,"filename":"image_14042025_14_19_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab4bf6170163ff55816bce53ae9d3a42.jpg","text":"TemporaryFile(/tmp/multipartBody7778033107833140297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110054278,"filename":"image_14042025_14_19_54_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f25f6539b3499ca7dcbfceadae2f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody9068726036386227760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110054278,"filename":"image_14042025_14_19_24_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045768","file1":"1352045766","file0":"1352045764","file4":"1352045772","file5":"1352045774","file3":"1352045770"},"map_files_photo_id_array":[{"photo_id":"1352045774","filename":"file5"},{"photo_id":"1352045768","filename":"file2"},{"photo_id":"1352045772","filename":"file4"},{"photo_id":"1352045766","filename":"file1"},{"photo_id":"1352045764","filename":"file0"},{"photo_id":"1352045770","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045770":["hashtag1","hashtag2"]},{"1352045764":["hashtag1","hashtag2"]},{"1352045772":["hashtag1","hashtag2"]},{"1352045766":["hashtag1","hashtag2"]},{"1352045774":["hashtag1","hashtag2"]},{"1352045768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045770, 1352045764, 1352045772, 1352045766, 1352045774, 1352045768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.652402639389038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:47:32.933705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/19/image_14042025_14_20_05_10390.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_15_10354.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_24_9342.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_35_10418.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_44_9347.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_54_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_20_05_10390.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_15_10354.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_24_9342.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_35_10418.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_44_9347.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_54_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045782","1352045785","1352045793","1352045796","1352045798","1352045789"],"photo_ids_order":["1352045782","1352045785","1352045789","1352045793","1352045796","1352045798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5cde4a53fc17d22f1d2b410bcfa7fd9.jpg","text":"TemporaryFile(/tmp/multipartBody3447660962902696749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110114504,"filename":"image_14042025_14_20_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/794112ce16ac17d1beadd2df69eeda8f.jpg","text":"TemporaryFile(/tmp/multipartBody6709148019841889037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110114504,"filename":"image_14042025_14_20_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bee661bcd35c149dce9ab63a4d16084.jpg","text":"TemporaryFile(/tmp/multipartBody6560504658304499108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110114504,"filename":"image_14042025_14_20_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58f8a101ea14daf88e38de625e31f3df.jpg","text":"TemporaryFile(/tmp/multipartBody8413657554545426237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110114504,"filename":"image_14042025_14_20_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e886031f823a16d4accdfcf0ca43d01c.jpg","text":"TemporaryFile(/tmp/multipartBody7281196442993261056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110114504,"filename":"image_14042025_14_20_54_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/538773ee610e3424c47a7715a70cd2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2543028323531653919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110114504,"filename":"image_14042025_14_20_24_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045789","file1":"1352045785","file0":"1352045782","file4":"1352045796","file5":"1352045798","file3":"1352045793"},"map_files_photo_id_array":[{"photo_id":"1352045798","filename":"file5"},{"photo_id":"1352045789","filename":"file2"},{"photo_id":"1352045796","filename":"file4"},{"photo_id":"1352045785","filename":"file1"},{"photo_id":"1352045782","filename":"file0"},{"photo_id":"1352045793","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045782":["hashtag1","hashtag2"]},{"1352045785":["hashtag1","hashtag2"]},{"1352045793":["hashtag1","hashtag2"]},{"1352045796":["hashtag1","hashtag2"]},{"1352045798":["hashtag1","hashtag2"]},{"1352045789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045782, 1352045785, 1352045793, 1352045796, 1352045798, 1352045789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41158127784729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:48:32.136148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/20/image_14042025_14_21_05_10379.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_25_10364.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_35_10475.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_44_9355.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_55_10494.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_22_04_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_21_05_10379.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_25_10364.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_35_10475.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_44_9355.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_55_10494.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_22_04_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045822","1352045816","1352045815","1352045818","1352045820","1352045814"],"photo_ids_order":["1352045814","1352045815","1352045816","1352045818","1352045820","1352045822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc6f75b1653c9baa8f411b71d1cf463d.jpg","text":"TemporaryFile(/tmp/multipartBody529166036166385917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110173714,"filename":"image_14042025_14_22_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86b88c1d11b8bab034869d86732297ef.jpg","text":"TemporaryFile(/tmp/multipartBody7310038749929347378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110173714,"filename":"image_14042025_14_21_35_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/323160aa585a2ae74d7adfe2fe8e022e.jpg","text":"TemporaryFile(/tmp/multipartBody2881818824328247415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110173714,"filename":"image_14042025_14_21_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bc0f6ab8c1e6b202465f8455bcd7c14.jpg","text":"TemporaryFile(/tmp/multipartBody6143021889228327695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110173714,"filename":"image_14042025_14_21_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e31f695b04c3f478b497cd944bbbee76.jpg","text":"TemporaryFile(/tmp/multipartBody8555731116303962015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110173714,"filename":"image_14042025_14_21_55_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/719cfae8c17945f79915315ba69ef247.jpg","text":"TemporaryFile(/tmp/multipartBody6369334485243272552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110173714,"filename":"image_14042025_14_21_05_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045816","file1":"1352045815","file0":"1352045814","file4":"1352045820","file5":"1352045822","file3":"1352045818"},"map_files_photo_id_array":[{"photo_id":"1352045822","filename":"file5"},{"photo_id":"1352045816","filename":"file2"},{"photo_id":"1352045820","filename":"file4"},{"photo_id":"1352045815","filename":"file1"},{"photo_id":"1352045814","filename":"file0"},{"photo_id":"1352045818","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045822":["hashtag1","hashtag2"]},{"1352045816":["hashtag1","hashtag2"]},{"1352045815":["hashtag1","hashtag2"]},{"1352045818":["hashtag1","hashtag2"]},{"1352045820":["hashtag1","hashtag2"]},{"1352045814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045822, 1352045816, 1352045815, 1352045818, 1352045820, 1352045814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63545346260071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:49:32.343245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_15_10331.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_25_10420.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_34_9352.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_45_10522.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_54_9394.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_23_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_15_10331.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_25_10420.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_34_9352.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_45_10522.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_54_9394.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_23_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045837","1352045839","1352045838","1352045841","1352045835","1352045840"],"photo_ids_order":["1352045835","1352045837","1352045838","1352045839","1352045840","1352045841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95c432279b2a90ea9fa001ed6df127ee.jpg","text":"TemporaryFile(/tmp/multipartBody3160877956252891124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110233913,"filename":"image_14042025_14_22_25_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5394d9a10e500aa42b180af5c479935f.jpg","text":"TemporaryFile(/tmp/multipartBody7997616958548425007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110233913,"filename":"image_14042025_14_22_45_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b676f56e41ba98228ce934c9ca63b67c.jpg","text":"TemporaryFile(/tmp/multipartBody7491247688832448270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110233913,"filename":"image_14042025_14_22_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7af3b0489c1abd3c15005dd3351167b2.jpg","text":"TemporaryFile(/tmp/multipartBody5545040059960699785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110233913,"filename":"image_14042025_14_23_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/280dd85694aff4c0cd761109c3a85db6.jpg","text":"TemporaryFile(/tmp/multipartBody5806194958269653941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110233913,"filename":"image_14042025_14_22_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09101cc0b0fb29a3a9607b8cd304be41.jpg","text":"TemporaryFile(/tmp/multipartBody7388750918390856594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110233913,"filename":"image_14042025_14_22_54_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045838","file1":"1352045837","file0":"1352045835","file4":"1352045840","file5":"1352045841","file3":"1352045839"},"map_files_photo_id_array":[{"photo_id":"1352045841","filename":"file5"},{"photo_id":"1352045838","filename":"file2"},{"photo_id":"1352045840","filename":"file4"},{"photo_id":"1352045837","filename":"file1"},{"photo_id":"1352045835","filename":"file0"},{"photo_id":"1352045839","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045837":["hashtag1","hashtag2"]},{"1352045839":["hashtag1","hashtag2"]},{"1352045838":["hashtag1","hashtag2"]},{"1352045841":["hashtag1","hashtag2"]},{"1352045835":["hashtag1","hashtag2"]},{"1352045840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045837, 1352045839, 1352045838, 1352045841, 1352045835, 1352045840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10365128517151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:50:32.511382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_15_10356.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_24_9362.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_35_10428.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_44_9328.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_54_10366.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_24_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_15_10356.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_24_9362.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_35_10428.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_44_9328.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_54_10366.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_24_05_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045864","1352045858","1352045860","1352045854","1352045862","1352045856"],"photo_ids_order":["1352045854","1352045856","1352045858","1352045860","1352045862","1352045864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e48b1c1e4e45d59e45b35e29f065efcb.jpg","text":"TemporaryFile(/tmp/multipartBody3577872477590980166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110294078,"filename":"image_14042025_14_24_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c037e8f643742b9e46556c4491794e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8603707717795616599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110294078,"filename":"image_14042025_14_23_35_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c230235b4e493394dfe466ff1b51da39.jpg","text":"TemporaryFile(/tmp/multipartBody5244602659430399902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110294078,"filename":"image_14042025_14_23_44_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dff2876d25a99d8187c4c20c01756b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8653830389149218271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110294078,"filename":"image_14042025_14_23_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d51dd8239cac668367b8bfce3d02a71.jpg","text":"TemporaryFile(/tmp/multipartBody8205023983634769755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110294078,"filename":"image_14042025_14_23_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3880678cd9496cd088104fcfdffd265f.jpg","text":"TemporaryFile(/tmp/multipartBody570558040252865741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110294078,"filename":"image_14042025_14_23_24_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045858","file1":"1352045856","file0":"1352045854","file4":"1352045862","file5":"1352045864","file3":"1352045860"},"map_files_photo_id_array":[{"photo_id":"1352045864","filename":"file5"},{"photo_id":"1352045858","filename":"file2"},{"photo_id":"1352045862","filename":"file4"},{"photo_id":"1352045856","filename":"file1"},{"photo_id":"1352045854","filename":"file0"},{"photo_id":"1352045860","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045864":["hashtag1","hashtag2"]},{"1352045858":["hashtag1","hashtag2"]},{"1352045860":["hashtag1","hashtag2"]},{"1352045854":["hashtag1","hashtag2"]},{"1352045862":["hashtag1","hashtag2"]},{"1352045856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045864, 1352045858, 1352045860, 1352045854, 1352045862, 1352045856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.181360960006714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:51:32.733081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_14_9345.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_25_10363.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_35_10431.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_44_9352.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_55_10425.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_25_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_14_9345.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_25_10363.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_35_10431.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_44_9352.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_55_10425.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_25_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045881","1352045875","1352045883","1352045877","1352045885","1352045879"],"photo_ids_order":["1352045875","1352045877","1352045879","1352045881","1352045883","1352045885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b10d72265ccee8380f71740b8fcec16.jpg","text":"TemporaryFile(/tmp/multipartBody1148883929547559583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110354299,"filename":"image_14042025_14_24_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9b792cf24c8085be10d904305cf9473.jpg","text":"TemporaryFile(/tmp/multipartBody8047101546333502253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110354299,"filename":"image_14042025_14_24_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f96cc701bc57832fee23806465754673.jpg","text":"TemporaryFile(/tmp/multipartBody6671118772847374508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110354299,"filename":"image_14042025_14_24_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f38094ad90a18798fafb2d1b4df98f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1908692849677247151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110354299,"filename":"image_14042025_14_24_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/615cba0486ee94a0a84f0a93d313dd31.jpg","text":"TemporaryFile(/tmp/multipartBody1983590529849671978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110354299,"filename":"image_14042025_14_25_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7176b2bf47262cfe52b55d58902b711d.jpg","text":"TemporaryFile(/tmp/multipartBody7003660287433202602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110354299,"filename":"image_14042025_14_24_35_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045879","file1":"1352045877","file0":"1352045875","file4":"1352045883","file5":"1352045885","file3":"1352045881"},"map_files_photo_id_array":[{"photo_id":"1352045885","filename":"file5"},{"photo_id":"1352045879","filename":"file2"},{"photo_id":"1352045883","filename":"file4"},{"photo_id":"1352045877","filename":"file1"},{"photo_id":"1352045875","filename":"file0"},{"photo_id":"1352045881","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045881":["hashtag1","hashtag2"]},{"1352045875":["hashtag1","hashtag2"]},{"1352045883":["hashtag1","hashtag2"]},{"1352045877":["hashtag1","hashtag2"]},{"1352045885":["hashtag1","hashtag2"]},{"1352045879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045881, 1352045875, 1352045883, 1352045877, 1352045885, 1352045879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.252624034881592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:52:33.039925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_25_10470.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_34_9344.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_45_10600.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_54_9359.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_26_05_10342.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_15_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_25_10470.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_34_9344.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_45_10600.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_54_9359.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_26_05_10342.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_15_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045895","1352045898","1352045910","1352045904","1352045907","1352045901"],"photo_ids_order":["1352045895","1352045898","1352045901","1352045904","1352045907","1352045910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0c99e3918eac1671c275a723379e1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6469931693897595738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110414619,"filename":"image_14042025_14_25_25_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/858d6de87c97c0c841fd082bc0acc161.jpg","text":"TemporaryFile(/tmp/multipartBody6760783792312581817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110414619,"filename":"image_14042025_14_25_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/463a87527d865c5edd6b081cc8d61d05.jpg","text":"TemporaryFile(/tmp/multipartBody4426964580159862494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110414619,"filename":"image_14042025_14_26_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a72428465e933472e786c325efea81f7.jpg","text":"TemporaryFile(/tmp/multipartBody2311804092715917853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110414619,"filename":"image_14042025_14_25_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd453ace52c1821a7f8edfbafe9f13b5.jpg","text":"TemporaryFile(/tmp/multipartBody2865563802428812207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110414619,"filename":"image_14042025_14_26_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aeaade305735e4d5c63200a241972d25.jpg","text":"TemporaryFile(/tmp/multipartBody7229021950340823183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110414619,"filename":"image_14042025_14_25_45_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045901","file1":"1352045898","file0":"1352045895","file4":"1352045907","file5":"1352045910","file3":"1352045904"},"map_files_photo_id_array":[{"photo_id":"1352045910","filename":"file5"},{"photo_id":"1352045901","filename":"file2"},{"photo_id":"1352045907","filename":"file4"},{"photo_id":"1352045898","filename":"file1"},{"photo_id":"1352045895","filename":"file0"},{"photo_id":"1352045904","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045895":["hashtag1","hashtag2"]},{"1352045898":["hashtag1","hashtag2"]},{"1352045910":["hashtag1","hashtag2"]},{"1352045904":["hashtag1","hashtag2"]},{"1352045907":["hashtag1","hashtag2"]},{"1352045901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045895, 1352045898, 1352045910, 1352045904, 1352045907, 1352045901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.81505823135376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:53:32.236074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_24_9360.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_35_10366.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_45_10443.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_54_9384.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_27_05_10353.jpg', '/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_14_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_24_9360.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_35_10366.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_45_10443.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_54_9384.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_27_05_10353.jpg
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_14_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045921","1352045915","1352045924","1352045918","1352045926","1352045923"],"photo_ids_order":["1352045915","1352045918","1352045921","1352045923","1352045924","1352045926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/517ff614f8b62f007b072a366e72e5fd.jpg","text":"TemporaryFile(/tmp/multipartBody6765905213884063477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110473820,"filename":"image_14042025_14_26_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2efe58bcd64b86dc13a88b851c4f7c45.jpg","text":"TemporaryFile(/tmp/multipartBody4502705863502468769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110473820,"filename":"image_14042025_14_26_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46438032ce3d3a7da63631e2d8403c60.jpg","text":"TemporaryFile(/tmp/multipartBody8960212607813325126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110473820,"filename":"image_14042025_14_27_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c32629ff9dd90f2776d2803a207a3046.jpg","text":"TemporaryFile(/tmp/multipartBody1327897820668664110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110473820,"filename":"image_14042025_14_26_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0eac5c17b460fd9ce611c4a61571b34e.jpg","text":"TemporaryFile(/tmp/multipartBody2170202269404379166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110473820,"filename":"image_14042025_14_27_14_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07ed40c8e2b27ffc3c788d92da13297a.jpg","text":"TemporaryFile(/tmp/multipartBody3837439092798882389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110473820,"filename":"image_14042025_14_26_54_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045921","file1":"1352045918","file0":"1352045915","file4":"1352045924","file5":"1352045926","file3":"1352045923"},"map_files_photo_id_array":[{"photo_id":"1352045926","filename":"file5"},{"photo_id":"1352045921","filename":"file2"},{"photo_id":"1352045924","filename":"file4"},{"photo_id":"1352045918","filename":"file1"},{"photo_id":"1352045915","filename":"file0"},{"photo_id":"1352045923","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045921":["hashtag1","hashtag2"]},{"1352045915":["hashtag1","hashtag2"]},{"1352045924":["hashtag1","hashtag2"]},{"1352045918":["hashtag1","hashtag2"]},{"1352045926":["hashtag1","hashtag2"]},{"1352045923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045921, 1352045915, 1352045924, 1352045918, 1352045926, 1352045923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.375895738601685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:54:32.414966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_25_10367.jpg', '/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_35_10427.jpg', '/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_44_9346.jpg', '/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_55_10355.jpg', '/home/pi/Desktop/images/14042025/14/27/image_14042025_14_28_05_10341.jpg', '/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_14_9316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_25_10367.jpg
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_35_10427.jpg
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_44_9346.jpg
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_55_10355.jpg
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_28_05_10341.jpg
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_14_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045942","1352045936","1352045939","1352045943","1352045937","1352045946"],"photo_ids_order":["1352045936","1352045937","1352045939","1352045942","1352045943","1352045946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56e19c25d1db8ba0459e7b17fdc78280.jpg","text":"TemporaryFile(/tmp/multipartBody6411572659744115357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110533981,"filename":"image_14042025_14_27_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b96694213147478c6e5140575b84be31.jpg","text":"TemporaryFile(/tmp/multipartBody7041336437702756970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110533981,"filename":"image_14042025_14_27_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b27b0f39611b93952ce0a2c243733b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4610241947211303140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110533981,"filename":"image_14042025_14_27_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6693d34c175474811cc6bc3b7634db55.jpg","text":"TemporaryFile(/tmp/multipartBody3302805553112441561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110533981,"filename":"image_14042025_14_28_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6706124fded2ce2ad807285f0780544.jpg","text":"TemporaryFile(/tmp/multipartBody3606510778162482577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110533981,"filename":"image_14042025_14_27_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7f642b6afda28f65f1ed3e994b962ea.jpg","text":"TemporaryFile(/tmp/multipartBody2682354269739449715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110533981,"filename":"image_14042025_14_28_14_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045939","file1":"1352045937","file0":"1352045936","file4":"1352045943","file5":"1352045946","file3":"1352045942"},"map_files_photo_id_array":[{"photo_id":"1352045946","filename":"file5"},{"photo_id":"1352045939","filename":"file2"},{"photo_id":"1352045943","filename":"file4"},{"photo_id":"1352045937","filename":"file1"},{"photo_id":"1352045936","filename":"file0"},{"photo_id":"1352045942","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045942":["hashtag1","hashtag2"]},{"1352045936":["hashtag1","hashtag2"]},{"1352045939":["hashtag1","hashtag2"]},{"1352045943":["hashtag1","hashtag2"]},{"1352045937":["hashtag1","hashtag2"]},{"1352045946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045942, 1352045936, 1352045939, 1352045943, 1352045937, 1352045946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75940704345703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:55:32.545278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_25_10433.jpg', '/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_34_9345.jpg', '/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_44_10360.jpg', '/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_55_10437.jpg', '/home/pi/Desktop/images/14042025/14/28/image_14042025_14_29_04_9404.jpg', '/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_24_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_25_10433.jpg
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_34_9345.jpg
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_44_10360.jpg
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_55_10437.jpg
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_29_04_9404.jpg
/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_24_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045963","1352045957","1352045965","1352045969","1352045960","1352045954"],"photo_ids_order":["1352045954","1352045957","1352045960","1352045963","1352045965","1352045969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4024583fbd1e59b575a913f08b2894b.jpg","text":"TemporaryFile(/tmp/multipartBody6557843284478766821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110594114,"filename":"image_14042025_14_28_55_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fd482656da0337f994efb2a10b20e49.jpg","text":"TemporaryFile(/tmp/multipartBody8581597229375884540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110594114,"filename":"image_14042025_14_28_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d6de9b3b8eff70ea15d9e01a6164374.jpg","text":"TemporaryFile(/tmp/multipartBody6065332407573159780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110594114,"filename":"image_14042025_14_29_04_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5e4d86d1d5fc2af12856d9a634fba1b.jpg","text":"TemporaryFile(/tmp/multipartBody7827359606230070569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110594114,"filename":"image_14042025_14_29_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f90f9d1b347b32bb23bd08a3f89a1416.jpg","text":"TemporaryFile(/tmp/multipartBody1086164815547935274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110594114,"filename":"image_14042025_14_28_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7b16100b608c20d013d66c654c90db3.jpg","text":"TemporaryFile(/tmp/multipartBody6427004675062208024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110594114,"filename":"image_14042025_14_28_25_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045960","file1":"1352045957","file0":"1352045954","file4":"1352045965","file5":"1352045969","file3":"1352045963"},"map_files_photo_id_array":[{"photo_id":"1352045969","filename":"file5"},{"photo_id":"1352045960","filename":"file2"},{"photo_id":"1352045965","filename":"file4"},{"photo_id":"1352045957","filename":"file1"},{"photo_id":"1352045954","filename":"file0"},{"photo_id":"1352045963","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045963":["hashtag1","hashtag2"]},{"1352045957":["hashtag1","hashtag2"]},{"1352045965":["hashtag1","hashtag2"]},{"1352045969":["hashtag1","hashtag2"]},{"1352045960":["hashtag1","hashtag2"]},{"1352045954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045963, 1352045957, 1352045965, 1352045969, 1352045960, 1352045954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.034690856933594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:56:32.796843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_34_10349.jpg', '/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_45_10363.jpg', '/home/pi/Desktop/images/14042025/14/29/image_14042025_14_30_05_10410.jpg', '/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_15_10325.jpg', '/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_24_9338.jpg', '/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_35_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_34_10349.jpg
/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_45_10363.jpg
/home/pi/Desktop/images/14042025/14/29/image_14042025_14_30_05_10410.jpg
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_15_10325.jpg
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_24_9338.jpg
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_35_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045980","1352045983","1352045977","1352045982","1352045984","1352045981"],"photo_ids_order":["1352045977","1352045980","1352045981","1352045982","1352045983","1352045984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/949227da09804a563d4fa103d2f7cf94.jpg","text":"TemporaryFile(/tmp/multipartBody4176053983088554561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110654374,"filename":"image_14042025_14_29_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c27026d402c5dc0c4be4af4a9e3b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody3576981951562784175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110654374,"filename":"image_14042025_14_30_24_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d05c5029c44a98bcf877f417c3166247.jpg","text":"TemporaryFile(/tmp/multipartBody8027077924584391958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110654374,"filename":"image_14042025_14_29_34_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3b6c724a864bc7974609eb4015c9a58.jpg","text":"TemporaryFile(/tmp/multipartBody1980474443113124860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110654374,"filename":"image_14042025_14_30_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/482ed1e398a6579f02a6eaa277b8d113.jpg","text":"TemporaryFile(/tmp/multipartBody2961698906623192781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110654374,"filename":"image_14042025_14_30_35_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec3da36c8a8e70f8c9c804035e0b4461.jpg","text":"TemporaryFile(/tmp/multipartBody7270549039038522782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110654374,"filename":"image_14042025_14_30_05_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045981","file1":"1352045980","file0":"1352045977","file4":"1352045983","file5":"1352045984","file3":"1352045982"},"map_files_photo_id_array":[{"photo_id":"1352045984","filename":"file5"},{"photo_id":"1352045981","filename":"file2"},{"photo_id":"1352045983","filename":"file4"},{"photo_id":"1352045980","filename":"file1"},{"photo_id":"1352045977","filename":"file0"},{"photo_id":"1352045982","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352045980":["hashtag1","hashtag2"]},{"1352045983":["hashtag1","hashtag2"]},{"1352045977":["hashtag1","hashtag2"]},{"1352045982":["hashtag1","hashtag2"]},{"1352045984":["hashtag1","hashtag2"]},{"1352045981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352045980, 1352045983, 1352045977, 1352045982, 1352045984, 1352045981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96800971031189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 02:57:33.130226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_44_9343.jpg', '/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_54_10378.jpg', '/home/pi/Desktop/images/14042025/14/30/image_14042025_14_31_05_10428.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_14_9340.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_25_10349.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_35_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_44_9343.jpg
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_54_10378.jpg
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_31_05_10428.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_14_9340.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_25_10349.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_35_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 02:59:03.366431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_44_9343.jpg', '/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_54_10378.jpg', '/home/pi/Desktop/images/14042025/14/30/image_14042025_14_31_05_10428.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_14_9340.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_25_10349.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_35_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_44_9343.jpg
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_54_10378.jpg
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_31_05_10428.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_14_9340.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_25_10349.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_35_10430.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352046889","1352047051","1352046838","1352046786","1352046942","1352046991"],"photo_ids_order":["1352046786","1352046838","1352046889","1352046942","1352046991","1352047051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d914c4850cc4dcda88db9105e4f86089.jpg","text":"TemporaryFile(/tmp/multipartBody5536437368695916929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110804081,"filename":"image_14042025_14_31_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3cac80027ac0a12375f4c781f599c77a.jpg","text":"TemporaryFile(/tmp/multipartBody970348430097027352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110804081,"filename":"image_14042025_14_31_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0bb48c2451e2bbae1f312ca591a6bfbe.jpg","text":"TemporaryFile(/tmp/multipartBody6095551317057772309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110804081,"filename":"image_14042025_14_30_54_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82484b3faf5f6fe8630a899929d9251a.jpg","text":"TemporaryFile(/tmp/multipartBody984398909107472402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110804081,"filename":"image_14042025_14_30_44_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20362c159f9b8c8b1e5d51815acfb8de.jpg","text":"TemporaryFile(/tmp/multipartBody2054367009217163432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110804081,"filename":"image_14042025_14_31_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74d0600c721bf84fd7e6c8ca530091bd.jpg","text":"TemporaryFile(/tmp/multipartBody1525347091524819650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110804081,"filename":"image_14042025_14_31_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352046889","file1":"1352046838","file0":"1352046786","file4":"1352046991","file5":"1352047051","file3":"1352046942"},"map_files_photo_id_array":[{"photo_id":"1352047051","filename":"file5"},{"photo_id":"1352046889","filename":"file2"},{"photo_id":"1352046991","filename":"file4"},{"photo_id":"1352046838","filename":"file1"},{"photo_id":"1352046786","filename":"file0"},{"photo_id":"1352046942","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352046889":["hashtag1","hashtag2"]},{"1352047051":["hashtag1","hashtag2"]},{"1352046838":["hashtag1","hashtag2"]},{"1352046786":["hashtag1","hashtag2"]},{"1352046942":["hashtag1","hashtag2"]},{"1352046991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352046889, 1352047051, 1352046838, 1352046786, 1352046942, 1352046991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.492618799209595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 02:59:42.479899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_44_9351.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_55_10482.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_32_04_9454.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_15_10596.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_24_9355.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_35_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_44_9351.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_55_10482.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_32_04_9454.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_15_10596.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_24_9355.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_35_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047213","1352047215","1352047211","1352047205","1352047214","1352047208"],"photo_ids_order":["1352047205","1352047208","1352047211","1352047213","1352047214","1352047215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30d011a7afdbb4defd947022cd1ec598.jpg","text":"TemporaryFile(/tmp/multipartBody105001244519483673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110843209,"filename":"image_14042025_14_32_15_10596.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e3a09a3963c124183b604a8b59f7bc5.jpg","text":"TemporaryFile(/tmp/multipartBody2388881453650679131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110843209,"filename":"image_14042025_14_32_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ccf7f89e70ba89ceb656bc19ca32e482.jpg","text":"TemporaryFile(/tmp/multipartBody254466978383280790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110843209,"filename":"image_14042025_14_32_04_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/052ef70391f7ba60c98be53ff5cd489e.jpg","text":"TemporaryFile(/tmp/multipartBody8384576949648413380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110843209,"filename":"image_14042025_14_31_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7460156ec4d914dc8d65af7d44c0008.jpg","text":"TemporaryFile(/tmp/multipartBody3444424831230540637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110843209,"filename":"image_14042025_14_32_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71d9cdb43f85d08375a3574c6934a2d4.jpg","text":"TemporaryFile(/tmp/multipartBody8499330381923401686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110843209,"filename":"image_14042025_14_31_55_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047211","file1":"1352047208","file0":"1352047205","file4":"1352047214","file5":"1352047215","file3":"1352047213"},"map_files_photo_id_array":[{"photo_id":"1352047215","filename":"file5"},{"photo_id":"1352047211","filename":"file2"},{"photo_id":"1352047214","filename":"file4"},{"photo_id":"1352047208","filename":"file1"},{"photo_id":"1352047205","filename":"file0"},{"photo_id":"1352047213","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047213":["hashtag1","hashtag2"]},{"1352047215":["hashtag1","hashtag2"]},{"1352047211":["hashtag1","hashtag2"]},{"1352047205":["hashtag1","hashtag2"]},{"1352047214":["hashtag1","hashtag2"]},{"1352047208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047213, 1352047215, 1352047211, 1352047205, 1352047214, 1352047208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.753427982330322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:00:32.765943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_45_10419.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_54_9336.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_33_04_10065.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_15_10460.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_24_9364.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_35_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_45_10419.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_54_9336.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_33_04_10065.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_15_10460.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_24_9364.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_35_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047440","1352047518","1352047404","1352047385","1352047483","1352047363"],"photo_ids_order":["1352047363","1352047385","1352047404","1352047440","1352047483","1352047518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfbadeede8d95965221f24c75424a79d.jpg","text":"TemporaryFile(/tmp/multipartBody7877648421734700829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110894318,"filename":"image_14042025_14_33_15_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95b2b73ac97d032c0f395f687b434140.jpg","text":"TemporaryFile(/tmp/multipartBody1406966305554624201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110894318,"filename":"image_14042025_14_33_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f46ac31c614fa0479f7645178494dfc0.jpg","text":"TemporaryFile(/tmp/multipartBody1872510478097781190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110894318,"filename":"image_14042025_14_33_04_10065.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cdc6bb7fbef2e4a73b2ed80a19b8275.jpg","text":"TemporaryFile(/tmp/multipartBody1737158686636540828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110894318,"filename":"image_14042025_14_32_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2d648fe12dffa177de398ae9e7982dd.jpg","text":"TemporaryFile(/tmp/multipartBody1799080653900407660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110894318,"filename":"image_14042025_14_33_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db724761943c0fdc3a6539d673b09d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5181238103755160552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110894318,"filename":"image_14042025_14_32_45_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047404","file1":"1352047385","file0":"1352047363","file4":"1352047483","file5":"1352047518","file3":"1352047440"},"map_files_photo_id_array":[{"photo_id":"1352047518","filename":"file5"},{"photo_id":"1352047404","filename":"file2"},{"photo_id":"1352047483","filename":"file4"},{"photo_id":"1352047385","filename":"file1"},{"photo_id":"1352047363","filename":"file0"},{"photo_id":"1352047440","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047440":["hashtag1","hashtag2"]},{"1352047518":["hashtag1","hashtag2"]},{"1352047404":["hashtag1","hashtag2"]},{"1352047385":["hashtag1","hashtag2"]},{"1352047483":["hashtag1","hashtag2"]},{"1352047363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047440, 1352047518, 1352047404, 1352047385, 1352047483, 1352047363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49916458129883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:01:33.073845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_45_10353.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_54_9399.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_34_05_10470.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_14_9343.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_25_10346.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_35_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_45_10353.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_54_9399.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_34_05_10470.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_14_9343.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_25_10346.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_35_10489.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6013484001159668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 03:01:43.089804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_45_10353.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_54_9399.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_34_05_10470.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_14_9343.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_25_10346.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_35_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_45_10353.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_54_9399.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_34_05_10470.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_14_9343.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_25_10346.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_35_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047801","1352047770","1352047752","1352047755","1352047818","1352047798"],"photo_ids_order":["1352047752","1352047755","1352047770","1352047798","1352047801","1352047818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46bee799ac1ee9619ad78d258ebd9dca.jpg","text":"TemporaryFile(/tmp/multipartBody5160789289999421400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110963738,"filename":"image_14042025_14_34_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06c3c37f8b28ae9945afffa6c144dd80.jpg","text":"TemporaryFile(/tmp/multipartBody6649605537723710405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110963738,"filename":"image_14042025_14_34_05_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fc65db81b2d02a48ee73995c706e2d5.jpg","text":"TemporaryFile(/tmp/multipartBody6506010254351476148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110963738,"filename":"image_14042025_14_33_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d30e2f6efc9ab3efc8beed23a5954f29.jpg","text":"TemporaryFile(/tmp/multipartBody2340212857597828633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110963738,"filename":"image_14042025_14_33_54_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d1886027acd87c5f849117562be06c9.jpg","text":"TemporaryFile(/tmp/multipartBody8917297783959394157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110963738,"filename":"image_14042025_14_34_35_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ea18ffabdf5139b090e489468ad908c.jpg","text":"TemporaryFile(/tmp/multipartBody3136353393857204434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745110963738,"filename":"image_14042025_14_34_14_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047770","file1":"1352047755","file0":"1352047752","file4":"1352047801","file5":"1352047818","file3":"1352047798"},"map_files_photo_id_array":[{"photo_id":"1352047818","filename":"file5"},{"photo_id":"1352047770","filename":"file2"},{"photo_id":"1352047801","filename":"file4"},{"photo_id":"1352047755","filename":"file1"},{"photo_id":"1352047752","filename":"file0"},{"photo_id":"1352047798","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047801":["hashtag1","hashtag2"]},{"1352047770":["hashtag1","hashtag2"]},{"1352047752":["hashtag1","hashtag2"]},{"1352047755":["hashtag1","hashtag2"]},{"1352047818":["hashtag1","hashtag2"]},{"1352047798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047801, 1352047770, 1352047752, 1352047755, 1352047818, 1352047798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.56250286102295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:02:32.249521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_44_9421.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_35_04_9431.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_15_10454.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_24_9388.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_34_10369.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_44_9421.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_35_04_9431.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_15_10454.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_24_9388.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_34_10369.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_45_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047845","1352047839","1352047848","1352047842","1352047836","1352047850"],"photo_ids_order":["1352047836","1352047839","1352047842","1352047845","1352047848","1352047850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/958faf8746c200c200c23bf57811d781.jpg","text":"TemporaryFile(/tmp/multipartBody5259227474783444753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111013812,"filename":"image_14042025_14_35_24_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db24479e1c4dc4d7770ac799a1702fde.jpg","text":"TemporaryFile(/tmp/multipartBody6394653417857382312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111013812,"filename":"image_14042025_14_35_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e74e811326fa6813b851c517587979d0.jpg","text":"TemporaryFile(/tmp/multipartBody5910648376948404456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111013812,"filename":"image_14042025_14_35_34_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/118b7626d39a3ba673d5c76851466450.jpg","text":"TemporaryFile(/tmp/multipartBody7919628469563357528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111013812,"filename":"image_14042025_14_35_15_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfc4947961d8b8b19104b0be09c698f3.jpg","text":"TemporaryFile(/tmp/multipartBody4315586454252433315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111013812,"filename":"image_14042025_14_34_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b01b9540fc93332759e0ff05615d0a22.jpg","text":"TemporaryFile(/tmp/multipartBody8802820934263141938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111013812,"filename":"image_14042025_14_35_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047842","file1":"1352047839","file0":"1352047836","file4":"1352047848","file5":"1352047850","file3":"1352047845"},"map_files_photo_id_array":[{"photo_id":"1352047850","filename":"file5"},{"photo_id":"1352047842","filename":"file2"},{"photo_id":"1352047848","filename":"file4"},{"photo_id":"1352047839","filename":"file1"},{"photo_id":"1352047836","filename":"file0"},{"photo_id":"1352047845","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047845":["hashtag1","hashtag2"]},{"1352047839":["hashtag1","hashtag2"]},{"1352047848":["hashtag1","hashtag2"]},{"1352047842":["hashtag1","hashtag2"]},{"1352047836":["hashtag1","hashtag2"]},{"1352047850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047845, 1352047839, 1352047848, 1352047842, 1352047836, 1352047850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9194495677948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:03:32.406606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_54_9332.jpg', '/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_15_10362.jpg', '/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_24_9387.jpg', '/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_35_10441.jpg', '/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_45_10355.jpg', '/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_55_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_54_9332.jpg
/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_15_10362.jpg
/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_24_9387.jpg
/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_35_10441.jpg
/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_45_10355.jpg
/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_55_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047864","1352047866","1352047860","1352047868","1352047862","1352047870"],"photo_ids_order":["1352047860","1352047862","1352047864","1352047866","1352047868","1352047870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cba7af3d15887ff8793f5deff5948ed.jpg","text":"TemporaryFile(/tmp/multipartBody4101454941921978424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111073951,"filename":"image_14042025_14_36_24_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55f9cef1c0497623b0d1f0b19087377b.jpg","text":"TemporaryFile(/tmp/multipartBody4189333376674300160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111073951,"filename":"image_14042025_14_36_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02ee43755b669b04d24107583f277c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1168156871603494230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111073951,"filename":"image_14042025_14_35_54_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9655c385ec7a5c13774a7fafccf0f5c.jpg","text":"TemporaryFile(/tmp/multipartBody4910202782284455566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111073951,"filename":"image_14042025_14_36_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7db72dcbea589ba049d0e46a35101d73.jpg","text":"TemporaryFile(/tmp/multipartBody6659815286020675892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111073951,"filename":"image_14042025_14_36_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03b259ca58c949a6544932684d54dd57.jpg","text":"TemporaryFile(/tmp/multipartBody4922399523205989188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111073951,"filename":"image_14042025_14_36_55_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047864","file1":"1352047862","file0":"1352047860","file4":"1352047868","file5":"1352047870","file3":"1352047866"},"map_files_photo_id_array":[{"photo_id":"1352047870","filename":"file5"},{"photo_id":"1352047864","filename":"file2"},{"photo_id":"1352047868","filename":"file4"},{"photo_id":"1352047862","filename":"file1"},{"photo_id":"1352047860","filename":"file0"},{"photo_id":"1352047866","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047864":["hashtag1","hashtag2"]},{"1352047866":["hashtag1","hashtag2"]},{"1352047860":["hashtag1","hashtag2"]},{"1352047868":["hashtag1","hashtag2"]},{"1352047862":["hashtag1","hashtag2"]},{"1352047870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047864, 1352047866, 1352047860, 1352047868, 1352047862, 1352047870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39613056182861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:04:32.610206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/36/image_14042025_14_37_05_10357.jpg', '/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_14_9339.jpg', '/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_25_10351.jpg', '/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_35_10428.jpg', '/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_44_9442.jpg', '/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_55_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/36/image_14042025_14_37_05_10357.jpg
/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_14_9339.jpg
/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_25_10351.jpg
/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_35_10428.jpg
/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_44_9442.jpg
/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_55_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047890","1352047884","1352047887","1352047892","1352047879","1352047882"],"photo_ids_order":["1352047879","1352047882","1352047884","1352047887","1352047890","1352047892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb91f833cee78162656a4aa73f908144.jpg","text":"TemporaryFile(/tmp/multipartBody1568090186029571469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111134200,"filename":"image_14042025_14_37_44_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60010cef2c9728000179360eace31252.jpg","text":"TemporaryFile(/tmp/multipartBody4829648029559499781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111134200,"filename":"image_14042025_14_37_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb784fc13ccaaeab69b4905f041667aa.jpg","text":"TemporaryFile(/tmp/multipartBody6961941363159194484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111134200,"filename":"image_14042025_14_37_35_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61c2094e14a91bd863e1957023748240.jpg","text":"TemporaryFile(/tmp/multipartBody4718003218843070738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111134200,"filename":"image_14042025_14_37_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a0faac81c9fdd697d21bdfe3efbbd39.jpg","text":"TemporaryFile(/tmp/multipartBody4480458937605098112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111134200,"filename":"image_14042025_14_37_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3420cafc5eac1bc6ab8868189cb8bb15.jpg","text":"TemporaryFile(/tmp/multipartBody3386816113982076091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111134200,"filename":"image_14042025_14_37_14_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047884","file1":"1352047882","file0":"1352047879","file4":"1352047890","file5":"1352047892","file3":"1352047887"},"map_files_photo_id_array":[{"photo_id":"1352047892","filename":"file5"},{"photo_id":"1352047884","filename":"file2"},{"photo_id":"1352047890","filename":"file4"},{"photo_id":"1352047882","filename":"file1"},{"photo_id":"1352047879","filename":"file0"},{"photo_id":"1352047887","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047890":["hashtag1","hashtag2"]},{"1352047884":["hashtag1","hashtag2"]},{"1352047887":["hashtag1","hashtag2"]},{"1352047892":["hashtag1","hashtag2"]},{"1352047879":["hashtag1","hashtag2"]},{"1352047882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047890, 1352047884, 1352047887, 1352047892, 1352047879, 1352047882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.22394561767578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:05:32.826587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_15_10338.jpg', '/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_45_10343.jpg', '/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_55_10406.jpg', '/home/pi/Desktop/images/14042025/14/38/image_14042025_14_39_04_9445.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_24_9342.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_15_10338.jpg
/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_45_10343.jpg
/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_55_10406.jpg
/home/pi/Desktop/images/14042025/14/38/image_14042025_14_39_04_9445.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_24_9342.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047912","1352047906","1352047914","1352047908","1352047910","1352047904"],"photo_ids_order":["1352047904","1352047906","1352047908","1352047910","1352047912","1352047914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab7a9990f8371fa86994a50b960a4ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1792759561417575454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111194394,"filename":"image_14042025_14_39_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca190f977dd178281b3703038625dc15.jpg","text":"TemporaryFile(/tmp/multipartBody2056001681881832190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111194394,"filename":"image_14042025_14_38_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57ef6dadbcb7b93802846d1b116f49a1.jpg","text":"TemporaryFile(/tmp/multipartBody2489553168993215254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111194394,"filename":"image_14042025_14_39_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/597947e3db8f9445574328af022595d8.jpg","text":"TemporaryFile(/tmp/multipartBody6431447556456192752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111194394,"filename":"image_14042025_14_38_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6c9c1e3406e0c4650086bc16a71bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody5892097028037452794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111194394,"filename":"image_14042025_14_39_04_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ca9cbb1f9c593fc7826ca545362251b.jpg","text":"TemporaryFile(/tmp/multipartBody6799833648997549861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111194394,"filename":"image_14042025_14_38_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047908","file1":"1352047906","file0":"1352047904","file4":"1352047912","file5":"1352047914","file3":"1352047910"},"map_files_photo_id_array":[{"photo_id":"1352047914","filename":"file5"},{"photo_id":"1352047908","filename":"file2"},{"photo_id":"1352047912","filename":"file4"},{"photo_id":"1352047906","filename":"file1"},{"photo_id":"1352047904","filename":"file0"},{"photo_id":"1352047910","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047912":["hashtag1","hashtag2"]},{"1352047906":["hashtag1","hashtag2"]},{"1352047914":["hashtag1","hashtag2"]},{"1352047908":["hashtag1","hashtag2"]},{"1352047910":["hashtag1","hashtag2"]},{"1352047904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047912, 1352047906, 1352047914, 1352047908, 1352047910, 1352047904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.436795234680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:06:33.197242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_45_10394.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_54_9387.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_40_05_10386.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_14_9327.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_24_10359.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_35_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_45_10394.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_54_9387.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_40_05_10386.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_14_9327.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_24_10359.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_35_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047930","1352047924","1352047932","1352047926","1352047931","1352047928"],"photo_ids_order":["1352047924","1352047926","1352047928","1352047930","1352047931","1352047932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c10ae0cb4d80cdb080b9d9af0f03875.jpg","text":"TemporaryFile(/tmp/multipartBody1254014856849932551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111254759,"filename":"image_14042025_14_40_14_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/978371529439107b1bf6736b27a6b47f.jpg","text":"TemporaryFile(/tmp/multipartBody9183987177391018009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111254759,"filename":"image_14042025_14_39_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b43d89991ed051f6018703d729bd2d2.jpg","text":"TemporaryFile(/tmp/multipartBody7339380758826374683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111254759,"filename":"image_14042025_14_40_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72e1edbd3cef87008fad40218c9f9859.jpg","text":"TemporaryFile(/tmp/multipartBody6107034424989223228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111254759,"filename":"image_14042025_14_39_54_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be78268cd45d6b66f394223d35298981.jpg","text":"TemporaryFile(/tmp/multipartBody8082526949604613194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111254759,"filename":"image_14042025_14_40_24_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/091feeca787c6af158d682593d267a8b.jpg","text":"TemporaryFile(/tmp/multipartBody8032447746329901568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111254759,"filename":"image_14042025_14_40_05_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047928","file1":"1352047926","file0":"1352047924","file4":"1352047931","file5":"1352047932","file3":"1352047930"},"map_files_photo_id_array":[{"photo_id":"1352047932","filename":"file5"},{"photo_id":"1352047928","filename":"file2"},{"photo_id":"1352047931","filename":"file4"},{"photo_id":"1352047926","filename":"file1"},{"photo_id":"1352047924","filename":"file0"},{"photo_id":"1352047930","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047930":["hashtag1","hashtag2"]},{"1352047924":["hashtag1","hashtag2"]},{"1352047932":["hashtag1","hashtag2"]},{"1352047926":["hashtag1","hashtag2"]},{"1352047931":["hashtag1","hashtag2"]},{"1352047928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047930, 1352047924, 1352047932, 1352047926, 1352047931, 1352047928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.131920337677002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:07:32.394094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_44_9348.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_55_10348.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_41_05_10441.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_14_9337.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_25_10501.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_34_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_44_9348.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_55_10348.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_41_05_10441.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_14_9337.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_25_10501.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_34_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047953","1352047955","1352047943","1352047946","1352047951","1352047948"],"photo_ids_order":["1352047943","1352047946","1352047948","1352047951","1352047953","1352047955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fadd89a8bd6aad88455e4b2ac5177103.jpg","text":"TemporaryFile(/tmp/multipartBody4247445859103255587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111313966,"filename":"image_14042025_14_41_25_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0a079532600866f33a14563474adb03.jpg","text":"TemporaryFile(/tmp/multipartBody211330023742182633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111313966,"filename":"image_14042025_14_41_34_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cab3385d87a7f6fd4f2436780bf5a7b5.jpg","text":"TemporaryFile(/tmp/multipartBody6418691120649104505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111313966,"filename":"image_14042025_14_40_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5b21488de229a22400f25f2160477a8.jpg","text":"TemporaryFile(/tmp/multipartBody2729385580974042752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111313966,"filename":"image_14042025_14_40_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73775e539c03b98436d27806a9ddb34b.jpg","text":"TemporaryFile(/tmp/multipartBody2375730101442957567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111313966,"filename":"image_14042025_14_41_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a08318687be8ef38e733015818f05b84.jpg","text":"TemporaryFile(/tmp/multipartBody4705339243097614186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111313966,"filename":"image_14042025_14_41_05_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047948","file1":"1352047946","file0":"1352047943","file4":"1352047953","file5":"1352047955","file3":"1352047951"},"map_files_photo_id_array":[{"photo_id":"1352047955","filename":"file5"},{"photo_id":"1352047948","filename":"file2"},{"photo_id":"1352047953","filename":"file4"},{"photo_id":"1352047946","filename":"file1"},{"photo_id":"1352047943","filename":"file0"},{"photo_id":"1352047951","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047953":["hashtag1","hashtag2"]},{"1352047955":["hashtag1","hashtag2"]},{"1352047943":["hashtag1","hashtag2"]},{"1352047946":["hashtag1","hashtag2"]},{"1352047951":["hashtag1","hashtag2"]},{"1352047948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047953, 1352047955, 1352047943, 1352047946, 1352047951, 1352047948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01063013076782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:08:32.591425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_45_10485.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_54_9356.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_42_04_10377.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_15_10450.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_35_10452.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_44_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_45_10485.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_54_9356.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_42_04_10377.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_15_10450.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_35_10452.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_44_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047977","1352047971","1352047968","1352047973","1352047979","1352047975"],"photo_ids_order":["1352047968","1352047971","1352047973","1352047975","1352047977","1352047979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/364db80298f691c7b952340faa959a53.jpg","text":"TemporaryFile(/tmp/multipartBody7378634199000951448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111374186,"filename":"image_14042025_14_42_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95d8a130914026502bf33a8a04637012.jpg","text":"TemporaryFile(/tmp/multipartBody1440039428121259519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111374186,"filename":"image_14042025_14_41_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91c5bb24bd2ea4a2ca086e4e964637fa.jpg","text":"TemporaryFile(/tmp/multipartBody5911879957261278256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111374186,"filename":"image_14042025_14_41_45_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/831735de2d26e2a22dc8b72331d272d2.jpg","text":"TemporaryFile(/tmp/multipartBody7697965690468424481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111374186,"filename":"image_14042025_14_42_04_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fc206ab9dd962d0972a681a6bc6043d.jpg","text":"TemporaryFile(/tmp/multipartBody8573184372511033918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111374186,"filename":"image_14042025_14_42_44_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83cf51669c77f1846f348ed9c0f130d0.jpg","text":"TemporaryFile(/tmp/multipartBody7908740466854422124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111374186,"filename":"image_14042025_14_42_15_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047973","file1":"1352047971","file0":"1352047968","file4":"1352047977","file5":"1352047979","file3":"1352047975"},"map_files_photo_id_array":[{"photo_id":"1352047979","filename":"file5"},{"photo_id":"1352047973","filename":"file2"},{"photo_id":"1352047977","filename":"file4"},{"photo_id":"1352047971","filename":"file1"},{"photo_id":"1352047968","filename":"file0"},{"photo_id":"1352047975","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352047977":["hashtag1","hashtag2"]},{"1352047971":["hashtag1","hashtag2"]},{"1352047968":["hashtag1","hashtag2"]},{"1352047973":["hashtag1","hashtag2"]},{"1352047979":["hashtag1","hashtag2"]},{"1352047975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352047977, 1352047971, 1352047968, 1352047973, 1352047979, 1352047975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74796485900879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:09:32.733066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_55_10496.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_43_04_9439.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_15_10365.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_25_10414.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_34_9340.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_55_10496.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_43_04_9439.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_15_10365.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_25_10414.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_34_9340.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048001","1352047991","1352047994","1352047988","1352048003","1352047999"],"photo_ids_order":["1352047988","1352047991","1352047994","1352047999","1352048001","1352048003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31fcd4abe435fb6664cf584b99247bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4039902647017521000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111434285,"filename":"image_14042025_14_43_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15250f24851dceeb89aba33a2102acf5.jpg","text":"TemporaryFile(/tmp/multipartBody1997586041337214844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111434285,"filename":"image_14042025_14_43_04_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad248c2b8e710518e90ec54fbe0e7ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7264038351416196902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111434285,"filename":"image_14042025_14_43_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9aa71b8aabe6da4c8920f00235671a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7175548779851026980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111434285,"filename":"image_14042025_14_42_55_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47104c0176792af0c76a66491ea9cb37.jpg","text":"TemporaryFile(/tmp/multipartBody6657990891384792684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111434285,"filename":"image_14042025_14_43_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7342619f11a2da96d550eb0fa1f5c3c2.jpg","text":"TemporaryFile(/tmp/multipartBody6257124688896786556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111434285,"filename":"image_14042025_14_43_25_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047994","file1":"1352047991","file0":"1352047988","file4":"1352048001","file5":"1352048003","file3":"1352047999"},"map_files_photo_id_array":[{"photo_id":"1352048003","filename":"file5"},{"photo_id":"1352047994","filename":"file2"},{"photo_id":"1352048001","filename":"file4"},{"photo_id":"1352047991","filename":"file1"},{"photo_id":"1352047988","filename":"file0"},{"photo_id":"1352047999","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048001":["hashtag1","hashtag2"]},{"1352047991":["hashtag1","hashtag2"]},{"1352047994":["hashtag1","hashtag2"]},{"1352047988":["hashtag1","hashtag2"]},{"1352048003":["hashtag1","hashtag2"]},{"1352047999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048001, 1352047991, 1352047994, 1352047988, 1352048003, 1352047999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.793811559677124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:10:33.062561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/43/image_14042025_14_44_04_10353.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_15_10395.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_24_9357.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_35_10368.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_45_10453.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_54_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_44_04_10353.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_15_10395.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_24_9357.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_35_10368.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_45_10453.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_54_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048037","1352048031","1352048025","1352048034","1352048027","1352048029"],"photo_ids_order":["1352048025","1352048027","1352048029","1352048031","1352048034","1352048037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/814e06cd7bca0108782b1337fb5f4ea1.jpg","text":"TemporaryFile(/tmp/multipartBody956005257831661350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111494637,"filename":"image_14042025_14_44_54_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a752b386d6913f7fe522671a82161017.jpg","text":"TemporaryFile(/tmp/multipartBody6420220058657114221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111494637,"filename":"image_14042025_14_44_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd9b755ef86bc76dd3db045f647e668c.jpg","text":"TemporaryFile(/tmp/multipartBody4102520512129483817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111494637,"filename":"image_14042025_14_44_04_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ca964197732e53f6f0e1b6eb4bcc9b8.jpg","text":"TemporaryFile(/tmp/multipartBody5016963246273037350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111494637,"filename":"image_14042025_14_44_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d691928ad0384cb04412adff7bee57e.jpg","text":"TemporaryFile(/tmp/multipartBody3082809749423945306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111494637,"filename":"image_14042025_14_44_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab3c3f1946e64cf6e12b9a0e8629fcd4.jpg","text":"TemporaryFile(/tmp/multipartBody9183609678701842037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111494637,"filename":"image_14042025_14_44_24_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048029","file1":"1352048027","file0":"1352048025","file4":"1352048034","file5":"1352048037","file3":"1352048031"},"map_files_photo_id_array":[{"photo_id":"1352048037","filename":"file5"},{"photo_id":"1352048029","filename":"file2"},{"photo_id":"1352048034","filename":"file4"},{"photo_id":"1352048027","filename":"file1"},{"photo_id":"1352048025","filename":"file0"},{"photo_id":"1352048031","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048037":["hashtag1","hashtag2"]},{"1352048031":["hashtag1","hashtag2"]},{"1352048025":["hashtag1","hashtag2"]},{"1352048034":["hashtag1","hashtag2"]},{"1352048027":["hashtag1","hashtag2"]},{"1352048029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048037, 1352048031, 1352048025, 1352048034, 1352048027, 1352048029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.659642696380615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:11:32.220577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_14_9442.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_25_10369.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_35_10361.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_44_9416.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_55_10415.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_46_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_14_9442.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_25_10369.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_35_10361.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_44_9416.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_55_10415.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_46_04_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048060","1352048054","1352048051","1352048059","1352048062","1352048056"],"photo_ids_order":["1352048051","1352048054","1352048056","1352048059","1352048060","1352048062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8a8eecf79ffd9072e2e0b81c48136ae.jpg","text":"TemporaryFile(/tmp/multipartBody210955838371061145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111553808,"filename":"image_14042025_14_45_55_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b1b445b8bd73c5da0fdbb1650f1b854.jpg","text":"TemporaryFile(/tmp/multipartBody661094515446236395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111553808,"filename":"image_14042025_14_45_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc319c676ade4c89057bc4fa461af5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2047544166366928659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111553808,"filename":"image_14042025_14_45_14_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddc4393f80ac4b50e09bdc50244b93f8.jpg","text":"TemporaryFile(/tmp/multipartBody2744699983284427113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111553808,"filename":"image_14042025_14_45_44_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee3ac4e00732bf1907d6c545baea3f59.jpg","text":"TemporaryFile(/tmp/multipartBody8372250339298915016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111553808,"filename":"image_14042025_14_46_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/469bf8528962c425e7c7fec01e481257.jpg","text":"TemporaryFile(/tmp/multipartBody60447343352914544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111553808,"filename":"image_14042025_14_45_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048056","file1":"1352048054","file0":"1352048051","file4":"1352048060","file5":"1352048062","file3":"1352048059"},"map_files_photo_id_array":[{"photo_id":"1352048062","filename":"file5"},{"photo_id":"1352048056","filename":"file2"},{"photo_id":"1352048060","filename":"file4"},{"photo_id":"1352048054","filename":"file1"},{"photo_id":"1352048051","filename":"file0"},{"photo_id":"1352048059","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048060":["hashtag1","hashtag2"]},{"1352048054":["hashtag1","hashtag2"]},{"1352048051":["hashtag1","hashtag2"]},{"1352048059":["hashtag1","hashtag2"]},{"1352048062":["hashtag1","hashtag2"]},{"1352048056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048060, 1352048054, 1352048051, 1352048059, 1352048062, 1352048056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.507235527038574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:12:32.347849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_15_10341.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_25_10348.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_34_9366.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_45_10476.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_54_9346.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_47_04_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_15_10341.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_25_10348.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_34_9366.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_45_10476.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_54_9346.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_47_04_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048076","1352048079","1352048072","1352048081","1352048077","1352048074"],"photo_ids_order":["1352048072","1352048074","1352048076","1352048077","1352048079","1352048081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d683331aa8622877060ce5f347c1e543.jpg","text":"TemporaryFile(/tmp/multipartBody7765217664271794013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111613924,"filename":"image_14042025_14_46_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c3c229313c37ea80c5ad49996e347da.jpg","text":"TemporaryFile(/tmp/multipartBody1075443676321124924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111613924,"filename":"image_14042025_14_46_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a075dfd57c3a2f54eac963c8e4035ada.jpg","text":"TemporaryFile(/tmp/multipartBody8527590401554085070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111613924,"filename":"image_14042025_14_46_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/605d3cc42b3b859e3a43b4a4591fab02.jpg","text":"TemporaryFile(/tmp/multipartBody7539655810539631211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111613924,"filename":"image_14042025_14_47_04_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8196e05b5390d64583e0e80fe634d68d.jpg","text":"TemporaryFile(/tmp/multipartBody9206072278785623878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111613924,"filename":"image_14042025_14_46_45_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10281e4f21b496e4bb77a65b803ed2bc.jpg","text":"TemporaryFile(/tmp/multipartBody2937374836816586224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111613924,"filename":"image_14042025_14_46_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048076","file1":"1352048074","file0":"1352048072","file4":"1352048079","file5":"1352048081","file3":"1352048077"},"map_files_photo_id_array":[{"photo_id":"1352048081","filename":"file5"},{"photo_id":"1352048076","filename":"file2"},{"photo_id":"1352048079","filename":"file4"},{"photo_id":"1352048074","filename":"file1"},{"photo_id":"1352048072","filename":"file0"},{"photo_id":"1352048077","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048076":["hashtag1","hashtag2"]},{"1352048079":["hashtag1","hashtag2"]},{"1352048072":["hashtag1","hashtag2"]},{"1352048081":["hashtag1","hashtag2"]},{"1352048077":["hashtag1","hashtag2"]},{"1352048074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048076, 1352048079, 1352048072, 1352048081, 1352048077, 1352048074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.581483364105225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:13:32.685097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_15_10399.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_24_9359.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_35_10473.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_44_9440.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_55_10446.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_48_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_15_10399.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_24_9359.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_35_10473.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_44_9440.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_55_10446.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_48_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048112","1352048106","1352048109","1352048099","1352048103","1352048095"],"photo_ids_order":["1352048095","1352048099","1352048103","1352048106","1352048109","1352048112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fafa81cd2d3990298def8008387d962.jpg","text":"TemporaryFile(/tmp/multipartBody875936224544063247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111674275,"filename":"image_14042025_14_48_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3367eab8accd0b32a7094098e65ee784.jpg","text":"TemporaryFile(/tmp/multipartBody1085673265617298340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111674275,"filename":"image_14042025_14_47_44_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/493a168a0e55d894572250192ed9ae90.jpg","text":"TemporaryFile(/tmp/multipartBody2758301513250372526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111674275,"filename":"image_14042025_14_47_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70904c347f989f81a2f02c3878da2d91.jpg","text":"TemporaryFile(/tmp/multipartBody1192013537253496098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111674275,"filename":"image_14042025_14_47_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b743f43d83899dea8a9579bd92914ed.jpg","text":"TemporaryFile(/tmp/multipartBody372611745100001819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111674275,"filename":"image_14042025_14_47_35_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41c9c8746649a46b901c419fb389f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody2806471481812324024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111674275,"filename":"image_14042025_14_47_15_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048103","file1":"1352048099","file0":"1352048095","file4":"1352048109","file5":"1352048112","file3":"1352048106"},"map_files_photo_id_array":[{"photo_id":"1352048112","filename":"file5"},{"photo_id":"1352048103","filename":"file2"},{"photo_id":"1352048109","filename":"file4"},{"photo_id":"1352048099","filename":"file1"},{"photo_id":"1352048095","filename":"file0"},{"photo_id":"1352048106","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048112":["hashtag1","hashtag2"]},{"1352048106":["hashtag1","hashtag2"]},{"1352048109":["hashtag1","hashtag2"]},{"1352048099":["hashtag1","hashtag2"]},{"1352048103":["hashtag1","hashtag2"]},{"1352048095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048112, 1352048106, 1352048109, 1352048099, 1352048103, 1352048095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.55187177658081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:14:32.825198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_25_10455.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_34_9340.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_44_10345.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_55_10391.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_49_04_9380.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_25_10455.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_34_9340.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_44_10345.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_55_10391.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_49_04_9380.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048130","1352048133","1352048127","1352048140","1352048137","1352048122"],"photo_ids_order":["1352048122","1352048127","1352048130","1352048133","1352048137","1352048140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25d269f5f4d74ba95d5e482d904f1f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2869456327628492048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111734397,"filename":"image_14042025_14_48_44_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c24073ffa6642f437a93122feabeb4de.jpg","text":"TemporaryFile(/tmp/multipartBody7601168452443326703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111734397,"filename":"image_14042025_14_48_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96f95304af6d4d64c8582485f75cc493.jpg","text":"TemporaryFile(/tmp/multipartBody5111993825870875455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111734397,"filename":"image_14042025_14_48_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7b8baa85ef7448546dd4dc6b99ac0e8.jpg","text":"TemporaryFile(/tmp/multipartBody8825833185829695586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111734397,"filename":"image_14042025_14_49_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c230397c2185cead86d882c815f2987.jpg","text":"TemporaryFile(/tmp/multipartBody9178755626642808257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111734397,"filename":"image_14042025_14_49_04_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96fe589d142fb3f2599e58fd53936771.jpg","text":"TemporaryFile(/tmp/multipartBody2484625545045644042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111734397,"filename":"image_14042025_14_48_25_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048130","file1":"1352048127","file0":"1352048122","file4":"1352048137","file5":"1352048140","file3":"1352048133"},"map_files_photo_id_array":[{"photo_id":"1352048140","filename":"file5"},{"photo_id":"1352048130","filename":"file2"},{"photo_id":"1352048137","filename":"file4"},{"photo_id":"1352048127","filename":"file1"},{"photo_id":"1352048122","filename":"file0"},{"photo_id":"1352048133","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048130":["hashtag1","hashtag2"]},{"1352048133":["hashtag1","hashtag2"]},{"1352048127":["hashtag1","hashtag2"]},{"1352048140":["hashtag1","hashtag2"]},{"1352048137":["hashtag1","hashtag2"]},{"1352048122":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048130, 1352048133, 1352048127, 1352048140, 1352048137, 1352048122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53954553604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:15:33.056323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_25_10429.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_34_9429.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_45_10446.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_54_9349.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_50_05_10346.jpg', '/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_25_10429.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_34_9429.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_45_10446.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_54_9349.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_50_05_10346.jpg
/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048160","1352048154","1352048157","1352048151","1352048145","1352048148"],"photo_ids_order":["1352048145","1352048148","1352048151","1352048154","1352048157","1352048160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa9594397f5a61e24252b19348746721.jpg","text":"TemporaryFile(/tmp/multipartBody7670862508142548891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111794625,"filename":"image_14042025_14_50_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cea639fc8b7a9f40af35dbfa41a2447a.jpg","text":"TemporaryFile(/tmp/multipartBody8740089991807123353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111794625,"filename":"image_14042025_14_49_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/475f5eb94225815cb9bd8daebc9a9c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3685113751046935958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111794625,"filename":"image_14042025_14_50_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32c377821d6aa9b4d9ef58b81e0056f8.jpg","text":"TemporaryFile(/tmp/multipartBody5105399777898641566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111794625,"filename":"image_14042025_14_49_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7751bbe18f711790632343b025c4cb57.jpg","text":"TemporaryFile(/tmp/multipartBody2167669997917481202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111794625,"filename":"image_14042025_14_49_25_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e826db8b6e5becf3294904d67e0f194.jpg","text":"TemporaryFile(/tmp/multipartBody8210889493411841869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111794625,"filename":"image_14042025_14_49_34_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048151","file1":"1352048148","file0":"1352048145","file4":"1352048157","file5":"1352048160","file3":"1352048154"},"map_files_photo_id_array":[{"photo_id":"1352048160","filename":"file5"},{"photo_id":"1352048151","filename":"file2"},{"photo_id":"1352048157","filename":"file4"},{"photo_id":"1352048148","filename":"file1"},{"photo_id":"1352048145","filename":"file0"},{"photo_id":"1352048154","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048160":["hashtag1","hashtag2"]},{"1352048154":["hashtag1","hashtag2"]},{"1352048157":["hashtag1","hashtag2"]},{"1352048151":["hashtag1","hashtag2"]},{"1352048145":["hashtag1","hashtag2"]},{"1352048148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048160, 1352048154, 1352048157, 1352048151, 1352048145, 1352048148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81409764289856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:16:33.139423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_24_9349.jpg', '/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_35_10354.jpg', '/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_45_10449.jpg', '/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_54_9386.jpg', '/home/pi/Desktop/images/14042025/14/50/image_14042025_14_51_05_10362.jpg', '/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_14_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_24_9349.jpg
/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_35_10354.jpg
/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_45_10449.jpg
/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_54_9386.jpg
/home/pi/Desktop/images/14042025/14/50/image_14042025_14_51_05_10362.jpg
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_14_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048181","1352048175","1352048184","1352048178","1352048171","1352048167"],"photo_ids_order":["1352048167","1352048171","1352048175","1352048178","1352048181","1352048184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b5f50a74f00ca8084986c5cb37f92b0.jpg","text":"TemporaryFile(/tmp/multipartBody6820469043428431919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111854703,"filename":"image_14042025_14_51_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e150be4ddfe833c95bcfad8edb8b651e.jpg","text":"TemporaryFile(/tmp/multipartBody8341846867161765866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111854703,"filename":"image_14042025_14_50_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2849882a67b2e3019bd5334dbfc381ca.jpg","text":"TemporaryFile(/tmp/multipartBody6147802599538480494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111854703,"filename":"image_14042025_14_51_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/189ef1f76031929c3b42f5c36cf1001c.jpg","text":"TemporaryFile(/tmp/multipartBody7467924393466100810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111854703,"filename":"image_14042025_14_50_54_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2433cb643b5b1921efcdd60b995fefce.jpg","text":"TemporaryFile(/tmp/multipartBody2798909824730545064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111854703,"filename":"image_14042025_14_50_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d12b08099042c66b5b9c3b2ddebf25b9.jpg","text":"TemporaryFile(/tmp/multipartBody7212885214522149518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111854703,"filename":"image_14042025_14_50_24_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048175","file1":"1352048171","file0":"1352048167","file4":"1352048181","file5":"1352048184","file3":"1352048178"},"map_files_photo_id_array":[{"photo_id":"1352048184","filename":"file5"},{"photo_id":"1352048175","filename":"file2"},{"photo_id":"1352048181","filename":"file4"},{"photo_id":"1352048171","filename":"file1"},{"photo_id":"1352048167","filename":"file0"},{"photo_id":"1352048178","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048181":["hashtag1","hashtag2"]},{"1352048175":["hashtag1","hashtag2"]},{"1352048184":["hashtag1","hashtag2"]},{"1352048178":["hashtag1","hashtag2"]},{"1352048171":["hashtag1","hashtag2"]},{"1352048167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048181, 1352048175, 1352048184, 1352048178, 1352048171, 1352048167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51598620414734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:17:32.409956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_25_10386.jpg', '/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_35_10427.jpg', '/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_44_9339.jpg', '/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_55_10483.jpg', '/home/pi/Desktop/images/14042025/14/51/image_14042025_14_52_04_9328.jpg', '/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_14_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_25_10386.jpg
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_35_10427.jpg
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_44_9339.jpg
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_55_10483.jpg
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_52_04_9328.jpg
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_14_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048203","1352048195","1352048192","1352048207","1352048206","1352048200"],"photo_ids_order":["1352048192","1352048195","1352048200","1352048203","1352048206","1352048207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf1e72bf39482fca35c0021bacb3523e.jpg","text":"TemporaryFile(/tmp/multipartBody1420643883607305375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111913976,"filename":"image_14042025_14_51_55_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2225e05631e147300cbbcaf3c2ed5463.jpg","text":"TemporaryFile(/tmp/multipartBody333424155893683094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111913976,"filename":"image_14042025_14_51_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96a4366ceb8689fdfc0bc49af2a65a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2062264066249236914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111913976,"filename":"image_14042025_14_51_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a32f4908b699a274a4e90be93b1db58.jpg","text":"TemporaryFile(/tmp/multipartBody662252058354149952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111913976,"filename":"image_14042025_14_52_14_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f49a2fb2fb7aacc4d3d8b14e19ddb3f.jpg","text":"TemporaryFile(/tmp/multipartBody8261713580245557803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111913976,"filename":"image_14042025_14_52_04_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83af4593324d44d95bf8c684fdc05170.jpg","text":"TemporaryFile(/tmp/multipartBody2688042656209311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111913976,"filename":"image_14042025_14_51_44_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048200","file1":"1352048195","file0":"1352048192","file4":"1352048206","file5":"1352048207","file3":"1352048203"},"map_files_photo_id_array":[{"photo_id":"1352048207","filename":"file5"},{"photo_id":"1352048200","filename":"file2"},{"photo_id":"1352048206","filename":"file4"},{"photo_id":"1352048195","filename":"file1"},{"photo_id":"1352048192","filename":"file0"},{"photo_id":"1352048203","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048203":["hashtag1","hashtag2"]},{"1352048195":["hashtag1","hashtag2"]},{"1352048192":["hashtag1","hashtag2"]},{"1352048207":["hashtag1","hashtag2"]},{"1352048206":["hashtag1","hashtag2"]},{"1352048200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048203, 1352048195, 1352048192, 1352048207, 1352048206, 1352048200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.615700244903564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:18:32.608622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_25_10390.jpg', '/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_34_9345.jpg', '/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_45_10338.jpg', '/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_55_10483.jpg', '/home/pi/Desktop/images/14042025/14/52/image_14042025_14_53_04_9337.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_15_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_25_10390.jpg
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_34_9345.jpg
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_45_10338.jpg
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_55_10483.jpg
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_53_04_9337.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_15_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048222","1352048216","1352048231","1352048219","1352048213","1352048227"],"photo_ids_order":["1352048213","1352048216","1352048219","1352048222","1352048227","1352048231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a87ec8815f8b817528c041c837b2816e.jpg","text":"TemporaryFile(/tmp/multipartBody1047362706758465848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111974171,"filename":"image_14042025_14_52_55_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d593a6e49e368d6205aff8cfa18b4ab.jpg","text":"TemporaryFile(/tmp/multipartBody5564135296447994892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111974171,"filename":"image_14042025_14_52_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb440231dfc026db4e94c1441fe907c4.jpg","text":"TemporaryFile(/tmp/multipartBody151730310761850040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111974171,"filename":"image_14042025_14_53_15_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72ca0a7cc6178d56488f9b0e1fce00c5.jpg","text":"TemporaryFile(/tmp/multipartBody3957836354157152621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111974171,"filename":"image_14042025_14_52_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a01cbb5e00a60cc59d3b562974d8635.jpg","text":"TemporaryFile(/tmp/multipartBody4559150260461732188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111974171,"filename":"image_14042025_14_52_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ef54e8e561035281ea5bd3ab4892a55.jpg","text":"TemporaryFile(/tmp/multipartBody5442306742832805568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745111974171,"filename":"image_14042025_14_53_04_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048219","file1":"1352048216","file0":"1352048213","file4":"1352048227","file5":"1352048231","file3":"1352048222"},"map_files_photo_id_array":[{"photo_id":"1352048231","filename":"file5"},{"photo_id":"1352048219","filename":"file2"},{"photo_id":"1352048227","filename":"file4"},{"photo_id":"1352048216","filename":"file1"},{"photo_id":"1352048213","filename":"file0"},{"photo_id":"1352048222","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048222":["hashtag1","hashtag2"]},{"1352048216":["hashtag1","hashtag2"]},{"1352048231":["hashtag1","hashtag2"]},{"1352048219":["hashtag1","hashtag2"]},{"1352048213":["hashtag1","hashtag2"]},{"1352048227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048222, 1352048216, 1352048231, 1352048219, 1352048213, 1352048227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.998119115829468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:19:32.954446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_24_9400.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_35_10451.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_44_9396.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_54_10390.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_54_05_10475.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_14_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_24_9400.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_35_10451.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_44_9396.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_54_10390.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_54_05_10475.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_14_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048259","1352048240","1352048237","1352048242","1352048245","1352048248"],"photo_ids_order":["1352048237","1352048240","1352048242","1352048245","1352048248","1352048259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02f58c2fb180b804bafb4373a7e0e298.jpg","text":"TemporaryFile(/tmp/multipartBody1851424831829786271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112034535,"filename":"image_14042025_14_54_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6e03e33b4ff26a3517a7827290b8054.jpg","text":"TemporaryFile(/tmp/multipartBody6430994850233799351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112034535,"filename":"image_14042025_14_53_35_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20399a2f3abe6f30e3522bc91488bd4e.jpg","text":"TemporaryFile(/tmp/multipartBody2016866633253055207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112034535,"filename":"image_14042025_14_53_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ad8011e4f2776f063054ffd47bf57a1.jpg","text":"TemporaryFile(/tmp/multipartBody428280681081969858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112034535,"filename":"image_14042025_14_53_44_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecbac1305d16eba6a67ba303a9c4cb98.jpg","text":"TemporaryFile(/tmp/multipartBody5491349602329718660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112034535,"filename":"image_14042025_14_53_54_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d09757afc442bc22d5c7d44e2c4240f8.jpg","text":"TemporaryFile(/tmp/multipartBody3948387643116861570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112034535,"filename":"image_14042025_14_54_05_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048242","file1":"1352048240","file0":"1352048237","file4":"1352048248","file5":"1352048259","file3":"1352048245"},"map_files_photo_id_array":[{"photo_id":"1352048259","filename":"file5"},{"photo_id":"1352048242","filename":"file2"},{"photo_id":"1352048248","filename":"file4"},{"photo_id":"1352048240","filename":"file1"},{"photo_id":"1352048237","filename":"file0"},{"photo_id":"1352048245","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048259":["hashtag1","hashtag2"]},{"1352048240":["hashtag1","hashtag2"]},{"1352048237":["hashtag1","hashtag2"]},{"1352048242":["hashtag1","hashtag2"]},{"1352048245":["hashtag1","hashtag2"]},{"1352048248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048259, 1352048240, 1352048237, 1352048242, 1352048245, 1352048248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23416781425476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:20:33.101603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_25_10436.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_34_9356.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_45_10457.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_55_10360.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_55_04_9353.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_25_10436.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_34_9356.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_45_10457.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_55_10360.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_55_04_9353.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048282","1352048276","1352048285","1352048279","1352048270","1352048273"],"photo_ids_order":["1352048270","1352048273","1352048276","1352048279","1352048282","1352048285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab7f9840ddb772d48d588a6775bc0719.jpg","text":"TemporaryFile(/tmp/multipartBody6146121658580305374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112094686,"filename":"image_14042025_14_55_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b6d60a392d819a0e103b8f4eb8290e7.jpg","text":"TemporaryFile(/tmp/multipartBody6321442602145041858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112094686,"filename":"image_14042025_14_54_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8409be4e16009715663649a16fc6464.jpg","text":"TemporaryFile(/tmp/multipartBody8208119890770141491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112094686,"filename":"image_14042025_14_55_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e80423880d6ac6ffffdddc0cd194ad98.jpg","text":"TemporaryFile(/tmp/multipartBody5217500870743051345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112094686,"filename":"image_14042025_14_54_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb107e9907870481a34be3a70d9fede0.jpg","text":"TemporaryFile(/tmp/multipartBody2808743937602877411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112094686,"filename":"image_14042025_14_54_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe580f9d04f04ad65842ca7cd90a82ec.jpg","text":"TemporaryFile(/tmp/multipartBody6976889854969669839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112094686,"filename":"image_14042025_14_54_34_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048276","file1":"1352048273","file0":"1352048270","file4":"1352048282","file5":"1352048285","file3":"1352048279"},"map_files_photo_id_array":[{"photo_id":"1352048285","filename":"file5"},{"photo_id":"1352048276","filename":"file2"},{"photo_id":"1352048282","filename":"file4"},{"photo_id":"1352048273","filename":"file1"},{"photo_id":"1352048270","filename":"file0"},{"photo_id":"1352048279","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048282":["hashtag1","hashtag2"]},{"1352048276":["hashtag1","hashtag2"]},{"1352048285":["hashtag1","hashtag2"]},{"1352048279":["hashtag1","hashtag2"]},{"1352048270":["hashtag1","hashtag2"]},{"1352048273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048282, 1352048276, 1352048285, 1352048279, 1352048270, 1352048273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91976833343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:21:32.396745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_24_9476.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_34_10343.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_45_10369.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_54_9346.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_56_05_10365.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_15_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_24_9476.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_34_10343.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_45_10369.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_54_9346.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_56_05_10365.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_15_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048295","1352048301","1352048291","1352048305","1352048308","1352048298"],"photo_ids_order":["1352048291","1352048295","1352048298","1352048301","1352048305","1352048308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b0fe22791c21929d1c1a21ea6f03f45.jpg","text":"TemporaryFile(/tmp/multipartBody3011335358640075427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112153990,"filename":"image_14042025_14_55_34_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27c49147341021a140e035d2c1ef69e2.jpg","text":"TemporaryFile(/tmp/multipartBody9086202918111116623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112153990,"filename":"image_14042025_14_55_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f801dc0c24515f934aed3aae9b8f2856.jpg","text":"TemporaryFile(/tmp/multipartBody7087512705278239124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112153990,"filename":"image_14042025_14_55_24_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7f56e142b07f6ae7eef186a0439651b.jpg","text":"TemporaryFile(/tmp/multipartBody2751515793370432251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112153990,"filename":"image_14042025_14_56_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c21f11c506bf7b02727204c2c66f9282.jpg","text":"TemporaryFile(/tmp/multipartBody2026442691773433917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112153990,"filename":"image_14042025_14_56_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb1f1e6d4530c70e10a8cdfbd467b5c5.jpg","text":"TemporaryFile(/tmp/multipartBody6292777428263173093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112153990,"filename":"image_14042025_14_55_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048298","file1":"1352048295","file0":"1352048291","file4":"1352048305","file5":"1352048308","file3":"1352048301"},"map_files_photo_id_array":[{"photo_id":"1352048308","filename":"file5"},{"photo_id":"1352048298","filename":"file2"},{"photo_id":"1352048305","filename":"file4"},{"photo_id":"1352048295","filename":"file1"},{"photo_id":"1352048291","filename":"file0"},{"photo_id":"1352048301","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048295":["hashtag1","hashtag2"]},{"1352048301":["hashtag1","hashtag2"]},{"1352048291":["hashtag1","hashtag2"]},{"1352048305":["hashtag1","hashtag2"]},{"1352048308":["hashtag1","hashtag2"]},{"1352048298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048295, 1352048301, 1352048291, 1352048305, 1352048308, 1352048298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.998120069503784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:22:32.618113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_24_9352.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_35_10501.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_44_9453.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_55_10366.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_57_04_9422.jpg', '/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_14_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_24_9352.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_35_10501.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_44_9453.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_55_10366.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_57_04_9422.jpg
/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_14_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048317","1352048331","1352048328","1352048324","1352048320","1352048314"],"photo_ids_order":["1352048314","1352048317","1352048320","1352048324","1352048328","1352048331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9922cbf42805f6ee736491bcb0090d2.jpg","text":"TemporaryFile(/tmp/multipartBody8267905443847318923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112214196,"filename":"image_14042025_14_56_35_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5203464e0fa20ee83ead05bef433a811.jpg","text":"TemporaryFile(/tmp/multipartBody542412836936578158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112214196,"filename":"image_14042025_14_57_14_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fbfeee8bececc5998c22ba18a854de4a.jpg","text":"TemporaryFile(/tmp/multipartBody2712888150988275089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112214196,"filename":"image_14042025_14_57_04_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36e4484823e7b58213ca8e5c30f27ac7.jpg","text":"TemporaryFile(/tmp/multipartBody1738675917668542320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112214196,"filename":"image_14042025_14_56_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef995e5a3f615979a8d717e3b1bfb0ef.jpg","text":"TemporaryFile(/tmp/multipartBody6325934289255526485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112214196,"filename":"image_14042025_14_56_44_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef737a851d3823b0d60d26fd2bdd2909.jpg","text":"TemporaryFile(/tmp/multipartBody4828973010803836111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112214196,"filename":"image_14042025_14_56_24_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048320","file1":"1352048317","file0":"1352048314","file4":"1352048328","file5":"1352048331","file3":"1352048324"},"map_files_photo_id_array":[{"photo_id":"1352048331","filename":"file5"},{"photo_id":"1352048320","filename":"file2"},{"photo_id":"1352048328","filename":"file4"},{"photo_id":"1352048317","filename":"file1"},{"photo_id":"1352048314","filename":"file0"},{"photo_id":"1352048324","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048317":["hashtag1","hashtag2"]},{"1352048331":["hashtag1","hashtag2"]},{"1352048328":["hashtag1","hashtag2"]},{"1352048324":["hashtag1","hashtag2"]},{"1352048320":["hashtag1","hashtag2"]},{"1352048314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048317, 1352048331, 1352048328, 1352048324, 1352048320, 1352048314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.853262424468994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:23:32.853879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_25_10350.jpg', '/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_34_9339.jpg', '/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_45_10368.jpg', '/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_55_10356.jpg', '/home/pi/Desktop/images/14042025/14/57/image_14042025_14_58_04_9462.jpg', '/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_15_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_25_10350.jpg
/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_34_9339.jpg
/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_45_10368.jpg
/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_55_10356.jpg
/home/pi/Desktop/images/14042025/14/57/image_14042025_14_58_04_9462.jpg
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_15_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048352","1352048349","1352048343","1352048346","1352048339","1352048354"],"photo_ids_order":["1352048339","1352048343","1352048346","1352048349","1352048352","1352048354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b282693ce68929f34c70c6d467ffec98.jpg","text":"TemporaryFile(/tmp/multipartBody5216210943678456172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112274422,"filename":"image_14042025_14_58_04_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98b726b990fd802eaee0e929a20855cd.jpg","text":"TemporaryFile(/tmp/multipartBody8767751805189945642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112274422,"filename":"image_14042025_14_57_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/156df91696451f22f89d2da2bafeddd2.jpg","text":"TemporaryFile(/tmp/multipartBody8213609295720990924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112274422,"filename":"image_14042025_14_57_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19814ec0a44936d17001236850e161bc.jpg","text":"TemporaryFile(/tmp/multipartBody7907170947876433614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112274422,"filename":"image_14042025_14_57_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/392ef672220675b72d1655c497f4576f.jpg","text":"TemporaryFile(/tmp/multipartBody5348324284326112724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112274422,"filename":"image_14042025_14_57_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0dbb049f5b3ad971e22fab40a5a8832.jpg","text":"TemporaryFile(/tmp/multipartBody6243798849646604734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112274422,"filename":"image_14042025_14_58_15_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048346","file1":"1352048343","file0":"1352048339","file4":"1352048352","file5":"1352048354","file3":"1352048349"},"map_files_photo_id_array":[{"photo_id":"1352048354","filename":"file5"},{"photo_id":"1352048346","filename":"file2"},{"photo_id":"1352048352","filename":"file4"},{"photo_id":"1352048343","filename":"file1"},{"photo_id":"1352048339","filename":"file0"},{"photo_id":"1352048349","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048352":["hashtag1","hashtag2"]},{"1352048349":["hashtag1","hashtag2"]},{"1352048343":["hashtag1","hashtag2"]},{"1352048346":["hashtag1","hashtag2"]},{"1352048339":["hashtag1","hashtag2"]},{"1352048354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048352, 1352048349, 1352048343, 1352048346, 1352048339, 1352048354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.004547595977783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:24:33.049218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_24_9386.jpg', '/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_34_10336.jpg', '/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_45_10450.jpg', '/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_54_9386.jpg', '/home/pi/Desktop/images/14042025/14/58/image_14042025_14_59_05_10437.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_14_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_24_9386.jpg
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_34_10336.jpg
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_45_10450.jpg
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_54_9386.jpg
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_59_05_10437.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_14_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048373","1352048376","1352048378","1352048374","1352048368","1352048371"],"photo_ids_order":["1352048368","1352048371","1352048373","1352048374","1352048376","1352048378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eed562f9bfaf7d6b0840423511e9278c.jpg","text":"TemporaryFile(/tmp/multipartBody330493224989608005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112334616,"filename":"image_14042025_14_58_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17d65ec8fd2b3e454b63a3e7f72a0c23.jpg","text":"TemporaryFile(/tmp/multipartBody8775185307724997003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112334616,"filename":"image_14042025_14_59_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b534e8b571eca5eb5bff7dc160475e8.jpg","text":"TemporaryFile(/tmp/multipartBody4820518000082229657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112334616,"filename":"image_14042025_14_59_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/195d786854ff0deee69803044cdf6945.jpg","text":"TemporaryFile(/tmp/multipartBody8339096989216044162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112334616,"filename":"image_14042025_14_58_54_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/801831a2d1496c341f40941754109a52.jpg","text":"TemporaryFile(/tmp/multipartBody6823748492631291808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112334616,"filename":"image_14042025_14_58_24_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24e3a1275b189e7a8451e59c756521b7.jpg","text":"TemporaryFile(/tmp/multipartBody1219291589599047414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112334616,"filename":"image_14042025_14_58_34_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048373","file1":"1352048371","file0":"1352048368","file4":"1352048376","file5":"1352048378","file3":"1352048374"},"map_files_photo_id_array":[{"photo_id":"1352048378","filename":"file5"},{"photo_id":"1352048373","filename":"file2"},{"photo_id":"1352048376","filename":"file4"},{"photo_id":"1352048371","filename":"file1"},{"photo_id":"1352048368","filename":"file0"},{"photo_id":"1352048374","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048373":["hashtag1","hashtag2"]},{"1352048376":["hashtag1","hashtag2"]},{"1352048378":["hashtag1","hashtag2"]},{"1352048374":["hashtag1","hashtag2"]},{"1352048368":["hashtag1","hashtag2"]},{"1352048371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048373, 1352048376, 1352048378, 1352048374, 1352048368, 1352048371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.48798656463623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:25:32.209721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_24_10369.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_35_10425.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_44_9421.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_55_10365.jpg', '/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_16_10074.jpg', '/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_24_10369.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_35_10425.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_44_9421.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_55_10365.jpg
/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_16_10074.jpg
/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_26_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048391","1352048394","1352048393","1352048392","1352048395","1352048389"],"photo_ids_order":["1352048389","1352048391","1352048392","1352048393","1352048394","1352048395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f27bb750b0040b120dac9a904b7629a.jpg","text":"TemporaryFile(/tmp/multipartBody2587501473381004173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112393781,"filename":"image_14042025_14_59_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9e700ecd9e8400827726734636f8629.jpg","text":"TemporaryFile(/tmp/multipartBody4327617464156786734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112393781,"filename":"image_14042025_15_00_16_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b59c8d0d32d2f374f4528f804630dfde.jpg","text":"TemporaryFile(/tmp/multipartBody2120186824343888639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112393781,"filename":"image_14042025_14_59_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/757cd3fd3704700316af7bd578d96cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2375639332828858526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112393781,"filename":"image_14042025_14_59_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68eb5496b439e64651c5dc0f282cd46f.jpg","text":"TemporaryFile(/tmp/multipartBody7366377254218676342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112393781,"filename":"image_14042025_15_00_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48587153071afd5b81f49d3586a581ae.jpg","text":"TemporaryFile(/tmp/multipartBody5507718982686770980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112393781,"filename":"image_14042025_14_59_24_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048392","file1":"1352048391","file0":"1352048389","file4":"1352048394","file5":"1352048395","file3":"1352048393"},"map_files_photo_id_array":[{"photo_id":"1352048395","filename":"file5"},{"photo_id":"1352048392","filename":"file2"},{"photo_id":"1352048394","filename":"file4"},{"photo_id":"1352048391","filename":"file1"},{"photo_id":"1352048389","filename":"file0"},{"photo_id":"1352048393","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048391":["hashtag1","hashtag2"]},{"1352048394":["hashtag1","hashtag2"]},{"1352048393":["hashtag1","hashtag2"]},{"1352048392":["hashtag1","hashtag2"]},{"1352048395":["hashtag1","hashtag2"]},{"1352048389":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048391, 1352048394, 1352048393, 1352048392, 1352048395, 1352048389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.52699375152588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:26:32.371880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_37_10458.jpg', '/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_46_9342.jpg', '/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_57_10426.jpg', '/home/pi/Desktop/images/14042025/15/00/image_14042025_15_01_06_9381.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_16_10346.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_27_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_37_10458.jpg
/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_46_9342.jpg
/home/pi/Desktop/images/14042025/15/00/image_14042025_15_00_57_10426.jpg
/home/pi/Desktop/images/14042025/15/00/image_14042025_15_01_06_9381.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_16_10346.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_27_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048416","1352048418","1352048412","1352048414","1352048410","1352048407"],"photo_ids_order":["1352048407","1352048410","1352048412","1352048414","1352048416","1352048418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a71d8527c90907241a13065923fe010.jpg","text":"TemporaryFile(/tmp/multipartBody6893568877750234452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112453937,"filename":"image_14042025_15_01_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f4ef72196a6442e11525d5ad9e79d48.jpg","text":"TemporaryFile(/tmp/multipartBody28653093694537486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112453937,"filename":"image_14042025_15_01_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3af7f5c1624aa6485eb72b1a8309250a.jpg","text":"TemporaryFile(/tmp/multipartBody344081305784685941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112453937,"filename":"image_14042025_15_00_57_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27dc22889835a87016820bd1effa33e6.jpg","text":"TemporaryFile(/tmp/multipartBody8973609453101294690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112453937,"filename":"image_14042025_15_01_06_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a772b11b7878ccfd27a803b95259c519.jpg","text":"TemporaryFile(/tmp/multipartBody5600916121329759821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112453937,"filename":"image_14042025_15_00_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/755e884ddedab8ef257ff96330d5b4e6.jpg","text":"TemporaryFile(/tmp/multipartBody8954132993476018160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112453937,"filename":"image_14042025_15_00_37_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048412","file1":"1352048410","file0":"1352048407","file4":"1352048416","file5":"1352048418","file3":"1352048414"},"map_files_photo_id_array":[{"photo_id":"1352048418","filename":"file5"},{"photo_id":"1352048412","filename":"file2"},{"photo_id":"1352048416","filename":"file4"},{"photo_id":"1352048410","filename":"file1"},{"photo_id":"1352048407","filename":"file0"},{"photo_id":"1352048414","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048416":["hashtag1","hashtag2"]},{"1352048418":["hashtag1","hashtag2"]},{"1352048412":["hashtag1","hashtag2"]},{"1352048414":["hashtag1","hashtag2"]},{"1352048410":["hashtag1","hashtag2"]},{"1352048407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048416, 1352048418, 1352048412, 1352048414, 1352048410, 1352048407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.86378312110901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:27:32.593605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_46_10373.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_57_10503.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_02_06_9335.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_16_10338.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_26_9509.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_37_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_46_10373.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_57_10503.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_02_06_9335.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_16_10338.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_26_9509.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_37_10532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048436","1352048438","1352048432","1352048429","1352048440","1352048434"],"photo_ids_order":["1352048429","1352048432","1352048434","1352048436","1352048438","1352048440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b535d86b69d8fc24ba5891b2bd587446.jpg","text":"TemporaryFile(/tmp/multipartBody2225844575248135550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112514158,"filename":"image_14042025_15_02_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a05fa8de1de810e61155a18cd692d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2100756359339909963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112514158,"filename":"image_14042025_15_02_26_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1d569cf86941c88baeb72dfe9bf4ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2147137667264724284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112514158,"filename":"image_14042025_15_01_57_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed74ae7f964f061a6dd540c0a7caf2e0.jpg","text":"TemporaryFile(/tmp/multipartBody2256452868438007962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112514158,"filename":"image_14042025_15_01_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a41da31f9b1909594973ad80afc6bd8f.jpg","text":"TemporaryFile(/tmp/multipartBody6690066757741870546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112514158,"filename":"image_14042025_15_02_37_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6a3f235a956bc7a7cc85e31e1a31803.jpg","text":"TemporaryFile(/tmp/multipartBody3151456716671181282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112514158,"filename":"image_14042025_15_02_06_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048434","file1":"1352048432","file0":"1352048429","file4":"1352048438","file5":"1352048440","file3":"1352048436"},"map_files_photo_id_array":[{"photo_id":"1352048440","filename":"file5"},{"photo_id":"1352048434","filename":"file2"},{"photo_id":"1352048438","filename":"file4"},{"photo_id":"1352048432","filename":"file1"},{"photo_id":"1352048429","filename":"file0"},{"photo_id":"1352048436","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048436":["hashtag1","hashtag2"]},{"1352048438":["hashtag1","hashtag2"]},{"1352048432":["hashtag1","hashtag2"]},{"1352048429":["hashtag1","hashtag2"]},{"1352048440":["hashtag1","hashtag2"]},{"1352048434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048436, 1352048438, 1352048432, 1352048429, 1352048440, 1352048434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45471978187561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:28:32.990554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_46_9447.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_56_10363.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_03_07_10458.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_16_9344.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_27_10358.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_36_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_46_9447.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_56_10363.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_03_07_10458.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_16_9344.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_27_10358.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_36_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048454","1352048456","1352048461","1352048464","1352048458","1352048452"],"photo_ids_order":["1352048452","1352048454","1352048456","1352048458","1352048461","1352048464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97f85730d25f9c450dd57d6d26d8e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody816889573555346109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112574574,"filename":"image_14042025_15_02_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4a6e416e3bde0754ba41b796753f722.jpg","text":"TemporaryFile(/tmp/multipartBody4729139945455202016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112574574,"filename":"image_14042025_15_03_07_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d05c62b5ed88eee861f01cddf0a0fd8d.jpg","text":"TemporaryFile(/tmp/multipartBody738203920344204289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112574574,"filename":"image_14042025_15_03_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/612d26951dfc3708a062a42ba2d1097b.jpg","text":"TemporaryFile(/tmp/multipartBody1218609554095472082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112574574,"filename":"image_14042025_15_03_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1b2c3e4da635226cddd170c41821707.jpg","text":"TemporaryFile(/tmp/multipartBody6229323950457461152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112574574,"filename":"image_14042025_15_03_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1a5dd33f70c4aff857f5447d826e462.jpg","text":"TemporaryFile(/tmp/multipartBody3699851968476641391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112574574,"filename":"image_14042025_15_02_46_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048456","file1":"1352048454","file0":"1352048452","file4":"1352048461","file5":"1352048464","file3":"1352048458"},"map_files_photo_id_array":[{"photo_id":"1352048464","filename":"file5"},{"photo_id":"1352048456","filename":"file2"},{"photo_id":"1352048461","filename":"file4"},{"photo_id":"1352048454","filename":"file1"},{"photo_id":"1352048452","filename":"file0"},{"photo_id":"1352048458","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048454":["hashtag1","hashtag2"]},{"1352048456":["hashtag1","hashtag2"]},{"1352048461":["hashtag1","hashtag2"]},{"1352048464":["hashtag1","hashtag2"]},{"1352048458":["hashtag1","hashtag2"]},{"1352048452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048454, 1352048456, 1352048461, 1352048464, 1352048458, 1352048452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.328696966171265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:29:32.237270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_46_10404.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_56_10117.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_04_07_10394.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_16_9334.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_27_10357.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_37_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_46_10404.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_56_10117.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_04_07_10394.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_16_9334.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_27_10357.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_37_10358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4895915985107422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 03:29:42.337927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_46_10404.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_56_10117.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_04_07_10394.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_16_9334.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_27_10357.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_37_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_46_10404.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_56_10117.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_04_07_10394.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_16_9334.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_27_10357.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_37_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048490","1352048487","1352048492","1352048495","1352048497","1352048496"],"photo_ids_order":["1352048487","1352048490","1352048492","1352048495","1352048496","1352048497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d96b3425ff0ccfcb5a925b77d2cf4480.jpg","text":"TemporaryFile(/tmp/multipartBody5747199204455491825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112643027,"filename":"image_14042025_15_03_56_10117.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4c9bb2376a2bc6e9a1de57f27f54386.jpg","text":"TemporaryFile(/tmp/multipartBody7499545676933706229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112643027,"filename":"image_14042025_15_03_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0287afe900066365bf0b1188fe21c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4445779809490524019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112643027,"filename":"image_14042025_15_04_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2841a0116edd91cf37b650f91020a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4174571643868660882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112643027,"filename":"image_14042025_15_04_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/130dceda69ceccb215a2f454c7a4ff59.jpg","text":"TemporaryFile(/tmp/multipartBody6665016032110610562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112643027,"filename":"image_14042025_15_04_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc4e61248ed21ea301346e8af1cad983.jpg","text":"TemporaryFile(/tmp/multipartBody3672949844209102742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112643027,"filename":"image_14042025_15_04_27_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048492","file1":"1352048490","file0":"1352048487","file4":"1352048496","file5":"1352048497","file3":"1352048495"},"map_files_photo_id_array":[{"photo_id":"1352048497","filename":"file5"},{"photo_id":"1352048492","filename":"file2"},{"photo_id":"1352048496","filename":"file4"},{"photo_id":"1352048490","filename":"file1"},{"photo_id":"1352048487","filename":"file0"},{"photo_id":"1352048495","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048490":["hashtag1","hashtag2"]},{"1352048487":["hashtag1","hashtag2"]},{"1352048492":["hashtag1","hashtag2"]},{"1352048495":["hashtag1","hashtag2"]},{"1352048497":["hashtag1","hashtag2"]},{"1352048496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048490, 1352048487, 1352048492, 1352048495, 1352048497, 1352048496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64722943305969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:30:32.436210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_46_9402.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_57_10342.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_05_06_9431.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_16_10333.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_27_10436.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_36_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_46_9402.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_57_10342.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_05_06_9431.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_16_10333.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_27_10436.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_36_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048523","1352048525","1352048519","1352048528","1352048521","1352048527"],"photo_ids_order":["1352048519","1352048521","1352048523","1352048525","1352048527","1352048528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/549e733bb5070a2cd858ab83c1fa0943.jpg","text":"TemporaryFile(/tmp/multipartBody6965086691986530496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112693987,"filename":"image_14042025_15_05_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f7dd39141494c503b6d6582b6a7c331.jpg","text":"TemporaryFile(/tmp/multipartBody7713009277286768029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112693987,"filename":"image_14042025_15_05_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9499b42f4a9e85d005fea8fb3eea4b4.jpg","text":"TemporaryFile(/tmp/multipartBody2467281521130501047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112693987,"filename":"image_14042025_15_04_46_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0a51d1b3d6aebd32a42856373f9bcf8.jpg","text":"TemporaryFile(/tmp/multipartBody9138426296226178239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112693987,"filename":"image_14042025_15_05_36_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f8b223ee7033f037295208508b8863a.jpg","text":"TemporaryFile(/tmp/multipartBody6662803530770380861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112693987,"filename":"image_14042025_15_04_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fbd09b5d2c65776c3179b3283f76da8.jpg","text":"TemporaryFile(/tmp/multipartBody4956964510686230908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112693987,"filename":"image_14042025_15_05_27_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048523","file1":"1352048521","file0":"1352048519","file4":"1352048527","file5":"1352048528","file3":"1352048525"},"map_files_photo_id_array":[{"photo_id":"1352048528","filename":"file5"},{"photo_id":"1352048523","filename":"file2"},{"photo_id":"1352048527","filename":"file4"},{"photo_id":"1352048521","filename":"file1"},{"photo_id":"1352048519","filename":"file0"},{"photo_id":"1352048525","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048523":["hashtag1","hashtag2"]},{"1352048525":["hashtag1","hashtag2"]},{"1352048519":["hashtag1","hashtag2"]},{"1352048528":["hashtag1","hashtag2"]},{"1352048521":["hashtag1","hashtag2"]},{"1352048527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048523, 1352048525, 1352048519, 1352048528, 1352048521, 1352048527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.38354182243347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:31:32.575673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_47_10356.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_56_9436.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_06_06_10334.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_17_10434.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_26_9346.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_36_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_47_10356.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_56_9436.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_06_06_10334.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_17_10434.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_26_9346.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_36_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048550","1352048543","1352048552","1352048540","1352048548","1352048545"],"photo_ids_order":["1352048540","1352048543","1352048545","1352048548","1352048550","1352048552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a523686e16fdc8a94d52f2737f50371.jpg","text":"TemporaryFile(/tmp/multipartBody564833545439737783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112754150,"filename":"image_14042025_15_06_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6fac11f21b54bcff2a18dd070ca8229.jpg","text":"TemporaryFile(/tmp/multipartBody9127960861238695995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112754150,"filename":"image_14042025_15_05_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b3804db53ff5b4916b4f3b838b4491c.jpg","text":"TemporaryFile(/tmp/multipartBody964276163769666101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112754150,"filename":"image_14042025_15_06_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/731ec6845a58067c13bd98b0fd28f516.jpg","text":"TemporaryFile(/tmp/multipartBody3335562271643221172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112754150,"filename":"image_14042025_15_05_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56d09ddaa3429cf45d36fc4a277edf49.jpg","text":"TemporaryFile(/tmp/multipartBody1893434283070262479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112754150,"filename":"image_14042025_15_06_17_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e00a027581f1c7986a7fa45e33eceaa.jpg","text":"TemporaryFile(/tmp/multipartBody703201839752113674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112754150,"filename":"image_14042025_15_06_06_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048545","file1":"1352048543","file0":"1352048540","file4":"1352048550","file5":"1352048552","file3":"1352048548"},"map_files_photo_id_array":[{"photo_id":"1352048552","filename":"file5"},{"photo_id":"1352048545","filename":"file2"},{"photo_id":"1352048550","filename":"file4"},{"photo_id":"1352048543","filename":"file1"},{"photo_id":"1352048540","filename":"file0"},{"photo_id":"1352048548","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048550":["hashtag1","hashtag2"]},{"1352048543":["hashtag1","hashtag2"]},{"1352048552":["hashtag1","hashtag2"]},{"1352048540":["hashtag1","hashtag2"]},{"1352048548":["hashtag1","hashtag2"]},{"1352048545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048550, 1352048543, 1352048552, 1352048540, 1352048548, 1352048545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.045934438705444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:32:32.846850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_47_10374.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_56_9350.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_07_07_10354.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_16_9337.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_26_10358.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_37_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_47_10374.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_56_9350.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_07_07_10354.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_16_9337.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_26_10358.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_37_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048562","1352048568","1352048570","1352048564","1352048572","1352048566"],"photo_ids_order":["1352048562","1352048564","1352048566","1352048568","1352048570","1352048572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fbbf16f23aef443eedeff5517b33871.jpg","text":"TemporaryFile(/tmp/multipartBody850359558378707784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112814406,"filename":"image_14042025_15_06_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb554f155bbb37dc057793c9daa56135.jpg","text":"TemporaryFile(/tmp/multipartBody5648609099178267633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112814406,"filename":"image_14042025_15_07_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0498e2797f87a0ec4d35b98976040ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8897014180214683214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112814406,"filename":"image_14042025_15_07_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/294de6476827bb78efaff05051f7ac8f.jpg","text":"TemporaryFile(/tmp/multipartBody4229663026950277207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112814406,"filename":"image_14042025_15_06_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7dcfcd11678bc819cfe3d4af03a198d.jpg","text":"TemporaryFile(/tmp/multipartBody1025188532966980234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112814406,"filename":"image_14042025_15_07_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf91977265b4e42e715359d8237d736b.jpg","text":"TemporaryFile(/tmp/multipartBody3242693435528156836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112814406,"filename":"image_14042025_15_07_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048566","file1":"1352048564","file0":"1352048562","file4":"1352048570","file5":"1352048572","file3":"1352048568"},"map_files_photo_id_array":[{"photo_id":"1352048572","filename":"file5"},{"photo_id":"1352048566","filename":"file2"},{"photo_id":"1352048570","filename":"file4"},{"photo_id":"1352048564","filename":"file1"},{"photo_id":"1352048562","filename":"file0"},{"photo_id":"1352048568","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048562":["hashtag1","hashtag2"]},{"1352048568":["hashtag1","hashtag2"]},{"1352048570":["hashtag1","hashtag2"]},{"1352048564":["hashtag1","hashtag2"]},{"1352048572":["hashtag1","hashtag2"]},{"1352048566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048562, 1352048568, 1352048570, 1352048564, 1352048572, 1352048566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64953970909119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:33:33.203308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_46_9369.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_56_10364.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_08_07_10426.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_16_9330.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_26_10408.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_36_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_46_9369.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_56_10364.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_08_07_10426.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_16_9330.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_26_10408.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_36_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048583","1352048591","1352048585","1352048593","1352048587","1352048589"],"photo_ids_order":["1352048583","1352048585","1352048587","1352048589","1352048591","1352048593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fe49ed99ae84339f87866c3a4a53386.jpg","text":"TemporaryFile(/tmp/multipartBody1885735554734124531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112874770,"filename":"image_14042025_15_07_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16ec25df1d387bde8048e12c1c9bb526.jpg","text":"TemporaryFile(/tmp/multipartBody471474174962580586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112874770,"filename":"image_14042025_15_08_26_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/549f2c84425729d30bdc667d3b3e4bfe.jpg","text":"TemporaryFile(/tmp/multipartBody7511978943659508231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112874770,"filename":"image_14042025_15_07_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa3566478e2796a62d5e05a5265478c7.jpg","text":"TemporaryFile(/tmp/multipartBody142267258100467604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112874770,"filename":"image_14042025_15_08_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/430efcbddd72772319a3abee72c5d475.jpg","text":"TemporaryFile(/tmp/multipartBody6569387265086161643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112874770,"filename":"image_14042025_15_08_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27e708e334f85444ad13a18b759fd30a.jpg","text":"TemporaryFile(/tmp/multipartBody4364377525770755727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112874770,"filename":"image_14042025_15_08_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048587","file1":"1352048585","file0":"1352048583","file4":"1352048591","file5":"1352048593","file3":"1352048589"},"map_files_photo_id_array":[{"photo_id":"1352048593","filename":"file5"},{"photo_id":"1352048587","filename":"file2"},{"photo_id":"1352048591","filename":"file4"},{"photo_id":"1352048585","filename":"file1"},{"photo_id":"1352048583","filename":"file0"},{"photo_id":"1352048589","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048583":["hashtag1","hashtag2"]},{"1352048591":["hashtag1","hashtag2"]},{"1352048585":["hashtag1","hashtag2"]},{"1352048593":["hashtag1","hashtag2"]},{"1352048587":["hashtag1","hashtag2"]},{"1352048589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048583, 1352048591, 1352048585, 1352048593, 1352048587, 1352048589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33132266998291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:34:32.333356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_46_10410.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_57_10421.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_09_06_9430.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_17_10422.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_26_9355.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_36_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_46_10410.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_57_10421.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_09_06_9430.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_17_10422.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_26_9355.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_36_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048614","1352048613","1352048616","1352048610","1352048618","1352048612"],"photo_ids_order":["1352048610","1352048612","1352048613","1352048614","1352048616","1352048618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac7951bd36647a07d66223c661a48e65.jpg","text":"TemporaryFile(/tmp/multipartBody303285522952383556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112933904,"filename":"image_14042025_15_09_17_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4c2637263252d82da272b295cc914ff.jpg","text":"TemporaryFile(/tmp/multipartBody1277835665806717731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112933904,"filename":"image_14042025_15_09_06_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b03fef5bdfb3696d16cca6f73c571d7.jpg","text":"TemporaryFile(/tmp/multipartBody3244557280655607515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112933904,"filename":"image_14042025_15_09_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14c5b8fcc188ae3b0f0245594324bd58.jpg","text":"TemporaryFile(/tmp/multipartBody3955996690472563710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112933904,"filename":"image_14042025_15_08_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/418a3b54e5a15475fc09bd9585211463.jpg","text":"TemporaryFile(/tmp/multipartBody1618133237852006351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112933904,"filename":"image_14042025_15_09_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/843f191e03a8c3789cfe7128d333da7f.jpg","text":"TemporaryFile(/tmp/multipartBody6820068794408183189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112933904,"filename":"image_14042025_15_08_57_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048613","file1":"1352048612","file0":"1352048610","file4":"1352048616","file5":"1352048618","file3":"1352048614"},"map_files_photo_id_array":[{"photo_id":"1352048618","filename":"file5"},{"photo_id":"1352048613","filename":"file2"},{"photo_id":"1352048616","filename":"file4"},{"photo_id":"1352048612","filename":"file1"},{"photo_id":"1352048610","filename":"file0"},{"photo_id":"1352048614","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048614":["hashtag1","hashtag2"]},{"1352048613":["hashtag1","hashtag2"]},{"1352048616":["hashtag1","hashtag2"]},{"1352048610":["hashtag1","hashtag2"]},{"1352048618":["hashtag1","hashtag2"]},{"1352048612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048614, 1352048613, 1352048616, 1352048610, 1352048618, 1352048612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78473162651062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:35:32.622997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_47_10351.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_56_9344.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_10_06_10333.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_17_10449.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_26_9435.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_37_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_47_10351.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_56_9344.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_10_06_10333.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_17_10449.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_26_9435.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_37_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048640","1352048637","1352048639","1352048633","1352048635","1352048638"],"photo_ids_order":["1352048633","1352048635","1352048637","1352048638","1352048639","1352048640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7a2209f0a6832864997e40ffc0ffad0.jpg","text":"TemporaryFile(/tmp/multipartBody375163265258492009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112994181,"filename":"image_14042025_15_10_37_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6981b05b0cf5627c4fc038f5ac90bd27.jpg","text":"TemporaryFile(/tmp/multipartBody8766456604665329017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112994181,"filename":"image_14042025_15_10_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef82fed32d9825e04d07be0c837aeceb.jpg","text":"TemporaryFile(/tmp/multipartBody4208729903752874982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112994181,"filename":"image_14042025_15_10_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cad04a45415b44e4bb53086e408a690.jpg","text":"TemporaryFile(/tmp/multipartBody5335629370724995133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112994181,"filename":"image_14042025_15_09_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29eb59034210afc1a926a3fb1ca7b9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5459435410322011958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112994181,"filename":"image_14042025_15_09_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a4e172ec7e1d0836d367ad5bd4dcd58.jpg","text":"TemporaryFile(/tmp/multipartBody8290084894619740201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745112994181,"filename":"image_14042025_15_10_17_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048637","file1":"1352048635","file0":"1352048633","file4":"1352048639","file5":"1352048640","file3":"1352048638"},"map_files_photo_id_array":[{"photo_id":"1352048640","filename":"file5"},{"photo_id":"1352048637","filename":"file2"},{"photo_id":"1352048639","filename":"file4"},{"photo_id":"1352048635","filename":"file1"},{"photo_id":"1352048633","filename":"file0"},{"photo_id":"1352048638","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048640":["hashtag1","hashtag2"]},{"1352048637":["hashtag1","hashtag2"]},{"1352048639":["hashtag1","hashtag2"]},{"1352048633":["hashtag1","hashtag2"]},{"1352048635":["hashtag1","hashtag2"]},{"1352048638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048640, 1352048637, 1352048639, 1352048633, 1352048635, 1352048638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35568714141846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:36:32.831538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_46_9463.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_56_10374.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_11_06_9427.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_16_10348.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_27_10347.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_36_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_46_9463.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_56_10374.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_11_06_9427.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_16_10348.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_27_10347.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_36_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048661","1352048664","1352048655","1352048672","1352048677","1352048668"],"photo_ids_order":["1352048655","1352048661","1352048664","1352048668","1352048672","1352048677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8eb69be4eb045b80bfedbfd6afae003.jpg","text":"TemporaryFile(/tmp/multipartBody3737351114647982060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113054413,"filename":"image_14042025_15_10_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68324202c2adb82a5855eb38c6adf1ed.jpg","text":"TemporaryFile(/tmp/multipartBody1731979892356020014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113054413,"filename":"image_14042025_15_11_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcdabb2d55993d040df66e7cc5be5174.jpg","text":"TemporaryFile(/tmp/multipartBody1815745981951291204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113054413,"filename":"image_14042025_15_10_46_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1d1bff2bd8a6f24c935733212b179ea.jpg","text":"TemporaryFile(/tmp/multipartBody6455951435587871809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113054413,"filename":"image_14042025_15_11_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b4161de121dd16ebd505cd6ad9639d2.jpg","text":"TemporaryFile(/tmp/multipartBody8311938994796198304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113054413,"filename":"image_14042025_15_11_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b863c14ec4219f22eb5d281c4a7014fd.jpg","text":"TemporaryFile(/tmp/multipartBody4576947938118236789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113054413,"filename":"image_14042025_15_11_16_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048664","file1":"1352048661","file0":"1352048655","file4":"1352048672","file5":"1352048677","file3":"1352048668"},"map_files_photo_id_array":[{"photo_id":"1352048677","filename":"file5"},{"photo_id":"1352048664","filename":"file2"},{"photo_id":"1352048672","filename":"file4"},{"photo_id":"1352048661","filename":"file1"},{"photo_id":"1352048655","filename":"file0"},{"photo_id":"1352048668","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048661":["hashtag1","hashtag2"]},{"1352048664":["hashtag1","hashtag2"]},{"1352048655":["hashtag1","hashtag2"]},{"1352048672":["hashtag1","hashtag2"]},{"1352048677":["hashtag1","hashtag2"]},{"1352048668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048661, 1352048664, 1352048655, 1352048672, 1352048677, 1352048668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.662503242492676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:37:33.091887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_46_10351.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_57_10465.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_12_06_9309.jpg', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_16_10357.jpg', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_27_10382.jpg', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_36_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_46_10351.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_57_10465.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_12_06_9309.jpg
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_16_10357.jpg
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_27_10382.jpg
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_36_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048733","1352048735","1352048723","1352048726","1352048731","1352048728"],"photo_ids_order":["1352048723","1352048726","1352048728","1352048731","1352048733","1352048735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c747b4ece4f5d8bfe85523788526b993.jpg","text":"TemporaryFile(/tmp/multipartBody1494032554972947757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113114734,"filename":"image_14042025_15_12_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ef9861789ebd8d07fb1e44cf5f0b8f2.jpg","text":"TemporaryFile(/tmp/multipartBody2919562993293175458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113114734,"filename":"image_14042025_15_12_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/034cbfb08a01e494024328777ba8ec60.jpg","text":"TemporaryFile(/tmp/multipartBody7242267060934254346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113114734,"filename":"image_14042025_15_11_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a2daf6fa5f7a57e8adac73a74dc82b2.jpg","text":"TemporaryFile(/tmp/multipartBody4388019815330690196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113114734,"filename":"image_14042025_15_11_57_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68dec83ad51dda0a90331553fd91f8b5.jpg","text":"TemporaryFile(/tmp/multipartBody1742861141755797312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113114734,"filename":"image_14042025_15_12_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b7cfaeb5fe04bb504dccbc034fbcf88.jpg","text":"TemporaryFile(/tmp/multipartBody3607987373469915610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113114734,"filename":"image_14042025_15_12_06_9309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048728","file1":"1352048726","file0":"1352048723","file4":"1352048733","file5":"1352048735","file3":"1352048731"},"map_files_photo_id_array":[{"photo_id":"1352048735","filename":"file5"},{"photo_id":"1352048728","filename":"file2"},{"photo_id":"1352048733","filename":"file4"},{"photo_id":"1352048726","filename":"file1"},{"photo_id":"1352048723","filename":"file0"},{"photo_id":"1352048731","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048733":["hashtag1","hashtag2"]},{"1352048735":["hashtag1","hashtag2"]},{"1352048723":["hashtag1","hashtag2"]},{"1352048726":["hashtag1","hashtag2"]},{"1352048731":["hashtag1","hashtag2"]},{"1352048728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048733, 1352048735, 1352048723, 1352048726, 1352048731, 1352048728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.412304639816284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:38:32.264196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_46_10341.jpg', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_56_9426.jpg', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_13_06_10343.jpg', '/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_17_10354.jpg', '/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_26_9351.jpg', '/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_36_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_46_10341.jpg
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_56_9426.jpg
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_13_06_10343.jpg
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_17_10354.jpg
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_26_9351.jpg
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_36_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048751","1352048754","1352048756","1352048759","1352048761","1352048749"],"photo_ids_order":["1352048749","1352048751","1352048754","1352048756","1352048759","1352048761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a560d783a6ea0396b02ffc628909adee.jpg","text":"TemporaryFile(/tmp/multipartBody1137417194854675626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113173824,"filename":"image_14042025_15_12_56_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30dabc99baa9147f32784434adf4856f.jpg","text":"TemporaryFile(/tmp/multipartBody528169733379687035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113173824,"filename":"image_14042025_15_13_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b8e7e84cf2ccf9e326bf07197df89b7.jpg","text":"TemporaryFile(/tmp/multipartBody4648599284270803621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113173824,"filename":"image_14042025_15_13_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6445e2d2fb38bd04b85d725cda0c84ad.jpg","text":"TemporaryFile(/tmp/multipartBody4311493546149001213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113173824,"filename":"image_14042025_15_13_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/128d6a061c404628e49d7fd8bed7f75e.jpg","text":"TemporaryFile(/tmp/multipartBody2088888990530147335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113173824,"filename":"image_14042025_15_13_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aca14e442ed04165ac661f269ae78656.jpg","text":"TemporaryFile(/tmp/multipartBody3290995303806447655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113173824,"filename":"image_14042025_15_12_46_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048754","file1":"1352048751","file0":"1352048749","file4":"1352048759","file5":"1352048761","file3":"1352048756"},"map_files_photo_id_array":[{"photo_id":"1352048761","filename":"file5"},{"photo_id":"1352048754","filename":"file2"},{"photo_id":"1352048759","filename":"file4"},{"photo_id":"1352048751","filename":"file1"},{"photo_id":"1352048749","filename":"file0"},{"photo_id":"1352048756","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048751":["hashtag1","hashtag2"]},{"1352048754":["hashtag1","hashtag2"]},{"1352048756":["hashtag1","hashtag2"]},{"1352048759":["hashtag1","hashtag2"]},{"1352048761":["hashtag1","hashtag2"]},{"1352048749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048751, 1352048754, 1352048756, 1352048759, 1352048761, 1352048749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.80775809288025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:39:32.459659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_47_10350.jpg', '/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_56_9378.jpg', '/home/pi/Desktop/images/14042025/15/13/image_14042025_15_14_06_10368.jpg', '/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_17_10393.jpg', '/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_26_9342.jpg', '/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_47_10350.jpg
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_56_9378.jpg
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_14_06_10368.jpg
/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_17_10393.jpg
/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_26_9342.jpg
/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_36_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048775","1352048772","1352048782","1352048785","1352048779","1352048788"],"photo_ids_order":["1352048772","1352048775","1352048779","1352048782","1352048785","1352048788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/106d2ce2e2dc4bee6fbc043117363f43.jpg","text":"TemporaryFile(/tmp/multipartBody8647330547097441968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113234025,"filename":"image_14042025_15_13_56_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d637fd904bf957d440d4c837a5d60eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5171081242776349281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113234025,"filename":"image_14042025_15_13_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e259cd209047e54852d022c8995ec94.jpg","text":"TemporaryFile(/tmp/multipartBody6435786735188185853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113234025,"filename":"image_14042025_15_14_17_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23cb239096c34c1f73905aac7275d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody2631166763878047196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113234025,"filename":"image_14042025_15_14_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b1b91b17aec0dbed22f381bf8df1665.jpg","text":"TemporaryFile(/tmp/multipartBody3245310624113753934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113234025,"filename":"image_14042025_15_14_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1d9e85122ef6ea6e82c1de6194c41ca.jpg","text":"TemporaryFile(/tmp/multipartBody1095636031027728652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113234025,"filename":"image_14042025_15_14_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048779","file1":"1352048775","file0":"1352048772","file4":"1352048785","file5":"1352048788","file3":"1352048782"},"map_files_photo_id_array":[{"photo_id":"1352048788","filename":"file5"},{"photo_id":"1352048779","filename":"file2"},{"photo_id":"1352048785","filename":"file4"},{"photo_id":"1352048775","filename":"file1"},{"photo_id":"1352048772","filename":"file0"},{"photo_id":"1352048782","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048775":["hashtag1","hashtag2"]},{"1352048772":["hashtag1","hashtag2"]},{"1352048782":["hashtag1","hashtag2"]},{"1352048785":["hashtag1","hashtag2"]},{"1352048779":["hashtag1","hashtag2"]},{"1352048788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048775, 1352048772, 1352048782, 1352048785, 1352048779, 1352048788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.461424112319946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:40:32.649174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_46_9471.jpg', '/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_56_10350.jpg', '/home/pi/Desktop/images/14042025/15/14/image_14042025_15_15_07_10459.jpg', '/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_16_9350.jpg', '/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_26_10376.jpg', '/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_36_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_46_9471.jpg
/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_56_10350.jpg
/home/pi/Desktop/images/14042025/15/14/image_14042025_15_15_07_10459.jpg
/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_16_9350.jpg
/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_26_10376.jpg
/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_36_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048811","1352048817","1352048852","1352048849","1352048813","1352048845"],"photo_ids_order":["1352048811","1352048813","1352048817","1352048845","1352048849","1352048852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c304adaeec6592a81208f266bb93aba.jpg","text":"TemporaryFile(/tmp/multipartBody5101858281159056078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113294213,"filename":"image_14042025_15_14_46_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32d5bada63cd64e2526559627854d685.jpg","text":"TemporaryFile(/tmp/multipartBody2153417368834153220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113294213,"filename":"image_14042025_15_15_07_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e357be3714309436e1d2d6e66ec8705b.jpg","text":"TemporaryFile(/tmp/multipartBody3331821530807981809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113294213,"filename":"image_14042025_15_15_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c87495b49d20d6c7d0a657627ca0b54e.jpg","text":"TemporaryFile(/tmp/multipartBody8617245274693656284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113294213,"filename":"image_14042025_15_15_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3363ed4daf0ddc0eabd32c7c1b5d3724.jpg","text":"TemporaryFile(/tmp/multipartBody300210523272965586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113294213,"filename":"image_14042025_15_14_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f96d67dd034b5aaebb89c6acf54ac5b1.jpg","text":"TemporaryFile(/tmp/multipartBody3283482086461936694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113294213,"filename":"image_14042025_15_15_16_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048817","file1":"1352048813","file0":"1352048811","file4":"1352048849","file5":"1352048852","file3":"1352048845"},"map_files_photo_id_array":[{"photo_id":"1352048852","filename":"file5"},{"photo_id":"1352048817","filename":"file2"},{"photo_id":"1352048849","filename":"file4"},{"photo_id":"1352048813","filename":"file1"},{"photo_id":"1352048811","filename":"file0"},{"photo_id":"1352048845","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048811":["hashtag1","hashtag2"]},{"1352048817":["hashtag1","hashtag2"]},{"1352048852":["hashtag1","hashtag2"]},{"1352048849":["hashtag1","hashtag2"]},{"1352048813":["hashtag1","hashtag2"]},{"1352048845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048811, 1352048817, 1352048852, 1352048849, 1352048813, 1352048845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.850841760635376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:41:32.827311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_46_10430.jpg', '/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_57_10485.jpg', '/home/pi/Desktop/images/14042025/15/15/image_14042025_15_16_06_9319.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_17_10456.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_26_9421.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_36_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_46_10430.jpg
/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_57_10485.jpg
/home/pi/Desktop/images/14042025/15/15/image_14042025_15_16_06_9319.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_17_10456.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_26_9421.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_36_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048871","1352048879","1352048873","1352048867","1352048876","1352048869"],"photo_ids_order":["1352048867","1352048869","1352048871","1352048873","1352048876","1352048879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/118a4b8ebd4219c207951aa1cf4c75e8.jpg","text":"TemporaryFile(/tmp/multipartBody6311629818692883089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113354403,"filename":"image_14042025_15_16_06_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/484c13ba87a1b9c11e2cccc65a3bfee2.jpg","text":"TemporaryFile(/tmp/multipartBody342256084722061859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113354403,"filename":"image_14042025_15_16_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2202aacb2786a2dad64b1977e30c3e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4527041209662208587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113354403,"filename":"image_14042025_15_16_17_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/636114c75d50aed372f118d5a3e572ae.jpg","text":"TemporaryFile(/tmp/multipartBody850229011725452284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113354403,"filename":"image_14042025_15_15_46_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe499b903dc0a177f7b08cf898a02fb7.jpg","text":"TemporaryFile(/tmp/multipartBody4825133244884807913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113354403,"filename":"image_14042025_15_16_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/951a4bc12858082e83c4d0c100b76b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5646027703467933284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113354403,"filename":"image_14042025_15_15_57_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048871","file1":"1352048869","file0":"1352048867","file4":"1352048876","file5":"1352048879","file3":"1352048873"},"map_files_photo_id_array":[{"photo_id":"1352048879","filename":"file5"},{"photo_id":"1352048871","filename":"file2"},{"photo_id":"1352048876","filename":"file4"},{"photo_id":"1352048869","filename":"file1"},{"photo_id":"1352048867","filename":"file0"},{"photo_id":"1352048873","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048871":["hashtag1","hashtag2"]},{"1352048879":["hashtag1","hashtag2"]},{"1352048873":["hashtag1","hashtag2"]},{"1352048867":["hashtag1","hashtag2"]},{"1352048876":["hashtag1","hashtag2"]},{"1352048869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048871, 1352048879, 1352048873, 1352048867, 1352048876, 1352048869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00961709022522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:42:33.113280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_46_9525.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_56_10351.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_17_07_10412.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_16_9458.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_27_10363.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_36_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_46_9525.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_56_10351.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_17_07_10412.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_16_9458.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_27_10363.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_36_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048910","1352048897","1352048901","1352048912","1352048906","1352048908"],"photo_ids_order":["1352048897","1352048901","1352048906","1352048908","1352048910","1352048912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/475778138da1f467ac997f7db6af0032.jpg","text":"TemporaryFile(/tmp/multipartBody2097895545024628807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113414705,"filename":"image_14042025_15_17_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fdb69fd4a761265f786594c345f33b3.jpg","text":"TemporaryFile(/tmp/multipartBody7891701623839625520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113414705,"filename":"image_14042025_15_16_46_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cc476794e52e46d803c07bf9b24e917.jpg","text":"TemporaryFile(/tmp/multipartBody1449153409726702913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113414705,"filename":"image_14042025_15_16_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a08d4c7dfe67a42193efc5bba61f279.jpg","text":"TemporaryFile(/tmp/multipartBody7025613876296930767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113414705,"filename":"image_14042025_15_17_36_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ff44ce4af4f4a1e40d1417b3da845c0.jpg","text":"TemporaryFile(/tmp/multipartBody3039280952215962299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113414705,"filename":"image_14042025_15_17_07_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e34b34d20b5887372a3913b9b13090e3.jpg","text":"TemporaryFile(/tmp/multipartBody6138844317897260473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113414705,"filename":"image_14042025_15_17_16_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048906","file1":"1352048901","file0":"1352048897","file4":"1352048910","file5":"1352048912","file3":"1352048908"},"map_files_photo_id_array":[{"photo_id":"1352048912","filename":"file5"},{"photo_id":"1352048906","filename":"file2"},{"photo_id":"1352048910","filename":"file4"},{"photo_id":"1352048901","filename":"file1"},{"photo_id":"1352048897","filename":"file0"},{"photo_id":"1352048908","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048910":["hashtag1","hashtag2"]},{"1352048897":["hashtag1","hashtag2"]},{"1352048901":["hashtag1","hashtag2"]},{"1352048912":["hashtag1","hashtag2"]},{"1352048906":["hashtag1","hashtag2"]},{"1352048908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048910, 1352048897, 1352048901, 1352048912, 1352048906, 1352048908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51900625228882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:43:32.263117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_46_10351.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_57_10452.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_18_06_9321.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_27_10363.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_36_9344.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_47_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_46_10351.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_57_10452.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_18_06_9321.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_27_10363.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_36_9344.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_47_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048931","1352048925","1352048933","1352048927","1352048929","1352048923"],"photo_ids_order":["1352048923","1352048925","1352048927","1352048929","1352048931","1352048933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b9f01468c2707acd4556400e61f385d.jpg","text":"TemporaryFile(/tmp/multipartBody1173383581524133760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113473832,"filename":"image_14042025_15_18_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f826d8334b0f07908010308cdd4bce42.jpg","text":"TemporaryFile(/tmp/multipartBody2453949403865012441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113473832,"filename":"image_14042025_15_17_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ba6ecadd95a7b8e154022b990f61521.jpg","text":"TemporaryFile(/tmp/multipartBody8718946361110223452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113473832,"filename":"image_14042025_15_18_47_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1154db2dac37628158c924e02e43183.jpg","text":"TemporaryFile(/tmp/multipartBody1784257494953536939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113473832,"filename":"image_14042025_15_18_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38f1c775214c1d3cb3091f8b43b8a33e.jpg","text":"TemporaryFile(/tmp/multipartBody9077121766923469109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113473832,"filename":"image_14042025_15_18_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a36a77d507b7724bb5286f23c681caf1.jpg","text":"TemporaryFile(/tmp/multipartBody3844642398077152063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113473832,"filename":"image_14042025_15_17_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048927","file1":"1352048925","file0":"1352048923","file4":"1352048931","file5":"1352048933","file3":"1352048929"},"map_files_photo_id_array":[{"photo_id":"1352048933","filename":"file5"},{"photo_id":"1352048927","filename":"file2"},{"photo_id":"1352048931","filename":"file4"},{"photo_id":"1352048925","filename":"file1"},{"photo_id":"1352048923","filename":"file0"},{"photo_id":"1352048929","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048931":["hashtag1","hashtag2"]},{"1352048925":["hashtag1","hashtag2"]},{"1352048933":["hashtag1","hashtag2"]},{"1352048927":["hashtag1","hashtag2"]},{"1352048929":["hashtag1","hashtag2"]},{"1352048923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048931, 1352048925, 1352048933, 1352048927, 1352048929, 1352048923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.653210878372192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:44:32.569286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_56_9354.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_19_06_10424.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_17_10457.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_26_9351.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_37_10361.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_46_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_56_9354.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_19_06_10424.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_17_10457.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_26_9351.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_37_10361.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_46_9367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4937152862548828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 03:44:42.605288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_56_9354.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_19_06_10424.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_17_10457.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_26_9351.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_37_10361.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_46_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_56_9354.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_19_06_10424.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_17_10457.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_26_9351.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_37_10361.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_46_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048961","1352048955","1352048958","1352048952","1352048960","1352048950"],"photo_ids_order":["1352048950","1352048952","1352048955","1352048958","1352048960","1352048961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9244e5fb99a3f4235421b6035258e32.jpg","text":"TemporaryFile(/tmp/multipartBody1434694384813506065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113543245,"filename":"image_14042025_15_19_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4913aea6bc960f67084a7eba6cf13856.jpg","text":"TemporaryFile(/tmp/multipartBody4214741828580385602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113543245,"filename":"image_14042025_15_19_17_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64b4a01953de07105ba527959828c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody8073839030194473450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113543245,"filename":"image_14042025_15_19_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f0fdcbe37933f0892e53cee3f9b78c1.jpg","text":"TemporaryFile(/tmp/multipartBody3318527269464237789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113543245,"filename":"image_14042025_15_19_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24d9f645141d6a6e2d2176a1e37624d5.jpg","text":"TemporaryFile(/tmp/multipartBody7481372042284538459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113543245,"filename":"image_14042025_15_19_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62baf23c5dc0113e1a117a095984c96f.jpg","text":"TemporaryFile(/tmp/multipartBody8991141627958700264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113543245,"filename":"image_14042025_15_18_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048955","file1":"1352048952","file0":"1352048950","file4":"1352048960","file5":"1352048961","file3":"1352048958"},"map_files_photo_id_array":[{"photo_id":"1352048961","filename":"file5"},{"photo_id":"1352048955","filename":"file2"},{"photo_id":"1352048960","filename":"file4"},{"photo_id":"1352048952","filename":"file1"},{"photo_id":"1352048950","filename":"file0"},{"photo_id":"1352048958","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048961":["hashtag1","hashtag2"]},{"1352048955":["hashtag1","hashtag2"]},{"1352048958":["hashtag1","hashtag2"]},{"1352048952":["hashtag1","hashtag2"]},{"1352048960":["hashtag1","hashtag2"]},{"1352048950":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048961, 1352048955, 1352048958, 1352048952, 1352048960, 1352048950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.9985568523407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:45:32.835218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_56_10379.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_20_07_10470.jpg', '/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_16_9412.jpg', '/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_27_10368.jpg', '/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_36_9349.jpg', '/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_46_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_56_10379.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_20_07_10470.jpg
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_16_9412.jpg
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_27_10368.jpg
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_36_9349.jpg
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_46_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048982","1352048976","1352048978","1352048980","1352048974","1352048971"],"photo_ids_order":["1352048971","1352048974","1352048976","1352048978","1352048980","1352048982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eff2220a50e5bcebab43d64404c28066.jpg","text":"TemporaryFile(/tmp/multipartBody5482307996636531291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113594402,"filename":"image_14042025_15_20_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7692a28d33ae53d563b64473136ab9ef.jpg","text":"TemporaryFile(/tmp/multipartBody870224564032119894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113594402,"filename":"image_14042025_15_20_16_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c511605d311e5f4aa5c7589cc6573ccf.jpg","text":"TemporaryFile(/tmp/multipartBody4067215838633446925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113594402,"filename":"image_14042025_15_20_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/249c8015fbd6484630187d4eaea4b98b.jpg","text":"TemporaryFile(/tmp/multipartBody5727640236270323710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113594402,"filename":"image_14042025_15_20_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f7c8f355524ecd865a98ca1a2a87c63.jpg","text":"TemporaryFile(/tmp/multipartBody7501674434671453925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113594402,"filename":"image_14042025_15_20_07_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f653f125625e158d56b76b27cc61425c.jpg","text":"TemporaryFile(/tmp/multipartBody2301484930630359983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113594402,"filename":"image_14042025_15_19_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048976","file1":"1352048974","file0":"1352048971","file4":"1352048980","file5":"1352048982","file3":"1352048978"},"map_files_photo_id_array":[{"photo_id":"1352048982","filename":"file5"},{"photo_id":"1352048976","filename":"file2"},{"photo_id":"1352048980","filename":"file4"},{"photo_id":"1352048974","filename":"file1"},{"photo_id":"1352048971","filename":"file0"},{"photo_id":"1352048978","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048982":["hashtag1","hashtag2"]},{"1352048976":["hashtag1","hashtag2"]},{"1352048978":["hashtag1","hashtag2"]},{"1352048980":["hashtag1","hashtag2"]},{"1352048974":["hashtag1","hashtag2"]},{"1352048971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048982, 1352048976, 1352048978, 1352048980, 1352048974, 1352048971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.960320711135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:46:32.946241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_57_10358.jpg', '/home/pi/Desktop/images/14042025/15/20/image_14042025_15_21_06_9388.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_16_10427.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_26_9420.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_36_10355.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_47_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_57_10358.jpg
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_21_06_9388.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_16_10427.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_26_9420.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_36_10355.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_47_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048993","1352049010","1352049007","1352049001","1352049004","1352048997"],"photo_ids_order":["1352048993","1352048997","1352049001","1352049004","1352049007","1352049010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0716ce0e24fa3655769c020daa1b6a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8473774672180428134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113654516,"filename":"image_14042025_15_20_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ddcb59fe89b12156468a374c8ffb06a.jpg","text":"TemporaryFile(/tmp/multipartBody2190519077588983034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113654516,"filename":"image_14042025_15_21_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61e501c2d419bb364fbcf698639e0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody1422855009090795330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113654516,"filename":"image_14042025_15_21_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0bb26b104463256ec6b0805123e0678d.jpg","text":"TemporaryFile(/tmp/multipartBody2152298781929842621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113654516,"filename":"image_14042025_15_21_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/193aacaf1a09f04b9fdc6e89a76c8ada.jpg","text":"TemporaryFile(/tmp/multipartBody2116265831873443461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113654516,"filename":"image_14042025_15_21_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee7fef56751ad36129cff6289276c69b.jpg","text":"TemporaryFile(/tmp/multipartBody8546938700164421023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113654516,"filename":"image_14042025_15_21_06_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049001","file1":"1352048997","file0":"1352048993","file4":"1352049007","file5":"1352049010","file3":"1352049004"},"map_files_photo_id_array":[{"photo_id":"1352049010","filename":"file5"},{"photo_id":"1352049001","filename":"file2"},{"photo_id":"1352049007","filename":"file4"},{"photo_id":"1352048997","filename":"file1"},{"photo_id":"1352048993","filename":"file0"},{"photo_id":"1352049004","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352048993":["hashtag1","hashtag2"]},{"1352049010":["hashtag1","hashtag2"]},{"1352049007":["hashtag1","hashtag2"]},{"1352049001":["hashtag1","hashtag2"]},{"1352049004":["hashtag1","hashtag2"]},{"1352048997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352048993, 1352049010, 1352049007, 1352049001, 1352049004, 1352048997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.94447612762451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:47:32.268348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_56_9454.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_22_06_10352.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_17_10383.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_26_9383.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_46_9456.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_56_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_56_9454.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_22_06_10352.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_17_10383.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_26_9383.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_46_9456.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_56_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049021","1352049032","1352049026","1352049029","1352049022","1352049016"],"photo_ids_order":["1352049016","1352049021","1352049022","1352049026","1352049029","1352049032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa51a4a7edeb620fa5db4f069275c520.jpg","text":"TemporaryFile(/tmp/multipartBody6088836456225922033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113713838,"filename":"image_14042025_15_22_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fca5fe9aa765a5a9181d809116e3eef6.jpg","text":"TemporaryFile(/tmp/multipartBody8381634657338946942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113713838,"filename":"image_14042025_15_22_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0267e3487e539c534670858350c8d8b9.jpg","text":"TemporaryFile(/tmp/multipartBody878042006204859042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113713838,"filename":"image_14042025_15_22_26_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13bd810bac3d68011ae74e545186c64d.jpg","text":"TemporaryFile(/tmp/multipartBody6224692871555735551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113713838,"filename":"image_14042025_15_22_46_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab4eaffac883b17a0a0fde1392cae58c.jpg","text":"TemporaryFile(/tmp/multipartBody8244331400255632737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113713838,"filename":"image_14042025_15_22_17_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3768445472c4d96cc5b7ce93814d7807.jpg","text":"TemporaryFile(/tmp/multipartBody833671172786881736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113713838,"filename":"image_14042025_15_21_56_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049022","file1":"1352049021","file0":"1352049016","file4":"1352049029","file5":"1352049032","file3":"1352049026"},"map_files_photo_id_array":[{"photo_id":"1352049032","filename":"file5"},{"photo_id":"1352049022","filename":"file2"},{"photo_id":"1352049029","filename":"file4"},{"photo_id":"1352049021","filename":"file1"},{"photo_id":"1352049016","filename":"file0"},{"photo_id":"1352049026","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049021":["hashtag1","hashtag2"]},{"1352049032":["hashtag1","hashtag2"]},{"1352049026":["hashtag1","hashtag2"]},{"1352049029":["hashtag1","hashtag2"]},{"1352049022":["hashtag1","hashtag2"]},{"1352049016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049021, 1352049032, 1352049026, 1352049029, 1352049022, 1352049016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.656007528305054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:48:32.523635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/22/image_14042025_15_23_07_10393.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_16_9362.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_27_10414.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_36_9326.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_46_10373.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_57_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_23_07_10393.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_16_9362.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_27_10414.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_36_9326.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_46_10373.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_57_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049043","1352049037","1352049052","1352049046","1352049049","1352049040"],"photo_ids_order":["1352049037","1352049040","1352049043","1352049046","1352049049","1352049052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe3b8232726b47e7cadcbb8e81994062.jpg","text":"TemporaryFile(/tmp/multipartBody8945008325366654860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113774086,"filename":"image_14042025_15_23_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/728ca6ff6fb535203b3ada61e1734bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6980546516714443865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113774086,"filename":"image_14042025_15_23_07_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c2733df6dba1a93f819813be420dae5.jpg","text":"TemporaryFile(/tmp/multipartBody3177405884568153343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113774086,"filename":"image_14042025_15_23_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c94255f13f3362f61fe59f9cf2ef5f39.jpg","text":"TemporaryFile(/tmp/multipartBody7604991224733943014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113774086,"filename":"image_14042025_15_23_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74875c856e0c082a34a5e147fd534910.jpg","text":"TemporaryFile(/tmp/multipartBody3864912734884752465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113774086,"filename":"image_14042025_15_23_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39be25c7b25bf777c5d7495daad81877.jpg","text":"TemporaryFile(/tmp/multipartBody6569470956343827900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113774086,"filename":"image_14042025_15_23_16_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049043","file1":"1352049040","file0":"1352049037","file4":"1352049049","file5":"1352049052","file3":"1352049046"},"map_files_photo_id_array":[{"photo_id":"1352049052","filename":"file5"},{"photo_id":"1352049043","filename":"file2"},{"photo_id":"1352049049","filename":"file4"},{"photo_id":"1352049040","filename":"file1"},{"photo_id":"1352049037","filename":"file0"},{"photo_id":"1352049046","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049043":["hashtag1","hashtag2"]},{"1352049037":["hashtag1","hashtag2"]},{"1352049052":["hashtag1","hashtag2"]},{"1352049046":["hashtag1","hashtag2"]},{"1352049049":["hashtag1","hashtag2"]},{"1352049040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049043, 1352049037, 1352049052, 1352049046, 1352049049, 1352049040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51282358169556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:49:32.665645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/23/image_14042025_15_24_06_9346.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_16_10356.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_27_10447.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_36_9332.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_46_10361.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_57_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_24_06_9346.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_16_10356.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_27_10447.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_36_9332.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_46_10361.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_57_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049063","1352049095","1352049092","1352049086","1352049056","1352049060"],"photo_ids_order":["1352049056","1352049060","1352049063","1352049086","1352049092","1352049095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8b4a4168f063037257c1a96b07e1a04.jpg","text":"TemporaryFile(/tmp/multipartBody7666639811220781484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113834236,"filename":"image_14042025_15_24_27_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1cc73f776e38b93c0bc29333d32f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody748903468715389813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113834236,"filename":"image_14042025_15_24_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03b0714289c6c0adb45c3b1eff524787.jpg","text":"TemporaryFile(/tmp/multipartBody1078943575117390639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113834236,"filename":"image_14042025_15_24_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be0625b7ed9ea5fa35a943bfb192e0d1.jpg","text":"TemporaryFile(/tmp/multipartBody6496577838623561895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113834236,"filename":"image_14042025_15_24_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d96e994cc29d42de8f5a96a9e8700cd8.jpg","text":"TemporaryFile(/tmp/multipartBody447850965792679270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113834236,"filename":"image_14042025_15_24_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac7b2153aff35af1e9ea01f1418bbf95.jpg","text":"TemporaryFile(/tmp/multipartBody4990213368382561928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113834236,"filename":"image_14042025_15_24_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049063","file1":"1352049060","file0":"1352049056","file4":"1352049092","file5":"1352049095","file3":"1352049086"},"map_files_photo_id_array":[{"photo_id":"1352049095","filename":"file5"},{"photo_id":"1352049063","filename":"file2"},{"photo_id":"1352049092","filename":"file4"},{"photo_id":"1352049060","filename":"file1"},{"photo_id":"1352049056","filename":"file0"},{"photo_id":"1352049086","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049063":["hashtag1","hashtag2"]},{"1352049095":["hashtag1","hashtag2"]},{"1352049092":["hashtag1","hashtag2"]},{"1352049086":["hashtag1","hashtag2"]},{"1352049056":["hashtag1","hashtag2"]},{"1352049060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049063, 1352049095, 1352049092, 1352049086, 1352049056, 1352049060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39626932144165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:50:32.766740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/24/image_14042025_15_25_06_9327.jpg', '/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_17_10379.jpg', '/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_26_9359.jpg', '/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_36_10339.jpg', '/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_47_10380.jpg', '/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_56_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_25_06_9327.jpg
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_17_10379.jpg
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_26_9359.jpg
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_36_10339.jpg
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_47_10380.jpg
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_56_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049114","1352049108","1352049116","1352049112","1352049106","1352049103"],"photo_ids_order":["1352049103","1352049106","1352049108","1352049112","1352049114","1352049116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70d93c8ebba4422c222b2027dfb412ec.jpg","text":"TemporaryFile(/tmp/multipartBody25109768388195949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113894355,"filename":"image_14042025_15_25_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/940a0b186ea2b0af2a9654281eafcf8d.jpg","text":"TemporaryFile(/tmp/multipartBody6107969538191333756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113894355,"filename":"image_14042025_15_25_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f93f2f9eeadf06c5dc8a309ac290e84.jpg","text":"TemporaryFile(/tmp/multipartBody1544241147283092603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113894355,"filename":"image_14042025_15_25_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73fa0a6aba9593a602225bcbeb90ad2b.jpg","text":"TemporaryFile(/tmp/multipartBody8195581896730846793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113894355,"filename":"image_14042025_15_25_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54b74ff1414866e47cbfab8d64576019.jpg","text":"TemporaryFile(/tmp/multipartBody6551367815069747866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113894355,"filename":"image_14042025_15_25_17_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f38bbb67017f7e34d12d9f6ac6d13057.jpg","text":"TemporaryFile(/tmp/multipartBody4482502183416414262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113894355,"filename":"image_14042025_15_25_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049108","file1":"1352049106","file0":"1352049103","file4":"1352049114","file5":"1352049116","file3":"1352049112"},"map_files_photo_id_array":[{"photo_id":"1352049116","filename":"file5"},{"photo_id":"1352049108","filename":"file2"},{"photo_id":"1352049114","filename":"file4"},{"photo_id":"1352049106","filename":"file1"},{"photo_id":"1352049103","filename":"file0"},{"photo_id":"1352049112","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049114":["hashtag1","hashtag2"]},{"1352049108":["hashtag1","hashtag2"]},{"1352049116":["hashtag1","hashtag2"]},{"1352049112":["hashtag1","hashtag2"]},{"1352049106":["hashtag1","hashtag2"]},{"1352049103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049114, 1352049108, 1352049116, 1352049112, 1352049106, 1352049103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.068536043167114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:51:33.059217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/25/image_14042025_15_26_06_10405.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_17_10401.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_26_9355.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_37_10373.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_46_9419.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_26_06_10405.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_17_10401.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_26_9355.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_37_10373.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_46_9419.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_56_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049132","1352049125","1352049134","1352049128","1352049136","1352049130"],"photo_ids_order":["1352049125","1352049128","1352049130","1352049132","1352049134","1352049136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/235f477726aa55bdaf789b2b008a193c.jpg","text":"TemporaryFile(/tmp/multipartBody337816722207590434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113954616,"filename":"image_14042025_15_26_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e545968b5960795186b8ea922532f39b.jpg","text":"TemporaryFile(/tmp/multipartBody9120909003146162527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113954616,"filename":"image_14042025_15_26_06_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3f2199ff8338ea54c8eaa92c276b52f.jpg","text":"TemporaryFile(/tmp/multipartBody4017236826126023338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113954616,"filename":"image_14042025_15_26_46_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f58fb194908f1cd9d8d22ab78b7d4cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8363346018025954990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113954616,"filename":"image_14042025_15_26_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41c4292304af96bcfd7461468fe02382.jpg","text":"TemporaryFile(/tmp/multipartBody5433702857256747452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113954616,"filename":"image_14042025_15_26_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a69223b3f92038b6db2db1678d5da8e1.jpg","text":"TemporaryFile(/tmp/multipartBody3066947122659612753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745113954616,"filename":"image_14042025_15_26_26_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049130","file1":"1352049128","file0":"1352049125","file4":"1352049134","file5":"1352049136","file3":"1352049132"},"map_files_photo_id_array":[{"photo_id":"1352049136","filename":"file5"},{"photo_id":"1352049130","filename":"file2"},{"photo_id":"1352049134","filename":"file4"},{"photo_id":"1352049128","filename":"file1"},{"photo_id":"1352049125","filename":"file0"},{"photo_id":"1352049132","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049132":["hashtag1","hashtag2"]},{"1352049125":["hashtag1","hashtag2"]},{"1352049134":["hashtag1","hashtag2"]},{"1352049128":["hashtag1","hashtag2"]},{"1352049136":["hashtag1","hashtag2"]},{"1352049130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049132, 1352049125, 1352049134, 1352049128, 1352049136, 1352049130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.078335762023926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:52:33.194162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/26/image_14042025_15_27_07_10329.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_16_9386.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_26_10365.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_37_10447.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_46_9362.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_57_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_27_07_10329.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_16_9386.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_26_10365.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_37_10447.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_46_9362.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_57_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049141","1352049144","1352049154","1352049157","1352049151","1352049148"],"photo_ids_order":["1352049141","1352049144","1352049148","1352049151","1352049154","1352049157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/714b2292212a4a9ab705056b8708e72a.jpg","text":"TemporaryFile(/tmp/multipartBody7509151170875867658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114014773,"filename":"image_14042025_15_27_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5adf86f876a689142b26e93a12cde85.jpg","text":"TemporaryFile(/tmp/multipartBody7684199487944151716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114014773,"filename":"image_14042025_15_27_16_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/847d8a39a3013fe7dd79aea7315ea4e8.jpg","text":"TemporaryFile(/tmp/multipartBody230006747087866521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114014773,"filename":"image_14042025_15_27_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f040aaa25f6441137fda4e889a86ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6228098481955133611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114014773,"filename":"image_14042025_15_27_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfd74d97f4ed6462081ba75802f8a63c.jpg","text":"TemporaryFile(/tmp/multipartBody7053297986250499061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114014773,"filename":"image_14042025_15_27_37_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1d65a1d3fbf3d45a77f06a1771a2c52.jpg","text":"TemporaryFile(/tmp/multipartBody7163531863711673737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114014773,"filename":"image_14042025_15_27_26_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049148","file1":"1352049144","file0":"1352049141","file4":"1352049154","file5":"1352049157","file3":"1352049151"},"map_files_photo_id_array":[{"photo_id":"1352049157","filename":"file5"},{"photo_id":"1352049148","filename":"file2"},{"photo_id":"1352049154","filename":"file4"},{"photo_id":"1352049144","filename":"file1"},{"photo_id":"1352049141","filename":"file0"},{"photo_id":"1352049151","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049141":["hashtag1","hashtag2"]},{"1352049144":["hashtag1","hashtag2"]},{"1352049154":["hashtag1","hashtag2"]},{"1352049157":["hashtag1","hashtag2"]},{"1352049151":["hashtag1","hashtag2"]},{"1352049148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049141, 1352049144, 1352049154, 1352049157, 1352049151, 1352049148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.509601354599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:53:32.475217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/27/image_14042025_15_28_06_9407.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_17_10590.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_26_9331.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_36_10442.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_56_9398.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_29_07_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_28_06_9407.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_17_10590.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_26_9331.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_36_10442.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_56_9398.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_29_07_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049164","1352049177","1352049171","1352049180","1352049174","1352049168"],"photo_ids_order":["1352049164","1352049168","1352049171","1352049174","1352049177","1352049180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfa0fd74953d8003428f01f5a99978ed.jpg","text":"TemporaryFile(/tmp/multipartBody3264053986984570309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114074052,"filename":"image_14042025_15_28_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01ff5a7d7b6b8ef7fb0abaa9c023abe6.jpg","text":"TemporaryFile(/tmp/multipartBody3587565092716580484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114074052,"filename":"image_14042025_15_28_56_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3b0f065761fb9f107c25eda717a8172.jpg","text":"TemporaryFile(/tmp/multipartBody8242282965028148652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114074052,"filename":"image_14042025_15_28_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ac5a7364bce18aa702e48a5e603e228.jpg","text":"TemporaryFile(/tmp/multipartBody952790445333576323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114074052,"filename":"image_14042025_15_29_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c65d900597cd36abfd39afca7c5fc434.jpg","text":"TemporaryFile(/tmp/multipartBody8725569920186430117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114074052,"filename":"image_14042025_15_28_36_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bffcfcdc22770ce812df18b8534739e4.jpg","text":"TemporaryFile(/tmp/multipartBody2164551919425543502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114074052,"filename":"image_14042025_15_28_17_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049171","file1":"1352049168","file0":"1352049164","file4":"1352049177","file5":"1352049180","file3":"1352049174"},"map_files_photo_id_array":[{"photo_id":"1352049180","filename":"file5"},{"photo_id":"1352049171","filename":"file2"},{"photo_id":"1352049177","filename":"file4"},{"photo_id":"1352049168","filename":"file1"},{"photo_id":"1352049164","filename":"file0"},{"photo_id":"1352049174","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049164":["hashtag1","hashtag2"]},{"1352049177":["hashtag1","hashtag2"]},{"1352049171":["hashtag1","hashtag2"]},{"1352049180":["hashtag1","hashtag2"]},{"1352049174":["hashtag1","hashtag2"]},{"1352049168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049164, 1352049177, 1352049171, 1352049180, 1352049174, 1352049168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99165654182434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:54:32.719622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_16_9407.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_26_10371.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_37_10339.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_46_9348.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_56_10337.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_30_07_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_16_9407.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_26_10371.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_37_10339.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_46_9348.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_56_10337.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_30_07_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049201","1352049199","1352049193","1352049187","1352049196","1352049189"],"photo_ids_order":["1352049187","1352049189","1352049193","1352049196","1352049199","1352049201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99c40fcdb100a346e8a28d4146aec201.jpg","text":"TemporaryFile(/tmp/multipartBody4731240209879025928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114134287,"filename":"image_14042025_15_30_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56270f7a6a3372b1684fb6b66b93af82.jpg","text":"TemporaryFile(/tmp/multipartBody3071334581162050301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114134287,"filename":"image_14042025_15_29_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe54e98c29a11c1b6a4235939e8153fb.jpg","text":"TemporaryFile(/tmp/multipartBody8621644391876871202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114134287,"filename":"image_14042025_15_29_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d89b31a5b64408cbc4fbb9e4f609dd16.jpg","text":"TemporaryFile(/tmp/multipartBody2067147927853956188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114134287,"filename":"image_14042025_15_29_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21ae771d948cf398f6c7a20d0b0a1be0.jpg","text":"TemporaryFile(/tmp/multipartBody4120899336755923956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114134287,"filename":"image_14042025_15_29_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acda7f9ec08abf892663482966e2d308.jpg","text":"TemporaryFile(/tmp/multipartBody5859230696208005363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114134287,"filename":"image_14042025_15_29_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049193","file1":"1352049189","file0":"1352049187","file4":"1352049199","file5":"1352049201","file3":"1352049196"},"map_files_photo_id_array":[{"photo_id":"1352049201","filename":"file5"},{"photo_id":"1352049193","filename":"file2"},{"photo_id":"1352049199","filename":"file4"},{"photo_id":"1352049189","filename":"file1"},{"photo_id":"1352049187","filename":"file0"},{"photo_id":"1352049196","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049201":["hashtag1","hashtag2"]},{"1352049199":["hashtag1","hashtag2"]},{"1352049193":["hashtag1","hashtag2"]},{"1352049187":["hashtag1","hashtag2"]},{"1352049196":["hashtag1","hashtag2"]},{"1352049189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049201, 1352049199, 1352049193, 1352049187, 1352049196, 1352049189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.778727769851685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:55:32.871579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_16_9353.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_26_10344.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_37_10456.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_46_9349.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_57_10362.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_31_06_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_16_9353.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_26_10344.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_37_10456.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_46_9349.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_57_10362.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_31_06_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049223","1352049217","1352049211","1352049220","1352049214","1352049208"],"photo_ids_order":["1352049208","1352049211","1352049214","1352049217","1352049220","1352049223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/196f0ae76d67691c4e0b082bac1b8fc1.jpg","text":"TemporaryFile(/tmp/multipartBody2159258068121093813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114194437,"filename":"image_14042025_15_31_06_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fea6f1f5751fb9200ea7f037ec4ae1f.jpg","text":"TemporaryFile(/tmp/multipartBody560543836097711823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114194437,"filename":"image_14042025_15_30_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f18051b9a0f508b7b7f5369cb7a8226b.jpg","text":"TemporaryFile(/tmp/multipartBody8634404275671249196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114194437,"filename":"image_14042025_15_30_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d691e2cb7d3eab417cad55a06fcc6cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3204698709679739498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114194437,"filename":"image_14042025_15_30_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1545870b9069e61444403b271044ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7710023613459260329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114194437,"filename":"image_14042025_15_30_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd9364a188cf6c8022596615b64bf26b.jpg","text":"TemporaryFile(/tmp/multipartBody5537616459945448061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114194437,"filename":"image_14042025_15_30_16_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049214","file1":"1352049211","file0":"1352049208","file4":"1352049220","file5":"1352049223","file3":"1352049217"},"map_files_photo_id_array":[{"photo_id":"1352049223","filename":"file5"},{"photo_id":"1352049214","filename":"file2"},{"photo_id":"1352049220","filename":"file4"},{"photo_id":"1352049211","filename":"file1"},{"photo_id":"1352049208","filename":"file0"},{"photo_id":"1352049217","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049223":["hashtag1","hashtag2"]},{"1352049217":["hashtag1","hashtag2"]},{"1352049211":["hashtag1","hashtag2"]},{"1352049220":["hashtag1","hashtag2"]},{"1352049214":["hashtag1","hashtag2"]},{"1352049208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049223, 1352049217, 1352049211, 1352049220, 1352049214, 1352049208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.358739137649536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:56:33.050248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_16_10394.jpg', '/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_27_10346.jpg', '/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_36_9421.jpg', '/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_47_10489.jpg', '/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_56_9477.jpg', '/home/pi/Desktop/images/14042025/15/31/image_14042025_15_32_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_16_10394.jpg
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_27_10346.jpg
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_36_9421.jpg
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_47_10489.jpg
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_56_9477.jpg
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_32_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049354","1352049441","1352049467","1352049326","1352049413","1352049382"],"photo_ids_order":["1352049326","1352049354","1352049382","1352049413","1352049441","1352049467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27d91204087a63ea2b57b7fb9eb071a4.jpg","text":"TemporaryFile(/tmp/multipartBody9179366632188192067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114254629,"filename":"image_14042025_15_31_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70be5443c59581f4f243cf20ce5e5d06.jpg","text":"TemporaryFile(/tmp/multipartBody1722214443471057340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114254629,"filename":"image_14042025_15_31_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7b7b96253fbf55eb426dbb6f41a5941.jpg","text":"TemporaryFile(/tmp/multipartBody4020622440794912851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114254629,"filename":"image_14042025_15_32_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e92406e3eb13945f16f36fdc1a4a098.jpg","text":"TemporaryFile(/tmp/multipartBody5331711258742625567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114254629,"filename":"image_14042025_15_31_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92556e283e08812d659341b836b31d57.jpg","text":"TemporaryFile(/tmp/multipartBody9214042103241659511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114254629,"filename":"image_14042025_15_31_47_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f02e9aa4beca10eff270ceb3d6f7d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1544676388404096749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114254629,"filename":"image_14042025_15_31_36_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049382","file1":"1352049354","file0":"1352049326","file4":"1352049441","file5":"1352049467","file3":"1352049413"},"map_files_photo_id_array":[{"photo_id":"1352049467","filename":"file5"},{"photo_id":"1352049382","filename":"file2"},{"photo_id":"1352049441","filename":"file4"},{"photo_id":"1352049354","filename":"file1"},{"photo_id":"1352049326","filename":"file0"},{"photo_id":"1352049413","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049354":["hashtag1","hashtag2"]},{"1352049441":["hashtag1","hashtag2"]},{"1352049467":["hashtag1","hashtag2"]},{"1352049326":["hashtag1","hashtag2"]},{"1352049413":["hashtag1","hashtag2"]},{"1352049382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049354, 1352049441, 1352049467, 1352049326, 1352049413, 1352049382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.387728691101074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 03:57:32.306238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_17_10453.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_26_9344.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_10419.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_46_9387.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_57_10528.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_33_06_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_17_10453.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_26_9344.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_10419.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_46_9387.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_57_10528.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_33_06_9401.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4858641624450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 03:57:42.266304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_17_10453.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_26_9344.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_10419.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_46_9387.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_57_10528.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_33_06_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_17_10453.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_26_9344.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_10419.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_46_9387.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_57_10528.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_33_06_9401.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 03:59:03.897984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_17_10453.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_26_9344.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_10419.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_46_9387.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_57_10528.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_33_06_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_17_10453.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_26_9344.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_10419.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_46_9387.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_57_10528.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_33_06_9401.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049957","1352049872","1352049985","1352050013","1352049928","1352049901"],"photo_ids_order":["1352049872","1352049901","1352049928","1352049957","1352049985","1352050013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1fed00965ca0d24094ff181d3074a63.jpg","text":"TemporaryFile(/tmp/multipartBody4766989358697419204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114404816,"filename":"image_14042025_15_32_46_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3bfda9e5f3ccc150e30e649f70989edb.jpg","text":"TemporaryFile(/tmp/multipartBody4737397592629473737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114404816,"filename":"image_14042025_15_32_17_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be7d82c5e443f737add0f948a675f0f7.jpg","text":"TemporaryFile(/tmp/multipartBody2279296585396531696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114404816,"filename":"image_14042025_15_32_57_10528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7c8c127a587d706492600043e1dca54.jpg","text":"TemporaryFile(/tmp/multipartBody8754270583147102610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114404816,"filename":"image_14042025_15_33_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/788745a78fd2819775fc138883344d83.jpg","text":"TemporaryFile(/tmp/multipartBody8922615129186859256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114404816,"filename":"image_14042025_15_32_37_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/feb091d506470827fc9d17cca29f48cd.jpg","text":"TemporaryFile(/tmp/multipartBody3362265222735061310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114404816,"filename":"image_14042025_15_32_26_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049928","file1":"1352049901","file0":"1352049872","file4":"1352049985","file5":"1352050013","file3":"1352049957"},"map_files_photo_id_array":[{"photo_id":"1352050013","filename":"file5"},{"photo_id":"1352049928","filename":"file2"},{"photo_id":"1352049985","filename":"file4"},{"photo_id":"1352049901","filename":"file1"},{"photo_id":"1352049872","filename":"file0"},{"photo_id":"1352049957","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1352049957":["hashtag1","hashtag2"]},{"1352049872":["hashtag1","hashtag2"]},{"1352049985":["hashtag1","hashtag2"]},{"1352050013":["hashtag1","hashtag2"]},{"1352049928":["hashtag1","hashtag2"]},{"1352049901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1352049957, 1352049872, 1352049985, 1352050013, 1352049928, 1352049901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57499408721924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 03:59:42.800208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20042025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22258396, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1745114443000}
4310
2742525
4310
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_14_10286.jpg', '/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_24_10370.jpg', '/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_33_9354.jpg', '/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_44_10398.jpg', '/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_54_10384.jpg', '/home/pi/Desktop/images/20042025/00/01/image_20042025_00_02_04_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_14_10286.jpg
/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_24_10370.jpg
/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_33_9354.jpg
/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_44_10398.jpg
/home/pi/Desktop/images/20042025/00/01/image_20042025_00_01_54_10384.jpg
/home/pi/Desktop/images/20042025/00/01/image_20042025_00_02_04_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352050170","1352050224","1352050253","1352050283","1352050198","1352050144"],"photo_ids_order":["1352050144","1352050170","1352050198","1352050224","1352050253","1352050283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c8902a1ca983aeba262b7dd04760717.jpg","text":"TemporaryFile(/tmp/multipartBody504024840831296480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114444163,"filename":"image_20042025_00_01_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83233e1d970d1114d35067566641e64b.jpg","text":"TemporaryFile(/tmp/multipartBody7905377504811741309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114444163,"filename":"image_20042025_00_01_44_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4123ecb7d527c6a1ad028cf53ed65501.jpg","text":"TemporaryFile(/tmp/multipartBody7850059886196950104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114444163,"filename":"image_20042025_00_01_54_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a10748bddee86fc1ff127e3f5cb4e8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8085850431713551614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114444163,"filename":"image_20042025_00_02_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1061a689c54eb731f1ee28107d58220d.jpg","text":"TemporaryFile(/tmp/multipartBody1386275906503379732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114444163,"filename":"image_20042025_00_01_33_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aca377edff058f5c742c0df97d9c9835.jpg","text":"TemporaryFile(/tmp/multipartBody4367609556234050467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114444163,"filename":"image_20042025_00_01_14_10286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352050198","file1":"1352050170","file0":"1352050144","file4":"1352050253","file5":"1352050283","file3":"1352050224"},"map_files_photo_id_array":[{"photo_id":"1352050283","filename":"file5"},{"photo_id":"1352050198","filename":"file2"},{"photo_id":"1352050253","filename":"file4"},{"photo_id":"1352050170","filename":"file1"},{"photo_id":"1352050144","filename":"file0"},{"photo_id":"1352050224","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352050170":["hashtag1","hashtag2"]},{"1352050224":["hashtag1","hashtag2"]},{"1352050253":["hashtag1","hashtag2"]},{"1352050283":["hashtag1","hashtag2"]},{"1352050198":["hashtag1","hashtag2"]},{"1352050144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352050170, 1352050224, 1352050253, 1352050283, 1352050198, 1352050144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.803715705871582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:00:32.961966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_14_10368.jpg', '/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_24_10373.jpg', '/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_34_9369.jpg', '/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_44_10452.jpg', '/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_54_9442.jpg', '/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_14_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_14_10368.jpg
/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_24_10373.jpg
/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_34_9369.jpg
/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_44_10452.jpg
/home/pi/Desktop/images/20042025/00/02/image_20042025_00_02_54_9442.jpg
/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_14_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352050504","1352050506","1352050500","1352050499","1352050502","1352050495"],"photo_ids_order":["1352050495","1352050499","1352050500","1352050502","1352050504","1352050506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a1d8f3c08df200724eff240068dfbce.jpg","text":"TemporaryFile(/tmp/multipartBody4683822128111801611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114493436,"filename":"image_20042025_00_02_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2118538d6bcc964aed074b07a673aa54.jpg","text":"TemporaryFile(/tmp/multipartBody2554192279917637385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114493436,"filename":"image_20042025_00_03_14_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74f22db09fa5b96417602aaf539436fe.jpg","text":"TemporaryFile(/tmp/multipartBody8132120406322143047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114493436,"filename":"image_20042025_00_02_34_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f95c3a7b41f8018d34ed062ad42a2f50.jpg","text":"TemporaryFile(/tmp/multipartBody5590145080882735110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114493436,"filename":"image_20042025_00_02_24_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f41c2e47439733393d5e3ea9e1bfef4b.jpg","text":"TemporaryFile(/tmp/multipartBody3526786790114856129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114493436,"filename":"image_20042025_00_02_44_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7398c4f15a7842305ec8caf0698efc79.jpg","text":"TemporaryFile(/tmp/multipartBody8457216678664248307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114493436,"filename":"image_20042025_00_02_14_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352050500","file1":"1352050499","file0":"1352050495","file4":"1352050504","file5":"1352050506","file3":"1352050502"},"map_files_photo_id_array":[{"photo_id":"1352050506","filename":"file5"},{"photo_id":"1352050500","filename":"file2"},{"photo_id":"1352050504","filename":"file4"},{"photo_id":"1352050499","filename":"file1"},{"photo_id":"1352050495","filename":"file0"},{"photo_id":"1352050502","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352050504":["hashtag1","hashtag2"]},{"1352050506":["hashtag1","hashtag2"]},{"1352050500":["hashtag1","hashtag2"]},{"1352050499":["hashtag1","hashtag2"]},{"1352050502":["hashtag1","hashtag2"]},{"1352050495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352050504, 1352050506, 1352050500, 1352050499, 1352050502, 1352050495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59318947792053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:01:33.095725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_24_9432.jpg', '/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_34_10368.jpg', '/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_44_9348.jpg', '/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_54_10417.jpg', '/home/pi/Desktop/images/20042025/00/03/image_20042025_00_04_04_10379.jpg', '/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_14_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_24_9432.jpg
/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_34_10368.jpg
/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_44_9348.jpg
/home/pi/Desktop/images/20042025/00/03/image_20042025_00_03_54_10417.jpg
/home/pi/Desktop/images/20042025/00/03/image_20042025_00_04_04_10379.jpg
/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_14_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352050524","1352050518","1352050520","1352050526","1352050528","1352050522"],"photo_ids_order":["1352050518","1352050520","1352050522","1352050524","1352050526","1352050528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5f4b5161fdde15562c349377d916cec.jpg","text":"TemporaryFile(/tmp/multipartBody4994787200344738824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114553559,"filename":"image_20042025_00_03_54_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e654468fd2079610eedf5c206e21da95.jpg","text":"TemporaryFile(/tmp/multipartBody1759243441225528345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114553559,"filename":"image_20042025_00_03_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba3c2e3f7ea9c633747dce5074d5fb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4835330871998260718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114553559,"filename":"image_20042025_00_03_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b55cd0cfeb05f828c115fcad566c85b2.jpg","text":"TemporaryFile(/tmp/multipartBody2470115884983501899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114553559,"filename":"image_20042025_00_04_04_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc6013a7dcab8d18e77325b7a06ee508.jpg","text":"TemporaryFile(/tmp/multipartBody8888969735788931356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114553559,"filename":"image_20042025_00_04_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4166a7a45ad98bab33a35fd29169c287.jpg","text":"TemporaryFile(/tmp/multipartBody3709593638557076072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114553559,"filename":"image_20042025_00_03_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352050522","file1":"1352050520","file0":"1352050518","file4":"1352050526","file5":"1352050528","file3":"1352050524"},"map_files_photo_id_array":[{"photo_id":"1352050528","filename":"file5"},{"photo_id":"1352050522","filename":"file2"},{"photo_id":"1352050526","filename":"file4"},{"photo_id":"1352050520","filename":"file1"},{"photo_id":"1352050518","filename":"file0"},{"photo_id":"1352050524","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352050524":["hashtag1","hashtag2"]},{"1352050518":["hashtag1","hashtag2"]},{"1352050520":["hashtag1","hashtag2"]},{"1352050526":["hashtag1","hashtag2"]},{"1352050528":["hashtag1","hashtag2"]},{"1352050522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352050524, 1352050518, 1352050520, 1352050526, 1352050528, 1352050522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.120760917663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:02:32.419975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_24_10360.jpg', '/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_44_10459.jpg', '/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_54_10383.jpg', '/home/pi/Desktop/images/20042025/00/05/image_20042025_00_05_24_9428.jpg', '/home/pi/Desktop/images/20042025/00/05/image_20042025_00_05_54_9551.jpg', '/home/pi/Desktop/images/20042025/00/05/image_20042025_00_06_04_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_24_10360.jpg
/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_44_10459.jpg
/home/pi/Desktop/images/20042025/00/04/image_20042025_00_04_54_10383.jpg
/home/pi/Desktop/images/20042025/00/05/image_20042025_00_05_24_9428.jpg
/home/pi/Desktop/images/20042025/00/05/image_20042025_00_05_54_9551.jpg
/home/pi/Desktop/images/20042025/00/05/image_20042025_00_06_04_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352050854","1352050908","1352050796","1352050769","1352050826","1352050881"],"photo_ids_order":["1352050769","1352050796","1352050826","1352050854","1352050881","1352050908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad422418915a9ecb3690a981c9f03b80.jpg","text":"TemporaryFile(/tmp/multipartBody2421699439982272089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114612887,"filename":"image_20042025_00_05_24_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/802e8cfedfa4c35a93d836b62affeeb2.jpg","text":"TemporaryFile(/tmp/multipartBody6339252296007248939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114612887,"filename":"image_20042025_00_06_04_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a92bb83684ee888c729547446bf0b50.jpg","text":"TemporaryFile(/tmp/multipartBody5929212554901093145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114612887,"filename":"image_20042025_00_04_44_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa955a73317eba9146f25b6183c30188.jpg","text":"TemporaryFile(/tmp/multipartBody7210917054517083020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114612887,"filename":"image_20042025_00_04_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f10e405fffa2c8523011c13740353250.jpg","text":"TemporaryFile(/tmp/multipartBody4154505315682397877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114612887,"filename":"image_20042025_00_04_54_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20c6bbc67149ac58dc3941f215004cae.jpg","text":"TemporaryFile(/tmp/multipartBody8144328892248533406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114612887,"filename":"image_20042025_00_05_54_9551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352050826","file1":"1352050796","file0":"1352050769","file4":"1352050881","file5":"1352050908","file3":"1352050854"},"map_files_photo_id_array":[{"photo_id":"1352050908","filename":"file5"},{"photo_id":"1352050826","filename":"file2"},{"photo_id":"1352050881","filename":"file4"},{"photo_id":"1352050796","filename":"file1"},{"photo_id":"1352050769","filename":"file0"},{"photo_id":"1352050854","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352050854":["hashtag1","hashtag2"]},{"1352050908":["hashtag1","hashtag2"]},{"1352050796":["hashtag1","hashtag2"]},{"1352050769":["hashtag1","hashtag2"]},{"1352050826":["hashtag1","hashtag2"]},{"1352050881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352050854, 1352050908, 1352050796, 1352050769, 1352050826, 1352050881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.193087816238403 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:03:32.576305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/06/image_20042025_00_06_24_10473.jpg', '/home/pi/Desktop/images/20042025/00/06/image_20042025_00_06_34_9403.jpg', '/home/pi/Desktop/images/20042025/00/06/image_20042025_00_06_54_10387.jpg', '/home/pi/Desktop/images/20042025/00/06/image_20042025_00_07_04_9366.jpg', '/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_14_10443.jpg', '/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_24_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/06/image_20042025_00_06_24_10473.jpg
/home/pi/Desktop/images/20042025/00/06/image_20042025_00_06_34_9403.jpg
/home/pi/Desktop/images/20042025/00/06/image_20042025_00_06_54_10387.jpg
/home/pi/Desktop/images/20042025/00/06/image_20042025_00_07_04_9366.jpg
/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_14_10443.jpg
/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_24_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051103","1352051072","1352051057","1352051095","1352051101","1352051058"],"photo_ids_order":["1352051057","1352051058","1352051072","1352051095","1352051101","1352051103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee29d843d8cd6984126cddc5b53de9db.jpg","text":"TemporaryFile(/tmp/multipartBody3654406048526701795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114673050,"filename":"image_20042025_00_07_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1ca96ce4db92b33c280a8c83c43df9a.jpg","text":"TemporaryFile(/tmp/multipartBody4698858795265370965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114673050,"filename":"image_20042025_00_06_54_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/535a5aa5530a2f98b7d17273a73b2608.jpg","text":"TemporaryFile(/tmp/multipartBody7254726556033022015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114673050,"filename":"image_20042025_00_06_24_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2569a27251a77ad95048cce8bc70dada.jpg","text":"TemporaryFile(/tmp/multipartBody6480567289316777715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114673050,"filename":"image_20042025_00_07_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b497922d902d1d8f8524b22c55ee679.jpg","text":"TemporaryFile(/tmp/multipartBody4947820665369123273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114673050,"filename":"image_20042025_00_07_14_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa11f7de4788cd2d20743f35dc9cd971.jpg","text":"TemporaryFile(/tmp/multipartBody7111756067438790070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114673050,"filename":"image_20042025_00_06_34_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051072","file1":"1352051058","file0":"1352051057","file4":"1352051101","file5":"1352051103","file3":"1352051095"},"map_files_photo_id_array":[{"photo_id":"1352051103","filename":"file5"},{"photo_id":"1352051072","filename":"file2"},{"photo_id":"1352051101","filename":"file4"},{"photo_id":"1352051058","filename":"file1"},{"photo_id":"1352051057","filename":"file0"},{"photo_id":"1352051095","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051103":["hashtag1","hashtag2"]},{"1352051072":["hashtag1","hashtag2"]},{"1352051057":["hashtag1","hashtag2"]},{"1352051095":["hashtag1","hashtag2"]},{"1352051101":["hashtag1","hashtag2"]},{"1352051058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051103, 1352051072, 1352051057, 1352051095, 1352051101, 1352051058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.856431484222412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:04:32.878989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_34_10484.jpg', '/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_44_10364.jpg', '/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_54_9380.jpg', '/home/pi/Desktop/images/20042025/00/07/image_20042025_00_08_04_10362.jpg', '/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_13_9353.jpg', '/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_24_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_34_10484.jpg
/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_44_10364.jpg
/home/pi/Desktop/images/20042025/00/07/image_20042025_00_07_54_9380.jpg
/home/pi/Desktop/images/20042025/00/07/image_20042025_00_08_04_10362.jpg
/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_13_9353.jpg
/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_24_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051112","1352051121","1352051115","1352051123","1352051117","1352051119"],"photo_ids_order":["1352051112","1352051115","1352051117","1352051119","1352051121","1352051123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5469ed045c897820d80cef4e47188d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8275734069843467053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114733355,"filename":"image_20042025_00_07_34_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0dadcde1a3dd4219fb733a3ba737514.jpg","text":"TemporaryFile(/tmp/multipartBody3094972719652982680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114733355,"filename":"image_20042025_00_08_13_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9466c38a11aff9c27238fc9f042fc933.jpg","text":"TemporaryFile(/tmp/multipartBody6850803148564858191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114733355,"filename":"image_20042025_00_07_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b728ff44607a071b3792845d71f6d414.jpg","text":"TemporaryFile(/tmp/multipartBody5583901080317056195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114733355,"filename":"image_20042025_00_08_24_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0d6d8fae3cd7d44e681fc1991620239.jpg","text":"TemporaryFile(/tmp/multipartBody5557423139008540402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114733355,"filename":"image_20042025_00_07_54_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f0fb43c84c4589fbf72e4dfe4a24612.jpg","text":"TemporaryFile(/tmp/multipartBody8139077802037343684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114733355,"filename":"image_20042025_00_08_04_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051117","file1":"1352051115","file0":"1352051112","file4":"1352051121","file5":"1352051123","file3":"1352051119"},"map_files_photo_id_array":[{"photo_id":"1352051123","filename":"file5"},{"photo_id":"1352051117","filename":"file2"},{"photo_id":"1352051121","filename":"file4"},{"photo_id":"1352051115","filename":"file1"},{"photo_id":"1352051112","filename":"file0"},{"photo_id":"1352051119","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051112":["hashtag1","hashtag2"]},{"1352051121":["hashtag1","hashtag2"]},{"1352051115":["hashtag1","hashtag2"]},{"1352051123":["hashtag1","hashtag2"]},{"1352051117":["hashtag1","hashtag2"]},{"1352051119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051112, 1352051121, 1352051115, 1352051123, 1352051117, 1352051119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68788433074951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:05:33.064044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_34_10470.jpg', '/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_44_9343.jpg', '/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_54_10415.jpg', '/home/pi/Desktop/images/20042025/00/08/image_20042025_00_09_04_9363.jpg', '/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_14_10440.jpg', '/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_24_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_34_10470.jpg
/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_44_9343.jpg
/home/pi/Desktop/images/20042025/00/08/image_20042025_00_08_54_10415.jpg
/home/pi/Desktop/images/20042025/00/08/image_20042025_00_09_04_9363.jpg
/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_14_10440.jpg
/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_24_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051139","1352051138","1352051140","1352051134","1352051137","1352051136"],"photo_ids_order":["1352051134","1352051136","1352051137","1352051138","1352051139","1352051140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b2373b30382e19e76c02e08474bb23c.jpg","text":"TemporaryFile(/tmp/multipartBody8325275007295394800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114793529,"filename":"image_20042025_00_09_14_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b4e417432ebbd8e775bbdfcd4220af2.jpg","text":"TemporaryFile(/tmp/multipartBody7555869254840926060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114793529,"filename":"image_20042025_00_09_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f568d8a8bb5a2b4fa27275b2c0c8d0f8.jpg","text":"TemporaryFile(/tmp/multipartBody956909308953864005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114793529,"filename":"image_20042025_00_09_24_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11496e06d09821fb13cba6ac8cb08ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2338867670463442302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114793529,"filename":"image_20042025_00_08_34_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd35998937417e8416420fdc75508968.jpg","text":"TemporaryFile(/tmp/multipartBody6612050904887309148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114793529,"filename":"image_20042025_00_08_54_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/542121d2e959300fdfd67c5da4e3e536.jpg","text":"TemporaryFile(/tmp/multipartBody2409843862472157280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114793529,"filename":"image_20042025_00_08_44_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051137","file1":"1352051136","file0":"1352051134","file4":"1352051139","file5":"1352051140","file3":"1352051138"},"map_files_photo_id_array":[{"photo_id":"1352051140","filename":"file5"},{"photo_id":"1352051137","filename":"file2"},{"photo_id":"1352051139","filename":"file4"},{"photo_id":"1352051136","filename":"file1"},{"photo_id":"1352051134","filename":"file0"},{"photo_id":"1352051138","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051139":["hashtag1","hashtag2"]},{"1352051138":["hashtag1","hashtag2"]},{"1352051140":["hashtag1","hashtag2"]},{"1352051134":["hashtag1","hashtag2"]},{"1352051137":["hashtag1","hashtag2"]},{"1352051136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051139, 1352051138, 1352051140, 1352051134, 1352051137, 1352051136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.812349319458008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:06:32.202321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_34_9362.jpg', '/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_44_10378.jpg', '/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_54_9374.jpg', '/home/pi/Desktop/images/20042025/00/09/image_20042025_00_10_04_10475.jpg', '/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_14_10379.jpg', '/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_24_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_34_9362.jpg
/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_44_10378.jpg
/home/pi/Desktop/images/20042025/00/09/image_20042025_00_09_54_9374.jpg
/home/pi/Desktop/images/20042025/00/09/image_20042025_00_10_04_10475.jpg
/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_14_10379.jpg
/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_24_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051148","1352051164","1352051152","1352051160","1352051154","1352051157"],"photo_ids_order":["1352051148","1352051152","1352051154","1352051157","1352051160","1352051164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/859ed0ec95f72aebb4f063536ca1a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody3825382048460368308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114852672,"filename":"image_20042025_00_09_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecff941618f32b96731ab98147a74e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3006444651264744922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114852672,"filename":"image_20042025_00_10_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aeabe460cfef71d72208545cad886ad6.jpg","text":"TemporaryFile(/tmp/multipartBody7245537052250959980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114852672,"filename":"image_20042025_00_09_44_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb7bcd262982e2156650728e2996da4d.jpg","text":"TemporaryFile(/tmp/multipartBody8127492148131977862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114852672,"filename":"image_20042025_00_10_14_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2779622ddd8f317e9c50934f0dd34459.jpg","text":"TemporaryFile(/tmp/multipartBody4081168727059551877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114852672,"filename":"image_20042025_00_09_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b7dde5ab78f97ace5bdd6b1cc9f7556.jpg","text":"TemporaryFile(/tmp/multipartBody6878613068470563997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114852672,"filename":"image_20042025_00_10_04_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051154","file1":"1352051152","file0":"1352051148","file4":"1352051160","file5":"1352051164","file3":"1352051157"},"map_files_photo_id_array":[{"photo_id":"1352051164","filename":"file5"},{"photo_id":"1352051154","filename":"file2"},{"photo_id":"1352051160","filename":"file4"},{"photo_id":"1352051152","filename":"file1"},{"photo_id":"1352051148","filename":"file0"},{"photo_id":"1352051157","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051148":["hashtag1","hashtag2"]},{"1352051164":["hashtag1","hashtag2"]},{"1352051152":["hashtag1","hashtag2"]},{"1352051160":["hashtag1","hashtag2"]},{"1352051154":["hashtag1","hashtag2"]},{"1352051157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051148, 1352051164, 1352051152, 1352051160, 1352051154, 1352051157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.660807371139526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:07:32.501626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_34_10415.jpg', '/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_44_9382.jpg', '/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_54_10366.jpg', '/home/pi/Desktop/images/20042025/00/10/image_20042025_00_11_04_10365.jpg', '/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_14_9357.jpg', '/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_24_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_34_10415.jpg
/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_44_9382.jpg
/home/pi/Desktop/images/20042025/00/10/image_20042025_00_10_54_10366.jpg
/home/pi/Desktop/images/20042025/00/10/image_20042025_00_11_04_10365.jpg
/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_14_9357.jpg
/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_24_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051186","1352051188","1352051182","1352051181","1352051184","1352051178"],"photo_ids_order":["1352051178","1352051181","1352051182","1352051184","1352051186","1352051188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f8042ca8f6f9bffcf25caa249f325b1.jpg","text":"TemporaryFile(/tmp/multipartBody444790827509574016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114912973,"filename":"image_20042025_00_11_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1da6a6ea32454b44d0bd8c5f8f155584.jpg","text":"TemporaryFile(/tmp/multipartBody1909669921281128596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114912973,"filename":"image_20042025_00_11_24_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/079c6c28b8b98c6e6184be89957b0936.jpg","text":"TemporaryFile(/tmp/multipartBody6800074637505511257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114912973,"filename":"image_20042025_00_10_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0befbde37e3b5a5225675c01660e6f9.jpg","text":"TemporaryFile(/tmp/multipartBody6158713243439078736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114912973,"filename":"image_20042025_00_10_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3828fa4403114ec89067bd01b648517.jpg","text":"TemporaryFile(/tmp/multipartBody3975713449442808923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114912973,"filename":"image_20042025_00_11_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7efa8820be92af2df1a52ed71a8d2715.jpg","text":"TemporaryFile(/tmp/multipartBody1144624702601612339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114912973,"filename":"image_20042025_00_10_34_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051182","file1":"1352051181","file0":"1352051178","file4":"1352051186","file5":"1352051188","file3":"1352051184"},"map_files_photo_id_array":[{"photo_id":"1352051188","filename":"file5"},{"photo_id":"1352051182","filename":"file2"},{"photo_id":"1352051186","filename":"file4"},{"photo_id":"1352051181","filename":"file1"},{"photo_id":"1352051178","filename":"file0"},{"photo_id":"1352051184","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051186":["hashtag1","hashtag2"]},{"1352051188":["hashtag1","hashtag2"]},{"1352051182":["hashtag1","hashtag2"]},{"1352051181":["hashtag1","hashtag2"]},{"1352051184":["hashtag1","hashtag2"]},{"1352051178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051186, 1352051188, 1352051182, 1352051181, 1352051184, 1352051178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.877455711364746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:08:32.834542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_33_9427.jpg', '/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_44_10437.jpg', '/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_54_10374.jpg', '/home/pi/Desktop/images/20042025/00/11/image_20042025_00_12_04_9385.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_14_10375.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_24_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_33_9427.jpg
/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_44_10437.jpg
/home/pi/Desktop/images/20042025/00/11/image_20042025_00_11_54_10374.jpg
/home/pi/Desktop/images/20042025/00/11/image_20042025_00_12_04_9385.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_14_10375.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_24_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051214","1352051201","1352051207","1352051197","1352051212","1352051209"],"photo_ids_order":["1352051197","1352051201","1352051207","1352051209","1352051212","1352051214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9dca2f527fb477a697472fbc27da83ce.jpg","text":"TemporaryFile(/tmp/multipartBody3333832280409554013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114973325,"filename":"image_20042025_00_12_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/28dfcfdf48f6071d6655f38ac3c89af3.jpg","text":"TemporaryFile(/tmp/multipartBody8347104113009510243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114973325,"filename":"image_20042025_00_11_44_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69375afc51f4da586890100af8ed69d6.jpg","text":"TemporaryFile(/tmp/multipartBody7663456265553056752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114973325,"filename":"image_20042025_00_11_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd9ce70beb315e2e9fc9ecbc7b35198c.jpg","text":"TemporaryFile(/tmp/multipartBody2872114129857199995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114973325,"filename":"image_20042025_00_11_33_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd4ec4fc363c5a2626a2b7f504f3a498.jpg","text":"TemporaryFile(/tmp/multipartBody5299041373530491139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114973325,"filename":"image_20042025_00_12_14_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fb91abfe54b88ad9c1bdc2053af9815.jpg","text":"TemporaryFile(/tmp/multipartBody7011028433985613659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745114973325,"filename":"image_20042025_00_12_04_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051207","file1":"1352051201","file0":"1352051197","file4":"1352051212","file5":"1352051214","file3":"1352051209"},"map_files_photo_id_array":[{"photo_id":"1352051214","filename":"file5"},{"photo_id":"1352051207","filename":"file2"},{"photo_id":"1352051212","filename":"file4"},{"photo_id":"1352051201","filename":"file1"},{"photo_id":"1352051197","filename":"file0"},{"photo_id":"1352051209","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051214":["hashtag1","hashtag2"]},{"1352051201":["hashtag1","hashtag2"]},{"1352051207":["hashtag1","hashtag2"]},{"1352051197":["hashtag1","hashtag2"]},{"1352051212":["hashtag1","hashtag2"]},{"1352051209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051214, 1352051201, 1352051207, 1352051197, 1352051212, 1352051209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.305914640426636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:09:33.003362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_34_9474.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_44_10398.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_54_9386.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_13_04_10463.jpg', '/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_13_9354.jpg', '/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_24_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_34_9474.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_44_10398.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_54_9386.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_13_04_10463.jpg
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_13_9354.jpg
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_24_10434.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4241833686828613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 04:09:42.976459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_34_9474.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_44_10398.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_54_9386.jpg', '/home/pi/Desktop/images/20042025/00/12/image_20042025_00_13_04_10463.jpg', '/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_13_9354.jpg', '/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_24_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_34_9474.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_44_10398.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_12_54_9386.jpg
/home/pi/Desktop/images/20042025/00/12/image_20042025_00_13_04_10463.jpg
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_13_9354.jpg
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_24_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051252","1352051246","1352051249","1352051234","1352051254","1352051253"],"photo_ids_order":["1352051234","1352051246","1352051249","1352051252","1352051253","1352051254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7aca85c7adb4506c6c9213640e4a49c.jpg","text":"TemporaryFile(/tmp/multipartBody4735929376275323970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115043455,"filename":"image_20042025_00_13_04_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87a71371903848f89d02547d633e31e3.jpg","text":"TemporaryFile(/tmp/multipartBody4756175807431748803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115043455,"filename":"image_20042025_00_12_44_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e19769822f3ea94c50b538b7a984cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7573394478975094812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115043455,"filename":"image_20042025_00_12_54_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70e129111013eb4a19340da4fdca2f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2593803989202695375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115043455,"filename":"image_20042025_00_12_34_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/600dadcd614fdd856857dff7bd56d06d.jpg","text":"TemporaryFile(/tmp/multipartBody407334853504160973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115043455,"filename":"image_20042025_00_13_24_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ae12c9763c2b89a1a6432feafbf7678.jpg","text":"TemporaryFile(/tmp/multipartBody6615946738882211808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115043455,"filename":"image_20042025_00_13_13_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051249","file1":"1352051246","file0":"1352051234","file4":"1352051253","file5":"1352051254","file3":"1352051252"},"map_files_photo_id_array":[{"photo_id":"1352051254","filename":"file5"},{"photo_id":"1352051249","filename":"file2"},{"photo_id":"1352051253","filename":"file4"},{"photo_id":"1352051246","filename":"file1"},{"photo_id":"1352051234","filename":"file0"},{"photo_id":"1352051252","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051252":["hashtag1","hashtag2"]},{"1352051246":["hashtag1","hashtag2"]},{"1352051249":["hashtag1","hashtag2"]},{"1352051234":["hashtag1","hashtag2"]},{"1352051254":["hashtag1","hashtag2"]},{"1352051253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051252, 1352051246, 1352051249, 1352051234, 1352051254, 1352051253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51566457748413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:10:33.058378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_34_10386.jpg', '/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_44_9366.jpg', '/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_54_10464.jpg', '/home/pi/Desktop/images/20042025/00/13/image_20042025_00_14_04_9374.jpg', '/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_14_10413.jpg', '/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_24_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_34_10386.jpg
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_44_9366.jpg
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_13_54_10464.jpg
/home/pi/Desktop/images/20042025/00/13/image_20042025_00_14_04_9374.jpg
/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_14_10413.jpg
/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_24_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051265","1352051276","1352051269","1352051272","1352051266","1352051274"],"photo_ids_order":["1352051265","1352051266","1352051269","1352051272","1352051274","1352051276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55b6751c7c251b182602ca1e09c588ae.jpg","text":"TemporaryFile(/tmp/multipartBody6839312975867802178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115093526,"filename":"image_20042025_00_13_34_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9132f2f381b0402d62441c574572f9be.jpg","text":"TemporaryFile(/tmp/multipartBody31676952793811360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115093526,"filename":"image_20042025_00_14_24_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34207060ddaee8a02f6a136e5b8bf837.jpg","text":"TemporaryFile(/tmp/multipartBody1919508313757090671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115093526,"filename":"image_20042025_00_13_54_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b7767549c484e96fc41d1843e526854.jpg","text":"TemporaryFile(/tmp/multipartBody5939217941473887177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115093526,"filename":"image_20042025_00_14_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97f4f0ce5c881c0dbe2742191926dc1c.jpg","text":"TemporaryFile(/tmp/multipartBody6533030294480412186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115093526,"filename":"image_20042025_00_13_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c6b4ae6b73db732558b1fb72e3fad98.jpg","text":"TemporaryFile(/tmp/multipartBody6183568899781022956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115093526,"filename":"image_20042025_00_14_14_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051269","file1":"1352051266","file0":"1352051265","file4":"1352051274","file5":"1352051276","file3":"1352051272"},"map_files_photo_id_array":[{"photo_id":"1352051276","filename":"file5"},{"photo_id":"1352051269","filename":"file2"},{"photo_id":"1352051274","filename":"file4"},{"photo_id":"1352051266","filename":"file1"},{"photo_id":"1352051265","filename":"file0"},{"photo_id":"1352051272","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051265":["hashtag1","hashtag2"]},{"1352051276":["hashtag1","hashtag2"]},{"1352051269":["hashtag1","hashtag2"]},{"1352051272":["hashtag1","hashtag2"]},{"1352051266":["hashtag1","hashtag2"]},{"1352051274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051265, 1352051276, 1352051269, 1352051272, 1352051266, 1352051274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.6752712726593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:11:32.291331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_34_9360.jpg', '/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_44_10363.jpg', '/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_54_10348.jpg', '/home/pi/Desktop/images/20042025/00/14/image_20042025_00_15_04_9415.jpg', '/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_14_10394.jpg', '/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_24_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_34_9360.jpg
/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_44_10363.jpg
/home/pi/Desktop/images/20042025/00/14/image_20042025_00_14_54_10348.jpg
/home/pi/Desktop/images/20042025/00/14/image_20042025_00_15_04_9415.jpg
/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_14_10394.jpg
/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_24_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051297","1352051291","1352051285","1352051288","1352051293","1352051295"],"photo_ids_order":["1352051285","1352051288","1352051291","1352051293","1352051295","1352051297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a10ce98cf35954aa3182e820e66a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody2338038985157058563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115152756,"filename":"image_20042025_00_15_24_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69fad2c1ca552f7810e13951977b939b.jpg","text":"TemporaryFile(/tmp/multipartBody2748194563619004666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115152756,"filename":"image_20042025_00_14_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63d0c86d636fcee28573b29769851725.jpg","text":"TemporaryFile(/tmp/multipartBody7330642602289934672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115152756,"filename":"image_20042025_00_14_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f920b0b0ec6cc14e8a2c06a49d6b8b83.jpg","text":"TemporaryFile(/tmp/multipartBody4750236372155327595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115152756,"filename":"image_20042025_00_14_44_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e47879c94ab31b73415295e884383713.jpg","text":"TemporaryFile(/tmp/multipartBody5782073091060842993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115152756,"filename":"image_20042025_00_15_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f97903808c824aa6b711a9898a0c0069.jpg","text":"TemporaryFile(/tmp/multipartBody8549060594073770361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115152756,"filename":"image_20042025_00_15_14_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051291","file1":"1352051288","file0":"1352051285","file4":"1352051295","file5":"1352051297","file3":"1352051293"},"map_files_photo_id_array":[{"photo_id":"1352051297","filename":"file5"},{"photo_id":"1352051291","filename":"file2"},{"photo_id":"1352051295","filename":"file4"},{"photo_id":"1352051288","filename":"file1"},{"photo_id":"1352051285","filename":"file0"},{"photo_id":"1352051293","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051297":["hashtag1","hashtag2"]},{"1352051291":["hashtag1","hashtag2"]},{"1352051285":["hashtag1","hashtag2"]},{"1352051288":["hashtag1","hashtag2"]},{"1352051293":["hashtag1","hashtag2"]},{"1352051295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051297, 1352051291, 1352051285, 1352051288, 1352051293, 1352051295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.08181619644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:12:32.592792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_34_10379.jpg', '/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_44_10372.jpg', '/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_54_9371.jpg', '/home/pi/Desktop/images/20042025/00/15/image_20042025_00_16_04_10468.jpg', '/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_14_9358.jpg', '/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_24_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_34_10379.jpg
/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_44_10372.jpg
/home/pi/Desktop/images/20042025/00/15/image_20042025_00_15_54_9371.jpg
/home/pi/Desktop/images/20042025/00/15/image_20042025_00_16_04_10468.jpg
/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_14_9358.jpg
/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_24_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051316","1352051319","1352051313","1352051311","1352051308","1352051317"],"photo_ids_order":["1352051308","1352051311","1352051313","1352051316","1352051317","1352051319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3386935e7ae07ac17272c4d17e1196f6.jpg","text":"TemporaryFile(/tmp/multipartBody3536263224597668235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115213060,"filename":"image_20042025_00_16_04_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b31d871d3052d418c458b87379bb6c09.jpg","text":"TemporaryFile(/tmp/multipartBody4487481426319549850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115213060,"filename":"image_20042025_00_16_24_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be7e0f08971861abbf60841179732c92.jpg","text":"TemporaryFile(/tmp/multipartBody1962871268548056637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115213060,"filename":"image_20042025_00_15_54_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88313c439863aa3f9b20d93165aaad68.jpg","text":"TemporaryFile(/tmp/multipartBody5339069977688037589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115213060,"filename":"image_20042025_00_15_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/accfaf1a2bba9317d7441108fc599a75.jpg","text":"TemporaryFile(/tmp/multipartBody6148213967452519555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115213060,"filename":"image_20042025_00_15_34_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/979a2994fc24649c837e9c2b50f97ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7651464993938539311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115213060,"filename":"image_20042025_00_16_14_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051313","file1":"1352051311","file0":"1352051308","file4":"1352051317","file5":"1352051319","file3":"1352051316"},"map_files_photo_id_array":[{"photo_id":"1352051319","filename":"file5"},{"photo_id":"1352051313","filename":"file2"},{"photo_id":"1352051317","filename":"file4"},{"photo_id":"1352051311","filename":"file1"},{"photo_id":"1352051308","filename":"file0"},{"photo_id":"1352051316","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051316":["hashtag1","hashtag2"]},{"1352051319":["hashtag1","hashtag2"]},{"1352051313":["hashtag1","hashtag2"]},{"1352051311":["hashtag1","hashtag2"]},{"1352051308":["hashtag1","hashtag2"]},{"1352051317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051316, 1352051319, 1352051313, 1352051311, 1352051308, 1352051317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.46867346763611 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:13:32.997053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_34_10410.jpg', '/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_44_9426.jpg', '/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_54_10367.jpg', '/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_14_10357.jpg', '/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_24_10388.jpg', '/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_44_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_34_10410.jpg
/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_44_9426.jpg
/home/pi/Desktop/images/20042025/00/16/image_20042025_00_16_54_10367.jpg
/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_14_10357.jpg
/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_24_10388.jpg
/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_44_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051331","1352051342","1352051336","1352051338","1352051340","1352051334"],"photo_ids_order":["1352051331","1352051334","1352051336","1352051338","1352051340","1352051342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8c1a797a8fee1b7ed1d9f332e6770e2.jpg","text":"TemporaryFile(/tmp/multipartBody1966045629681672446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115273482,"filename":"image_20042025_00_16_34_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd385c4545cd618f59c16e5df67b1424.jpg","text":"TemporaryFile(/tmp/multipartBody4276907297648389733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115273482,"filename":"image_20042025_00_17_44_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d96be6fbf5c7aedda8ee9a542057e09d.jpg","text":"TemporaryFile(/tmp/multipartBody955860028904261125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115273482,"filename":"image_20042025_00_16_54_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21bd604febde57d6bbbfd37c65f2a66b.jpg","text":"TemporaryFile(/tmp/multipartBody4256952119491619333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115273482,"filename":"image_20042025_00_17_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c96172d7f60a5ae1611939a6b241703.jpg","text":"TemporaryFile(/tmp/multipartBody495143149140411144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115273482,"filename":"image_20042025_00_17_24_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1c1063a2cf47e68fc54334523b3dc8f.jpg","text":"TemporaryFile(/tmp/multipartBody2431866511353844124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115273482,"filename":"image_20042025_00_16_44_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051336","file1":"1352051334","file0":"1352051331","file4":"1352051340","file5":"1352051342","file3":"1352051338"},"map_files_photo_id_array":[{"photo_id":"1352051342","filename":"file5"},{"photo_id":"1352051336","filename":"file2"},{"photo_id":"1352051340","filename":"file4"},{"photo_id":"1352051334","filename":"file1"},{"photo_id":"1352051331","filename":"file0"},{"photo_id":"1352051338","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051331":["hashtag1","hashtag2"]},{"1352051342":["hashtag1","hashtag2"]},{"1352051336":["hashtag1","hashtag2"]},{"1352051338":["hashtag1","hashtag2"]},{"1352051340":["hashtag1","hashtag2"]},{"1352051334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051331, 1352051342, 1352051336, 1352051338, 1352051340, 1352051334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.342941284179688 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:14:33.075223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_54_9430.jpg', '/home/pi/Desktop/images/20042025/00/17/image_20042025_00_18_04_10430.jpg', '/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_14_10380.jpg', '/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_34_10539.jpg', '/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_44_9354.jpg', '/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_54_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/17/image_20042025_00_17_54_9430.jpg
/home/pi/Desktop/images/20042025/00/17/image_20042025_00_18_04_10430.jpg
/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_14_10380.jpg
/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_34_10539.jpg
/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_44_9354.jpg
/home/pi/Desktop/images/20042025/00/18/image_20042025_00_18_54_10006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051358","1352051363","1352051366","1352051360","1352051354","1352051370"],"photo_ids_order":["1352051354","1352051358","1352051360","1352051363","1352051366","1352051370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ef91013f2a67d493d14383b8b27cd93.jpg","text":"TemporaryFile(/tmp/multipartBody7790048015440540342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115333539,"filename":"image_20042025_00_18_04_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e305e49b42ed77aeab01402d9a5186b.jpg","text":"TemporaryFile(/tmp/multipartBody9126766742826686827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115333539,"filename":"image_20042025_00_18_34_10539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1163b5a703baa87bce20b1a448842806.jpg","text":"TemporaryFile(/tmp/multipartBody2160352351574502960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115333539,"filename":"image_20042025_00_18_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd84afc58335844982363167a062d708.jpg","text":"TemporaryFile(/tmp/multipartBody8491810552138608440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115333539,"filename":"image_20042025_00_18_14_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/306719d18e1be9db86d1001619387aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1770023608939860791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115333539,"filename":"image_20042025_00_17_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9db413b982ed68161be7a72fa6cc1089.jpg","text":"TemporaryFile(/tmp/multipartBody7551091717937421283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115333539,"filename":"image_20042025_00_18_54_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051360","file1":"1352051358","file0":"1352051354","file4":"1352051366","file5":"1352051370","file3":"1352051363"},"map_files_photo_id_array":[{"photo_id":"1352051370","filename":"file5"},{"photo_id":"1352051360","filename":"file2"},{"photo_id":"1352051366","filename":"file4"},{"photo_id":"1352051358","filename":"file1"},{"photo_id":"1352051354","filename":"file0"},{"photo_id":"1352051363","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051358":["hashtag1","hashtag2"]},{"1352051363":["hashtag1","hashtag2"]},{"1352051366":["hashtag1","hashtag2"]},{"1352051360":["hashtag1","hashtag2"]},{"1352051354":["hashtag1","hashtag2"]},{"1352051370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051358, 1352051363, 1352051366, 1352051360, 1352051354, 1352051370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.92933750152588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:15:32.326902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/18/image_20042025_00_19_04_10437.jpg', '/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_14_10354.jpg', '/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_24_9432.jpg', '/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_34_10389.jpg', '/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_44_9421.jpg', '/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_54_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/18/image_20042025_00_19_04_10437.jpg
/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_14_10354.jpg
/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_24_9432.jpg
/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_34_10389.jpg
/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_44_9421.jpg
/home/pi/Desktop/images/20042025/00/19/image_20042025_00_19_54_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051381","1352051387","1352051386","1352051383","1352051385","1352051379"],"photo_ids_order":["1352051379","1352051381","1352051383","1352051385","1352051386","1352051387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d1ec77f86626a493ba15c573cfd7aed.jpg","text":"TemporaryFile(/tmp/multipartBody2334913959537041288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115392819,"filename":"image_20042025_00_19_14_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bf3993046150632ae099f5746a747d2.jpg","text":"TemporaryFile(/tmp/multipartBody5157184741722020140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115392819,"filename":"image_20042025_00_19_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61fa8f7904bd88abaeeed7a2da66f192.jpg","text":"TemporaryFile(/tmp/multipartBody4862935067648079076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115392819,"filename":"image_20042025_00_19_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd3b3ce544d83fb963ea5841c68dd73a.jpg","text":"TemporaryFile(/tmp/multipartBody7420333146385202094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115392819,"filename":"image_20042025_00_19_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ea51d8fa5a4b27a99b6e4affb8741ee.jpg","text":"TemporaryFile(/tmp/multipartBody8129075946548311916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115392819,"filename":"image_20042025_00_19_34_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c49c3130d93fd46e0d957703b0a05e6d.jpg","text":"TemporaryFile(/tmp/multipartBody3032797293265517586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115392819,"filename":"image_20042025_00_19_04_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051383","file1":"1352051381","file0":"1352051379","file4":"1352051386","file5":"1352051387","file3":"1352051385"},"map_files_photo_id_array":[{"photo_id":"1352051387","filename":"file5"},{"photo_id":"1352051383","filename":"file2"},{"photo_id":"1352051386","filename":"file4"},{"photo_id":"1352051381","filename":"file1"},{"photo_id":"1352051379","filename":"file0"},{"photo_id":"1352051385","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051381":["hashtag1","hashtag2"]},{"1352051387":["hashtag1","hashtag2"]},{"1352051386":["hashtag1","hashtag2"]},{"1352051383":["hashtag1","hashtag2"]},{"1352051385":["hashtag1","hashtag2"]},{"1352051379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051381, 1352051387, 1352051386, 1352051383, 1352051385, 1352051379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.071924686431885 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:16:32.549884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_14_9465.jpg', '/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_24_10453.jpg', '/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_34_9378.jpg', '/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_44_10427.jpg', '/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_54_9362.jpg', '/home/pi/Desktop/images/20042025/00/20/image_20042025_00_21_04_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_14_9465.jpg
/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_24_10453.jpg
/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_34_9378.jpg
/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_44_10427.jpg
/home/pi/Desktop/images/20042025/00/20/image_20042025_00_20_54_9362.jpg
/home/pi/Desktop/images/20042025/00/20/image_20042025_00_21_04_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051393","1352051396","1352051400","1352051402","1352051398","1352051404"],"photo_ids_order":["1352051393","1352051396","1352051398","1352051400","1352051402","1352051404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/848beaa4cb2692df77fac37d80f94f93.jpg","text":"TemporaryFile(/tmp/multipartBody6126412060478483932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115453040,"filename":"image_20042025_00_20_14_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3c35a6f7cff839f659ad917027edab0.jpg","text":"TemporaryFile(/tmp/multipartBody1898077832678174854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115453040,"filename":"image_20042025_00_20_24_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da531b523bf9f38fb5f9dc8b6354d867.jpg","text":"TemporaryFile(/tmp/multipartBody2309996318305081976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115453040,"filename":"image_20042025_00_20_44_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5fa456b01b3c84b8ebc6553f9d14acf.jpg","text":"TemporaryFile(/tmp/multipartBody7811481107516465779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115453040,"filename":"image_20042025_00_20_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/219f25554fbe226c56572855ff84fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody7349577012472735203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115453040,"filename":"image_20042025_00_20_34_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/477d8a5e22c1a7c261b3ba5e39450901.jpg","text":"TemporaryFile(/tmp/multipartBody5160118714131358652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115453040,"filename":"image_20042025_00_21_04_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051398","file1":"1352051396","file0":"1352051393","file4":"1352051402","file5":"1352051404","file3":"1352051400"},"map_files_photo_id_array":[{"photo_id":"1352051404","filename":"file5"},{"photo_id":"1352051398","filename":"file2"},{"photo_id":"1352051402","filename":"file4"},{"photo_id":"1352051396","filename":"file1"},{"photo_id":"1352051393","filename":"file0"},{"photo_id":"1352051400","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051393":["hashtag1","hashtag2"]},{"1352051396":["hashtag1","hashtag2"]},{"1352051400":["hashtag1","hashtag2"]},{"1352051402":["hashtag1","hashtag2"]},{"1352051398":["hashtag1","hashtag2"]},{"1352051404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051393, 1352051396, 1352051400, 1352051402, 1352051398, 1352051404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.107545614242554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:17:32.706944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_14_10361.jpg', '/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_24_9353.jpg', '/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_34_10442.jpg', '/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_44_10354.jpg', '/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_54_9428.jpg', '/home/pi/Desktop/images/20042025/00/21/image_20042025_00_22_04_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_14_10361.jpg
/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_24_9353.jpg
/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_34_10442.jpg
/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_44_10354.jpg
/home/pi/Desktop/images/20042025/00/21/image_20042025_00_21_54_9428.jpg
/home/pi/Desktop/images/20042025/00/21/image_20042025_00_22_04_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051420","1352051423","1352051417","1352051422","1352051425","1352051428"],"photo_ids_order":["1352051417","1352051420","1352051422","1352051423","1352051425","1352051428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa34cfdcb07b9787e568f3a1d4530827.jpg","text":"TemporaryFile(/tmp/multipartBody2049037813045129137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115513189,"filename":"image_20042025_00_21_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26c0e789461802d15d1abb89f77fe4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5413696738351699384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115513189,"filename":"image_20042025_00_21_44_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f25d85b2811f2dba629bf012dba0120.jpg","text":"TemporaryFile(/tmp/multipartBody7678725084756017278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115513189,"filename":"image_20042025_00_21_14_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9312bfb415b09147e913eef87e2bc26b.jpg","text":"TemporaryFile(/tmp/multipartBody4128367062629136031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115513189,"filename":"image_20042025_00_21_34_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8b0b7c3a477933257b0e88a30f303b7.jpg","text":"TemporaryFile(/tmp/multipartBody8813711929144981577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115513189,"filename":"image_20042025_00_21_54_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1e4a2e3b353857d3dde81205e124388.jpg","text":"TemporaryFile(/tmp/multipartBody571175698240072755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115513189,"filename":"image_20042025_00_22_04_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051422","file1":"1352051420","file0":"1352051417","file4":"1352051425","file5":"1352051428","file3":"1352051423"},"map_files_photo_id_array":[{"photo_id":"1352051428","filename":"file5"},{"photo_id":"1352051422","filename":"file2"},{"photo_id":"1352051425","filename":"file4"},{"photo_id":"1352051420","filename":"file1"},{"photo_id":"1352051417","filename":"file0"},{"photo_id":"1352051423","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051420":["hashtag1","hashtag2"]},{"1352051423":["hashtag1","hashtag2"]},{"1352051417":["hashtag1","hashtag2"]},{"1352051422":["hashtag1","hashtag2"]},{"1352051425":["hashtag1","hashtag2"]},{"1352051428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051420, 1352051423, 1352051417, 1352051422, 1352051425, 1352051428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.278167247772217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:18:33.112339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_14_9348.jpg', '/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_24_10468.jpg', '/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_34_10356.jpg', '/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_44_9446.jpg', '/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_54_10470.jpg', '/home/pi/Desktop/images/20042025/00/22/image_20042025_00_23_04_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_14_9348.jpg
/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_24_10468.jpg
/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_34_10356.jpg
/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_44_9446.jpg
/home/pi/Desktop/images/20042025/00/22/image_20042025_00_22_54_10470.jpg
/home/pi/Desktop/images/20042025/00/22/image_20042025_00_23_04_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051442","1352051450","1352051440","1352051437","1352051452","1352051446"],"photo_ids_order":["1352051437","1352051440","1352051442","1352051446","1352051450","1352051452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dd9e16a1b61164e5eafd6a77aa61f11.jpg","text":"TemporaryFile(/tmp/multipartBody7528464141179749749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115573590,"filename":"image_20042025_00_22_34_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/555014e3b990dbbfca02dbc513c2fda6.jpg","text":"TemporaryFile(/tmp/multipartBody2669806670097402116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115573590,"filename":"image_20042025_00_22_54_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fa1246ce092a7ea61cad07f7a771fb6.jpg","text":"TemporaryFile(/tmp/multipartBody4052846717548514067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115573590,"filename":"image_20042025_00_22_24_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b69433981bf07754117d827eb1612008.jpg","text":"TemporaryFile(/tmp/multipartBody6821072714084027145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115573590,"filename":"image_20042025_00_22_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe6b4deb3a9efeba9eef5c78e58e0bed.jpg","text":"TemporaryFile(/tmp/multipartBody8084470931395136324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115573590,"filename":"image_20042025_00_23_04_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca5606df6d0a325e5d3e58e8aa28becb.jpg","text":"TemporaryFile(/tmp/multipartBody3980054577028466908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115573590,"filename":"image_20042025_00_22_44_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051442","file1":"1352051440","file0":"1352051437","file4":"1352051450","file5":"1352051452","file3":"1352051446"},"map_files_photo_id_array":[{"photo_id":"1352051452","filename":"file5"},{"photo_id":"1352051442","filename":"file2"},{"photo_id":"1352051450","filename":"file4"},{"photo_id":"1352051440","filename":"file1"},{"photo_id":"1352051437","filename":"file0"},{"photo_id":"1352051446","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051442":["hashtag1","hashtag2"]},{"1352051450":["hashtag1","hashtag2"]},{"1352051440":["hashtag1","hashtag2"]},{"1352051437":["hashtag1","hashtag2"]},{"1352051452":["hashtag1","hashtag2"]},{"1352051446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051442, 1352051450, 1352051440, 1352051437, 1352051452, 1352051446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.07360553741455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:19:32.473415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_14_10394.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_24_9388.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_34_10410.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_44_10386.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_54_9362.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_24_04_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_14_10394.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_24_9388.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_34_10410.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_44_10386.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_54_9362.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_24_04_10440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3911433219909668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 04:19:42.411599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_14_10394.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_24_9388.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_34_10410.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_44_10386.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_54_9362.jpg', '/home/pi/Desktop/images/20042025/00/23/image_20042025_00_24_04_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_14_10394.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_24_9388.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_34_10410.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_44_10386.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_23_54_9362.jpg
/home/pi/Desktop/images/20042025/00/23/image_20042025_00_24_04_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051489","1352051491","1352051473","1352051482","1352051493","1352051487"],"photo_ids_order":["1352051473","1352051482","1352051487","1352051489","1352051491","1352051493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfd94e4e8cf76062ecd9bdee9b820c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1815766327633398920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115642885,"filename":"image_20042025_00_23_44_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae39dea1d7e3864cf7867e79290a7d55.jpg","text":"TemporaryFile(/tmp/multipartBody5096528252428276577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115642885,"filename":"image_20042025_00_23_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2ac43f384d83c4e03df881e856210d0.jpg","text":"TemporaryFile(/tmp/multipartBody3664327848263847522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115642885,"filename":"image_20042025_00_23_14_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d59b4f13b372528bf4556ae666f67827.jpg","text":"TemporaryFile(/tmp/multipartBody608091206476579472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115642885,"filename":"image_20042025_00_23_24_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dac0e3d13cac402e44ecb487419294e6.jpg","text":"TemporaryFile(/tmp/multipartBody2437723055483275099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115642885,"filename":"image_20042025_00_24_04_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01df9dce9323c94d846155c8cd5b58a1.jpg","text":"TemporaryFile(/tmp/multipartBody2175974208715605790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115642885,"filename":"image_20042025_00_23_34_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051487","file1":"1352051482","file0":"1352051473","file4":"1352051491","file5":"1352051493","file3":"1352051489"},"map_files_photo_id_array":[{"photo_id":"1352051493","filename":"file5"},{"photo_id":"1352051487","filename":"file2"},{"photo_id":"1352051491","filename":"file4"},{"photo_id":"1352051482","filename":"file1"},{"photo_id":"1352051473","filename":"file0"},{"photo_id":"1352051489","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051489":["hashtag1","hashtag2"]},{"1352051491":["hashtag1","hashtag2"]},{"1352051473":["hashtag1","hashtag2"]},{"1352051482":["hashtag1","hashtag2"]},{"1352051493":["hashtag1","hashtag2"]},{"1352051487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051489, 1352051491, 1352051473, 1352051482, 1352051493, 1352051487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25341796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:20:32.608809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/24/image_20042025_00_24_14_9356.jpg', '/home/pi/Desktop/images/20042025/00/24/image_20042025_00_24_24_10520.jpg', '/home/pi/Desktop/images/20042025/00/24/image_20042025_00_24_34_10368.jpg', '/home/pi/Desktop/images/20042025/00/24/image_20042025_00_25_04_9367.jpg', '/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_14_10400.jpg', '/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_24_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/24/image_20042025_00_24_14_9356.jpg
/home/pi/Desktop/images/20042025/00/24/image_20042025_00_24_24_10520.jpg
/home/pi/Desktop/images/20042025/00/24/image_20042025_00_24_34_10368.jpg
/home/pi/Desktop/images/20042025/00/24/image_20042025_00_25_04_9367.jpg
/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_14_10400.jpg
/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_24_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051517","1352051505","1352051510","1352051513","1352051515","1352051509"],"photo_ids_order":["1352051505","1352051509","1352051510","1352051513","1352051515","1352051517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50835fc241f42046a871438e6a61e89e.jpg","text":"TemporaryFile(/tmp/multipartBody917904166013756968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115693108,"filename":"image_20042025_00_25_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7a675bf38d22b22c58ab37faef7adbc.jpg","text":"TemporaryFile(/tmp/multipartBody1110001543526442032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115693108,"filename":"image_20042025_00_24_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c66b6a56659cdf47ee97fe99488a2fa9.jpg","text":"TemporaryFile(/tmp/multipartBody268151304379408871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115693108,"filename":"image_20042025_00_24_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71f4f257385f0458cb2f89a8e47de45c.jpg","text":"TemporaryFile(/tmp/multipartBody6874785919456970078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115693108,"filename":"image_20042025_00_25_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a6f5b4df2cad0793d6295fd6df4d1f4.jpg","text":"TemporaryFile(/tmp/multipartBody814686239713715319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115693108,"filename":"image_20042025_00_25_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2c7828706a455a0174271ce763fcf54.jpg","text":"TemporaryFile(/tmp/multipartBody2828193459861390977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115693108,"filename":"image_20042025_00_24_24_10520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051510","file1":"1352051509","file0":"1352051505","file4":"1352051515","file5":"1352051517","file3":"1352051513"},"map_files_photo_id_array":[{"photo_id":"1352051517","filename":"file5"},{"photo_id":"1352051510","filename":"file2"},{"photo_id":"1352051515","filename":"file4"},{"photo_id":"1352051509","filename":"file1"},{"photo_id":"1352051505","filename":"file0"},{"photo_id":"1352051513","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051517":["hashtag1","hashtag2"]},{"1352051505":["hashtag1","hashtag2"]},{"1352051510":["hashtag1","hashtag2"]},{"1352051513":["hashtag1","hashtag2"]},{"1352051515":["hashtag1","hashtag2"]},{"1352051509":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051517, 1352051505, 1352051510, 1352051513, 1352051515, 1352051509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.029060125350952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:21:32.819498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_34_9367.jpg', '/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_44_10360.jpg', '/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_54_10363.jpg', '/home/pi/Desktop/images/20042025/00/25/image_20042025_00_26_04_9377.jpg', '/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_14_10403.jpg', '/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_24_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_34_9367.jpg
/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_44_10360.jpg
/home/pi/Desktop/images/20042025/00/25/image_20042025_00_25_54_10363.jpg
/home/pi/Desktop/images/20042025/00/25/image_20042025_00_26_04_9377.jpg
/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_14_10403.jpg
/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_24_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051535","1352051529","1352051537","1352051530","1352051527","1352051532"],"photo_ids_order":["1352051527","1352051529","1352051530","1352051532","1352051535","1352051537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56e94cce30b4b8aa4418906281f4cd98.jpg","text":"TemporaryFile(/tmp/multipartBody5473066239609184032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115753295,"filename":"image_20042025_00_26_14_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31b6f057f6273763071a1c0833e6d105.jpg","text":"TemporaryFile(/tmp/multipartBody5181449403950075608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115753295,"filename":"image_20042025_00_25_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbca85ebc1b0eb8e9178ac1877bd2945.jpg","text":"TemporaryFile(/tmp/multipartBody2740974144495653109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115753295,"filename":"image_20042025_00_26_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2e7a75f957ab6da15f3a7d6f4e8163a.jpg","text":"TemporaryFile(/tmp/multipartBody6334695699279210941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115753295,"filename":"image_20042025_00_25_54_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/baf26675b1fc25f6afa1011a4ded208d.jpg","text":"TemporaryFile(/tmp/multipartBody1362975779334414105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115753295,"filename":"image_20042025_00_25_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de9e21d86888e8b02d9668f7e05af51.jpg","text":"TemporaryFile(/tmp/multipartBody6318637302419113892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115753295,"filename":"image_20042025_00_26_04_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051530","file1":"1352051529","file0":"1352051527","file4":"1352051535","file5":"1352051537","file3":"1352051532"},"map_files_photo_id_array":[{"photo_id":"1352051537","filename":"file5"},{"photo_id":"1352051530","filename":"file2"},{"photo_id":"1352051535","filename":"file4"},{"photo_id":"1352051529","filename":"file1"},{"photo_id":"1352051527","filename":"file0"},{"photo_id":"1352051532","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051535":["hashtag1","hashtag2"]},{"1352051529":["hashtag1","hashtag2"]},{"1352051537":["hashtag1","hashtag2"]},{"1352051530":["hashtag1","hashtag2"]},{"1352051527":["hashtag1","hashtag2"]},{"1352051532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051535, 1352051529, 1352051537, 1352051530, 1352051527, 1352051532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.70436716079712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:22:32.229839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_34_10453.jpg', '/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_44_10388.jpg', '/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_54_9356.jpg', '/home/pi/Desktop/images/20042025/00/26/image_20042025_00_27_04_10370.jpg', '/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_14_9384.jpg', '/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_24_10503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_34_10453.jpg
/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_44_10388.jpg
/home/pi/Desktop/images/20042025/00/26/image_20042025_00_26_54_9356.jpg
/home/pi/Desktop/images/20042025/00/26/image_20042025_00_27_04_10370.jpg
/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_14_9384.jpg
/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_24_10503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051556","1352051558","1352051549","1352051554","1352051551","1352051547"],"photo_ids_order":["1352051547","1352051549","1352051551","1352051554","1352051556","1352051558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b47aafd12c9bb6f7a07388f57952a4b5.jpg","text":"TemporaryFile(/tmp/multipartBody2430851397004548347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115812700,"filename":"image_20042025_00_27_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6ec8f0edd2a9a1bc1274e477331df78.jpg","text":"TemporaryFile(/tmp/multipartBody3922564909985038818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115812700,"filename":"image_20042025_00_27_24_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e3e980d5a6361a0546acbae922472d8.jpg","text":"TemporaryFile(/tmp/multipartBody1021517918255152497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115812700,"filename":"image_20042025_00_26_44_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad9bbe94979fbed6851de631b5cb8f55.jpg","text":"TemporaryFile(/tmp/multipartBody3812717610626567330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115812700,"filename":"image_20042025_00_27_04_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51f87656b55c45eb08fada1fa8137999.jpg","text":"TemporaryFile(/tmp/multipartBody8340951245959791452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115812700,"filename":"image_20042025_00_26_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24ad58ff779a753c12c6b898382d8ba0.jpg","text":"TemporaryFile(/tmp/multipartBody5690017158976248408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115812700,"filename":"image_20042025_00_26_34_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051551","file1":"1352051549","file0":"1352051547","file4":"1352051556","file5":"1352051558","file3":"1352051554"},"map_files_photo_id_array":[{"photo_id":"1352051558","filename":"file5"},{"photo_id":"1352051551","filename":"file2"},{"photo_id":"1352051556","filename":"file4"},{"photo_id":"1352051549","filename":"file1"},{"photo_id":"1352051547","filename":"file0"},{"photo_id":"1352051554","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051556":["hashtag1","hashtag2"]},{"1352051558":["hashtag1","hashtag2"]},{"1352051549":["hashtag1","hashtag2"]},{"1352051554":["hashtag1","hashtag2"]},{"1352051551":["hashtag1","hashtag2"]},{"1352051547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051556, 1352051558, 1352051549, 1352051554, 1352051551, 1352051547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.458170413970947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:23:32.478424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_34_10376.jpg', '/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_44_9470.jpg', '/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_54_10346.jpg', '/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_14_10368.jpg', '/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_24_10368.jpg', '/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_34_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_34_10376.jpg
/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_44_9470.jpg
/home/pi/Desktop/images/20042025/00/27/image_20042025_00_27_54_10346.jpg
/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_14_10368.jpg
/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_24_10368.jpg
/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_34_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051573","1352051582","1352051570","1352051567","1352051575","1352051578"],"photo_ids_order":["1352051567","1352051570","1352051573","1352051575","1352051578","1352051582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66a402943f992580de777f857c23de71.jpg","text":"TemporaryFile(/tmp/multipartBody2960245702920910677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115872957,"filename":"image_20042025_00_27_54_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a4f463da625c08f7a50b2f228aa52c6.jpg","text":"TemporaryFile(/tmp/multipartBody7171026214304991325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115872957,"filename":"image_20042025_00_28_34_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ebe1e177cb1ba987e9fe239e1f335f0.jpg","text":"TemporaryFile(/tmp/multipartBody8340881509217073111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115872957,"filename":"image_20042025_00_27_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66398d068122867967b45bfce103a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody4541696930785323631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115872957,"filename":"image_20042025_00_27_34_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34fc591d80d06711654d8f88f72f8459.jpg","text":"TemporaryFile(/tmp/multipartBody1922866325791902464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115872957,"filename":"image_20042025_00_28_14_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b936b49bfcf9d95a7ccafa150ff141e3.jpg","text":"TemporaryFile(/tmp/multipartBody5973575966355817203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115872957,"filename":"image_20042025_00_28_24_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051573","file1":"1352051570","file0":"1352051567","file4":"1352051578","file5":"1352051582","file3":"1352051575"},"map_files_photo_id_array":[{"photo_id":"1352051582","filename":"file5"},{"photo_id":"1352051573","filename":"file2"},{"photo_id":"1352051578","filename":"file4"},{"photo_id":"1352051570","filename":"file1"},{"photo_id":"1352051567","filename":"file0"},{"photo_id":"1352051575","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051573":["hashtag1","hashtag2"]},{"1352051582":["hashtag1","hashtag2"]},{"1352051570":["hashtag1","hashtag2"]},{"1352051567":["hashtag1","hashtag2"]},{"1352051575":["hashtag1","hashtag2"]},{"1352051578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051573, 1352051582, 1352051570, 1352051567, 1352051575, 1352051578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.614954948425293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:24:32.692698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_44_10379.jpg', '/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_54_10353.jpg', '/home/pi/Desktop/images/20042025/00/28/image_20042025_00_29_04_9374.jpg', '/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_14_10407.jpg', '/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_24_9401.jpg', '/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_34_10491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_44_10379.jpg
/home/pi/Desktop/images/20042025/00/28/image_20042025_00_28_54_10353.jpg
/home/pi/Desktop/images/20042025/00/28/image_20042025_00_29_04_9374.jpg
/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_14_10407.jpg
/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_24_9401.jpg
/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_34_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051591","1352051594","1352051588","1352051602","1352051605","1352051598"],"photo_ids_order":["1352051588","1352051591","1352051594","1352051598","1352051602","1352051605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3335e7d6f519a7fe17c81dc74b134aca.jpg","text":"TemporaryFile(/tmp/multipartBody2142046151344505230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115933164,"filename":"image_20042025_00_28_54_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3a1929e6b341d49ef1a5392525c89db.jpg","text":"TemporaryFile(/tmp/multipartBody1549331986729539314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115933164,"filename":"image_20042025_00_29_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62a9f13b6263eca6039abb8127fa38ef.jpg","text":"TemporaryFile(/tmp/multipartBody7318847194455999797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115933164,"filename":"image_20042025_00_28_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e3a8ddee7e1a3385227080102bcc5b3.jpg","text":"TemporaryFile(/tmp/multipartBody3964747386958586317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115933164,"filename":"image_20042025_00_29_24_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4186b710079b1c6433364f01c89f64bd.jpg","text":"TemporaryFile(/tmp/multipartBody5623603769567924860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115933164,"filename":"image_20042025_00_29_34_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e480284d7a419c74c2942bda6c53aefb.jpg","text":"TemporaryFile(/tmp/multipartBody474972108740215703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115933164,"filename":"image_20042025_00_29_14_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051594","file1":"1352051591","file0":"1352051588","file4":"1352051602","file5":"1352051605","file3":"1352051598"},"map_files_photo_id_array":[{"photo_id":"1352051605","filename":"file5"},{"photo_id":"1352051594","filename":"file2"},{"photo_id":"1352051602","filename":"file4"},{"photo_id":"1352051591","filename":"file1"},{"photo_id":"1352051588","filename":"file0"},{"photo_id":"1352051598","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051591":["hashtag1","hashtag2"]},{"1352051594":["hashtag1","hashtag2"]},{"1352051588":["hashtag1","hashtag2"]},{"1352051602":["hashtag1","hashtag2"]},{"1352051605":["hashtag1","hashtag2"]},{"1352051598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051591, 1352051594, 1352051588, 1352051602, 1352051605, 1352051598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.087598085403442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:25:32.915275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_44_10352.jpg', '/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_54_9484.jpg', '/home/pi/Desktop/images/20042025/00/29/image_20042025_00_30_04_10356.jpg', '/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_14_9370.jpg', '/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_24_10470.jpg', '/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_34_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_44_10352.jpg
/home/pi/Desktop/images/20042025/00/29/image_20042025_00_29_54_9484.jpg
/home/pi/Desktop/images/20042025/00/29/image_20042025_00_30_04_10356.jpg
/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_14_9370.jpg
/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_24_10470.jpg
/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_34_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051613","1352051616","1352051615","1352051609","1352051617","1352051611"],"photo_ids_order":["1352051609","1352051611","1352051613","1352051615","1352051616","1352051617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc8820f38b9da539d21ec02c97b08be9.jpg","text":"TemporaryFile(/tmp/multipartBody3296563091033720879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115993379,"filename":"image_20042025_00_30_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33439375a6e6819929bec4a782ca6b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5888104221723245039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115993379,"filename":"image_20042025_00_30_24_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4799c2410056914015a14c0a559ad6ed.jpg","text":"TemporaryFile(/tmp/multipartBody3701538707196325545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115993379,"filename":"image_20042025_00_30_14_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/841e2fe9b0edaf87257163f7e2c5437a.jpg","text":"TemporaryFile(/tmp/multipartBody7508941810629933702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115993379,"filename":"image_20042025_00_29_44_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db19d581115f0158a6b3b223788c0e17.jpg","text":"TemporaryFile(/tmp/multipartBody4515042919534882698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115993379,"filename":"image_20042025_00_30_34_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4851b93af748f5982dedaaecb85d9e04.jpg","text":"TemporaryFile(/tmp/multipartBody3962984000514038727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745115993379,"filename":"image_20042025_00_29_54_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051613","file1":"1352051611","file0":"1352051609","file4":"1352051616","file5":"1352051617","file3":"1352051615"},"map_files_photo_id_array":[{"photo_id":"1352051617","filename":"file5"},{"photo_id":"1352051613","filename":"file2"},{"photo_id":"1352051616","filename":"file4"},{"photo_id":"1352051611","filename":"file1"},{"photo_id":"1352051609","filename":"file0"},{"photo_id":"1352051615","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051613":["hashtag1","hashtag2"]},{"1352051616":["hashtag1","hashtag2"]},{"1352051615":["hashtag1","hashtag2"]},{"1352051609":["hashtag1","hashtag2"]},{"1352051617":["hashtag1","hashtag2"]},{"1352051611":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051613, 1352051616, 1352051615, 1352051609, 1352051617, 1352051611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.267761945724487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:26:32.311414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_44_10436.jpg', '/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_54_10371.jpg', '/home/pi/Desktop/images/20042025/00/30/image_20042025_00_31_04_9356.jpg', '/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_14_10430.jpg', '/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_24_9367.jpg', '/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_34_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_44_10436.jpg
/home/pi/Desktop/images/20042025/00/30/image_20042025_00_30_54_10371.jpg
/home/pi/Desktop/images/20042025/00/30/image_20042025_00_31_04_9356.jpg
/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_14_10430.jpg
/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_24_9367.jpg
/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_34_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051636","1352051639","1352051633","1352051627","1352051629","1352051631"],"photo_ids_order":["1352051627","1352051629","1352051631","1352051633","1352051636","1352051639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fe223750b7a10ecf37741fa6ea4b41e.jpg","text":"TemporaryFile(/tmp/multipartBody6790393073696341813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116052795,"filename":"image_20042025_00_31_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/007862dfc444ca33fa8e0448fedecf2a.jpg","text":"TemporaryFile(/tmp/multipartBody3170160104375130670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116052795,"filename":"image_20042025_00_31_34_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4237f48b35e7fbdd2b25123f96019ee.jpg","text":"TemporaryFile(/tmp/multipartBody2683150662597222057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116052795,"filename":"image_20042025_00_31_14_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0349b250df610a36d643c735e6b55b31.jpg","text":"TemporaryFile(/tmp/multipartBody8541118529731450448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116052795,"filename":"image_20042025_00_30_44_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7dd0229012058d64f1e03c218ff30a1.jpg","text":"TemporaryFile(/tmp/multipartBody781167933940351794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116052795,"filename":"image_20042025_00_30_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/786c89d881d43c82fc1d3a649ac489f7.jpg","text":"TemporaryFile(/tmp/multipartBody6789358543485184756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116052795,"filename":"image_20042025_00_31_04_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051631","file1":"1352051629","file0":"1352051627","file4":"1352051636","file5":"1352051639","file3":"1352051633"},"map_files_photo_id_array":[{"photo_id":"1352051639","filename":"file5"},{"photo_id":"1352051631","filename":"file2"},{"photo_id":"1352051636","filename":"file4"},{"photo_id":"1352051629","filename":"file1"},{"photo_id":"1352051627","filename":"file0"},{"photo_id":"1352051633","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051636":["hashtag1","hashtag2"]},{"1352051639":["hashtag1","hashtag2"]},{"1352051633":["hashtag1","hashtag2"]},{"1352051627":["hashtag1","hashtag2"]},{"1352051629":["hashtag1","hashtag2"]},{"1352051631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051636, 1352051639, 1352051633, 1352051627, 1352051629, 1352051631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.87230157852173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:27:32.448174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_44_10400.jpg', '/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_54_9475.jpg', '/home/pi/Desktop/images/20042025/00/31/image_20042025_00_32_04_10391.jpg', '/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_14_9363.jpg', '/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_24_10442.jpg', '/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_34_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_44_10400.jpg
/home/pi/Desktop/images/20042025/00/31/image_20042025_00_31_54_9475.jpg
/home/pi/Desktop/images/20042025/00/31/image_20042025_00_32_04_10391.jpg
/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_14_9363.jpg
/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_24_10442.jpg
/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_34_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051655","1352051649","1352051657","1352051651","1352051653","1352051647"],"photo_ids_order":["1352051647","1352051649","1352051651","1352051653","1352051655","1352051657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d31168de01bdaec9842c13121809417.jpg","text":"TemporaryFile(/tmp/multipartBody6696630150824038556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116112924,"filename":"image_20042025_00_32_24_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37888aa00db894bb0d3b58f24cda0d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4361037062408318256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116112924,"filename":"image_20042025_00_31_54_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61137ec91f1a01d41f8b1aee323f43c6.jpg","text":"TemporaryFile(/tmp/multipartBody2790868096083449001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116112924,"filename":"image_20042025_00_32_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c97da9e361a627126abdf802747baf0.jpg","text":"TemporaryFile(/tmp/multipartBody9207888188215426815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116112924,"filename":"image_20042025_00_32_04_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9840bb57d46d4da574e637925380a1a9.jpg","text":"TemporaryFile(/tmp/multipartBody910476118338653811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116112924,"filename":"image_20042025_00_32_14_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ab240d5182bddcddd82b3fc44a05f2c.jpg","text":"TemporaryFile(/tmp/multipartBody7350446040973975067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116112924,"filename":"image_20042025_00_31_44_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051651","file1":"1352051649","file0":"1352051647","file4":"1352051655","file5":"1352051657","file3":"1352051653"},"map_files_photo_id_array":[{"photo_id":"1352051657","filename":"file5"},{"photo_id":"1352051651","filename":"file2"},{"photo_id":"1352051655","filename":"file4"},{"photo_id":"1352051649","filename":"file1"},{"photo_id":"1352051647","filename":"file0"},{"photo_id":"1352051653","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051655":["hashtag1","hashtag2"]},{"1352051649":["hashtag1","hashtag2"]},{"1352051657":["hashtag1","hashtag2"]},{"1352051651":["hashtag1","hashtag2"]},{"1352051653":["hashtag1","hashtag2"]},{"1352051647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051655, 1352051649, 1352051657, 1352051651, 1352051653, 1352051647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.366936922073364 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:28:32.801843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_44_10487.jpg', '/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_54_10369.jpg', '/home/pi/Desktop/images/20042025/00/32/image_20042025_00_33_04_9383.jpg', '/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_14_10412.jpg', '/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_24_9360.jpg', '/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_34_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_44_10487.jpg
/home/pi/Desktop/images/20042025/00/32/image_20042025_00_32_54_10369.jpg
/home/pi/Desktop/images/20042025/00/32/image_20042025_00_33_04_9383.jpg
/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_14_10412.jpg
/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_24_9360.jpg
/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_34_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051672","1352051675","1352051669","1352051666","1352051677","1352051662"],"photo_ids_order":["1352051662","1352051666","1352051669","1352051672","1352051675","1352051677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c419c1dbb06faab64451133c91c01877.jpg","text":"TemporaryFile(/tmp/multipartBody9176886617589319645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116173269,"filename":"image_20042025_00_33_14_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73dc13089318214ec034b945b925a366.jpg","text":"TemporaryFile(/tmp/multipartBody3977824460766757523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116173269,"filename":"image_20042025_00_33_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67b4829d427b9985d5ecad55c3986aec.jpg","text":"TemporaryFile(/tmp/multipartBody5363788318814020684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116173269,"filename":"image_20042025_00_33_04_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcfba8f7055a2ef359d0b0ab466f21d6.jpg","text":"TemporaryFile(/tmp/multipartBody2228832939556856073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116173269,"filename":"image_20042025_00_32_54_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/326c89866946b8d1248e6a0ca25ef6c0.jpg","text":"TemporaryFile(/tmp/multipartBody5540490410537694050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116173269,"filename":"image_20042025_00_33_34_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82cee123754ef18581dd7bab646bea38.jpg","text":"TemporaryFile(/tmp/multipartBody3781576373422513756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116173269,"filename":"image_20042025_00_32_44_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051669","file1":"1352051666","file0":"1352051662","file4":"1352051675","file5":"1352051677","file3":"1352051672"},"map_files_photo_id_array":[{"photo_id":"1352051677","filename":"file5"},{"photo_id":"1352051669","filename":"file2"},{"photo_id":"1352051675","filename":"file4"},{"photo_id":"1352051666","filename":"file1"},{"photo_id":"1352051662","filename":"file0"},{"photo_id":"1352051672","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051672":["hashtag1","hashtag2"]},{"1352051675":["hashtag1","hashtag2"]},{"1352051669":["hashtag1","hashtag2"]},{"1352051666":["hashtag1","hashtag2"]},{"1352051677":["hashtag1","hashtag2"]},{"1352051662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051672, 1352051675, 1352051669, 1352051666, 1352051677, 1352051662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.99423050880432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:29:32.884160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_44_10354.jpg', '/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_54_9362.jpg', '/home/pi/Desktop/images/20042025/00/33/image_20042025_00_34_04_10454.jpg', '/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_14_9385.jpg', '/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_24_10521.jpg', '/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_34_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_44_10354.jpg
/home/pi/Desktop/images/20042025/00/33/image_20042025_00_33_54_9362.jpg
/home/pi/Desktop/images/20042025/00/33/image_20042025_00_34_04_10454.jpg
/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_14_9385.jpg
/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_24_10521.jpg
/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_34_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051693","1352051723","1352051695","1352051692","1352051713","1352051691"],"photo_ids_order":["1352051691","1352051692","1352051693","1352051695","1352051713","1352051723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05e3307c30e898f5beee41ead7173c22.jpg","text":"TemporaryFile(/tmp/multipartBody3801850479077061212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116233348,"filename":"image_20042025_00_34_04_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c357a17b6fad96a90e04340915c0fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2998235686767027804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116233348,"filename":"image_20042025_00_34_34_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e885655d10758ad9d526c4001fc48fc6.jpg","text":"TemporaryFile(/tmp/multipartBody4555531320137473353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116233348,"filename":"image_20042025_00_34_14_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f58bfb46c592b1d5b82c5d43dfb13305.jpg","text":"TemporaryFile(/tmp/multipartBody1757817875006596959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116233348,"filename":"image_20042025_00_33_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2c09b9cf43989580a8674cc9544e497.jpg","text":"TemporaryFile(/tmp/multipartBody5134188249541159692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116233348,"filename":"image_20042025_00_34_24_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/28f1d5a13bcdec01edcb6588d971b25e.jpg","text":"TemporaryFile(/tmp/multipartBody1547588927798955354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116233348,"filename":"image_20042025_00_33_44_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051693","file1":"1352051692","file0":"1352051691","file4":"1352051713","file5":"1352051723","file3":"1352051695"},"map_files_photo_id_array":[{"photo_id":"1352051723","filename":"file5"},{"photo_id":"1352051693","filename":"file2"},{"photo_id":"1352051713","filename":"file4"},{"photo_id":"1352051692","filename":"file1"},{"photo_id":"1352051691","filename":"file0"},{"photo_id":"1352051695","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051693":["hashtag1","hashtag2"]},{"1352051723":["hashtag1","hashtag2"]},{"1352051695":["hashtag1","hashtag2"]},{"1352051692":["hashtag1","hashtag2"]},{"1352051713":["hashtag1","hashtag2"]},{"1352051691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051693, 1352051723, 1352051695, 1352051692, 1352051713, 1352051691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.352269887924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:30:33.220625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_44_9386.jpg', '/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_54_10382.jpg', '/home/pi/Desktop/images/20042025/00/34/image_20042025_00_35_04_9355.jpg', '/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_14_10470.jpg', '/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_24_10428.jpg', '/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_44_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_44_9386.jpg
/home/pi/Desktop/images/20042025/00/34/image_20042025_00_34_54_10382.jpg
/home/pi/Desktop/images/20042025/00/34/image_20042025_00_35_04_9355.jpg
/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_14_10470.jpg
/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_24_10428.jpg
/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_44_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051753","1352051735","1352051750","1352051744","1352051747","1352051740"],"photo_ids_order":["1352051735","1352051740","1352051744","1352051747","1352051750","1352051753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd3ed47a7ea22387a1b83cd1e3b28e17.jpg","text":"TemporaryFile(/tmp/multipartBody1577058229489457742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116293694,"filename":"image_20042025_00_35_44_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ea44ea68e4443fc3f0eb5c020b462b8.jpg","text":"TemporaryFile(/tmp/multipartBody5040368948048431214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116293694,"filename":"image_20042025_00_34_44_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44e8f7910a0f05cebcdad5cc4b03a834.jpg","text":"TemporaryFile(/tmp/multipartBody1817285675090517854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116293694,"filename":"image_20042025_00_35_24_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7b7d7bcf77fd571a9a7599a7883854b.jpg","text":"TemporaryFile(/tmp/multipartBody4372360682502371060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116293694,"filename":"image_20042025_00_35_04_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2d9375d0e569da3b8004fa2db79ec45.jpg","text":"TemporaryFile(/tmp/multipartBody7313052598140644243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116293694,"filename":"image_20042025_00_35_14_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a234a2c67b3ad62115d77e71840b91cc.jpg","text":"TemporaryFile(/tmp/multipartBody4176302789143932815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116293694,"filename":"image_20042025_00_34_54_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051744","file1":"1352051740","file0":"1352051735","file4":"1352051750","file5":"1352051753","file3":"1352051747"},"map_files_photo_id_array":[{"photo_id":"1352051753","filename":"file5"},{"photo_id":"1352051744","filename":"file2"},{"photo_id":"1352051750","filename":"file4"},{"photo_id":"1352051740","filename":"file1"},{"photo_id":"1352051735","filename":"file0"},{"photo_id":"1352051747","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051753":["hashtag1","hashtag2"]},{"1352051735":["hashtag1","hashtag2"]},{"1352051750":["hashtag1","hashtag2"]},{"1352051744":["hashtag1","hashtag2"]},{"1352051747":["hashtag1","hashtag2"]},{"1352051740":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051753, 1352051735, 1352051750, 1352051744, 1352051747, 1352051740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.141391038894653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:31:32.481783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_54_9376.jpg', '/home/pi/Desktop/images/20042025/00/35/image_20042025_00_36_04_10392.jpg', '/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_14_10399.jpg', '/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_24_9363.jpg', '/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_34_10372.jpg', '/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_43_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/35/image_20042025_00_35_54_9376.jpg
/home/pi/Desktop/images/20042025/00/35/image_20042025_00_36_04_10392.jpg
/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_14_10399.jpg
/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_24_9363.jpg
/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_34_10372.jpg
/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_43_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051771","1352051768","1352051762","1352051765","1352051758","1352051773"],"photo_ids_order":["1352051758","1352051762","1352051765","1352051768","1352051771","1352051773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72b626cf69d10856d0665ecfc6aa0064.jpg","text":"TemporaryFile(/tmp/multipartBody8528178245372192461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116352962,"filename":"image_20042025_00_36_34_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ec77528b7af08e2a8a0a0c199d4ccde.jpg","text":"TemporaryFile(/tmp/multipartBody3891723315391989340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116352962,"filename":"image_20042025_00_36_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b3ee6a80f69b5eb5f138ce636b072a2.jpg","text":"TemporaryFile(/tmp/multipartBody6452236410933964270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116352962,"filename":"image_20042025_00_36_04_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1df004b61b521141939ac65bb9f396fa.jpg","text":"TemporaryFile(/tmp/multipartBody3182100933409648285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116352962,"filename":"image_20042025_00_36_14_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08e6a7847a9d2dfb1804b6104a6750b2.jpg","text":"TemporaryFile(/tmp/multipartBody7568873685518447077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116352962,"filename":"image_20042025_00_35_54_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8617eb48a1a312f5c827b0aa93644e8.jpg","text":"TemporaryFile(/tmp/multipartBody6520245036225039890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116352962,"filename":"image_20042025_00_36_43_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051765","file1":"1352051762","file0":"1352051758","file4":"1352051771","file5":"1352051773","file3":"1352051768"},"map_files_photo_id_array":[{"photo_id":"1352051773","filename":"file5"},{"photo_id":"1352051765","filename":"file2"},{"photo_id":"1352051771","filename":"file4"},{"photo_id":"1352051762","filename":"file1"},{"photo_id":"1352051758","filename":"file0"},{"photo_id":"1352051768","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051771":["hashtag1","hashtag2"]},{"1352051768":["hashtag1","hashtag2"]},{"1352051762":["hashtag1","hashtag2"]},{"1352051765":["hashtag1","hashtag2"]},{"1352051758":["hashtag1","hashtag2"]},{"1352051773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051771, 1352051768, 1352051762, 1352051765, 1352051758, 1352051773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61975145339966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:32:32.581932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_54_10449.jpg', '/home/pi/Desktop/images/20042025/00/36/image_20042025_00_37_04_10383.jpg', '/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_14_9363.jpg', '/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_24_10447.jpg', '/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_33_9356.jpg', '/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_44_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/36/image_20042025_00_36_54_10449.jpg
/home/pi/Desktop/images/20042025/00/36/image_20042025_00_37_04_10383.jpg
/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_14_9363.jpg
/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_24_10447.jpg
/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_33_9356.jpg
/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_44_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051792","1352051789","1352051794","1352051791","1352051796","1352051790"],"photo_ids_order":["1352051789","1352051790","1352051791","1352051792","1352051794","1352051796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d14b800cbc90ebae9f92ebf802d54782.jpg","text":"TemporaryFile(/tmp/multipartBody3489373476791377951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116413051,"filename":"image_20042025_00_37_24_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b4459c6d5f1f6bd6f042f07f18c0c23.jpg","text":"TemporaryFile(/tmp/multipartBody7986586825952875281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116413051,"filename":"image_20042025_00_36_54_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a2e598235d1194bd1171ac093c5f348.jpg","text":"TemporaryFile(/tmp/multipartBody4962399635242992015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116413051,"filename":"image_20042025_00_37_33_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53d982bb5ec0f6fe9bdf3f842b84e491.jpg","text":"TemporaryFile(/tmp/multipartBody4967772236670299330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116413051,"filename":"image_20042025_00_37_14_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b12845c849446c5d7f0749760cf1f726.jpg","text":"TemporaryFile(/tmp/multipartBody3144348462586753427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116413051,"filename":"image_20042025_00_37_44_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7234a30d0375e979d0e2e72382d0f70.jpg","text":"TemporaryFile(/tmp/multipartBody8062120419981953589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116413051,"filename":"image_20042025_00_37_04_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051791","file1":"1352051790","file0":"1352051789","file4":"1352051794","file5":"1352051796","file3":"1352051792"},"map_files_photo_id_array":[{"photo_id":"1352051796","filename":"file5"},{"photo_id":"1352051791","filename":"file2"},{"photo_id":"1352051794","filename":"file4"},{"photo_id":"1352051790","filename":"file1"},{"photo_id":"1352051789","filename":"file0"},{"photo_id":"1352051792","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051792":["hashtag1","hashtag2"]},{"1352051789":["hashtag1","hashtag2"]},{"1352051794":["hashtag1","hashtag2"]},{"1352051791":["hashtag1","hashtag2"]},{"1352051796":["hashtag1","hashtag2"]},{"1352051790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051792, 1352051789, 1352051794, 1352051791, 1352051796, 1352051790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.318031072616577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:33:32.993404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_54_10373.jpg', '/home/pi/Desktop/images/20042025/00/37/image_20042025_00_38_04_9363.jpg', '/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_14_10421.jpg', '/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_24_9463.jpg', '/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_34_10444.jpg', '/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_44_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/37/image_20042025_00_37_54_10373.jpg
/home/pi/Desktop/images/20042025/00/37/image_20042025_00_38_04_9363.jpg
/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_14_10421.jpg
/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_24_9463.jpg
/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_34_10444.jpg
/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_44_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051822","1352051812","1352051821","1352051815","1352051824","1352051818"],"photo_ids_order":["1352051812","1352051815","1352051818","1352051821","1352051822","1352051824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7167fd159237b1c1ca9fdc0293857f94.jpg","text":"TemporaryFile(/tmp/multipartBody7656809712542501390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116473465,"filename":"image_20042025_00_38_34_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a35ca269b955f6d3f40df576b7cad9f2.jpg","text":"TemporaryFile(/tmp/multipartBody2747298995122534373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116473465,"filename":"image_20042025_00_37_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b32d34b99d05e237665d650037979ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1654308988852547075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116473465,"filename":"image_20042025_00_38_24_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2c57528a3ca1bc17706fb2cbcc3d548.jpg","text":"TemporaryFile(/tmp/multipartBody3294869688936033007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116473465,"filename":"image_20042025_00_38_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a66f3015a098e2615c726c4e3951ffde.jpg","text":"TemporaryFile(/tmp/multipartBody5925428127929377574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116473465,"filename":"image_20042025_00_38_44_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e65b2dbb2fa96575f9ee6372052bd3e.jpg","text":"TemporaryFile(/tmp/multipartBody983768158177704053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116473465,"filename":"image_20042025_00_38_14_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051818","file1":"1352051815","file0":"1352051812","file4":"1352051822","file5":"1352051824","file3":"1352051821"},"map_files_photo_id_array":[{"photo_id":"1352051824","filename":"file5"},{"photo_id":"1352051818","filename":"file2"},{"photo_id":"1352051822","filename":"file4"},{"photo_id":"1352051815","filename":"file1"},{"photo_id":"1352051812","filename":"file0"},{"photo_id":"1352051821","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051822":["hashtag1","hashtag2"]},{"1352051812":["hashtag1","hashtag2"]},{"1352051821":["hashtag1","hashtag2"]},{"1352051815":["hashtag1","hashtag2"]},{"1352051824":["hashtag1","hashtag2"]},{"1352051818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051822, 1352051812, 1352051821, 1352051815, 1352051824, 1352051818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.07341241836548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:34:33.178004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_54_9354.jpg', '/home/pi/Desktop/images/20042025/00/38/image_20042025_00_39_04_10435.jpg', '/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_14_9369.jpg', '/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_24_10436.jpg', '/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_34_10388.jpg', '/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_44_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/38/image_20042025_00_38_54_9354.jpg
/home/pi/Desktop/images/20042025/00/38/image_20042025_00_39_04_10435.jpg
/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_14_9369.jpg
/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_24_10436.jpg
/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_34_10388.jpg
/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_44_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051835","1352051849","1352051845","1352051854","1352051841","1352051838"],"photo_ids_order":["1352051835","1352051838","1352051841","1352051845","1352051849","1352051854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c05c346d2b96ac952f4fb4699ddcde69.jpg","text":"TemporaryFile(/tmp/multipartBody7030274947318568037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116533667,"filename":"image_20042025_00_38_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9a3be2e4c16cde06a45c33f501eb7c1.jpg","text":"TemporaryFile(/tmp/multipartBody4102126867790149153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116533667,"filename":"image_20042025_00_39_34_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de25c6ed0d9d465f6f42818d03f3b7ee.jpg","text":"TemporaryFile(/tmp/multipartBody4106864227570603670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116533667,"filename":"image_20042025_00_39_24_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/49abf49a28abfa0e03cb23df4d6dec2a.jpg","text":"TemporaryFile(/tmp/multipartBody8474763779904578027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116533667,"filename":"image_20042025_00_39_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a2f297fd11bd60890549a55d4ffce61.jpg","text":"TemporaryFile(/tmp/multipartBody6676984717101403751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116533667,"filename":"image_20042025_00_39_14_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e8c7fbdd35b4a9df4a0ffd49e408d76.jpg","text":"TemporaryFile(/tmp/multipartBody6465595721663437757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116533667,"filename":"image_20042025_00_39_04_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051841","file1":"1352051838","file0":"1352051835","file4":"1352051849","file5":"1352051854","file3":"1352051845"},"map_files_photo_id_array":[{"photo_id":"1352051854","filename":"file5"},{"photo_id":"1352051841","filename":"file2"},{"photo_id":"1352051849","filename":"file4"},{"photo_id":"1352051838","filename":"file1"},{"photo_id":"1352051835","filename":"file0"},{"photo_id":"1352051845","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051835":["hashtag1","hashtag2"]},{"1352051849":["hashtag1","hashtag2"]},{"1352051845":["hashtag1","hashtag2"]},{"1352051854":["hashtag1","hashtag2"]},{"1352051841":["hashtag1","hashtag2"]},{"1352051838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051835, 1352051849, 1352051845, 1352051854, 1352051841, 1352051838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.989912509918213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:35:32.467602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_54_10444.jpg', '/home/pi/Desktop/images/20042025/00/39/image_20042025_00_40_04_9379.jpg', '/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_14_10496.jpg', '/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_24_9363.jpg', '/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_34_10473.jpg', '/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_44_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/39/image_20042025_00_39_54_10444.jpg
/home/pi/Desktop/images/20042025/00/39/image_20042025_00_40_04_9379.jpg
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_14_10496.jpg
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_24_9363.jpg
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_34_10473.jpg
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_44_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051870","1352051861","1352051864","1352051866","1352051868","1352051859"],"photo_ids_order":["1352051859","1352051861","1352051864","1352051866","1352051868","1352051870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c19080ab816d3dacfae7ee3324658e4.jpg","text":"TemporaryFile(/tmp/multipartBody4728402285791815077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116592935,"filename":"image_20042025_00_40_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42d62cf2faa2378e68ef237d5782dc9e.jpg","text":"TemporaryFile(/tmp/multipartBody4671931133485691909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116592935,"filename":"image_20042025_00_40_04_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f7bd2a3935f6282f18a0d8263000a05.jpg","text":"TemporaryFile(/tmp/multipartBody5800944843922819277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116592935,"filename":"image_20042025_00_40_14_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07ce671758c49eb21fc7b755fb72af71.jpg","text":"TemporaryFile(/tmp/multipartBody3772177652490347239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116592935,"filename":"image_20042025_00_40_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5148de9e43e23e9e515819fcf0a822c.jpg","text":"TemporaryFile(/tmp/multipartBody1663608712614612875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116592935,"filename":"image_20042025_00_40_34_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bce5afece21b844aea24008ec7730e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5278264497553454527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116592935,"filename":"image_20042025_00_39_54_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051864","file1":"1352051861","file0":"1352051859","file4":"1352051868","file5":"1352051870","file3":"1352051866"},"map_files_photo_id_array":[{"photo_id":"1352051870","filename":"file5"},{"photo_id":"1352051864","filename":"file2"},{"photo_id":"1352051868","filename":"file4"},{"photo_id":"1352051861","filename":"file1"},{"photo_id":"1352051859","filename":"file0"},{"photo_id":"1352051866","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051870":["hashtag1","hashtag2"]},{"1352051861":["hashtag1","hashtag2"]},{"1352051864":["hashtag1","hashtag2"]},{"1352051866":["hashtag1","hashtag2"]},{"1352051868":["hashtag1","hashtag2"]},{"1352051859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051870, 1352051861, 1352051864, 1352051866, 1352051868, 1352051859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.188228130340576 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:36:32.600570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_54_9382.jpg', '/home/pi/Desktop/images/20042025/00/40/image_20042025_00_41_04_10384.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_14_10376.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_24_9422.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_54_10382.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_42_03_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_54_9382.jpg
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_41_04_10384.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_14_10376.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_24_9422.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_54_10382.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_42_03_9452.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39156603813171387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 04:36:42.705043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_54_9382.jpg', '/home/pi/Desktop/images/20042025/00/40/image_20042025_00_41_04_10384.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_14_10376.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_24_9422.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_54_10382.jpg', '/home/pi/Desktop/images/20042025/00/41/image_20042025_00_42_03_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_40_54_9382.jpg
/home/pi/Desktop/images/20042025/00/40/image_20042025_00_41_04_10384.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_14_10376.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_24_9422.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_41_54_10382.jpg
/home/pi/Desktop/images/20042025/00/41/image_20042025_00_42_03_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051897","1352051894","1352051892","1352051886","1352051895","1352051889"],"photo_ids_order":["1352051886","1352051889","1352051892","1352051894","1352051895","1352051897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f79e079a50eced6c4bf9e7c24a32b25c.jpg","text":"TemporaryFile(/tmp/multipartBody3028426732076841332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116663173,"filename":"image_20042025_00_42_03_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06af1b7fbee5fa836909cfccfccdff4a.jpg","text":"TemporaryFile(/tmp/multipartBody2664415463680527798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116663173,"filename":"image_20042025_00_41_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45f0b4e6017ec59ae076ce22213c6ebb.jpg","text":"TemporaryFile(/tmp/multipartBody9189781319095147401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116663173,"filename":"image_20042025_00_41_14_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6f20a97aea25edbfb2b40be60347d94.jpg","text":"TemporaryFile(/tmp/multipartBody997666248563801113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116663173,"filename":"image_20042025_00_40_54_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0507d9a52ee8e64180ed62265c3d37d6.jpg","text":"TemporaryFile(/tmp/multipartBody1049983090632606912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116663173,"filename":"image_20042025_00_41_54_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8697d834979ace9699c0c05f1477c7a8.jpg","text":"TemporaryFile(/tmp/multipartBody5896843578149973002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116663173,"filename":"image_20042025_00_41_04_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051892","file1":"1352051889","file0":"1352051886","file4":"1352051895","file5":"1352051897","file3":"1352051894"},"map_files_photo_id_array":[{"photo_id":"1352051897","filename":"file5"},{"photo_id":"1352051892","filename":"file2"},{"photo_id":"1352051895","filename":"file4"},{"photo_id":"1352051889","filename":"file1"},{"photo_id":"1352051886","filename":"file0"},{"photo_id":"1352051894","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051897":["hashtag1","hashtag2"]},{"1352051894":["hashtag1","hashtag2"]},{"1352051892":["hashtag1","hashtag2"]},{"1352051886":["hashtag1","hashtag2"]},{"1352051895":["hashtag1","hashtag2"]},{"1352051889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051897, 1352051894, 1352051892, 1352051886, 1352051895, 1352051889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.088704109191895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:37:32.936941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_14_10451.jpg', '/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_24_10417.jpg', '/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_34_9371.jpg', '/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_44_10370.jpg', '/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_54_10369.jpg', '/home/pi/Desktop/images/20042025/00/42/image_20042025_00_43_04_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_14_10451.jpg
/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_24_10417.jpg
/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_34_9371.jpg
/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_44_10370.jpg
/home/pi/Desktop/images/20042025/00/42/image_20042025_00_42_54_10369.jpg
/home/pi/Desktop/images/20042025/00/42/image_20042025_00_43_04_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051925","1352051919","1352051912","1352051914","1352051908","1352051922"],"photo_ids_order":["1352051908","1352051912","1352051914","1352051919","1352051922","1352051925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7390dd566409be8c791aa7e81c7080db.jpg","text":"TemporaryFile(/tmp/multipartBody6513978391787981863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116713402,"filename":"image_20042025_00_43_04_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d60849ca8c22c2c69c1b8ac944d2000.jpg","text":"TemporaryFile(/tmp/multipartBody7636300012047257243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116713402,"filename":"image_20042025_00_42_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f142e77d219fb4eb3f6ad3a611f249a.jpg","text":"TemporaryFile(/tmp/multipartBody6243790053410924461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116713402,"filename":"image_20042025_00_42_24_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d61ab4bd0031e5282d7df291be6cee78.jpg","text":"TemporaryFile(/tmp/multipartBody1566090150720760456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116713402,"filename":"image_20042025_00_42_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d3f4178ebc9686ea6220c13921ec20b.jpg","text":"TemporaryFile(/tmp/multipartBody2061357956896155266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116713402,"filename":"image_20042025_00_42_14_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/090e9e7a6b36f55924d1daff9be44d7a.jpg","text":"TemporaryFile(/tmp/multipartBody701788082470509707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116713402,"filename":"image_20042025_00_42_54_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051914","file1":"1352051912","file0":"1352051908","file4":"1352051922","file5":"1352051925","file3":"1352051919"},"map_files_photo_id_array":[{"photo_id":"1352051925","filename":"file5"},{"photo_id":"1352051914","filename":"file2"},{"photo_id":"1352051922","filename":"file4"},{"photo_id":"1352051912","filename":"file1"},{"photo_id":"1352051908","filename":"file0"},{"photo_id":"1352051919","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051925":["hashtag1","hashtag2"]},{"1352051919":["hashtag1","hashtag2"]},{"1352051912":["hashtag1","hashtag2"]},{"1352051914":["hashtag1","hashtag2"]},{"1352051908":["hashtag1","hashtag2"]},{"1352051922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051925, 1352051919, 1352051912, 1352051914, 1352051908, 1352051922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16199469566345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:38:33.121088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_24_9366.jpg', '/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_34_10460.jpg', '/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_43_9371.jpg', '/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_54_10450.jpg', '/home/pi/Desktop/images/20042025/00/43/image_20042025_00_44_04_10355.jpg', '/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_14_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_24_9366.jpg
/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_34_10460.jpg
/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_43_9371.jpg
/home/pi/Desktop/images/20042025/00/43/image_20042025_00_43_54_10450.jpg
/home/pi/Desktop/images/20042025/00/43/image_20042025_00_44_04_10355.jpg
/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_14_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051933","1352051930","1352051944","1352051938","1352051941","1352051935"],"photo_ids_order":["1352051930","1352051933","1352051935","1352051938","1352051941","1352051944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3ac133cb8c35dc923ca53c65b03cd70.jpg","text":"TemporaryFile(/tmp/multipartBody5447781362903593949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116773587,"filename":"image_20042025_00_43_34_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63f1ef11e9dd7bbac6217a1c2b3e164f.jpg","text":"TemporaryFile(/tmp/multipartBody5890665223518056755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116773587,"filename":"image_20042025_00_43_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5df2183da38bc9e353081bbffc8afd9b.jpg","text":"TemporaryFile(/tmp/multipartBody2844460282537959709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116773587,"filename":"image_20042025_00_44_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b939c8c46c4c4f048a97dc6762665070.jpg","text":"TemporaryFile(/tmp/multipartBody6111123987089987806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116773587,"filename":"image_20042025_00_43_54_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/810178a29043f5317b775b92956c17fe.jpg","text":"TemporaryFile(/tmp/multipartBody4680070585102510409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116773587,"filename":"image_20042025_00_44_04_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64579cc1d9cd12cb44deac577714508b.jpg","text":"TemporaryFile(/tmp/multipartBody2697363560639604805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116773587,"filename":"image_20042025_00_43_43_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051935","file1":"1352051933","file0":"1352051930","file4":"1352051941","file5":"1352051944","file3":"1352051938"},"map_files_photo_id_array":[{"photo_id":"1352051944","filename":"file5"},{"photo_id":"1352051935","filename":"file2"},{"photo_id":"1352051941","filename":"file4"},{"photo_id":"1352051933","filename":"file1"},{"photo_id":"1352051930","filename":"file0"},{"photo_id":"1352051938","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051933":["hashtag1","hashtag2"]},{"1352051930":["hashtag1","hashtag2"]},{"1352051944":["hashtag1","hashtag2"]},{"1352051938":["hashtag1","hashtag2"]},{"1352051941":["hashtag1","hashtag2"]},{"1352051935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051933, 1352051930, 1352051944, 1352051938, 1352051941, 1352051935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.715498685836792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:39:32.322400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_24_10385.jpg', '/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_34_10368.jpg', '/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_44_9361.jpg', '/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_54_10461.jpg', '/home/pi/Desktop/images/20042025/00/44/image_20042025_00_45_04_9457.jpg', '/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_24_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_24_10385.jpg
/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_34_10368.jpg
/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_44_9361.jpg
/home/pi/Desktop/images/20042025/00/44/image_20042025_00_44_54_10461.jpg
/home/pi/Desktop/images/20042025/00/44/image_20042025_00_45_04_9457.jpg
/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_24_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051972","1352051966","1352051951","1352051969","1352051954","1352051957"],"photo_ids_order":["1352051951","1352051954","1352051957","1352051966","1352051969","1352051972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03bbad721ace3cfad5ce001a9f26cb67.jpg","text":"TemporaryFile(/tmp/multipartBody1765047344270646424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116832787,"filename":"image_20042025_00_45_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a05c7611e98df64491d1a0e786133d85.jpg","text":"TemporaryFile(/tmp/multipartBody4196227330455872098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116832787,"filename":"image_20042025_00_44_54_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/763892ee3c4865d28c48c0ad8fece39f.jpg","text":"TemporaryFile(/tmp/multipartBody985659499613910316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116832787,"filename":"image_20042025_00_44_24_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2484139a32db994567ff9a263f4dea68.jpg","text":"TemporaryFile(/tmp/multipartBody7708101827072512042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116832787,"filename":"image_20042025_00_45_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf7907a8ab2e6c44333953ecf4448846.jpg","text":"TemporaryFile(/tmp/multipartBody5571919435703214794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116832787,"filename":"image_20042025_00_44_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1da62167b63b2ade846a6fafbd560183.jpg","text":"TemporaryFile(/tmp/multipartBody3539941826962980019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116832787,"filename":"image_20042025_00_44_44_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051957","file1":"1352051954","file0":"1352051951","file4":"1352051969","file5":"1352051972","file3":"1352051966"},"map_files_photo_id_array":[{"photo_id":"1352051972","filename":"file5"},{"photo_id":"1352051957","filename":"file2"},{"photo_id":"1352051969","filename":"file4"},{"photo_id":"1352051954","filename":"file1"},{"photo_id":"1352051951","filename":"file0"},{"photo_id":"1352051966","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051972":["hashtag1","hashtag2"]},{"1352051966":["hashtag1","hashtag2"]},{"1352051951":["hashtag1","hashtag2"]},{"1352051969":["hashtag1","hashtag2"]},{"1352051954":["hashtag1","hashtag2"]},{"1352051957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051972, 1352051966, 1352051951, 1352051969, 1352051954, 1352051957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.81804656982422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:40:32.648929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_34_10433.jpg', '/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_44_10360.jpg', '/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_54_9437.jpg', '/home/pi/Desktop/images/20042025/00/45/image_20042025_00_46_04_10365.jpg', '/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_14_10357.jpg', '/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_24_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_34_10433.jpg
/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_44_10360.jpg
/home/pi/Desktop/images/20042025/00/45/image_20042025_00_45_54_9437.jpg
/home/pi/Desktop/images/20042025/00/45/image_20042025_00_46_04_10365.jpg
/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_14_10357.jpg
/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_24_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051990","1352051987","1352051997","1352051985","1352051994","1352051982"],"photo_ids_order":["1352051982","1352051985","1352051987","1352051990","1352051994","1352051997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5353bcc6f220098145074e47b1be776b.jpg","text":"TemporaryFile(/tmp/multipartBody8437115123830677700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116893135,"filename":"image_20042025_00_46_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10e3228bdc4546ed4fdd9699e0ca1123.jpg","text":"TemporaryFile(/tmp/multipartBody7478496934821895639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116893135,"filename":"image_20042025_00_45_54_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1349c57e6068b69226d8e6e6a7bf3cab.jpg","text":"TemporaryFile(/tmp/multipartBody9148817125316621505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116893135,"filename":"image_20042025_00_46_24_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/feb52194d6455effe9e10cfa349e7448.jpg","text":"TemporaryFile(/tmp/multipartBody1797176823994838198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116893135,"filename":"image_20042025_00_45_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcc9ad7a2283c6d23d13d015d4728288.jpg","text":"TemporaryFile(/tmp/multipartBody8072205844681822584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116893135,"filename":"image_20042025_00_46_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a2155b8bb0ebed056494df11466c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody8785503652329918909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116893135,"filename":"image_20042025_00_45_34_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051987","file1":"1352051985","file0":"1352051982","file4":"1352051994","file5":"1352051997","file3":"1352051990"},"map_files_photo_id_array":[{"photo_id":"1352051997","filename":"file5"},{"photo_id":"1352051987","filename":"file2"},{"photo_id":"1352051994","filename":"file4"},{"photo_id":"1352051985","filename":"file1"},{"photo_id":"1352051982","filename":"file0"},{"photo_id":"1352051990","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352051990":["hashtag1","hashtag2"]},{"1352051987":["hashtag1","hashtag2"]},{"1352051997":["hashtag1","hashtag2"]},{"1352051985":["hashtag1","hashtag2"]},{"1352051994":["hashtag1","hashtag2"]},{"1352051982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352051990, 1352051987, 1352051997, 1352051985, 1352051994, 1352051982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.366004467010498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:41:32.759672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_34_10360.jpg', '/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_44_9367.jpg', '/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_54_10454.jpg', '/home/pi/Desktop/images/20042025/00/46/image_20042025_00_47_04_10377.jpg', '/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_14_9415.jpg', '/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_24_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_34_10360.jpg
/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_44_9367.jpg
/home/pi/Desktop/images/20042025/00/46/image_20042025_00_46_54_10454.jpg
/home/pi/Desktop/images/20042025/00/46/image_20042025_00_47_04_10377.jpg
/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_14_9415.jpg
/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_24_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052009","1352052020","1352052017","1352052013","1352052003","1352052006"],"photo_ids_order":["1352052003","1352052006","1352052009","1352052013","1352052017","1352052020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b75e2825ebf146541a2f9c02ba77132.jpg","text":"TemporaryFile(/tmp/multipartBody1849545171544260237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116953237,"filename":"image_20042025_00_46_54_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dfccf219a3104455b1aa7390873c454.jpg","text":"TemporaryFile(/tmp/multipartBody6714872121970299679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116953237,"filename":"image_20042025_00_47_24_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4c260cd80a200b6ccda532c0179f5ef.jpg","text":"TemporaryFile(/tmp/multipartBody5000714933558908586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116953237,"filename":"image_20042025_00_47_14_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79c8860e9642fc968cc9d00edb4d9126.jpg","text":"TemporaryFile(/tmp/multipartBody3966378114251676968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116953237,"filename":"image_20042025_00_47_04_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b1b6327fcb946221ab97c5372c4a103.jpg","text":"TemporaryFile(/tmp/multipartBody7657815746141872564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116953237,"filename":"image_20042025_00_46_34_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82109505d7824ce59c7880be91a7dc32.jpg","text":"TemporaryFile(/tmp/multipartBody2465443880838919808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745116953237,"filename":"image_20042025_00_46_44_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052009","file1":"1352052006","file0":"1352052003","file4":"1352052017","file5":"1352052020","file3":"1352052013"},"map_files_photo_id_array":[{"photo_id":"1352052020","filename":"file5"},{"photo_id":"1352052009","filename":"file2"},{"photo_id":"1352052017","filename":"file4"},{"photo_id":"1352052006","filename":"file1"},{"photo_id":"1352052003","filename":"file0"},{"photo_id":"1352052013","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052009":["hashtag1","hashtag2"]},{"1352052020":["hashtag1","hashtag2"]},{"1352052017":["hashtag1","hashtag2"]},{"1352052013":["hashtag1","hashtag2"]},{"1352052003":["hashtag1","hashtag2"]},{"1352052006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052009, 1352052020, 1352052017, 1352052013, 1352052003, 1352052006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.262946844100952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:42:32.994866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_34_9360.jpg', '/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_44_10433.jpg', '/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_54_9389.jpg', '/home/pi/Desktop/images/20042025/00/47/image_20042025_00_48_04_10484.jpg', '/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_14_10370.jpg', '/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_24_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_34_9360.jpg
/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_44_10433.jpg
/home/pi/Desktop/images/20042025/00/47/image_20042025_00_47_54_9389.jpg
/home/pi/Desktop/images/20042025/00/47/image_20042025_00_48_04_10484.jpg
/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_14_10370.jpg
/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_24_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052044","1352052040","1352052042","1352052036","1352052039","1352052033"],"photo_ids_order":["1352052033","1352052036","1352052039","1352052040","1352052042","1352052044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7c8dc36b850a18b96bb9b7937ac23ba.jpg","text":"TemporaryFile(/tmp/multipartBody210049952534414270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117013460,"filename":"image_20042025_00_48_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55d042e2e9fca52cc990a49ae811c7e7.jpg","text":"TemporaryFile(/tmp/multipartBody5772730043944996352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117013460,"filename":"image_20042025_00_48_04_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bef3c990b7d19bb6ad4c1c7e40642c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7702776187857642572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117013460,"filename":"image_20042025_00_48_14_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db21f733f644b643e62665e8414dc376.jpg","text":"TemporaryFile(/tmp/multipartBody1843334059951759524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117013460,"filename":"image_20042025_00_47_44_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9096923cdd1776b5baf173534f6551d3.jpg","text":"TemporaryFile(/tmp/multipartBody4138586654461781754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117013460,"filename":"image_20042025_00_47_54_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/315ca8db4025fef51469980ac93b9a79.jpg","text":"TemporaryFile(/tmp/multipartBody2121321681090161133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117013460,"filename":"image_20042025_00_47_34_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052039","file1":"1352052036","file0":"1352052033","file4":"1352052042","file5":"1352052044","file3":"1352052040"},"map_files_photo_id_array":[{"photo_id":"1352052044","filename":"file5"},{"photo_id":"1352052039","filename":"file2"},{"photo_id":"1352052042","filename":"file4"},{"photo_id":"1352052036","filename":"file1"},{"photo_id":"1352052033","filename":"file0"},{"photo_id":"1352052040","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052044":["hashtag1","hashtag2"]},{"1352052040":["hashtag1","hashtag2"]},{"1352052042":["hashtag1","hashtag2"]},{"1352052036":["hashtag1","hashtag2"]},{"1352052039":["hashtag1","hashtag2"]},{"1352052033":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052044, 1352052040, 1352052042, 1352052036, 1352052039, 1352052033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.105866193771362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:43:33.090125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_34_10427.jpg', '/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_44_9359.jpg', '/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_54_10406.jpg', '/home/pi/Desktop/images/20042025/00/48/image_20042025_00_49_04_10445.jpg', '/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_14_9351.jpg', '/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_24_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_34_10427.jpg
/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_44_9359.jpg
/home/pi/Desktop/images/20042025/00/48/image_20042025_00_48_54_10406.jpg
/home/pi/Desktop/images/20042025/00/48/image_20042025_00_49_04_10445.jpg
/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_14_9351.jpg
/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_24_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052065","1352052059","1352052061","1352052067","1352052063","1352052057"],"photo_ids_order":["1352052057","1352052059","1352052061","1352052063","1352052065","1352052067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a671d1a0035057ef689f6186e36e29cf.jpg","text":"TemporaryFile(/tmp/multipartBody4984261576090918217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117073559,"filename":"image_20042025_00_49_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5654ff6c5c31d67d93c2c610e6ade46d.jpg","text":"TemporaryFile(/tmp/multipartBody5687458326945179861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117073559,"filename":"image_20042025_00_48_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b51eb1726c1b0a343c2920b455bef5a.jpg","text":"TemporaryFile(/tmp/multipartBody7180234425041480848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117073559,"filename":"image_20042025_00_48_54_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11ef588bc2fc73e010b16c3ead7d92f2.jpg","text":"TemporaryFile(/tmp/multipartBody5622593163371748101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117073559,"filename":"image_20042025_00_49_24_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/214d9edb7251dc88cdc2a17911495477.jpg","text":"TemporaryFile(/tmp/multipartBody4592617092519170656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117073559,"filename":"image_20042025_00_49_04_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18bb635b09b511aeceb6baf4d0ef88a1.jpg","text":"TemporaryFile(/tmp/multipartBody112504850947829094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117073559,"filename":"image_20042025_00_48_34_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052061","file1":"1352052059","file0":"1352052057","file4":"1352052065","file5":"1352052067","file3":"1352052063"},"map_files_photo_id_array":[{"photo_id":"1352052067","filename":"file5"},{"photo_id":"1352052061","filename":"file2"},{"photo_id":"1352052065","filename":"file4"},{"photo_id":"1352052059","filename":"file1"},{"photo_id":"1352052057","filename":"file0"},{"photo_id":"1352052063","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052065":["hashtag1","hashtag2"]},{"1352052059":["hashtag1","hashtag2"]},{"1352052061":["hashtag1","hashtag2"]},{"1352052067":["hashtag1","hashtag2"]},{"1352052063":["hashtag1","hashtag2"]},{"1352052057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052065, 1352052059, 1352052061, 1352052067, 1352052063, 1352052057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.32511258125305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:44:32.286526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_34_9410.jpg', '/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_44_10454.jpg', '/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_54_10394.jpg', '/home/pi/Desktop/images/20042025/00/49/image_20042025_00_50_04_9351.jpg', '/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_14_10514.jpg', '/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_24_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_34_9410.jpg
/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_44_10454.jpg
/home/pi/Desktop/images/20042025/00/49/image_20042025_00_49_54_10394.jpg
/home/pi/Desktop/images/20042025/00/49/image_20042025_00_50_04_9351.jpg
/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_14_10514.jpg
/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_24_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052091","1352052082","1352052085","1352052090","1352052087","1352052080"],"photo_ids_order":["1352052080","1352052082","1352052085","1352052087","1352052090","1352052091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd071ce4b04297ea5cd09bb9bdc67289.jpg","text":"TemporaryFile(/tmp/multipartBody2139643816105649245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117132756,"filename":"image_20042025_00_50_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1125d7e7bf64d17b58f3a8994be77957.jpg","text":"TemporaryFile(/tmp/multipartBody422642934532182001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117132756,"filename":"image_20042025_00_49_44_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7761963b536182d08863a0908e22ee9d.jpg","text":"TemporaryFile(/tmp/multipartBody5652979141012036265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117132756,"filename":"image_20042025_00_49_54_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a7a37fca3a86c999abcbfa757bc23e2.jpg","text":"TemporaryFile(/tmp/multipartBody4053822237087789521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117132756,"filename":"image_20042025_00_50_14_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/877c9d5fbdb71f770d79eef291924913.jpg","text":"TemporaryFile(/tmp/multipartBody3349455422815654597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117132756,"filename":"image_20042025_00_50_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/110ffe33e2223aa28de77ab71ecead80.jpg","text":"TemporaryFile(/tmp/multipartBody6827779942969041906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117132756,"filename":"image_20042025_00_49_34_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052085","file1":"1352052082","file0":"1352052080","file4":"1352052090","file5":"1352052091","file3":"1352052087"},"map_files_photo_id_array":[{"photo_id":"1352052091","filename":"file5"},{"photo_id":"1352052085","filename":"file2"},{"photo_id":"1352052090","filename":"file4"},{"photo_id":"1352052082","filename":"file1"},{"photo_id":"1352052080","filename":"file0"},{"photo_id":"1352052087","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052091":["hashtag1","hashtag2"]},{"1352052082":["hashtag1","hashtag2"]},{"1352052085":["hashtag1","hashtag2"]},{"1352052090":["hashtag1","hashtag2"]},{"1352052087":["hashtag1","hashtag2"]},{"1352052080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052091, 1352052082, 1352052085, 1352052090, 1352052087, 1352052080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.494466543197632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:45:32.653510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_34_10488.jpg', '/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_44_10360.jpg', '/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_54_9344.jpg', '/home/pi/Desktop/images/20042025/00/50/image_20042025_00_51_04_10397.jpg', '/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_14_9354.jpg', '/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_24_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_34_10488.jpg
/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_44_10360.jpg
/home/pi/Desktop/images/20042025/00/50/image_20042025_00_50_54_9344.jpg
/home/pi/Desktop/images/20042025/00/50/image_20042025_00_51_04_10397.jpg
/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_14_9354.jpg
/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_24_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052108","1352052107","1352052104","1352052106","1352052103","1352052105"],"photo_ids_order":["1352052103","1352052104","1352052105","1352052106","1352052107","1352052108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c528c8b11b05ce47e6c6f92ece75077f.jpg","text":"TemporaryFile(/tmp/multipartBody7583713132540052780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117193118,"filename":"image_20042025_00_51_24_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83b3f648358f6d996789c416855add67.jpg","text":"TemporaryFile(/tmp/multipartBody5800168802270734546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117193118,"filename":"image_20042025_00_51_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/195738e8b3587ba2d31c93b9e6ca3e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1843941200212705031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117193118,"filename":"image_20042025_00_50_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a188088c106e95d20d1599fc4389fad.jpg","text":"TemporaryFile(/tmp/multipartBody1947502956940054954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117193118,"filename":"image_20042025_00_51_04_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cedf2f96009553a384b034addd947759.jpg","text":"TemporaryFile(/tmp/multipartBody7699041931575262108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117193118,"filename":"image_20042025_00_50_34_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d00a5ee938ee8fa2c6050e565fbff32.jpg","text":"TemporaryFile(/tmp/multipartBody2234911331826348128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117193118,"filename":"image_20042025_00_50_54_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052105","file1":"1352052104","file0":"1352052103","file4":"1352052107","file5":"1352052108","file3":"1352052106"},"map_files_photo_id_array":[{"photo_id":"1352052108","filename":"file5"},{"photo_id":"1352052105","filename":"file2"},{"photo_id":"1352052107","filename":"file4"},{"photo_id":"1352052104","filename":"file1"},{"photo_id":"1352052103","filename":"file0"},{"photo_id":"1352052106","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052108":["hashtag1","hashtag2"]},{"1352052107":["hashtag1","hashtag2"]},{"1352052104":["hashtag1","hashtag2"]},{"1352052106":["hashtag1","hashtag2"]},{"1352052103":["hashtag1","hashtag2"]},{"1352052105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052108, 1352052107, 1352052104, 1352052106, 1352052103, 1352052105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.27741765975952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:46:32.800561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_34_10438.jpg', '/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_44_9475.jpg', '/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_54_10366.jpg', '/home/pi/Desktop/images/20042025/00/51/image_20042025_00_52_04_9430.jpg', '/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_14_10465.jpg', '/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_24_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_34_10438.jpg
/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_44_9475.jpg
/home/pi/Desktop/images/20042025/00/51/image_20042025_00_51_54_10366.jpg
/home/pi/Desktop/images/20042025/00/51/image_20042025_00_52_04_9430.jpg
/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_14_10465.jpg
/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_24_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052128","1352052122","1352052124","1352052118","1352052120","1352052126"],"photo_ids_order":["1352052118","1352052120","1352052122","1352052124","1352052126","1352052128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65278e90e46e1aca60f475c7c02ab9d9.jpg","text":"TemporaryFile(/tmp/multipartBody6598687078814805204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117253280,"filename":"image_20042025_00_52_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b32f854d679075309ed641a4e1c36a9.jpg","text":"TemporaryFile(/tmp/multipartBody3195151013421476504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117253280,"filename":"image_20042025_00_51_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cccb8431bf4a8a141fe86a3df8da911.jpg","text":"TemporaryFile(/tmp/multipartBody3472455541560143220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117253280,"filename":"image_20042025_00_52_04_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71d6bd6b2a244ea5e8136ec0a1cefecf.jpg","text":"TemporaryFile(/tmp/multipartBody7501447813342619168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117253280,"filename":"image_20042025_00_51_34_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f30e4b813d636b9a282644b1dc14714d.jpg","text":"TemporaryFile(/tmp/multipartBody3358657514477385263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117253280,"filename":"image_20042025_00_51_44_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cdb46221f13df8ee846aeed68943efe.jpg","text":"TemporaryFile(/tmp/multipartBody2471939393553976514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117253280,"filename":"image_20042025_00_52_14_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052122","file1":"1352052120","file0":"1352052118","file4":"1352052126","file5":"1352052128","file3":"1352052124"},"map_files_photo_id_array":[{"photo_id":"1352052128","filename":"file5"},{"photo_id":"1352052122","filename":"file2"},{"photo_id":"1352052126","filename":"file4"},{"photo_id":"1352052120","filename":"file1"},{"photo_id":"1352052118","filename":"file0"},{"photo_id":"1352052124","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052128":["hashtag1","hashtag2"]},{"1352052122":["hashtag1","hashtag2"]},{"1352052124":["hashtag1","hashtag2"]},{"1352052118":["hashtag1","hashtag2"]},{"1352052120":["hashtag1","hashtag2"]},{"1352052126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052128, 1352052122, 1352052124, 1352052118, 1352052120, 1352052126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38403248786926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:47:32.945679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_44_10353.jpg', '/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_54_9374.jpg', '/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_13_9385.jpg', '/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_24_10437.jpg', '/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_34_10370.jpg', '/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_44_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_44_10353.jpg
/home/pi/Desktop/images/20042025/00/52/image_20042025_00_52_54_9374.jpg
/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_13_9385.jpg
/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_24_10437.jpg
/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_34_10370.jpg
/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_44_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052146","1352052137","1352052142","1352052145","1352052148","1352052144"],"photo_ids_order":["1352052137","1352052142","1352052144","1352052145","1352052146","1352052148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72d54118565c5bd60389f35ba49bd6f4.jpg","text":"TemporaryFile(/tmp/multipartBody365592431541479792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117313440,"filename":"image_20042025_00_53_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc3fe967543ae24f513b98b7408adeef.jpg","text":"TemporaryFile(/tmp/multipartBody5285895595384955240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117313440,"filename":"image_20042025_00_52_44_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/caacfacac3647e2c5603d84528839949.jpg","text":"TemporaryFile(/tmp/multipartBody5160445267007673452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117313440,"filename":"image_20042025_00_52_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/386b84d3f5de2176b5f2f12c949f9869.jpg","text":"TemporaryFile(/tmp/multipartBody7665201996143806342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117313440,"filename":"image_20042025_00_53_24_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdd87965e9540bf79037087ac33aa956.jpg","text":"TemporaryFile(/tmp/multipartBody7706991832156016137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117313440,"filename":"image_20042025_00_53_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f456f8ef4686e11d8645e5f75671df04.jpg","text":"TemporaryFile(/tmp/multipartBody3511044008911120178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117313440,"filename":"image_20042025_00_53_13_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052144","file1":"1352052142","file0":"1352052137","file4":"1352052146","file5":"1352052148","file3":"1352052145"},"map_files_photo_id_array":[{"photo_id":"1352052148","filename":"file5"},{"photo_id":"1352052144","filename":"file2"},{"photo_id":"1352052146","filename":"file4"},{"photo_id":"1352052142","filename":"file1"},{"photo_id":"1352052137","filename":"file0"},{"photo_id":"1352052145","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052146":["hashtag1","hashtag2"]},{"1352052137":["hashtag1","hashtag2"]},{"1352052142":["hashtag1","hashtag2"]},{"1352052145":["hashtag1","hashtag2"]},{"1352052148":["hashtag1","hashtag2"]},{"1352052144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052146, 1352052137, 1352052142, 1352052145, 1352052148, 1352052144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.086519956588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:48:32.169152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_54_10476.jpg', '/home/pi/Desktop/images/20042025/00/53/image_20042025_00_54_04_9373.jpg', '/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_14_10448.jpg', '/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_24_10360.jpg', '/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_44_10438.jpg', '/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_54_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/53/image_20042025_00_53_54_10476.jpg
/home/pi/Desktop/images/20042025/00/53/image_20042025_00_54_04_9373.jpg
/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_14_10448.jpg
/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_24_10360.jpg
/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_44_10438.jpg
/home/pi/Desktop/images/20042025/00/54/image_20042025_00_54_54_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052161","1352052169","1352052163","1352052166","1352052171","1352052159"],"photo_ids_order":["1352052159","1352052161","1352052163","1352052166","1352052169","1352052171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1878c9fc1286db5712640e49013ffe9b.jpg","text":"TemporaryFile(/tmp/multipartBody5191430769688201030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117372644,"filename":"image_20042025_00_54_04_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d146a4c846e9d3b04c32a8896303f043.jpg","text":"TemporaryFile(/tmp/multipartBody3569055671715023078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117372644,"filename":"image_20042025_00_54_44_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73ba31a2ae9f120abbe9bb0ffeaa2054.jpg","text":"TemporaryFile(/tmp/multipartBody4111672006774388231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117372644,"filename":"image_20042025_00_54_14_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe36a27c923218a855943e7272a2d2cb.jpg","text":"TemporaryFile(/tmp/multipartBody4361285191737989929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117372644,"filename":"image_20042025_00_54_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3280b1a86fceada2bbf515e35e5dc919.jpg","text":"TemporaryFile(/tmp/multipartBody8289010641731050091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117372644,"filename":"image_20042025_00_54_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76cb9d1aa799757b8571a2cdcacb7da9.jpg","text":"TemporaryFile(/tmp/multipartBody4239576381553454326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117372644,"filename":"image_20042025_00_53_54_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052163","file1":"1352052161","file0":"1352052159","file4":"1352052169","file5":"1352052171","file3":"1352052166"},"map_files_photo_id_array":[{"photo_id":"1352052171","filename":"file5"},{"photo_id":"1352052163","filename":"file2"},{"photo_id":"1352052169","filename":"file4"},{"photo_id":"1352052161","filename":"file1"},{"photo_id":"1352052159","filename":"file0"},{"photo_id":"1352052166","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052161":["hashtag1","hashtag2"]},{"1352052169":["hashtag1","hashtag2"]},{"1352052163":["hashtag1","hashtag2"]},{"1352052166":["hashtag1","hashtag2"]},{"1352052171":["hashtag1","hashtag2"]},{"1352052159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052161, 1352052169, 1352052163, 1352052166, 1352052171, 1352052159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.145991325378418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:49:32.369858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/54/image_20042025_00_55_04_9415.jpg', '/home/pi/Desktop/images/20042025/00/55/image_20042025_00_55_14_10394.jpg', '/home/pi/Desktop/images/20042025/00/55/image_20042025_00_55_24_9364.jpg', '/home/pi/Desktop/images/20042025/00/55/image_20042025_00_55_44_10379.jpg', '/home/pi/Desktop/images/20042025/00/55/image_20042025_00_56_04_10475.jpg', '/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_14_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/54/image_20042025_00_55_04_9415.jpg
/home/pi/Desktop/images/20042025/00/55/image_20042025_00_55_14_10394.jpg
/home/pi/Desktop/images/20042025/00/55/image_20042025_00_55_24_9364.jpg
/home/pi/Desktop/images/20042025/00/55/image_20042025_00_55_44_10379.jpg
/home/pi/Desktop/images/20042025/00/55/image_20042025_00_56_04_10475.jpg
/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_14_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052191","1352052193","1352052187","1352052184","1352052189","1352052180"],"photo_ids_order":["1352052180","1352052184","1352052187","1352052189","1352052191","1352052193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c69736428fa2be445b48d4a267fa5e74.jpg","text":"TemporaryFile(/tmp/multipartBody4914131046455203316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117432842,"filename":"image_20042025_00_56_04_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2830aa000c3d3c6af04a07231145300d.jpg","text":"TemporaryFile(/tmp/multipartBody5878272727861926132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117432842,"filename":"image_20042025_00_56_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/620896f4eec6153246805107a4fb68ae.jpg","text":"TemporaryFile(/tmp/multipartBody8835194923808066598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117432842,"filename":"image_20042025_00_55_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b02a86c08be54f5d426715ff9a3b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3007858557411884060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117432842,"filename":"image_20042025_00_55_14_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2998dcbe52426307ff5e64ace8000cb.jpg","text":"TemporaryFile(/tmp/multipartBody1062904106895863281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117432842,"filename":"image_20042025_00_55_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a220f6aa8af60d35e49c130f2d28a63.jpg","text":"TemporaryFile(/tmp/multipartBody8013835475940746989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117432842,"filename":"image_20042025_00_55_04_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052187","file1":"1352052184","file0":"1352052180","file4":"1352052191","file5":"1352052193","file3":"1352052189"},"map_files_photo_id_array":[{"photo_id":"1352052193","filename":"file5"},{"photo_id":"1352052187","filename":"file2"},{"photo_id":"1352052191","filename":"file4"},{"photo_id":"1352052184","filename":"file1"},{"photo_id":"1352052180","filename":"file0"},{"photo_id":"1352052189","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052191":["hashtag1","hashtag2"]},{"1352052193":["hashtag1","hashtag2"]},{"1352052187":["hashtag1","hashtag2"]},{"1352052184":["hashtag1","hashtag2"]},{"1352052189":["hashtag1","hashtag2"]},{"1352052180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052191, 1352052193, 1352052187, 1352052184, 1352052189, 1352052180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.347706079483032 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:50:32.689011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_24_10390.jpg', '/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_44_9369.jpg', '/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_54_10384.jpg', '/home/pi/Desktop/images/20042025/00/57/image_20042025_00_57_14_10442.jpg', '/home/pi/Desktop/images/20042025/00/57/image_20042025_00_57_34_9408.jpg', '/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_24_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_24_10390.jpg
/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_44_9369.jpg
/home/pi/Desktop/images/20042025/00/56/image_20042025_00_56_54_10384.jpg
/home/pi/Desktop/images/20042025/00/57/image_20042025_00_57_14_10442.jpg
/home/pi/Desktop/images/20042025/00/57/image_20042025_00_57_34_9408.jpg
/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_24_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052207","1352052215","1352052218","1352052211","1352052201","1352052204"],"photo_ids_order":["1352052201","1352052204","1352052207","1352052211","1352052215","1352052218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3c5e35f35dafe023ffb68b6f3853487.jpg","text":"TemporaryFile(/tmp/multipartBody3971244493064085960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117493157,"filename":"image_20042025_00_56_54_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/386ec95a566c9b2c0c99e42571dd4d17.jpg","text":"TemporaryFile(/tmp/multipartBody3170959350091218075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117493157,"filename":"image_20042025_00_57_34_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cffbfa2c9251b9b3dff71d2c2c4cef38.jpg","text":"TemporaryFile(/tmp/multipartBody6039713242187283938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117493157,"filename":"image_20042025_00_58_24_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94e342b4e8cc6a004ff39097f441ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody3528230405333377420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117493157,"filename":"image_20042025_00_57_14_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8db5489f93d09bddbc080d09ef10a23.jpg","text":"TemporaryFile(/tmp/multipartBody8644012981995221425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117493157,"filename":"image_20042025_00_56_24_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/557ae9e81c96a225aef3d97ed1baf5b1.jpg","text":"TemporaryFile(/tmp/multipartBody8391078121058628194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117493157,"filename":"image_20042025_00_56_44_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052207","file1":"1352052204","file0":"1352052201","file4":"1352052215","file5":"1352052218","file3":"1352052211"},"map_files_photo_id_array":[{"photo_id":"1352052218","filename":"file5"},{"photo_id":"1352052207","filename":"file2"},{"photo_id":"1352052215","filename":"file4"},{"photo_id":"1352052204","filename":"file1"},{"photo_id":"1352052201","filename":"file0"},{"photo_id":"1352052211","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052207":["hashtag1","hashtag2"]},{"1352052215":["hashtag1","hashtag2"]},{"1352052218":["hashtag1","hashtag2"]},{"1352052211":["hashtag1","hashtag2"]},{"1352052201":["hashtag1","hashtag2"]},{"1352052204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052207, 1352052215, 1352052218, 1352052211, 1352052201, 1352052204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.525909423828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:51:32.928838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_34_10381.jpg', '/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_43_9350.jpg', '/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_44_10474.jpg', '/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_54_10380.jpg', '/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_26_10391.jpg', '/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_36_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_34_10381.jpg
/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_43_9350.jpg
/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_44_10474.jpg
/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_54_10380.jpg
/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_26_10391.jpg
/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_36_10376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39104509353637695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 04:51:42.946265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_34_10381.jpg', '/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_43_9350.jpg', '/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_44_10474.jpg', '/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_54_10380.jpg', '/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_26_10391.jpg', '/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_36_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_34_10381.jpg
/home/pi/Desktop/images/20042025/00/58/image_20042025_00_58_43_9350.jpg
/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_44_10474.jpg
/home/pi/Desktop/images/20042025/00/59/image_20042025_00_59_54_10380.jpg
/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_26_10391.jpg
/home/pi/Desktop/images/20042025/01/00/image_20042025_01_00_36_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052248","1352052247","1352052246","1352052240","1352052243","1352052237"],"photo_ids_order":["1352052237","1352052240","1352052243","1352052246","1352052247","1352052248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27a064d89ee7ebab9c29f50f45f74c80.jpg","text":"TemporaryFile(/tmp/multipartBody2379792021173742225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117563411,"filename":"image_20042025_01_00_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b77fad5ef9339737f8f1e3f9fa216ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6978699997974887845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117563411,"filename":"image_20042025_01_00_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f62d599a17eb09be0db19ba46b667af.jpg","text":"TemporaryFile(/tmp/multipartBody5390768780472790282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117563411,"filename":"image_20042025_00_59_54_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2b458acda37465fa6698286f398ab71.jpg","text":"TemporaryFile(/tmp/multipartBody3676904444063672109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117563411,"filename":"image_20042025_00_58_43_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/100c1abf02cf476e409c31f5752d47e9.jpg","text":"TemporaryFile(/tmp/multipartBody7573184703137083910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117563411,"filename":"image_20042025_00_59_44_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c240e78f80023f410f4a32966d49e5e5.jpg","text":"TemporaryFile(/tmp/multipartBody6554851636502316515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117563411,"filename":"image_20042025_00_58_34_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052243","file1":"1352052240","file0":"1352052237","file4":"1352052247","file5":"1352052248","file3":"1352052246"},"map_files_photo_id_array":[{"photo_id":"1352052248","filename":"file5"},{"photo_id":"1352052243","filename":"file2"},{"photo_id":"1352052247","filename":"file4"},{"photo_id":"1352052240","filename":"file1"},{"photo_id":"1352052237","filename":"file0"},{"photo_id":"1352052246","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052248":["hashtag1","hashtag2"]},{"1352052247":["hashtag1","hashtag2"]},{"1352052246":["hashtag1","hashtag2"]},{"1352052240":["hashtag1","hashtag2"]},{"1352052243":["hashtag1","hashtag2"]},{"1352052237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052248, 1352052247, 1352052246, 1352052240, 1352052243, 1352052237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90018939971924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:52:33.199357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/00/image_20042025_01_01_05_9350.jpg', '/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_16_10370.jpg', '/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_35_9368.jpg', '/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_46_10373.jpg', '/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_56_10370.jpg', '/home/pi/Desktop/images/20042025/01/01/image_20042025_01_02_06_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/00/image_20042025_01_01_05_9350.jpg
/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_16_10370.jpg
/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_35_9368.jpg
/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_46_10373.jpg
/home/pi/Desktop/images/20042025/01/01/image_20042025_01_01_56_10370.jpg
/home/pi/Desktop/images/20042025/01/01/image_20042025_01_02_06_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052260","1352052266","1352052268","1352052262","1352052270","1352052264"],"photo_ids_order":["1352052260","1352052262","1352052264","1352052266","1352052268","1352052270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/446958914bccbd554aa4758db578be4f.jpg","text":"TemporaryFile(/tmp/multipartBody2785258973928512482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117613664,"filename":"image_20042025_01_01_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b28ad6516b31776c252a8049810e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1031943980241666706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117613664,"filename":"image_20042025_01_01_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bac6a2bd42c09100c3187f1eadb2737.jpg","text":"TemporaryFile(/tmp/multipartBody8265650275368542371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117613664,"filename":"image_20042025_01_01_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d6e5cb4e78f9af9647002ecfc4d68f5.jpg","text":"TemporaryFile(/tmp/multipartBody6035411812998247435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117613664,"filename":"image_20042025_01_01_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57b53df83e744c391fc103181ee7c1fc.jpg","text":"TemporaryFile(/tmp/multipartBody3813828916023406255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117613664,"filename":"image_20042025_01_02_06_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/668a523a8dfee417d91cb6ca31279b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4271704628371610663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117613664,"filename":"image_20042025_01_01_35_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052264","file1":"1352052262","file0":"1352052260","file4":"1352052268","file5":"1352052270","file3":"1352052266"},"map_files_photo_id_array":[{"photo_id":"1352052270","filename":"file5"},{"photo_id":"1352052264","filename":"file2"},{"photo_id":"1352052268","filename":"file4"},{"photo_id":"1352052262","filename":"file1"},{"photo_id":"1352052260","filename":"file0"},{"photo_id":"1352052266","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052260":["hashtag1","hashtag2"]},{"1352052266":["hashtag1","hashtag2"]},{"1352052268":["hashtag1","hashtag2"]},{"1352052262":["hashtag1","hashtag2"]},{"1352052270":["hashtag1","hashtag2"]},{"1352052264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052260, 1352052266, 1352052268, 1352052262, 1352052270, 1352052264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.643468141555786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:53:32.474860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_16_10494.jpg', '/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_25_9367.jpg', '/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_36_10351.jpg', '/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_46_10435.jpg', '/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_56_9349.jpg', '/home/pi/Desktop/images/20042025/01/02/image_20042025_01_03_06_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_16_10494.jpg
/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_25_9367.jpg
/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_36_10351.jpg
/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_46_10435.jpg
/home/pi/Desktop/images/20042025/01/02/image_20042025_01_02_56_9349.jpg
/home/pi/Desktop/images/20042025/01/02/image_20042025_01_03_06_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052282","1352052276","1352052291","1352052285","1352052279","1352052288"],"photo_ids_order":["1352052276","1352052279","1352052282","1352052285","1352052288","1352052291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc858410db6f4bafc5d1d097857ca2c0.jpg","text":"TemporaryFile(/tmp/multipartBody2686238602174953717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117672945,"filename":"image_20042025_01_02_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90521d1a8f1d24b7ca83613f72dbbf13.jpg","text":"TemporaryFile(/tmp/multipartBody7793320202193417098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117672945,"filename":"image_20042025_01_02_16_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6ada0e0d7d74be1d5f9f948cd091c23.jpg","text":"TemporaryFile(/tmp/multipartBody1108570376089220261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117672945,"filename":"image_20042025_01_03_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27c7801e6ba9f5fc1b69b8a73975a638.jpg","text":"TemporaryFile(/tmp/multipartBody2776560244659030502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117672945,"filename":"image_20042025_01_02_46_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e6a3f09650e278a8d0af9196e76c095.jpg","text":"TemporaryFile(/tmp/multipartBody494366838359443242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117672945,"filename":"image_20042025_01_02_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/579f366a02af1f534afe80170d1cda4e.jpg","text":"TemporaryFile(/tmp/multipartBody5776320672868263138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117672945,"filename":"image_20042025_01_02_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052282","file1":"1352052279","file0":"1352052276","file4":"1352052288","file5":"1352052291","file3":"1352052285"},"map_files_photo_id_array":[{"photo_id":"1352052291","filename":"file5"},{"photo_id":"1352052282","filename":"file2"},{"photo_id":"1352052288","filename":"file4"},{"photo_id":"1352052279","filename":"file1"},{"photo_id":"1352052276","filename":"file0"},{"photo_id":"1352052285","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052282":["hashtag1","hashtag2"]},{"1352052276":["hashtag1","hashtag2"]},{"1352052291":["hashtag1","hashtag2"]},{"1352052285":["hashtag1","hashtag2"]},{"1352052279":["hashtag1","hashtag2"]},{"1352052288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052282, 1352052276, 1352052291, 1352052285, 1352052279, 1352052288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71596384048462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:54:32.798385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_15_9356.jpg', '/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_26_10365.jpg', '/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_36_10351.jpg', '/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_45_9366.jpg', '/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_56_10377.jpg', '/home/pi/Desktop/images/20042025/01/03/image_20042025_01_04_06_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_15_9356.jpg
/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_26_10365.jpg
/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_36_10351.jpg
/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_45_9366.jpg
/home/pi/Desktop/images/20042025/01/03/image_20042025_01_03_56_10377.jpg
/home/pi/Desktop/images/20042025/01/03/image_20042025_01_04_06_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052298","1352052310","1352052304","1352052307","1352052301","1352052312"],"photo_ids_order":["1352052298","1352052301","1352052304","1352052307","1352052310","1352052312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d37db3185cacd2cdb0d1171228092f90.jpg","text":"TemporaryFile(/tmp/multipartBody1390614466159669583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117733267,"filename":"image_20042025_01_03_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a97ba44769fe165db37a23f91f3482e.jpg","text":"TemporaryFile(/tmp/multipartBody6044624660618898396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117733267,"filename":"image_20042025_01_03_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a7bd149a91b06ee46d985ac65918667.jpg","text":"TemporaryFile(/tmp/multipartBody1356026573744513721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117733267,"filename":"image_20042025_01_03_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e880d702ee16da5a5dac998f83d5853.jpg","text":"TemporaryFile(/tmp/multipartBody829831120004133615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117733267,"filename":"image_20042025_01_03_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4395bec7be3ed2687c659f1b22ffc8e4.jpg","text":"TemporaryFile(/tmp/multipartBody5345589031689200264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117733267,"filename":"image_20042025_01_03_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6be07ee9657663fd2884798b21fa57a5.jpg","text":"TemporaryFile(/tmp/multipartBody6606006676061374515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117733267,"filename":"image_20042025_01_04_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052304","file1":"1352052301","file0":"1352052298","file4":"1352052310","file5":"1352052312","file3":"1352052307"},"map_files_photo_id_array":[{"photo_id":"1352052312","filename":"file5"},{"photo_id":"1352052304","filename":"file2"},{"photo_id":"1352052310","filename":"file4"},{"photo_id":"1352052301","filename":"file1"},{"photo_id":"1352052298","filename":"file0"},{"photo_id":"1352052307","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052298":["hashtag1","hashtag2"]},{"1352052310":["hashtag1","hashtag2"]},{"1352052304":["hashtag1","hashtag2"]},{"1352052307":["hashtag1","hashtag2"]},{"1352052301":["hashtag1","hashtag2"]},{"1352052312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052298, 1352052310, 1352052304, 1352052307, 1352052301, 1352052312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.454089403152466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:55:33.229751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_16_9367.jpg', '/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_26_10381.jpg', '/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_35_9363.jpg', '/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_46_10356.jpg', '/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_56_10384.jpg', '/home/pi/Desktop/images/20042025/01/04/image_20042025_01_05_05_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_16_9367.jpg
/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_26_10381.jpg
/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_35_9363.jpg
/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_46_10356.jpg
/home/pi/Desktop/images/20042025/01/04/image_20042025_01_04_56_10384.jpg
/home/pi/Desktop/images/20042025/01/04/image_20042025_01_05_05_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052323","1352052329","1352052325","1352052327","1352052321","1352052318"],"photo_ids_order":["1352052318","1352052321","1352052323","1352052325","1352052327","1352052329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b5e831f19c9d14303367dd30d6766e4.jpg","text":"TemporaryFile(/tmp/multipartBody1922503138785656331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117793693,"filename":"image_20042025_01_04_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61f5cec188c27307e0dde91e92b19f4c.jpg","text":"TemporaryFile(/tmp/multipartBody8786945174036161209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117793693,"filename":"image_20042025_01_05_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86733f14c8900742c65f09d26cc1b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody5907855072461854800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117793693,"filename":"image_20042025_01_04_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6aac0d408e4e81156c20a9b90a6112f8.jpg","text":"TemporaryFile(/tmp/multipartBody2001240818902506115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117793693,"filename":"image_20042025_01_04_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d1655dd185c1d1e948f4e9bbf31121e.jpg","text":"TemporaryFile(/tmp/multipartBody7245538878554977293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117793693,"filename":"image_20042025_01_04_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88f3e27746752c58275cdd80b855b93c.jpg","text":"TemporaryFile(/tmp/multipartBody8114287109350368229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117793693,"filename":"image_20042025_01_04_16_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052323","file1":"1352052321","file0":"1352052318","file4":"1352052327","file5":"1352052329","file3":"1352052325"},"map_files_photo_id_array":[{"photo_id":"1352052329","filename":"file5"},{"photo_id":"1352052323","filename":"file2"},{"photo_id":"1352052327","filename":"file4"},{"photo_id":"1352052321","filename":"file1"},{"photo_id":"1352052318","filename":"file0"},{"photo_id":"1352052325","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052323":["hashtag1","hashtag2"]},{"1352052329":["hashtag1","hashtag2"]},{"1352052325":["hashtag1","hashtag2"]},{"1352052327":["hashtag1","hashtag2"]},{"1352052321":["hashtag1","hashtag2"]},{"1352052318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052323, 1352052329, 1352052325, 1352052327, 1352052321, 1352052318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.318782329559326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:56:32.266602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_16_10511.jpg', '/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_25_9360.jpg', '/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_36_10362.jpg', '/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_46_10470.jpg', '/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_55_9362.jpg', '/home/pi/Desktop/images/20042025/01/05/image_20042025_01_06_06_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_16_10511.jpg
/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_25_9360.jpg
/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_36_10362.jpg
/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_46_10470.jpg
/home/pi/Desktop/images/20042025/01/05/image_20042025_01_05_55_9362.jpg
/home/pi/Desktop/images/20042025/01/05/image_20042025_01_06_06_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052338","1352052335","1352052349","1352052375","1352052345","1352052342"],"photo_ids_order":["1352052335","1352052338","1352052342","1352052345","1352052349","1352052375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b14ce2dd8af648838c4f05db8b538816.jpg","text":"TemporaryFile(/tmp/multipartBody3618593147840642439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117852729,"filename":"image_20042025_01_05_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ad891335efa09dbfb81b249b650ff7e.jpg","text":"TemporaryFile(/tmp/multipartBody1220712334403619976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117852729,"filename":"image_20042025_01_05_16_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e138af17d71b0747f3ecf618da6ad4b5.jpg","text":"TemporaryFile(/tmp/multipartBody3756833975793829848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117852729,"filename":"image_20042025_01_05_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56e59360a792d0257dec17ee739775cd.jpg","text":"TemporaryFile(/tmp/multipartBody3499986907878472875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117852729,"filename":"image_20042025_01_06_06_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84932ff702bbc8fdabcb89f0ac5ee6cc.jpg","text":"TemporaryFile(/tmp/multipartBody874246290493610356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117852729,"filename":"image_20042025_01_05_46_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64b77dd38cf32235170747fe0322ea26.jpg","text":"TemporaryFile(/tmp/multipartBody3245231366768644261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745117852729,"filename":"image_20042025_01_05_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052342","file1":"1352052338","file0":"1352052335","file4":"1352052349","file5":"1352052375","file3":"1352052345"},"map_files_photo_id_array":[{"photo_id":"1352052375","filename":"file5"},{"photo_id":"1352052342","filename":"file2"},{"photo_id":"1352052349","filename":"file4"},{"photo_id":"1352052338","filename":"file1"},{"photo_id":"1352052335","filename":"file0"},{"photo_id":"1352052345","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352052338":["hashtag1","hashtag2"]},{"1352052335":["hashtag1","hashtag2"]},{"1352052349":["hashtag1","hashtag2"]},{"1352052375":["hashtag1","hashtag2"]},{"1352052345":["hashtag1","hashtag2"]},{"1352052342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352052338, 1352052335, 1352052349, 1352052375, 1352052345, 1352052342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55048203468323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:57:32.508024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_15_9369.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_36_10439.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_46_9381.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_56_10462.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_07_05_9377.jpg', '/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_16_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_15_9369.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_36_10439.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_46_9381.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_56_10462.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_07_05_9377.jpg
/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_16_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 04:59:03.864536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_15_9369.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_36_10439.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_46_9381.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_56_10462.jpg', '/home/pi/Desktop/images/20042025/01/06/image_20042025_01_07_05_9377.jpg', '/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_16_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_15_9369.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_36_10439.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_46_9381.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_06_56_10462.jpg
/home/pi/Desktop/images/20042025/01/06/image_20042025_01_07_05_9377.jpg
/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_16_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054125","1352053942","1352053822","1352054097","1352054057","1352053880"],"photo_ids_order":["1352053822","1352053880","1352053942","1352054057","1352054097","1352054125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ba156a9bab1ad9d7e141c02f4e4fafd.jpg","text":"TemporaryFile(/tmp/multipartBody5380128159456564084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118004530,"filename":"image_20042025_01_07_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8fb1f25ec458dcb380b005f4f337fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3677032494084890579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118004530,"filename":"image_20042025_01_06_46_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a76f892f954bb4ed357bd29de8f03746.jpg","text":"TemporaryFile(/tmp/multipartBody9073740774333624162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118004530,"filename":"image_20042025_01_06_15_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d15ec454455001f86df148517077f32.jpg","text":"TemporaryFile(/tmp/multipartBody7044457471152548636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118004530,"filename":"image_20042025_01_07_05_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2eab8a335ae7a99c28d96486143bbd0a.jpg","text":"TemporaryFile(/tmp/multipartBody8271146635747287319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118004530,"filename":"image_20042025_01_06_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfeb8c5cd5285b065ecff7b058b9cc11.jpg","text":"TemporaryFile(/tmp/multipartBody3305676695926453126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118004530,"filename":"image_20042025_01_06_36_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352053942","file1":"1352053880","file0":"1352053822","file4":"1352054097","file5":"1352054125","file3":"1352054057"},"map_files_photo_id_array":[{"photo_id":"1352054125","filename":"file5"},{"photo_id":"1352053942","filename":"file2"},{"photo_id":"1352054097","filename":"file4"},{"photo_id":"1352053880","filename":"file1"},{"photo_id":"1352053822","filename":"file0"},{"photo_id":"1352054057","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352054125":["hashtag1","hashtag2"]},{"1352053942":["hashtag1","hashtag2"]},{"1352053822":["hashtag1","hashtag2"]},{"1352054097":["hashtag1","hashtag2"]},{"1352054057":["hashtag1","hashtag2"]},{"1352053880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352054125, 1352053942, 1352053822, 1352054097, 1352054057, 1352053880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83367323875427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 04:59:52.334448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_26_10371.jpg', '/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_35_9367.jpg', '/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_46_10517.jpg', '/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_55_9347.jpg', '/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_16_10387.jpg', '/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_26_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_26_10371.jpg
/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_35_9367.jpg
/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_46_10517.jpg
/home/pi/Desktop/images/20042025/01/07/image_20042025_01_07_55_9347.jpg
/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_16_10387.jpg
/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_26_9432.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054275","1352054185","1352054212","1352054247","1352054157","1352054304"],"photo_ids_order":["1352054157","1352054185","1352054212","1352054247","1352054275","1352054304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2acdce467dd2f7ccf77b7e21685e30f1.jpg","text":"TemporaryFile(/tmp/multipartBody1051960390816508123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118052826,"filename":"image_20042025_01_08_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87c171bdd417e91ca5abcc7e1fc713ab.jpg","text":"TemporaryFile(/tmp/multipartBody2569626151083756429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118052826,"filename":"image_20042025_01_07_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aea4d51e7361e9f7153b1a0ba4e53295.jpg","text":"TemporaryFile(/tmp/multipartBody5716255731838406792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118052826,"filename":"image_20042025_01_07_46_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61256716790705493374916bb5995dce.jpg","text":"TemporaryFile(/tmp/multipartBody4929421125807544984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118052826,"filename":"image_20042025_01_07_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/621a59c085af32f37101fec441cfe551.jpg","text":"TemporaryFile(/tmp/multipartBody598819355949215789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118052826,"filename":"image_20042025_01_07_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a38183977ea4dfbaa4c5d09e83a0f671.jpg","text":"TemporaryFile(/tmp/multipartBody3083413887856545162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118052826,"filename":"image_20042025_01_08_26_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352054212","file1":"1352054185","file0":"1352054157","file4":"1352054275","file5":"1352054304","file3":"1352054247"},"map_files_photo_id_array":[{"photo_id":"1352054304","filename":"file5"},{"photo_id":"1352054212","filename":"file2"},{"photo_id":"1352054275","filename":"file4"},{"photo_id":"1352054185","filename":"file1"},{"photo_id":"1352054157","filename":"file0"},{"photo_id":"1352054247","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352054275":["hashtag1","hashtag2"]},{"1352054185":["hashtag1","hashtag2"]},{"1352054212":["hashtag1","hashtag2"]},{"1352054247":["hashtag1","hashtag2"]},{"1352054157":["hashtag1","hashtag2"]},{"1352054304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352054275, 1352054185, 1352054212, 1352054247, 1352054157, 1352054304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.090482711791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:00:32.566245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_36_10406.jpg', '/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_45_9356.jpg', '/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_15_9351.jpg', '/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_26_10480.jpg', '/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_35_9349.jpg', '/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_36_10406.jpg
/home/pi/Desktop/images/20042025/01/08/image_20042025_01_08_45_9356.jpg
/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_15_9351.jpg
/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_26_10480.jpg
/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_35_9349.jpg
/home/pi/Desktop/images/20042025/01/09/image_20042025_01_09_46_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054382","1352054442","1352054510","1352054540","1352054414","1352054479"],"photo_ids_order":["1352054382","1352054414","1352054442","1352054479","1352054510","1352054540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/231667f5a8afaf9363a7bc5a9689d876.jpg","text":"TemporaryFile(/tmp/multipartBody8111584146655106973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118093035,"filename":"image_20042025_01_08_36_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53d570623c35035618b2fb67580a10ac.jpg","text":"TemporaryFile(/tmp/multipartBody4953357035412603598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118093035,"filename":"image_20042025_01_09_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7789af0552de0c238de493474b02f55.jpg","text":"TemporaryFile(/tmp/multipartBody5261380922317606795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118093035,"filename":"image_20042025_01_09_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8d0ebc7fdb19642fb37953f0e228e99.jpg","text":"TemporaryFile(/tmp/multipartBody5438801492827494382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118093035,"filename":"image_20042025_01_09_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5508c087f55c6821857301b4a29aabf9.jpg","text":"TemporaryFile(/tmp/multipartBody4036929114019542820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118093035,"filename":"image_20042025_01_08_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/167854154ef221d05a084200ed7afe2a.jpg","text":"TemporaryFile(/tmp/multipartBody5378562996355509873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118093035,"filename":"image_20042025_01_09_26_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352054442","file1":"1352054414","file0":"1352054382","file4":"1352054510","file5":"1352054540","file3":"1352054479"},"map_files_photo_id_array":[{"photo_id":"1352054540","filename":"file5"},{"photo_id":"1352054442","filename":"file2"},{"photo_id":"1352054510","filename":"file4"},{"photo_id":"1352054414","filename":"file1"},{"photo_id":"1352054382","filename":"file0"},{"photo_id":"1352054479","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352054382":["hashtag1","hashtag2"]},{"1352054442":["hashtag1","hashtag2"]},{"1352054510":["hashtag1","hashtag2"]},{"1352054540":["hashtag1","hashtag2"]},{"1352054414":["hashtag1","hashtag2"]},{"1352054479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352054382, 1352054442, 1352054510, 1352054540, 1352054414, 1352054479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.920734167099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:01:32.812120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/09/image_20042025_01_10_05_9342.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_16_10370.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_46_10453.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_55_9359.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_11_06_10349.jpg', '/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/09/image_20042025_01_10_05_9342.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_16_10370.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_46_10453.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_55_9359.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_11_06_10349.jpg
/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_16_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3997948169708252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 05:01:42.823109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/09/image_20042025_01_10_05_9342.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_16_10370.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_46_10453.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_55_9359.jpg', '/home/pi/Desktop/images/20042025/01/10/image_20042025_01_11_06_10349.jpg', '/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/09/image_20042025_01_10_05_9342.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_16_10370.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_46_10453.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_10_55_9359.jpg
/home/pi/Desktop/images/20042025/01/10/image_20042025_01_11_06_10349.jpg
/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_16_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352055113","1352055008","1352055154","1352055064","1352055037","1352054968"],"photo_ids_order":["1352054968","1352055008","1352055037","1352055064","1352055113","1352055154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ef08557f661f6d026400ec658ebf1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3147960368184477769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118163289,"filename":"image_20042025_01_11_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf41bd1c5e38bea5b0711f900ff8cc7e.jpg","text":"TemporaryFile(/tmp/multipartBody6240420728412413025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118163289,"filename":"image_20042025_01_10_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/715c58387d4aede5ae9e282d99de9177.jpg","text":"TemporaryFile(/tmp/multipartBody4644471791073793538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118163289,"filename":"image_20042025_01_11_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c9a7c08e0ad2b5e251f7637bf3f4493.jpg","text":"TemporaryFile(/tmp/multipartBody4044463725796227872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118163289,"filename":"image_20042025_01_10_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/430b9f340399aaf7472001afcb075b7a.jpg","text":"TemporaryFile(/tmp/multipartBody3605318896371585403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118163289,"filename":"image_20042025_01_10_46_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5fa880024cb931c6448d3b931e705df.jpg","text":"TemporaryFile(/tmp/multipartBody4649174485616336087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118163289,"filename":"image_20042025_01_10_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352055037","file1":"1352055008","file0":"1352054968","file4":"1352055113","file5":"1352055154","file3":"1352055064"},"map_files_photo_id_array":[{"photo_id":"1352055154","filename":"file5"},{"photo_id":"1352055037","filename":"file2"},{"photo_id":"1352055113","filename":"file4"},{"photo_id":"1352055008","filename":"file1"},{"photo_id":"1352054968","filename":"file0"},{"photo_id":"1352055064","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352055113":["hashtag1","hashtag2"]},{"1352055008":["hashtag1","hashtag2"]},{"1352055154":["hashtag1","hashtag2"]},{"1352055064":["hashtag1","hashtag2"]},{"1352055037":["hashtag1","hashtag2"]},{"1352054968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352055113, 1352055008, 1352055154, 1352055064, 1352055037, 1352054968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.048052072525024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:02:33.054284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_25_9369.jpg', '/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_36_10428.jpg', '/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_46_10373.jpg', '/home/pi/Desktop/images/20042025/01/12/image_20042025_01_12_36_10467.jpg', '/home/pi/Desktop/images/20042025/01/12/image_20042025_01_12_45_9360.jpg', '/home/pi/Desktop/images/20042025/01/12/image_20042025_01_12_56_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_25_9369.jpg
/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_36_10428.jpg
/home/pi/Desktop/images/20042025/01/11/image_20042025_01_11_46_10373.jpg
/home/pi/Desktop/images/20042025/01/12/image_20042025_01_12_36_10467.jpg
/home/pi/Desktop/images/20042025/01/12/image_20042025_01_12_45_9360.jpg
/home/pi/Desktop/images/20042025/01/12/image_20042025_01_12_56_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352055450","1352055510","1352055392","1352055422","1352055484","1352055364"],"photo_ids_order":["1352055364","1352055392","1352055422","1352055450","1352055484","1352055510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/301ad0299b79114b0b784ab9b61ed4cc.jpg","text":"TemporaryFile(/tmp/multipartBody7404799456374290946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118213522,"filename":"image_20042025_01_12_36_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6423770c8ddf6b16359be9ef5513b12.jpg","text":"TemporaryFile(/tmp/multipartBody6549998797270131349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118213522,"filename":"image_20042025_01_12_56_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7060f386b3721b58ab73ed321ad1ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5829500545813436950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118213522,"filename":"image_20042025_01_11_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/add096051342cacc3f36e24ae5b2d98a.jpg","text":"TemporaryFile(/tmp/multipartBody3505297730435378003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118213522,"filename":"image_20042025_01_11_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d77cff7ce2c0bb3819f56f15fa113de3.jpg","text":"TemporaryFile(/tmp/multipartBody5286207867444716665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118213522,"filename":"image_20042025_01_12_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b136eb28d325a1147355c82d4c7fc5be.jpg","text":"TemporaryFile(/tmp/multipartBody1679825935801216921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118213522,"filename":"image_20042025_01_11_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352055422","file1":"1352055392","file0":"1352055364","file4":"1352055484","file5":"1352055510","file3":"1352055450"},"map_files_photo_id_array":[{"photo_id":"1352055510","filename":"file5"},{"photo_id":"1352055422","filename":"file2"},{"photo_id":"1352055484","filename":"file4"},{"photo_id":"1352055392","filename":"file1"},{"photo_id":"1352055364","filename":"file0"},{"photo_id":"1352055450","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352055450":["hashtag1","hashtag2"]},{"1352055510":["hashtag1","hashtag2"]},{"1352055392":["hashtag1","hashtag2"]},{"1352055422":["hashtag1","hashtag2"]},{"1352055484":["hashtag1","hashtag2"]},{"1352055364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352055450, 1352055510, 1352055392, 1352055422, 1352055484, 1352055364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.415413856506348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:03:32.240965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_16_10371.jpg', '/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_26_10446.jpg', '/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_35_9340.jpg', '/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_46_10503.jpg', '/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_55_9348.jpg', '/home/pi/Desktop/images/20042025/01/13/image_20042025_01_14_06_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_16_10371.jpg
/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_26_10446.jpg
/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_35_9340.jpg
/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_46_10503.jpg
/home/pi/Desktop/images/20042025/01/13/image_20042025_01_13_55_9348.jpg
/home/pi/Desktop/images/20042025/01/13/image_20042025_01_14_06_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352055858","1352055771","1352055828","1352055890","1352055799","1352055916"],"photo_ids_order":["1352055771","1352055799","1352055828","1352055858","1352055890","1352055916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd85563f0730d601edaa41c1c2a02a9c.jpg","text":"TemporaryFile(/tmp/multipartBody357662210401659453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118272707,"filename":"image_20042025_01_13_46_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1fe48c75e877ff99a4d89dc1acfd5e5.jpg","text":"TemporaryFile(/tmp/multipartBody3913195675602928876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118272707,"filename":"image_20042025_01_13_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a10353bc339ecfc68304066bbc571d02.jpg","text":"TemporaryFile(/tmp/multipartBody7651481238147187332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118272707,"filename":"image_20042025_01_13_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8f4972c38136abbc12e8ba2fc39b1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5888802543489192188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118272707,"filename":"image_20042025_01_13_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ca90689d2b32340cc039afb55850549.jpg","text":"TemporaryFile(/tmp/multipartBody7971896380270542636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118272707,"filename":"image_20042025_01_13_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eac6ab168bed1171e7b7d59eefe683f4.jpg","text":"TemporaryFile(/tmp/multipartBody145613449838511081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118272707,"filename":"image_20042025_01_14_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352055828","file1":"1352055799","file0":"1352055771","file4":"1352055890","file5":"1352055916","file3":"1352055858"},"map_files_photo_id_array":[{"photo_id":"1352055916","filename":"file5"},{"photo_id":"1352055828","filename":"file2"},{"photo_id":"1352055890","filename":"file4"},{"photo_id":"1352055799","filename":"file1"},{"photo_id":"1352055771","filename":"file0"},{"photo_id":"1352055858","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352055858":["hashtag1","hashtag2"]},{"1352055771":["hashtag1","hashtag2"]},{"1352055828":["hashtag1","hashtag2"]},{"1352055890":["hashtag1","hashtag2"]},{"1352055799":["hashtag1","hashtag2"]},{"1352055916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352055858, 1352055771, 1352055828, 1352055890, 1352055799, 1352055916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.358196258544922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:04:32.452399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_16_10446.jpg', '/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_25_9364.jpg', '/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_36_10465.jpg', '/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_45_9361.jpg', '/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_56_10365.jpg', '/home/pi/Desktop/images/20042025/01/14/image_20042025_01_15_06_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_16_10446.jpg
/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_25_9364.jpg
/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_36_10465.jpg
/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_45_9361.jpg
/home/pi/Desktop/images/20042025/01/14/image_20042025_01_14_56_10365.jpg
/home/pi/Desktop/images/20042025/01/14/image_20042025_01_15_06_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056137","1352056134","1352056121","1352056130","1352056135","1352056126"],"photo_ids_order":["1352056121","1352056126","1352056130","1352056134","1352056135","1352056137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e4e3c6d57d9332ea7fe791d927a0d9b.jpg","text":"TemporaryFile(/tmp/multipartBody8973537653337882404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118332935,"filename":"image_20042025_01_15_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91e83b8cd6789d2c9e8b5318a5fe3b07.jpg","text":"TemporaryFile(/tmp/multipartBody4566424783498551623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118332935,"filename":"image_20042025_01_14_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31570ab6786dc8de8f9ebb91ae23eacc.jpg","text":"TemporaryFile(/tmp/multipartBody6391691943822780840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118332935,"filename":"image_20042025_01_14_16_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7017dc4ca3eb608e0979f5b6c83601b1.jpg","text":"TemporaryFile(/tmp/multipartBody863431071263858393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118332935,"filename":"image_20042025_01_14_36_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75dd1609966ed30b3dec3b587ba14590.jpg","text":"TemporaryFile(/tmp/multipartBody5334945735959410701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118332935,"filename":"image_20042025_01_14_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/106dc0b16dc314c64c4f497aacfb0663.jpg","text":"TemporaryFile(/tmp/multipartBody1104782356999374628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118332935,"filename":"image_20042025_01_14_25_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056130","file1":"1352056126","file0":"1352056121","file4":"1352056135","file5":"1352056137","file3":"1352056134"},"map_files_photo_id_array":[{"photo_id":"1352056137","filename":"file5"},{"photo_id":"1352056130","filename":"file2"},{"photo_id":"1352056135","filename":"file4"},{"photo_id":"1352056126","filename":"file1"},{"photo_id":"1352056121","filename":"file0"},{"photo_id":"1352056134","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056137":["hashtag1","hashtag2"]},{"1352056134":["hashtag1","hashtag2"]},{"1352056121":["hashtag1","hashtag2"]},{"1352056130":["hashtag1","hashtag2"]},{"1352056135":["hashtag1","hashtag2"]},{"1352056126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056137, 1352056134, 1352056121, 1352056130, 1352056135, 1352056126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.553592920303345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:05:32.723136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_15_9370.jpg', '/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_26_10483.jpg', '/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_35_9381.jpg', '/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_46_10377.jpg', '/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_56_10442.jpg', '/home/pi/Desktop/images/20042025/01/15/image_20042025_01_16_06_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_15_9370.jpg
/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_26_10483.jpg
/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_35_9381.jpg
/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_46_10377.jpg
/home/pi/Desktop/images/20042025/01/15/image_20042025_01_15_56_10442.jpg
/home/pi/Desktop/images/20042025/01/15/image_20042025_01_16_06_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056374","1352056317","1352056230","1352056288","1352056258","1352056345"],"photo_ids_order":["1352056230","1352056258","1352056288","1352056317","1352056345","1352056374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/463b40ce7c9b651f3663fad5803ec646.jpg","text":"TemporaryFile(/tmp/multipartBody5776250718197224996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118393207,"filename":"image_20042025_01_16_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ed3f3134e144ef7af62cb91eecfc24f.jpg","text":"TemporaryFile(/tmp/multipartBody2392331155008599850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118393207,"filename":"image_20042025_01_15_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c55f26c40ba418adb602e577acbec898.jpg","text":"TemporaryFile(/tmp/multipartBody1217439182823758381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118393207,"filename":"image_20042025_01_15_15_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19ee5b74e3659c129db22ea5786da53a.jpg","text":"TemporaryFile(/tmp/multipartBody611496423537491887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118393207,"filename":"image_20042025_01_15_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0acac167e3582303e676e500179a836.jpg","text":"TemporaryFile(/tmp/multipartBody5605041768737268241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118393207,"filename":"image_20042025_01_15_26_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e408aebe63c9f237fabb95e5a4e6c067.jpg","text":"TemporaryFile(/tmp/multipartBody3867942436351767121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118393207,"filename":"image_20042025_01_15_56_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056288","file1":"1352056258","file0":"1352056230","file4":"1352056345","file5":"1352056374","file3":"1352056317"},"map_files_photo_id_array":[{"photo_id":"1352056374","filename":"file5"},{"photo_id":"1352056288","filename":"file2"},{"photo_id":"1352056345","filename":"file4"},{"photo_id":"1352056258","filename":"file1"},{"photo_id":"1352056230","filename":"file0"},{"photo_id":"1352056317","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056374":["hashtag1","hashtag2"]},{"1352056317":["hashtag1","hashtag2"]},{"1352056230":["hashtag1","hashtag2"]},{"1352056288":["hashtag1","hashtag2"]},{"1352056258":["hashtag1","hashtag2"]},{"1352056345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056374, 1352056317, 1352056230, 1352056288, 1352056258, 1352056345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.167370319366455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:06:32.987482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_16_10429.jpg', '/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_25_9333.jpg', '/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_36_10361.jpg', '/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_46_10380.jpg', '/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_55_9366.jpg', '/home/pi/Desktop/images/20042025/01/16/image_20042025_01_17_06_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_16_10429.jpg
/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_25_9333.jpg
/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_36_10361.jpg
/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_46_10380.jpg
/home/pi/Desktop/images/20042025/01/16/image_20042025_01_16_55_9366.jpg
/home/pi/Desktop/images/20042025/01/16/image_20042025_01_17_06_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056476","1352056481","1352056478","1352056486","1352056483","1352056485"],"photo_ids_order":["1352056476","1352056478","1352056481","1352056483","1352056485","1352056486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfbe36472124f8dcf340e3ae30b35589.jpg","text":"TemporaryFile(/tmp/multipartBody6934788397409350462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118453453,"filename":"image_20042025_01_16_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03b137b72b07d0a696075b107f661d34.jpg","text":"TemporaryFile(/tmp/multipartBody2914179867729083883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118453453,"filename":"image_20042025_01_16_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e97e05008db4a9e01e207e36d0760c6.jpg","text":"TemporaryFile(/tmp/multipartBody3502320540212984573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118453453,"filename":"image_20042025_01_16_25_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6cde4cc83d49275cb9c31a0706bc945.jpg","text":"TemporaryFile(/tmp/multipartBody3157954457451156765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118453453,"filename":"image_20042025_01_17_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6544e67753f5e933b4d918bcc05fe17d.jpg","text":"TemporaryFile(/tmp/multipartBody8210486237230588927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118453453,"filename":"image_20042025_01_16_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab416035133837f5fdce7ed28a116705.jpg","text":"TemporaryFile(/tmp/multipartBody4577142372054196636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118453453,"filename":"image_20042025_01_16_55_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056481","file1":"1352056478","file0":"1352056476","file4":"1352056485","file5":"1352056486","file3":"1352056483"},"map_files_photo_id_array":[{"photo_id":"1352056486","filename":"file5"},{"photo_id":"1352056481","filename":"file2"},{"photo_id":"1352056485","filename":"file4"},{"photo_id":"1352056478","filename":"file1"},{"photo_id":"1352056476","filename":"file0"},{"photo_id":"1352056483","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056476":["hashtag1","hashtag2"]},{"1352056481":["hashtag1","hashtag2"]},{"1352056478":["hashtag1","hashtag2"]},{"1352056486":["hashtag1","hashtag2"]},{"1352056483":["hashtag1","hashtag2"]},{"1352056485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056476, 1352056481, 1352056478, 1352056486, 1352056483, 1352056485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.197746992111206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:07:32.312837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_16_10459.jpg', '/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_26_9358.jpg', '/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_36_10388.jpg', '/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_45_9361.jpg', '/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_56_10379.jpg', '/home/pi/Desktop/images/20042025/01/17/image_20042025_01_18_06_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_16_10459.jpg
/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_26_9358.jpg
/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_36_10388.jpg
/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_45_9361.jpg
/home/pi/Desktop/images/20042025/01/17/image_20042025_01_17_56_10379.jpg
/home/pi/Desktop/images/20042025/01/17/image_20042025_01_18_06_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056503","1352056506","1352056509","1352056500","1352056511","1352056507"],"photo_ids_order":["1352056500","1352056503","1352056506","1352056507","1352056509","1352056511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc47b75353d4a4d80729f3703839889b.jpg","text":"TemporaryFile(/tmp/multipartBody4274062173129572436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118512779,"filename":"image_20042025_01_17_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da504cb7ab9e1d6ade477f66d0a564c8.jpg","text":"TemporaryFile(/tmp/multipartBody8412101251263967177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118512779,"filename":"image_20042025_01_17_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd6968bcba1610da67962e64d6bd0188.jpg","text":"TemporaryFile(/tmp/multipartBody4435148239367375981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118512779,"filename":"image_20042025_01_17_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7a43a88cf56584872bbd5a9265ef14c.jpg","text":"TemporaryFile(/tmp/multipartBody3717208153505116961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118512779,"filename":"image_20042025_01_17_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48b62f42dd6547c06d748c5339cf76de.jpg","text":"TemporaryFile(/tmp/multipartBody4008335695674607963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118512779,"filename":"image_20042025_01_18_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fa39f731e6b7aff6b230d31b8e69109.jpg","text":"TemporaryFile(/tmp/multipartBody3282882358122426994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118512779,"filename":"image_20042025_01_17_45_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056506","file1":"1352056503","file0":"1352056500","file4":"1352056509","file5":"1352056511","file3":"1352056507"},"map_files_photo_id_array":[{"photo_id":"1352056511","filename":"file5"},{"photo_id":"1352056506","filename":"file2"},{"photo_id":"1352056509","filename":"file4"},{"photo_id":"1352056503","filename":"file1"},{"photo_id":"1352056500","filename":"file0"},{"photo_id":"1352056507","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056503":["hashtag1","hashtag2"]},{"1352056506":["hashtag1","hashtag2"]},{"1352056509":["hashtag1","hashtag2"]},{"1352056500":["hashtag1","hashtag2"]},{"1352056511":["hashtag1","hashtag2"]},{"1352056507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056503, 1352056506, 1352056509, 1352056500, 1352056511, 1352056507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.58675765991211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:08:32.566836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_16_9467.jpg', '/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_26_10412.jpg', '/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_35_9337.jpg', '/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_46_10372.jpg', '/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_56_10492.jpg', '/home/pi/Desktop/images/20042025/01/18/image_20042025_01_19_06_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_16_9467.jpg
/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_26_10412.jpg
/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_35_9337.jpg
/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_46_10372.jpg
/home/pi/Desktop/images/20042025/01/18/image_20042025_01_18_56_10492.jpg
/home/pi/Desktop/images/20042025/01/18/image_20042025_01_19_06_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056533","1352056521","1352056530","1352056526","1352056535","1352056517"],"photo_ids_order":["1352056517","1352056521","1352056526","1352056530","1352056533","1352056535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddee57d3dc2e8b031b48da58824636d4.jpg","text":"TemporaryFile(/tmp/multipartBody6837690102957806233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118573047,"filename":"image_20042025_01_18_56_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e49b96d2eab982180e16bb0ac5aaa9b.jpg","text":"TemporaryFile(/tmp/multipartBody4375119701355807748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118573047,"filename":"image_20042025_01_18_26_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e80ddc8fa46a41eb681a8b7d3b018bb.jpg","text":"TemporaryFile(/tmp/multipartBody5178664208050631922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118573047,"filename":"image_20042025_01_18_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3ba36eb68072198a790e09a218e2dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8980273626273069955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118573047,"filename":"image_20042025_01_18_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d0dcb5174c766b89685ee6632861d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4547789631067385651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118573047,"filename":"image_20042025_01_19_06_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ef0029ada2b2f0b7a1eb4ca111379c0.jpg","text":"TemporaryFile(/tmp/multipartBody8192501616696493308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118573047,"filename":"image_20042025_01_18_16_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056526","file1":"1352056521","file0":"1352056517","file4":"1352056533","file5":"1352056535","file3":"1352056530"},"map_files_photo_id_array":[{"photo_id":"1352056535","filename":"file5"},{"photo_id":"1352056526","filename":"file2"},{"photo_id":"1352056533","filename":"file4"},{"photo_id":"1352056521","filename":"file1"},{"photo_id":"1352056517","filename":"file0"},{"photo_id":"1352056530","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056533":["hashtag1","hashtag2"]},{"1352056521":["hashtag1","hashtag2"]},{"1352056530":["hashtag1","hashtag2"]},{"1352056526":["hashtag1","hashtag2"]},{"1352056535":["hashtag1","hashtag2"]},{"1352056517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056533, 1352056521, 1352056530, 1352056526, 1352056535, 1352056517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.523333311080933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:09:32.694495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_16_10421.jpg', '/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_25_9357.jpg', '/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_36_10356.jpg', '/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_46_10483.jpg', '/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_56_9352.jpg', '/home/pi/Desktop/images/20042025/01/19/image_20042025_01_20_06_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_16_10421.jpg
/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_25_9357.jpg
/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_36_10356.jpg
/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_46_10483.jpg
/home/pi/Desktop/images/20042025/01/19/image_20042025_01_19_56_9352.jpg
/home/pi/Desktop/images/20042025/01/19/image_20042025_01_20_06_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056551","1352056554","1352056556","1352056553","1352056549","1352056546"],"photo_ids_order":["1352056546","1352056549","1352056551","1352056553","1352056554","1352056556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fd442ed4be9a6381850d34a5a100514.jpg","text":"TemporaryFile(/tmp/multipartBody1561129759852573635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118633167,"filename":"image_20042025_01_19_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf18f6aeb2c5c8655f4dc5802f73e7f8.jpg","text":"TemporaryFile(/tmp/multipartBody3133643473476853559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118633167,"filename":"image_20042025_01_19_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c56c261a93cf3dd8c876f19ff7d5c0ff.jpg","text":"TemporaryFile(/tmp/multipartBody4189331996946487588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118633167,"filename":"image_20042025_01_20_06_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08df6057666dd265597a54270456f16e.jpg","text":"TemporaryFile(/tmp/multipartBody806188403589924362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118633167,"filename":"image_20042025_01_19_46_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/664c1f3c11585ab6319aa40840c15cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1568136890362191583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118633167,"filename":"image_20042025_01_19_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da0f18d4adbcb5b922e8d1dd1fc6ec8b.jpg","text":"TemporaryFile(/tmp/multipartBody5600354284198702393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118633167,"filename":"image_20042025_01_19_16_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056551","file1":"1352056549","file0":"1352056546","file4":"1352056554","file5":"1352056556","file3":"1352056553"},"map_files_photo_id_array":[{"photo_id":"1352056556","filename":"file5"},{"photo_id":"1352056551","filename":"file2"},{"photo_id":"1352056554","filename":"file4"},{"photo_id":"1352056549","filename":"file1"},{"photo_id":"1352056546","filename":"file0"},{"photo_id":"1352056553","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056551":["hashtag1","hashtag2"]},{"1352056554":["hashtag1","hashtag2"]},{"1352056556":["hashtag1","hashtag2"]},{"1352056553":["hashtag1","hashtag2"]},{"1352056549":["hashtag1","hashtag2"]},{"1352056546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056551, 1352056554, 1352056556, 1352056553, 1352056549, 1352056546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46667242050171 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:10:32.769328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_15_9369.jpg', '/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_26_10361.jpg', '/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_36_10444.jpg', '/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_46_9344.jpg', '/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_56_10541.jpg', '/home/pi/Desktop/images/20042025/01/20/image_20042025_01_21_05_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_15_9369.jpg
/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_26_10361.jpg
/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_36_10444.jpg
/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_46_9344.jpg
/home/pi/Desktop/images/20042025/01/20/image_20042025_01_20_56_10541.jpg
/home/pi/Desktop/images/20042025/01/20/image_20042025_01_21_05_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056566","1352056575","1352056577","1352056573","1352056579","1352056570"],"photo_ids_order":["1352056566","1352056570","1352056573","1352056575","1352056577","1352056579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f53f9d579604dbc7279028e0034aaabb.jpg","text":"TemporaryFile(/tmp/multipartBody1066549305499026697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118693244,"filename":"image_20042025_01_20_15_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/173546e26e1a30764cb784ec57542dba.jpg","text":"TemporaryFile(/tmp/multipartBody446463999051352660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118693244,"filename":"image_20042025_01_20_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0260ece5be97ec74d4e715258afc0dab.jpg","text":"TemporaryFile(/tmp/multipartBody779692994326364912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118693244,"filename":"image_20042025_01_20_56_10541.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d32cd3f32d783b0d9a066e8237972226.jpg","text":"TemporaryFile(/tmp/multipartBody789921455931572704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118693244,"filename":"image_20042025_01_20_36_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba4a9cf8a819203098caa4b99d8935cd.jpg","text":"TemporaryFile(/tmp/multipartBody5948759981321367758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118693244,"filename":"image_20042025_01_21_05_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07c16a1b83ea1c8ebc72fb9f113f8afc.jpg","text":"TemporaryFile(/tmp/multipartBody1047183524104317965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118693244,"filename":"image_20042025_01_20_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056573","file1":"1352056570","file0":"1352056566","file4":"1352056577","file5":"1352056579","file3":"1352056575"},"map_files_photo_id_array":[{"photo_id":"1352056579","filename":"file5"},{"photo_id":"1352056573","filename":"file2"},{"photo_id":"1352056577","filename":"file4"},{"photo_id":"1352056570","filename":"file1"},{"photo_id":"1352056566","filename":"file0"},{"photo_id":"1352056575","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056566":["hashtag1","hashtag2"]},{"1352056575":["hashtag1","hashtag2"]},{"1352056577":["hashtag1","hashtag2"]},{"1352056573":["hashtag1","hashtag2"]},{"1352056579":["hashtag1","hashtag2"]},{"1352056570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056566, 1352056575, 1352056577, 1352056573, 1352056579, 1352056570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13650417327881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:11:32.995119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_16_10471.jpg', '/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_25_9359.jpg', '/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_36_10354.jpg', '/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_46_10461.jpg', '/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_55_9365.jpg', '/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_15_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_16_10471.jpg
/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_25_9359.jpg
/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_36_10354.jpg
/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_46_10461.jpg
/home/pi/Desktop/images/20042025/01/21/image_20042025_01_21_55_9365.jpg
/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_15_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056593","1352056605","1352056601","1352056603","1352056596","1352056599"],"photo_ids_order":["1352056593","1352056596","1352056599","1352056601","1352056603","1352056605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e23c7fcaed58513e785ac5bc97878d3a.jpg","text":"TemporaryFile(/tmp/multipartBody2230419961455090025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118753463,"filename":"image_20042025_01_21_16_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9646b52d6422be584efc268e837ea155.jpg","text":"TemporaryFile(/tmp/multipartBody5156300988122566194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118753463,"filename":"image_20042025_01_22_15_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ccea40862acee5fda0efdbd5db3d0565.jpg","text":"TemporaryFile(/tmp/multipartBody8441524092088244599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118753463,"filename":"image_20042025_01_21_46_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12d43ec87ca1fc4a57085fd052abbe36.jpg","text":"TemporaryFile(/tmp/multipartBody4816005162852198274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118753463,"filename":"image_20042025_01_21_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24bda2852ceaee20c80c6bf7d6aae6c5.jpg","text":"TemporaryFile(/tmp/multipartBody2420000256525189324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118753463,"filename":"image_20042025_01_21_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7bdb2df9d84b57b736a0c418167a333.jpg","text":"TemporaryFile(/tmp/multipartBody6488559552952658145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118753463,"filename":"image_20042025_01_21_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056599","file1":"1352056596","file0":"1352056593","file4":"1352056603","file5":"1352056605","file3":"1352056601"},"map_files_photo_id_array":[{"photo_id":"1352056605","filename":"file5"},{"photo_id":"1352056599","filename":"file2"},{"photo_id":"1352056603","filename":"file4"},{"photo_id":"1352056596","filename":"file1"},{"photo_id":"1352056593","filename":"file0"},{"photo_id":"1352056601","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056593":["hashtag1","hashtag2"]},{"1352056605":["hashtag1","hashtag2"]},{"1352056601":["hashtag1","hashtag2"]},{"1352056603":["hashtag1","hashtag2"]},{"1352056596":["hashtag1","hashtag2"]},{"1352056599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056593, 1352056605, 1352056601, 1352056603, 1352056596, 1352056599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.284552335739136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:12:32.866000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_26_10382.jpg', '/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_36_10433.jpg', '/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_46_9350.jpg', '/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_56_10437.jpg', '/home/pi/Desktop/images/20042025/01/22/image_20042025_01_23_05_9370.jpg', '/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_16_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_26_10382.jpg
/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_36_10433.jpg
/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_46_9350.jpg
/home/pi/Desktop/images/20042025/01/22/image_20042025_01_22_56_10437.jpg
/home/pi/Desktop/images/20042025/01/22/image_20042025_01_23_05_9370.jpg
/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_16_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056632","1352056635","1352056625","1352056619","1352056628","1352056622"],"photo_ids_order":["1352056619","1352056622","1352056625","1352056628","1352056632","1352056635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1796cbfc46bae37405675fd8634145d.jpg","text":"TemporaryFile(/tmp/multipartBody2795034062969906276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118813344,"filename":"image_20042025_01_23_05_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41dc8866f723288090533bed4316ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody2130872003342155747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118813344,"filename":"image_20042025_01_23_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc3b0b58e5ec6b8bd3156464da97af95.jpg","text":"TemporaryFile(/tmp/multipartBody5703078439289563956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118813344,"filename":"image_20042025_01_22_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d9c08ce4df739c41bee1039933ba68a.jpg","text":"TemporaryFile(/tmp/multipartBody6652853680138213632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118813344,"filename":"image_20042025_01_22_26_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c34459cd8eeaa248d22aaeb6057d5507.jpg","text":"TemporaryFile(/tmp/multipartBody6709873061244351204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118813344,"filename":"image_20042025_01_22_56_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3cfced8e21641339f25692963d56d2de.jpg","text":"TemporaryFile(/tmp/multipartBody2863154695442991180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118813344,"filename":"image_20042025_01_22_36_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056625","file1":"1352056622","file0":"1352056619","file4":"1352056632","file5":"1352056635","file3":"1352056628"},"map_files_photo_id_array":[{"photo_id":"1352056635","filename":"file5"},{"photo_id":"1352056625","filename":"file2"},{"photo_id":"1352056632","filename":"file4"},{"photo_id":"1352056622","filename":"file1"},{"photo_id":"1352056619","filename":"file0"},{"photo_id":"1352056628","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056632":["hashtag1","hashtag2"]},{"1352056635":["hashtag1","hashtag2"]},{"1352056625":["hashtag1","hashtag2"]},{"1352056619":["hashtag1","hashtag2"]},{"1352056628":["hashtag1","hashtag2"]},{"1352056622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056632, 1352056635, 1352056625, 1352056619, 1352056628, 1352056622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69094729423523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:13:33.022589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_26_10481.jpg', '/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_36_9419.jpg', '/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_55_9374.jpg', '/home/pi/Desktop/images/20042025/01/23/image_20042025_01_24_06_10356.jpg', '/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_16_10417.jpg', '/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_26_10481.jpg
/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_36_9419.jpg
/home/pi/Desktop/images/20042025/01/23/image_20042025_01_23_55_9374.jpg
/home/pi/Desktop/images/20042025/01/23/image_20042025_01_24_06_10356.jpg
/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_16_10417.jpg
/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_25_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056654","1352056648","1352056642","1352056651","1352056645","1352056639"],"photo_ids_order":["1352056639","1352056642","1352056645","1352056648","1352056651","1352056654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1d8c6d09967c2cd371d174d23df35ed.jpg","text":"TemporaryFile(/tmp/multipartBody4143255813395745351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118873491,"filename":"image_20042025_01_24_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddd9673a7ac85e5bd143d14786f71ab9.jpg","text":"TemporaryFile(/tmp/multipartBody7026170328028029604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118873491,"filename":"image_20042025_01_24_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa4f311b360389138c19533fbf901a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7309749451822167363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118873491,"filename":"image_20042025_01_23_36_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e686682f9771713dae6b9f94452e91f.jpg","text":"TemporaryFile(/tmp/multipartBody7855779641030945340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118873491,"filename":"image_20042025_01_24_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1278c3fbcf5ea8664de828cbcb15f94.jpg","text":"TemporaryFile(/tmp/multipartBody8319526346945124816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118873491,"filename":"image_20042025_01_23_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a451914db315317a8f9911c3611d75c2.jpg","text":"TemporaryFile(/tmp/multipartBody122204053415502386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118873491,"filename":"image_20042025_01_23_26_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056645","file1":"1352056642","file0":"1352056639","file4":"1352056651","file5":"1352056654","file3":"1352056648"},"map_files_photo_id_array":[{"photo_id":"1352056654","filename":"file5"},{"photo_id":"1352056645","filename":"file2"},{"photo_id":"1352056651","filename":"file4"},{"photo_id":"1352056642","filename":"file1"},{"photo_id":"1352056639","filename":"file0"},{"photo_id":"1352056648","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056654":["hashtag1","hashtag2"]},{"1352056648":["hashtag1","hashtag2"]},{"1352056642":["hashtag1","hashtag2"]},{"1352056651":["hashtag1","hashtag2"]},{"1352056645":["hashtag1","hashtag2"]},{"1352056639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056654, 1352056648, 1352056642, 1352056651, 1352056645, 1352056639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.790143251419067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:14:32.308724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_36_10483.jpg', '/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_45_9361.jpg', '/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_56_10431.jpg', '/home/pi/Desktop/images/20042025/01/24/image_20042025_01_25_06_10438.jpg', '/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_16_9373.jpg', '/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_26_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_36_10483.jpg
/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_45_9361.jpg
/home/pi/Desktop/images/20042025/01/24/image_20042025_01_24_56_10431.jpg
/home/pi/Desktop/images/20042025/01/24/image_20042025_01_25_06_10438.jpg
/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_16_9373.jpg
/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_26_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056661","1352056672","1352056666","1352056675","1352056669","1352056663"],"photo_ids_order":["1352056661","1352056663","1352056666","1352056669","1352056672","1352056675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0e8becff32a6391bfb7f81857a56b45.jpg","text":"TemporaryFile(/tmp/multipartBody6781115534924816711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118932785,"filename":"image_20042025_01_24_36_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73c30ce123051c7843c00705c6bb6be4.jpg","text":"TemporaryFile(/tmp/multipartBody5868751701748469107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118932785,"filename":"image_20042025_01_25_16_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73d123861901e4faa9ce3137f1c8935e.jpg","text":"TemporaryFile(/tmp/multipartBody8364176483582245861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118932785,"filename":"image_20042025_01_24_56_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32e89f7d7f50754c4ca0720d23f104ce.jpg","text":"TemporaryFile(/tmp/multipartBody1362106816061107008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118932785,"filename":"image_20042025_01_25_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5258bbd583f4b63673c7f91b33de1e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4827867939802460613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118932785,"filename":"image_20042025_01_25_06_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf23c134485f96a76e0d7cb84452f7c2.jpg","text":"TemporaryFile(/tmp/multipartBody7950918998493869559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118932785,"filename":"image_20042025_01_24_45_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056666","file1":"1352056663","file0":"1352056661","file4":"1352056672","file5":"1352056675","file3":"1352056669"},"map_files_photo_id_array":[{"photo_id":"1352056675","filename":"file5"},{"photo_id":"1352056666","filename":"file2"},{"photo_id":"1352056672","filename":"file4"},{"photo_id":"1352056663","filename":"file1"},{"photo_id":"1352056661","filename":"file0"},{"photo_id":"1352056669","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056661":["hashtag1","hashtag2"]},{"1352056672":["hashtag1","hashtag2"]},{"1352056666":["hashtag1","hashtag2"]},{"1352056675":["hashtag1","hashtag2"]},{"1352056669":["hashtag1","hashtag2"]},{"1352056663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056661, 1352056672, 1352056666, 1352056675, 1352056669, 1352056663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.70042109489441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:15:32.625845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_35_9363.jpg', '/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_46_10381.jpg', '/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_56_10466.jpg', '/home/pi/Desktop/images/20042025/01/25/image_20042025_01_26_06_9348.jpg', '/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_25_9378.jpg', '/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_35_9363.jpg
/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_46_10381.jpg
/home/pi/Desktop/images/20042025/01/25/image_20042025_01_25_56_10466.jpg
/home/pi/Desktop/images/20042025/01/25/image_20042025_01_26_06_9348.jpg
/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_25_9378.jpg
/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056692","1352056694","1352056690","1352056693","1352056687","1352056689"],"photo_ids_order":["1352056687","1352056689","1352056690","1352056692","1352056693","1352056694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75b10137d655f7a63dc3e0fd24ea8252.jpg","text":"TemporaryFile(/tmp/multipartBody6073490064148788425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118993092,"filename":"image_20042025_01_26_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/753ec4c692c34c90402a963c3ecf12a9.jpg","text":"TemporaryFile(/tmp/multipartBody4208802173286831636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118993092,"filename":"image_20042025_01_26_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f33a6f1889c474e179915fa358eca604.jpg","text":"TemporaryFile(/tmp/multipartBody7753991205595497697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118993092,"filename":"image_20042025_01_25_56_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1980ed2ff338c32a6bfcfaa08f88af2e.jpg","text":"TemporaryFile(/tmp/multipartBody4148773829118629861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118993092,"filename":"image_20042025_01_26_25_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42e4adb7a884182183d01feb02fa5986.jpg","text":"TemporaryFile(/tmp/multipartBody5913422132725354109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118993092,"filename":"image_20042025_01_25_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a80869ee96158e5c96a17dc3d741814.jpg","text":"TemporaryFile(/tmp/multipartBody421672309519087377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745118993092,"filename":"image_20042025_01_25_46_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056690","file1":"1352056689","file0":"1352056687","file4":"1352056693","file5":"1352056694","file3":"1352056692"},"map_files_photo_id_array":[{"photo_id":"1352056694","filename":"file5"},{"photo_id":"1352056690","filename":"file2"},{"photo_id":"1352056693","filename":"file4"},{"photo_id":"1352056689","filename":"file1"},{"photo_id":"1352056687","filename":"file0"},{"photo_id":"1352056692","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056692":["hashtag1","hashtag2"]},{"1352056694":["hashtag1","hashtag2"]},{"1352056690":["hashtag1","hashtag2"]},{"1352056693":["hashtag1","hashtag2"]},{"1352056687":["hashtag1","hashtag2"]},{"1352056689":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056692, 1352056694, 1352056690, 1352056693, 1352056687, 1352056689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.41338849067688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:16:32.937319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_46_10415.jpg', '/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_55_9372.jpg', '/home/pi/Desktop/images/20042025/01/26/image_20042025_01_27_06_10424.jpg', '/home/pi/Desktop/images/20042025/01/27/image_20042025_01_27_15_9451.jpg', '/home/pi/Desktop/images/20042025/01/27/image_20042025_01_27_46_9445.jpg', '/home/pi/Desktop/images/20042025/01/27/image_20042025_01_27_56_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_46_10415.jpg
/home/pi/Desktop/images/20042025/01/26/image_20042025_01_26_55_9372.jpg
/home/pi/Desktop/images/20042025/01/26/image_20042025_01_27_06_10424.jpg
/home/pi/Desktop/images/20042025/01/27/image_20042025_01_27_15_9451.jpg
/home/pi/Desktop/images/20042025/01/27/image_20042025_01_27_46_9445.jpg
/home/pi/Desktop/images/20042025/01/27/image_20042025_01_27_56_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056712","1352056709","1352056703","1352056717","1352056705","1352056714"],"photo_ids_order":["1352056703","1352056705","1352056709","1352056712","1352056714","1352056717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/655c5b2667f6952a98d3a483bcf50d28.jpg","text":"TemporaryFile(/tmp/multipartBody6211129311569342882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119053416,"filename":"image_20042025_01_27_15_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b4a1e9262dd3bef682bc671aad3951f.jpg","text":"TemporaryFile(/tmp/multipartBody4327363143691191877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119053416,"filename":"image_20042025_01_27_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b0d7a9b94d3778a6d22b721c57d86da.jpg","text":"TemporaryFile(/tmp/multipartBody7977205986789850075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119053416,"filename":"image_20042025_01_26_46_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bae155bea7ddf676d8dafec3f4ae9ac.jpg","text":"TemporaryFile(/tmp/multipartBody2426452153544222748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119053416,"filename":"image_20042025_01_27_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/844578a8fc971e829df4e1b30f8d89fb.jpg","text":"TemporaryFile(/tmp/multipartBody928246218565483508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119053416,"filename":"image_20042025_01_26_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cb51b0b7268d5c9b0cb35e8ecf30f70.jpg","text":"TemporaryFile(/tmp/multipartBody2599682146752735198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119053416,"filename":"image_20042025_01_27_46_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056709","file1":"1352056705","file0":"1352056703","file4":"1352056714","file5":"1352056717","file3":"1352056712"},"map_files_photo_id_array":[{"photo_id":"1352056717","filename":"file5"},{"photo_id":"1352056709","filename":"file2"},{"photo_id":"1352056714","filename":"file4"},{"photo_id":"1352056705","filename":"file1"},{"photo_id":"1352056703","filename":"file0"},{"photo_id":"1352056712","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056712":["hashtag1","hashtag2"]},{"1352056709":["hashtag1","hashtag2"]},{"1352056703":["hashtag1","hashtag2"]},{"1352056717":["hashtag1","hashtag2"]},{"1352056705":["hashtag1","hashtag2"]},{"1352056714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056712, 1352056709, 1352056703, 1352056717, 1352056705, 1352056714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.598917961120605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:17:32.243408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/27/image_20042025_01_28_05_9338.jpg', '/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_16_10369.jpg', '/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_26_10366.jpg', '/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_35_9376.jpg', '/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_46_10466.jpg', '/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_55_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/27/image_20042025_01_28_05_9338.jpg
/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_16_10369.jpg
/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_26_10366.jpg
/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_35_9376.jpg
/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_46_10466.jpg
/home/pi/Desktop/images/20042025/01/28/image_20042025_01_28_55_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056743","1352056740","1352056737","1352056733","1352056735","1352056729"],"photo_ids_order":["1352056729","1352056733","1352056735","1352056737","1352056740","1352056743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0179725f146c8698d5cb27da242b592c.jpg","text":"TemporaryFile(/tmp/multipartBody1931325922154723562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119112732,"filename":"image_20042025_01_28_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2de11cf707b545678aa6bb877507a860.jpg","text":"TemporaryFile(/tmp/multipartBody2511661196386229476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119112732,"filename":"image_20042025_01_28_46_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5500e7d1ab44085d512f055b62cb35e.jpg","text":"TemporaryFile(/tmp/multipartBody5588786383398516215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119112732,"filename":"image_20042025_01_28_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b21c7790b835577ea0d689147ef5d07b.jpg","text":"TemporaryFile(/tmp/multipartBody15460504166027674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119112732,"filename":"image_20042025_01_28_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0771069fc1b6c6d1226360ccd35c0d44.jpg","text":"TemporaryFile(/tmp/multipartBody2375405502496209845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119112732,"filename":"image_20042025_01_28_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0660a32f96cd03dccb6f121869876fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8613358307777637997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119112732,"filename":"image_20042025_01_28_05_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056735","file1":"1352056733","file0":"1352056729","file4":"1352056740","file5":"1352056743","file3":"1352056737"},"map_files_photo_id_array":[{"photo_id":"1352056743","filename":"file5"},{"photo_id":"1352056735","filename":"file2"},{"photo_id":"1352056740","filename":"file4"},{"photo_id":"1352056733","filename":"file1"},{"photo_id":"1352056729","filename":"file0"},{"photo_id":"1352056737","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056743":["hashtag1","hashtag2"]},{"1352056740":["hashtag1","hashtag2"]},{"1352056737":["hashtag1","hashtag2"]},{"1352056733":["hashtag1","hashtag2"]},{"1352056735":["hashtag1","hashtag2"]},{"1352056729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056743, 1352056740, 1352056737, 1352056733, 1352056735, 1352056729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.028123140335083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:18:32.489825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/28/image_20042025_01_29_06_10410.jpg', '/home/pi/Desktop/images/20042025/01/29/image_20042025_01_29_36_10472.jpg', '/home/pi/Desktop/images/20042025/01/29/image_20042025_01_29_45_9355.jpg', '/home/pi/Desktop/images/20042025/01/29/image_20042025_01_29_56_10527.jpg', '/home/pi/Desktop/images/20042025/01/29/image_20042025_01_30_05_9376.jpg', '/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_15_10124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/28/image_20042025_01_29_06_10410.jpg
/home/pi/Desktop/images/20042025/01/29/image_20042025_01_29_36_10472.jpg
/home/pi/Desktop/images/20042025/01/29/image_20042025_01_29_45_9355.jpg
/home/pi/Desktop/images/20042025/01/29/image_20042025_01_29_56_10527.jpg
/home/pi/Desktop/images/20042025/01/29/image_20042025_01_30_05_9376.jpg
/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_15_10124.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056767","1352056769","1352056760","1352056765","1352056762","1352056756"],"photo_ids_order":["1352056756","1352056760","1352056762","1352056765","1352056767","1352056769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0090ab1d16d714674fbf86591469aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1816578422751165647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119172970,"filename":"image_20042025_01_30_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3137204a9754171a3d25495b4a2ad5ac.jpg","text":"TemporaryFile(/tmp/multipartBody2386160554886936836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119172970,"filename":"image_20042025_01_30_15_10124.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40e36ead55119cac9196614b7f35e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody7575680177003533016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119172970,"filename":"image_20042025_01_29_36_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67525ee05d3ffdd5a5d364c8b8510d99.jpg","text":"TemporaryFile(/tmp/multipartBody2658832387591973718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119172970,"filename":"image_20042025_01_29_56_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7981191e4e19b8f02e35e4971d121f0e.jpg","text":"TemporaryFile(/tmp/multipartBody9087985615429691992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119172970,"filename":"image_20042025_01_29_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20bb6319a187b5e6fc370744acf99aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6214940072594887942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119172970,"filename":"image_20042025_01_29_06_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056762","file1":"1352056760","file0":"1352056756","file4":"1352056767","file5":"1352056769","file3":"1352056765"},"map_files_photo_id_array":[{"photo_id":"1352056769","filename":"file5"},{"photo_id":"1352056762","filename":"file2"},{"photo_id":"1352056767","filename":"file4"},{"photo_id":"1352056760","filename":"file1"},{"photo_id":"1352056756","filename":"file0"},{"photo_id":"1352056765","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056767":["hashtag1","hashtag2"]},{"1352056769":["hashtag1","hashtag2"]},{"1352056760":["hashtag1","hashtag2"]},{"1352056765":["hashtag1","hashtag2"]},{"1352056762":["hashtag1","hashtag2"]},{"1352056756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056767, 1352056769, 1352056760, 1352056765, 1352056762, 1352056756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15510296821594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:19:32.634618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_26_10399.jpg', '/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_36_10457.jpg', '/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_56_10439.jpg', '/home/pi/Desktop/images/20042025/01/30/image_20042025_01_31_05_9343.jpg', '/home/pi/Desktop/images/20042025/01/31/image_20042025_01_31_16_10388.jpg', '/home/pi/Desktop/images/20042025/01/31/image_20042025_01_31_36_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_26_10399.jpg
/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_36_10457.jpg
/home/pi/Desktop/images/20042025/01/30/image_20042025_01_30_56_10439.jpg
/home/pi/Desktop/images/20042025/01/30/image_20042025_01_31_05_9343.jpg
/home/pi/Desktop/images/20042025/01/31/image_20042025_01_31_16_10388.jpg
/home/pi/Desktop/images/20042025/01/31/image_20042025_01_31_36_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056785","1352056787","1352056781","1352056778","1352056783","1352056789"],"photo_ids_order":["1352056778","1352056781","1352056783","1352056785","1352056787","1352056789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64a705d75d1f09ba43cf7a9efa69d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8820449559756467113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119233104,"filename":"image_20042025_01_31_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3cd024aa45eafbd3e111699012d8e12.jpg","text":"TemporaryFile(/tmp/multipartBody5438954869367247582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119233104,"filename":"image_20042025_01_31_16_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58ead2e79fd0a5a31f32d56c431d700c.jpg","text":"TemporaryFile(/tmp/multipartBody734213985477989101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119233104,"filename":"image_20042025_01_30_36_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e384402987828425097576f772d54cf.jpg","text":"TemporaryFile(/tmp/multipartBody562540121823698714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119233104,"filename":"image_20042025_01_30_26_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9335f5778c77ad06d1a6b6524310bd3d.jpg","text":"TemporaryFile(/tmp/multipartBody803873713883076566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119233104,"filename":"image_20042025_01_30_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c26544aa60ba33315d0e973449bc1d7f.jpg","text":"TemporaryFile(/tmp/multipartBody9125249717453604197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119233104,"filename":"image_20042025_01_31_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056783","file1":"1352056781","file0":"1352056778","file4":"1352056787","file5":"1352056789","file3":"1352056785"},"map_files_photo_id_array":[{"photo_id":"1352056789","filename":"file5"},{"photo_id":"1352056783","filename":"file2"},{"photo_id":"1352056787","filename":"file4"},{"photo_id":"1352056781","filename":"file1"},{"photo_id":"1352056778","filename":"file0"},{"photo_id":"1352056785","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056785":["hashtag1","hashtag2"]},{"1352056787":["hashtag1","hashtag2"]},{"1352056781":["hashtag1","hashtag2"]},{"1352056778":["hashtag1","hashtag2"]},{"1352056783":["hashtag1","hashtag2"]},{"1352056789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056785, 1352056787, 1352056781, 1352056778, 1352056783, 1352056789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2607741355896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:20:32.972054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/31/image_20042025_01_32_06_10365.jpg', '/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_16_10410.jpg', '/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_25_9432.jpg', '/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_45_9351.jpg', '/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_56_10378.jpg', '/home/pi/Desktop/images/20042025/01/32/image_20042025_01_33_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/31/image_20042025_01_32_06_10365.jpg
/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_16_10410.jpg
/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_25_9432.jpg
/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_45_9351.jpg
/home/pi/Desktop/images/20042025/01/32/image_20042025_01_32_56_10378.jpg
/home/pi/Desktop/images/20042025/01/32/image_20042025_01_33_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056815","1352056805","1352056801","1352056810","1352056813","1352056797"],"photo_ids_order":["1352056797","1352056801","1352056805","1352056810","1352056813","1352056815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/161da23a3b14236aecf910dacaa03a32.jpg","text":"TemporaryFile(/tmp/multipartBody5532465862096405925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119293445,"filename":"image_20042025_01_33_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e138ce6bbb4a6cef75ff53aed22be13b.jpg","text":"TemporaryFile(/tmp/multipartBody4333751639007598053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119293445,"filename":"image_20042025_01_32_25_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e268868e0af95624d51dc14c9c7718f6.jpg","text":"TemporaryFile(/tmp/multipartBody5222039419275778602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119293445,"filename":"image_20042025_01_32_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc478da6cc3190a82ed63d18d4b3caa8.jpg","text":"TemporaryFile(/tmp/multipartBody9087698341568018605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119293445,"filename":"image_20042025_01_32_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ac729489f2a675125ad87cd422cd5be.jpg","text":"TemporaryFile(/tmp/multipartBody3064139847695443074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119293445,"filename":"image_20042025_01_32_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e74565477504af8a6a2a058d3ba4924.jpg","text":"TemporaryFile(/tmp/multipartBody8977051064222030201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119293445,"filename":"image_20042025_01_32_06_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056805","file1":"1352056801","file0":"1352056797","file4":"1352056813","file5":"1352056815","file3":"1352056810"},"map_files_photo_id_array":[{"photo_id":"1352056815","filename":"file5"},{"photo_id":"1352056805","filename":"file2"},{"photo_id":"1352056813","filename":"file4"},{"photo_id":"1352056801","filename":"file1"},{"photo_id":"1352056797","filename":"file0"},{"photo_id":"1352056810","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056815":["hashtag1","hashtag2"]},{"1352056805":["hashtag1","hashtag2"]},{"1352056801":["hashtag1","hashtag2"]},{"1352056810":["hashtag1","hashtag2"]},{"1352056813":["hashtag1","hashtag2"]},{"1352056797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056815, 1352056805, 1352056801, 1352056810, 1352056813, 1352056797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67451882362366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:21:33.269223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_15_9364.jpg', '/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_26_10365.jpg', '/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_36_10469.jpg', '/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_46_9360.jpg', '/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_56_10438.jpg', '/home/pi/Desktop/images/20042025/01/33/image_20042025_01_34_05_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_15_9364.jpg
/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_26_10365.jpg
/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_36_10469.jpg
/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_46_9360.jpg
/home/pi/Desktop/images/20042025/01/33/image_20042025_01_33_56_10438.jpg
/home/pi/Desktop/images/20042025/01/33/image_20042025_01_34_05_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056830","1352056833","1352056838","1352056829","1352056831","1352056840"],"photo_ids_order":["1352056829","1352056830","1352056831","1352056833","1352056838","1352056840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdc358a463baf2738d800185a2b56556.jpg","text":"TemporaryFile(/tmp/multipartBody599095104910832878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119353752,"filename":"image_20042025_01_33_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f91cdb53130c17eea901aaf66d328303.jpg","text":"TemporaryFile(/tmp/multipartBody3913550823890724135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119353752,"filename":"image_20042025_01_33_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60853f1a69a6570c935dbb089c16a3b5.jpg","text":"TemporaryFile(/tmp/multipartBody7036763629228536069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119353752,"filename":"image_20042025_01_33_56_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3cdef51b499c4d85b8d5c13016d8702.jpg","text":"TemporaryFile(/tmp/multipartBody4288628677322322294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119353752,"filename":"image_20042025_01_33_15_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f91c56940a655b2d2098d6139ebe289b.jpg","text":"TemporaryFile(/tmp/multipartBody604236501104758778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119353752,"filename":"image_20042025_01_33_36_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0571338d531ccb8f4c07cfbe7ee2a57a.jpg","text":"TemporaryFile(/tmp/multipartBody3268899069745790253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119353752,"filename":"image_20042025_01_34_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056831","file1":"1352056830","file0":"1352056829","file4":"1352056838","file5":"1352056840","file3":"1352056833"},"map_files_photo_id_array":[{"photo_id":"1352056840","filename":"file5"},{"photo_id":"1352056831","filename":"file2"},{"photo_id":"1352056838","filename":"file4"},{"photo_id":"1352056830","filename":"file1"},{"photo_id":"1352056829","filename":"file0"},{"photo_id":"1352056833","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056830":["hashtag1","hashtag2"]},{"1352056833":["hashtag1","hashtag2"]},{"1352056838":["hashtag1","hashtag2"]},{"1352056829":["hashtag1","hashtag2"]},{"1352056831":["hashtag1","hashtag2"]},{"1352056840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056830, 1352056833, 1352056838, 1352056829, 1352056831, 1352056840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06378936767578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:22:32.460991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_16_10380.jpg', '/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_26_10385.jpg', '/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_35_9352.jpg', '/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_46_10413.jpg', '/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_55_9368.jpg', '/home/pi/Desktop/images/20042025/01/34/image_20042025_01_35_06_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_16_10380.jpg
/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_26_10385.jpg
/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_35_9352.jpg
/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_46_10413.jpg
/home/pi/Desktop/images/20042025/01/34/image_20042025_01_34_55_9368.jpg
/home/pi/Desktop/images/20042025/01/34/image_20042025_01_35_06_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056899","1352056890","1352056902","1352056894","1352056885","1352056903"],"photo_ids_order":["1352056885","1352056890","1352056894","1352056899","1352056902","1352056903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b5440558895e011aa702eee69643a87.jpg","text":"TemporaryFile(/tmp/multipartBody5938140866095113481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119413082,"filename":"image_20042025_01_34_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac3d75c8fa6e54cea038073c7afb50fe.jpg","text":"TemporaryFile(/tmp/multipartBody2576528934759562470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119413082,"filename":"image_20042025_01_34_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dac754f5c7c1c1eafdeafbcc9e227ec.jpg","text":"TemporaryFile(/tmp/multipartBody240450921439214364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119413082,"filename":"image_20042025_01_34_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/28cc9eea86bcbe71da5c9d6a75611158.jpg","text":"TemporaryFile(/tmp/multipartBody8605880555619804899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119413082,"filename":"image_20042025_01_34_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac5fd5eba05fca9fac3787914b3a5228.jpg","text":"TemporaryFile(/tmp/multipartBody7217532220727633585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119413082,"filename":"image_20042025_01_34_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d63fd54a775bc242b58f86dee95bc3f.jpg","text":"TemporaryFile(/tmp/multipartBody4011545062981239105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119413082,"filename":"image_20042025_01_35_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056894","file1":"1352056890","file0":"1352056885","file4":"1352056902","file5":"1352056903","file3":"1352056899"},"map_files_photo_id_array":[{"photo_id":"1352056903","filename":"file5"},{"photo_id":"1352056894","filename":"file2"},{"photo_id":"1352056902","filename":"file4"},{"photo_id":"1352056890","filename":"file1"},{"photo_id":"1352056885","filename":"file0"},{"photo_id":"1352056899","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056899":["hashtag1","hashtag2"]},{"1352056890":["hashtag1","hashtag2"]},{"1352056902":["hashtag1","hashtag2"]},{"1352056894":["hashtag1","hashtag2"]},{"1352056885":["hashtag1","hashtag2"]},{"1352056903":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056899, 1352056890, 1352056902, 1352056894, 1352056885, 1352056903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.723400831222534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:23:32.730595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_16_10368.jpg', '/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_25_9347.jpg', '/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_36_10363.jpg', '/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_46_10376.jpg', '/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_55_9347.jpg', '/home/pi/Desktop/images/20042025/01/35/image_20042025_01_36_06_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_16_10368.jpg
/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_25_9347.jpg
/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_36_10363.jpg
/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_46_10376.jpg
/home/pi/Desktop/images/20042025/01/35/image_20042025_01_35_55_9347.jpg
/home/pi/Desktop/images/20042025/01/35/image_20042025_01_36_06_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056923","1352056916","1352056925","1352056913","1352056921","1352056918"],"photo_ids_order":["1352056913","1352056916","1352056918","1352056921","1352056923","1352056925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be18b20eed8008d8414f45fb813c610e.jpg","text":"TemporaryFile(/tmp/multipartBody6907714317549893347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119473225,"filename":"image_20042025_01_35_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d60b041e824a4ead76b578f0ab4172e4.jpg","text":"TemporaryFile(/tmp/multipartBody8185817767675936297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119473225,"filename":"image_20042025_01_35_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f635ac585f01fc169eb2c2be25468bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4599398614343459025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119473225,"filename":"image_20042025_01_36_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e365e08a244850be0b17da228dfecab2.jpg","text":"TemporaryFile(/tmp/multipartBody2445399813275926906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119473225,"filename":"image_20042025_01_35_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0cc982ecc1705921ca318d82b7036d1.jpg","text":"TemporaryFile(/tmp/multipartBody7045205204722744942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119473225,"filename":"image_20042025_01_35_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77b59e3b58398d1518ea5d0d3bafc9c9.jpg","text":"TemporaryFile(/tmp/multipartBody2432084889095441630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119473225,"filename":"image_20042025_01_35_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056918","file1":"1352056916","file0":"1352056913","file4":"1352056923","file5":"1352056925","file3":"1352056921"},"map_files_photo_id_array":[{"photo_id":"1352056925","filename":"file5"},{"photo_id":"1352056918","filename":"file2"},{"photo_id":"1352056923","filename":"file4"},{"photo_id":"1352056916","filename":"file1"},{"photo_id":"1352056913","filename":"file0"},{"photo_id":"1352056921","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056923":["hashtag1","hashtag2"]},{"1352056916":["hashtag1","hashtag2"]},{"1352056925":["hashtag1","hashtag2"]},{"1352056913":["hashtag1","hashtag2"]},{"1352056921":["hashtag1","hashtag2"]},{"1352056918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056923, 1352056916, 1352056925, 1352056913, 1352056921, 1352056918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.947154998779297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:24:32.885948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_16_10404.jpg', '/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_26_9368.jpg', '/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_36_10420.jpg', '/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_45_9358.jpg', '/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_56_10410.jpg', '/home/pi/Desktop/images/20042025/01/36/image_20042025_01_37_06_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_16_10404.jpg
/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_26_9368.jpg
/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_36_10420.jpg
/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_45_9358.jpg
/home/pi/Desktop/images/20042025/01/36/image_20042025_01_36_56_10410.jpg
/home/pi/Desktop/images/20042025/01/36/image_20042025_01_37_06_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056953","1352056947","1352056949","1352056940","1352056951","1352056945"],"photo_ids_order":["1352056940","1352056945","1352056947","1352056949","1352056951","1352056953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4cf38913c4f837ecc60c288f5d7a71e.jpg","text":"TemporaryFile(/tmp/multipartBody905828450323668684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119533375,"filename":"image_20042025_01_37_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc5a35999e02cae92b466681938e5539.jpg","text":"TemporaryFile(/tmp/multipartBody262894473640018472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119533375,"filename":"image_20042025_01_36_36_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/172741ec7a23f7a81a0e24b48ef7797d.jpg","text":"TemporaryFile(/tmp/multipartBody8688090211030750689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119533375,"filename":"image_20042025_01_36_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5787f2648ff693d0014f029a0be67d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7335189741749268608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119533375,"filename":"image_20042025_01_36_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e50bee19bd497b0d7a0bb2638bfa1195.jpg","text":"TemporaryFile(/tmp/multipartBody8274827467917829462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119533375,"filename":"image_20042025_01_36_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/586bb17413b47f3347dbe6b1ababf95b.jpg","text":"TemporaryFile(/tmp/multipartBody5638889964557578255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119533375,"filename":"image_20042025_01_36_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056947","file1":"1352056945","file0":"1352056940","file4":"1352056951","file5":"1352056953","file3":"1352056949"},"map_files_photo_id_array":[{"photo_id":"1352056953","filename":"file5"},{"photo_id":"1352056947","filename":"file2"},{"photo_id":"1352056951","filename":"file4"},{"photo_id":"1352056945","filename":"file1"},{"photo_id":"1352056940","filename":"file0"},{"photo_id":"1352056949","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056953":["hashtag1","hashtag2"]},{"1352056947":["hashtag1","hashtag2"]},{"1352056949":["hashtag1","hashtag2"]},{"1352056940":["hashtag1","hashtag2"]},{"1352056951":["hashtag1","hashtag2"]},{"1352056945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056953, 1352056947, 1352056949, 1352056940, 1352056951, 1352056945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.673524618148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:25:33.141402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_16_9424.jpg', '/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_26_10450.jpg', '/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_35_9360.jpg', '/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_46_10367.jpg', '/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_56_10440.jpg', '/home/pi/Desktop/images/20042025/01/37/image_20042025_01_38_06_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_16_9424.jpg
/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_26_10450.jpg
/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_35_9360.jpg
/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_46_10367.jpg
/home/pi/Desktop/images/20042025/01/37/image_20042025_01_37_56_10440.jpg
/home/pi/Desktop/images/20042025/01/37/image_20042025_01_38_06_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056971","1352056979","1352056973","1352056981","1352056966","1352056969"],"photo_ids_order":["1352056966","1352056969","1352056971","1352056973","1352056979","1352056981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2df6bd515745d4a281d8d954201b02c.jpg","text":"TemporaryFile(/tmp/multipartBody8244656409753086157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119593616,"filename":"image_20042025_01_37_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42bd69cad19c4f93af59da38174c46ae.jpg","text":"TemporaryFile(/tmp/multipartBody8421479834597450199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119593616,"filename":"image_20042025_01_37_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbf30a4511e4b1029abdc1734e5fcce1.jpg","text":"TemporaryFile(/tmp/multipartBody4407281150604074311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119593616,"filename":"image_20042025_01_37_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0659293361b3b4f3556ad08bff8f781.jpg","text":"TemporaryFile(/tmp/multipartBody4003377527928838288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119593616,"filename":"image_20042025_01_38_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7346b0b38513c37d7ed339c254c06e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5698829633298751886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119593616,"filename":"image_20042025_01_37_16_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fa3efed176faa9b129af1086d9e65d5.jpg","text":"TemporaryFile(/tmp/multipartBody5247323610843385634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119593616,"filename":"image_20042025_01_37_26_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056971","file1":"1352056969","file0":"1352056966","file4":"1352056979","file5":"1352056981","file3":"1352056973"},"map_files_photo_id_array":[{"photo_id":"1352056981","filename":"file5"},{"photo_id":"1352056971","filename":"file2"},{"photo_id":"1352056979","filename":"file4"},{"photo_id":"1352056969","filename":"file1"},{"photo_id":"1352056966","filename":"file0"},{"photo_id":"1352056973","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352056971":["hashtag1","hashtag2"]},{"1352056979":["hashtag1","hashtag2"]},{"1352056973":["hashtag1","hashtag2"]},{"1352056981":["hashtag1","hashtag2"]},{"1352056966":["hashtag1","hashtag2"]},{"1352056969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352056971, 1352056979, 1352056973, 1352056981, 1352056966, 1352056969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13327717781067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:26:32.365997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_16_10480.jpg', '/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_25_9365.jpg', '/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_36_10373.jpg', '/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_46_10391.jpg', '/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_56_9363.jpg', '/home/pi/Desktop/images/20042025/01/38/image_20042025_01_39_06_10496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_16_10480.jpg
/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_25_9365.jpg
/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_36_10373.jpg
/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_46_10391.jpg
/home/pi/Desktop/images/20042025/01/38/image_20042025_01_38_56_9363.jpg
/home/pi/Desktop/images/20042025/01/38/image_20042025_01_39_06_10496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057031","1352057033","1352057021","1352057024","1352057027","1352057029"],"photo_ids_order":["1352057021","1352057024","1352057027","1352057029","1352057031","1352057033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4daa8501cc1ee2f1f3992925caed5c55.jpg","text":"TemporaryFile(/tmp/multipartBody4034247271080263553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119652839,"filename":"image_20042025_01_38_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fbe7d6baa0f2ddae3d71d3f0ace95ed.jpg","text":"TemporaryFile(/tmp/multipartBody2047933897820898853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119652839,"filename":"image_20042025_01_39_06_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d09d97af509aaa7515b8abb646ba5c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7716920828736377056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119652839,"filename":"image_20042025_01_38_16_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc009531dfa333aef57083610e8b474f.jpg","text":"TemporaryFile(/tmp/multipartBody1782429309058073477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119652839,"filename":"image_20042025_01_38_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2cd1314231036d44e2edb2996b0dfdf9.jpg","text":"TemporaryFile(/tmp/multipartBody3983996818419039744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119652839,"filename":"image_20042025_01_38_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d18263b7bec27e30ee8c90616022f1af.jpg","text":"TemporaryFile(/tmp/multipartBody4188870193955920622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119652839,"filename":"image_20042025_01_38_46_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057027","file1":"1352057024","file0":"1352057021","file4":"1352057031","file5":"1352057033","file3":"1352057029"},"map_files_photo_id_array":[{"photo_id":"1352057033","filename":"file5"},{"photo_id":"1352057027","filename":"file2"},{"photo_id":"1352057031","filename":"file4"},{"photo_id":"1352057024","filename":"file1"},{"photo_id":"1352057021","filename":"file0"},{"photo_id":"1352057029","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057031":["hashtag1","hashtag2"]},{"1352057033":["hashtag1","hashtag2"]},{"1352057021":["hashtag1","hashtag2"]},{"1352057024":["hashtag1","hashtag2"]},{"1352057027":["hashtag1","hashtag2"]},{"1352057029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057031, 1352057033, 1352057021, 1352057024, 1352057027, 1352057029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55770993232727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:27:32.557515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_15_9345.jpg', '/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_26_10365.jpg', '/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_36_10462.jpg', '/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_46_9525.jpg', '/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_56_10374.jpg', '/home/pi/Desktop/images/20042025/01/39/image_20042025_01_40_05_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_15_9345.jpg
/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_26_10365.jpg
/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_36_10462.jpg
/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_46_9525.jpg
/home/pi/Desktop/images/20042025/01/39/image_20042025_01_39_56_10374.jpg
/home/pi/Desktop/images/20042025/01/39/image_20042025_01_40_05_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057052","1352057054","1352057057","1352057044","1352057047","1352057041"],"photo_ids_order":["1352057041","1352057044","1352057047","1352057052","1352057054","1352057057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/772f291a623831b0e4eb5f500dffa7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7070472720687451148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119713029,"filename":"image_20042025_01_39_46_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d4bf210a1bbc6657aee70aec7362c04.jpg","text":"TemporaryFile(/tmp/multipartBody7551372309703378103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119713029,"filename":"image_20042025_01_39_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0101846ec68dc897fa645a6f38e3f00.jpg","text":"TemporaryFile(/tmp/multipartBody7809191259318605646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119713029,"filename":"image_20042025_01_40_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b71e1c1b098ad708ec8e0980011f4a64.jpg","text":"TemporaryFile(/tmp/multipartBody1859948273448327633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119713029,"filename":"image_20042025_01_39_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/923193f7f211356aed5839ac59b2a3f0.jpg","text":"TemporaryFile(/tmp/multipartBody3064341369440997106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119713029,"filename":"image_20042025_01_39_36_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69e3d0e16da00b6a15c9c4153986379b.jpg","text":"TemporaryFile(/tmp/multipartBody1706072935403661413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119713029,"filename":"image_20042025_01_39_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057047","file1":"1352057044","file0":"1352057041","file4":"1352057054","file5":"1352057057","file3":"1352057052"},"map_files_photo_id_array":[{"photo_id":"1352057057","filename":"file5"},{"photo_id":"1352057047","filename":"file2"},{"photo_id":"1352057054","filename":"file4"},{"photo_id":"1352057044","filename":"file1"},{"photo_id":"1352057041","filename":"file0"},{"photo_id":"1352057052","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057052":["hashtag1","hashtag2"]},{"1352057054":["hashtag1","hashtag2"]},{"1352057057":["hashtag1","hashtag2"]},{"1352057044":["hashtag1","hashtag2"]},{"1352057047":["hashtag1","hashtag2"]},{"1352057041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057052, 1352057054, 1352057057, 1352057044, 1352057047, 1352057041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.94366216659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:28:32.875141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_16_10559.jpg', '/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_25_9360.jpg', '/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_36_10359.jpg', '/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_46_10384.jpg', '/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_55_9351.jpg', '/home/pi/Desktop/images/20042025/01/40/image_20042025_01_41_06_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_16_10559.jpg
/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_25_9360.jpg
/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_36_10359.jpg
/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_46_10384.jpg
/home/pi/Desktop/images/20042025/01/40/image_20042025_01_40_55_9351.jpg
/home/pi/Desktop/images/20042025/01/40/image_20042025_01_41_06_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057078","1352057080","1352057074","1352057071","1352057082","1352057076"],"photo_ids_order":["1352057071","1352057074","1352057076","1352057078","1352057080","1352057082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/531f3714f4a9d4ff3e9364599fd12bba.jpg","text":"TemporaryFile(/tmp/multipartBody560016563738668061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119773367,"filename":"image_20042025_01_40_46_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8971999fcf8751d1edb74b53e3e5c82.jpg","text":"TemporaryFile(/tmp/multipartBody8317342568278710054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119773367,"filename":"image_20042025_01_40_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9d02c36f079db946f6f033a91df5493.jpg","text":"TemporaryFile(/tmp/multipartBody6386990400639538694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119773367,"filename":"image_20042025_01_40_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf645e3ee182cc4479fb16eb87d09a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2623985912483556571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119773367,"filename":"image_20042025_01_40_16_10559.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90d87b5a2f32ea3bb8bab83063a9e0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7436091561554464631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119773367,"filename":"image_20042025_01_41_06_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98001716ad1c7600edf2d610a68c8d56.jpg","text":"TemporaryFile(/tmp/multipartBody7495200908179839209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119773367,"filename":"image_20042025_01_40_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057076","file1":"1352057074","file0":"1352057071","file4":"1352057080","file5":"1352057082","file3":"1352057078"},"map_files_photo_id_array":[{"photo_id":"1352057082","filename":"file5"},{"photo_id":"1352057076","filename":"file2"},{"photo_id":"1352057080","filename":"file4"},{"photo_id":"1352057074","filename":"file1"},{"photo_id":"1352057071","filename":"file0"},{"photo_id":"1352057078","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057078":["hashtag1","hashtag2"]},{"1352057080":["hashtag1","hashtag2"]},{"1352057074":["hashtag1","hashtag2"]},{"1352057071":["hashtag1","hashtag2"]},{"1352057082":["hashtag1","hashtag2"]},{"1352057076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057078, 1352057080, 1352057074, 1352057071, 1352057082, 1352057076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.61597204208374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:29:33.080230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_16_9670.jpg', '/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_26_10479.jpg', '/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_35_9344.jpg', '/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_46_10374.jpg', '/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_56_10423.jpg', '/home/pi/Desktop/images/20042025/01/41/image_20042025_01_42_06_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_16_9670.jpg
/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_26_10479.jpg
/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_35_9344.jpg
/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_46_10374.jpg
/home/pi/Desktop/images/20042025/01/41/image_20042025_01_41_56_10423.jpg
/home/pi/Desktop/images/20042025/01/41/image_20042025_01_42_06_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057106","1352057109","1352057099","1352057093","1352057111","1352057097"],"photo_ids_order":["1352057093","1352057097","1352057099","1352057106","1352057109","1352057111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fa4fc11015a0463b6c720bd2ba867d8.jpg","text":"TemporaryFile(/tmp/multipartBody4036057275009243825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119833543,"filename":"image_20042025_01_41_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b15cfc1efcee659fbf981757b2e71bad.jpg","text":"TemporaryFile(/tmp/multipartBody6180015976819535516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119833543,"filename":"image_20042025_01_41_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06a2a75130a02c9202600e5e8bf58511.jpg","text":"TemporaryFile(/tmp/multipartBody1920951414652000509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119833543,"filename":"image_20042025_01_41_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/740c03d85476ff2851d45fc54d60b423.jpg","text":"TemporaryFile(/tmp/multipartBody7284656438435676906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119833543,"filename":"image_20042025_01_41_16_9670.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/175da681fc2a049fe53b2110add74ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7367049648260803407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119833543,"filename":"image_20042025_01_42_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/743c400b0b00797cfa72bcef357a7599.jpg","text":"TemporaryFile(/tmp/multipartBody5799616814967307812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119833543,"filename":"image_20042025_01_41_26_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057099","file1":"1352057097","file0":"1352057093","file4":"1352057109","file5":"1352057111","file3":"1352057106"},"map_files_photo_id_array":[{"photo_id":"1352057111","filename":"file5"},{"photo_id":"1352057099","filename":"file2"},{"photo_id":"1352057109","filename":"file4"},{"photo_id":"1352057097","filename":"file1"},{"photo_id":"1352057093","filename":"file0"},{"photo_id":"1352057106","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057106":["hashtag1","hashtag2"]},{"1352057109":["hashtag1","hashtag2"]},{"1352057099":["hashtag1","hashtag2"]},{"1352057093":["hashtag1","hashtag2"]},{"1352057111":["hashtag1","hashtag2"]},{"1352057097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057106, 1352057109, 1352057099, 1352057093, 1352057111, 1352057097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.78964114189148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:30:32.290769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_16_10478.jpg', '/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_25_9353.jpg', '/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_36_10347.jpg', '/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_46_10450.jpg', '/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_56_9353.jpg', '/home/pi/Desktop/images/20042025/01/42/image_20042025_01_43_06_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_16_10478.jpg
/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_25_9353.jpg
/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_36_10347.jpg
/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_46_10450.jpg
/home/pi/Desktop/images/20042025/01/42/image_20042025_01_42_56_9353.jpg
/home/pi/Desktop/images/20042025/01/42/image_20042025_01_43_06_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057133","1352057135","1352057137","1352057131","1352057125","1352057128"],"photo_ids_order":["1352057125","1352057128","1352057131","1352057133","1352057135","1352057137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/527ddabb79ebb9f6584ba637d111d62b.jpg","text":"TemporaryFile(/tmp/multipartBody5112215813368975962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119892770,"filename":"image_20042025_01_42_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b80400c4259595e6829c0059d1bdaaa.jpg","text":"TemporaryFile(/tmp/multipartBody4496020669638970216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119892770,"filename":"image_20042025_01_42_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cab5cb1e32ef546db9361a8f9d212fe6.jpg","text":"TemporaryFile(/tmp/multipartBody493966296163426296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119892770,"filename":"image_20042025_01_43_06_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dc3d6d0549094d7a44c60ec5dc16362.jpg","text":"TemporaryFile(/tmp/multipartBody6727936464095759025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119892770,"filename":"image_20042025_01_42_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/689a17e9a9adc0ba6e6afdaa2ae6b07f.jpg","text":"TemporaryFile(/tmp/multipartBody5914063415068126202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119892770,"filename":"image_20042025_01_42_16_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce269a76fb56305c5e636f8dfbc09e60.jpg","text":"TemporaryFile(/tmp/multipartBody1117533374017393822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119892770,"filename":"image_20042025_01_42_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057131","file1":"1352057128","file0":"1352057125","file4":"1352057135","file5":"1352057137","file3":"1352057133"},"map_files_photo_id_array":[{"photo_id":"1352057137","filename":"file5"},{"photo_id":"1352057131","filename":"file2"},{"photo_id":"1352057135","filename":"file4"},{"photo_id":"1352057128","filename":"file1"},{"photo_id":"1352057125","filename":"file0"},{"photo_id":"1352057133","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057133":["hashtag1","hashtag2"]},{"1352057135":["hashtag1","hashtag2"]},{"1352057137":["hashtag1","hashtag2"]},{"1352057131":["hashtag1","hashtag2"]},{"1352057125":["hashtag1","hashtag2"]},{"1352057128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057133, 1352057135, 1352057137, 1352057131, 1352057125, 1352057128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91547393798828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:31:32.681108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_15_9354.jpg', '/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_26_10388.jpg', '/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_36_10359.jpg', '/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_45_9366.jpg', '/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_56_10529.jpg', '/home/pi/Desktop/images/20042025/01/43/image_20042025_01_44_05_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_15_9354.jpg
/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_26_10388.jpg
/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_36_10359.jpg
/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_45_9366.jpg
/home/pi/Desktop/images/20042025/01/43/image_20042025_01_43_56_10529.jpg
/home/pi/Desktop/images/20042025/01/43/image_20042025_01_44_05_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057151","1352057162","1352057147","1352057158","1352057160","1352057154"],"photo_ids_order":["1352057147","1352057151","1352057154","1352057158","1352057160","1352057162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d6d291b71a5f0cff14327ff5f7e3d16.jpg","text":"TemporaryFile(/tmp/multipartBody6856207930848435056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119953153,"filename":"image_20042025_01_43_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aacb239229569c8dbbb3f4cb36e6a3a8.jpg","text":"TemporaryFile(/tmp/multipartBody2206333955949157545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119953153,"filename":"image_20042025_01_44_05_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ab9da882062eae66a51c4c78a4b13d4.jpg","text":"TemporaryFile(/tmp/multipartBody2648288282193884258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119953153,"filename":"image_20042025_01_43_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b40756941d57168af2378092dfdd39e.jpg","text":"TemporaryFile(/tmp/multipartBody6934945129639341359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119953153,"filename":"image_20042025_01_43_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f5335c9efc1863df7720ca6ab161dab.jpg","text":"TemporaryFile(/tmp/multipartBody6947995566981395980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119953153,"filename":"image_20042025_01_43_56_10529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dfa93f57bf57b2fc990df9b2ae3d025.jpg","text":"TemporaryFile(/tmp/multipartBody2118792744591193505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745119953153,"filename":"image_20042025_01_43_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057154","file1":"1352057151","file0":"1352057147","file4":"1352057160","file5":"1352057162","file3":"1352057158"},"map_files_photo_id_array":[{"photo_id":"1352057162","filename":"file5"},{"photo_id":"1352057154","filename":"file2"},{"photo_id":"1352057160","filename":"file4"},{"photo_id":"1352057151","filename":"file1"},{"photo_id":"1352057147","filename":"file0"},{"photo_id":"1352057158","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057151":["hashtag1","hashtag2"]},{"1352057162":["hashtag1","hashtag2"]},{"1352057147":["hashtag1","hashtag2"]},{"1352057158":["hashtag1","hashtag2"]},{"1352057160":["hashtag1","hashtag2"]},{"1352057154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057151, 1352057162, 1352057147, 1352057158, 1352057160, 1352057154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.64176917076111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:32:32.838483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_16_10373.jpg', '/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_26_10379.jpg', '/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_36_9362.jpg', '/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_46_10429.jpg', '/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_55_9363.jpg', '/home/pi/Desktop/images/20042025/01/44/image_20042025_01_45_06_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_16_10373.jpg
/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_26_10379.jpg
/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_36_9362.jpg
/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_46_10429.jpg
/home/pi/Desktop/images/20042025/01/44/image_20042025_01_44_55_9363.jpg
/home/pi/Desktop/images/20042025/01/44/image_20042025_01_45_06_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057183","1352057177","1352057173","1352057179","1352057181","1352057175"],"photo_ids_order":["1352057173","1352057175","1352057177","1352057179","1352057181","1352057183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aed8ac5a569ad96015fce6e2d1507b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5731824061037109161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120013303,"filename":"image_20042025_01_45_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30074951306c25211708e8fca4ea9b24.jpg","text":"TemporaryFile(/tmp/multipartBody4337740190825191031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120013303,"filename":"image_20042025_01_44_36_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/943d38a66d53bbaae92a22b3e7400623.jpg","text":"TemporaryFile(/tmp/multipartBody5964424600417309446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120013303,"filename":"image_20042025_01_44_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/353540004774de819c8ed5b2c917fa81.jpg","text":"TemporaryFile(/tmp/multipartBody9201374136548375746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120013303,"filename":"image_20042025_01_44_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fde4f3f7873d52a9e92bc51c111ce26.jpg","text":"TemporaryFile(/tmp/multipartBody5918948588754246464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120013303,"filename":"image_20042025_01_44_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/609b93cb1ac234faa32e5d4c97d058db.jpg","text":"TemporaryFile(/tmp/multipartBody1792661009635694538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120013303,"filename":"image_20042025_01_44_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057177","file1":"1352057175","file0":"1352057173","file4":"1352057181","file5":"1352057183","file3":"1352057179"},"map_files_photo_id_array":[{"photo_id":"1352057183","filename":"file5"},{"photo_id":"1352057177","filename":"file2"},{"photo_id":"1352057181","filename":"file4"},{"photo_id":"1352057175","filename":"file1"},{"photo_id":"1352057173","filename":"file0"},{"photo_id":"1352057179","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057183":["hashtag1","hashtag2"]},{"1352057177":["hashtag1","hashtag2"]},{"1352057173":["hashtag1","hashtag2"]},{"1352057179":["hashtag1","hashtag2"]},{"1352057181":["hashtag1","hashtag2"]},{"1352057175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057183, 1352057177, 1352057173, 1352057179, 1352057181, 1352057175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.223214387893677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:33:33.361327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_16_10373.jpg', '/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_25_9355.jpg', '/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_36_10410.jpg', '/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_45_9377.jpg', '/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_56_10375.jpg', '/home/pi/Desktop/images/20042025/01/45/image_20042025_01_46_06_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_16_10373.jpg
/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_25_9355.jpg
/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_36_10410.jpg
/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_45_9377.jpg
/home/pi/Desktop/images/20042025/01/45/image_20042025_01_45_56_10375.jpg
/home/pi/Desktop/images/20042025/01/45/image_20042025_01_46_06_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057202","1352057198","1352057204","1352057196","1352057200","1352057193"],"photo_ids_order":["1352057193","1352057196","1352057198","1352057200","1352057202","1352057204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d232d820ca97c1a90d5b81d672b4a76.jpg","text":"TemporaryFile(/tmp/multipartBody1531396104673759272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120073840,"filename":"image_20042025_01_45_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5af3fc882caa1d4554c0a3a351bf67de.jpg","text":"TemporaryFile(/tmp/multipartBody4053150050713983663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120073840,"filename":"image_20042025_01_45_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/023f630c1464057feeefc4b6c4853af0.jpg","text":"TemporaryFile(/tmp/multipartBody1854512786332593697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120073840,"filename":"image_20042025_01_46_06_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69aa8641f429d0f6e0905b477fa3dae0.jpg","text":"TemporaryFile(/tmp/multipartBody5510624339441480810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120073840,"filename":"image_20042025_01_45_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76840141f5ff050f6486c19a2f8364ec.jpg","text":"TemporaryFile(/tmp/multipartBody1853627271603356460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120073840,"filename":"image_20042025_01_45_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d22b83eb1a00d02a00d969426a8ef838.jpg","text":"TemporaryFile(/tmp/multipartBody2976447520474423088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120073840,"filename":"image_20042025_01_45_16_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057198","file1":"1352057196","file0":"1352057193","file4":"1352057202","file5":"1352057204","file3":"1352057200"},"map_files_photo_id_array":[{"photo_id":"1352057204","filename":"file5"},{"photo_id":"1352057198","filename":"file2"},{"photo_id":"1352057202","filename":"file4"},{"photo_id":"1352057196","filename":"file1"},{"photo_id":"1352057193","filename":"file0"},{"photo_id":"1352057200","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057202":["hashtag1","hashtag2"]},{"1352057198":["hashtag1","hashtag2"]},{"1352057204":["hashtag1","hashtag2"]},{"1352057196":["hashtag1","hashtag2"]},{"1352057200":["hashtag1","hashtag2"]},{"1352057193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057202, 1352057198, 1352057204, 1352057196, 1352057200, 1352057193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.70694375038147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:34:32.441196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_15_9353.jpg', '/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_26_10447.jpg', '/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_35_9352.jpg', '/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_46_10447.jpg', '/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_56_10369.jpg', '/home/pi/Desktop/images/20042025/01/46/image_20042025_01_47_05_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_15_9353.jpg
/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_26_10447.jpg
/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_35_9352.jpg
/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_46_10447.jpg
/home/pi/Desktop/images/20042025/01/46/image_20042025_01_46_56_10369.jpg
/home/pi/Desktop/images/20042025/01/46/image_20042025_01_47_05_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057226","1352057214","1352057222","1352057216","1352057219","1352057224"],"photo_ids_order":["1352057214","1352057216","1352057219","1352057222","1352057224","1352057226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/684def86366241adb75fc0a05d023fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6208243948917924830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120132925,"filename":"image_20042025_01_47_05_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1ff959998029f4e7ac3402ff0941da5.jpg","text":"TemporaryFile(/tmp/multipartBody6645155244727567872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120132925,"filename":"image_20042025_01_46_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64d4f1afbdf51e7d94926fbd8fdd5925.jpg","text":"TemporaryFile(/tmp/multipartBody6732014141997660225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120132925,"filename":"image_20042025_01_46_46_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d38589fa20acabbc2036fa871b98b7ed.jpg","text":"TemporaryFile(/tmp/multipartBody1420433201778185325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120132925,"filename":"image_20042025_01_46_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb7b0186d07e16f46c7c9da2c86ceedc.jpg","text":"TemporaryFile(/tmp/multipartBody4442535680118586466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120132925,"filename":"image_20042025_01_46_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7245bd7df6c86dcd2a18907ebe2bd17.jpg","text":"TemporaryFile(/tmp/multipartBody1874630459606932338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120132925,"filename":"image_20042025_01_46_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057219","file1":"1352057216","file0":"1352057214","file4":"1352057224","file5":"1352057226","file3":"1352057222"},"map_files_photo_id_array":[{"photo_id":"1352057226","filename":"file5"},{"photo_id":"1352057219","filename":"file2"},{"photo_id":"1352057224","filename":"file4"},{"photo_id":"1352057216","filename":"file1"},{"photo_id":"1352057214","filename":"file0"},{"photo_id":"1352057222","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057226":["hashtag1","hashtag2"]},{"1352057214":["hashtag1","hashtag2"]},{"1352057222":["hashtag1","hashtag2"]},{"1352057216":["hashtag1","hashtag2"]},{"1352057219":["hashtag1","hashtag2"]},{"1352057224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057226, 1352057214, 1352057222, 1352057216, 1352057219, 1352057224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69813275337219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:35:32.852864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_16_10476.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_25_9379.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_36_10367.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_46_10436.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_56_9365.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_48_06_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_16_10476.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_25_9379.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_36_10367.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_46_10436.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_56_9365.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_48_06_10414.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4098987579345703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 05:35:42.730771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_16_10476.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_25_9379.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_36_10367.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_46_10436.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_56_9365.jpg', '/home/pi/Desktop/images/20042025/01/47/image_20042025_01_48_06_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_16_10476.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_25_9379.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_36_10367.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_46_10436.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_47_56_9365.jpg
/home/pi/Desktop/images/20042025/01/47/image_20042025_01_48_06_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057244","1352057246","1352057240","1352057242","1352057245","1352057248"],"photo_ids_order":["1352057240","1352057242","1352057244","1352057245","1352057246","1352057248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/597411f6e70565b07bb9f43b71b6e061.jpg","text":"TemporaryFile(/tmp/multipartBody5787342167116563441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120203195,"filename":"image_20042025_01_47_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/110fec3e9db7fcae0dc55598f35be4b0.jpg","text":"TemporaryFile(/tmp/multipartBody7487431928376552115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120203195,"filename":"image_20042025_01_47_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c213134c9c91c0e74550caf14a7cbb74.jpg","text":"TemporaryFile(/tmp/multipartBody5347290171562573324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120203195,"filename":"image_20042025_01_47_16_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fb8a1a3a31029078306d9bbd5ec3b1a.jpg","text":"TemporaryFile(/tmp/multipartBody984029702230568821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120203195,"filename":"image_20042025_01_47_25_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85f7fc698da5deae375928fc3d1a153e.jpg","text":"TemporaryFile(/tmp/multipartBody9174892196844877352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120203195,"filename":"image_20042025_01_47_46_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3026844a31dd2996b4b53edce38782bf.jpg","text":"TemporaryFile(/tmp/multipartBody772897845214951047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120203195,"filename":"image_20042025_01_48_06_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057244","file1":"1352057242","file0":"1352057240","file4":"1352057246","file5":"1352057248","file3":"1352057245"},"map_files_photo_id_array":[{"photo_id":"1352057248","filename":"file5"},{"photo_id":"1352057244","filename":"file2"},{"photo_id":"1352057246","filename":"file4"},{"photo_id":"1352057242","filename":"file1"},{"photo_id":"1352057240","filename":"file0"},{"photo_id":"1352057245","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057244":["hashtag1","hashtag2"]},{"1352057246":["hashtag1","hashtag2"]},{"1352057240":["hashtag1","hashtag2"]},{"1352057242":["hashtag1","hashtag2"]},{"1352057245":["hashtag1","hashtag2"]},{"1352057248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057244, 1352057246, 1352057240, 1352057242, 1352057245, 1352057248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.189976930618286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:36:33.157025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_15_9386.jpg', '/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_26_10365.jpg', '/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_36_10351.jpg', '/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_45_9355.jpg', '/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_56_10529.jpg', '/home/pi/Desktop/images/20042025/01/48/image_20042025_01_49_05_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_15_9386.jpg
/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_26_10365.jpg
/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_36_10351.jpg
/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_45_9355.jpg
/home/pi/Desktop/images/20042025/01/48/image_20042025_01_48_56_10529.jpg
/home/pi/Desktop/images/20042025/01/48/image_20042025_01_49_05_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057270","1352057264","1352057260","1352057263","1352057266","1352057268"],"photo_ids_order":["1352057260","1352057263","1352057264","1352057266","1352057268","1352057270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3684dddc56ec717ca48c4d8ee58a257.jpg","text":"TemporaryFile(/tmp/multipartBody8466298649000538403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120253616,"filename":"image_20042025_01_49_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fdc8167ce960bc65f735c1eca62ca5f.jpg","text":"TemporaryFile(/tmp/multipartBody5510160550454965236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120253616,"filename":"image_20042025_01_48_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c6e9ad77682ebe0717927956a1964f8.jpg","text":"TemporaryFile(/tmp/multipartBody8431078030013001624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120253616,"filename":"image_20042025_01_48_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88e3c7d7eb22e006d3120d5e25298d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7186287766339012327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120253616,"filename":"image_20042025_01_48_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3809a716e2c9f0ebb982a384f516b0d5.jpg","text":"TemporaryFile(/tmp/multipartBody998329858174860198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120253616,"filename":"image_20042025_01_48_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c7e96ebdec13c1124527f44fdbe8551.jpg","text":"TemporaryFile(/tmp/multipartBody373996168868153091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120253616,"filename":"image_20042025_01_48_56_10529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057264","file1":"1352057263","file0":"1352057260","file4":"1352057268","file5":"1352057270","file3":"1352057266"},"map_files_photo_id_array":[{"photo_id":"1352057270","filename":"file5"},{"photo_id":"1352057264","filename":"file2"},{"photo_id":"1352057268","filename":"file4"},{"photo_id":"1352057263","filename":"file1"},{"photo_id":"1352057260","filename":"file0"},{"photo_id":"1352057266","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057270":["hashtag1","hashtag2"]},{"1352057264":["hashtag1","hashtag2"]},{"1352057260":["hashtag1","hashtag2"]},{"1352057263":["hashtag1","hashtag2"]},{"1352057266":["hashtag1","hashtag2"]},{"1352057268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057270, 1352057264, 1352057260, 1352057263, 1352057266, 1352057268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.3921115398407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:37:32.620834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_16_10358.jpg', '/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_26_10391.jpg', '/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_35_9353.jpg', '/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_46_10376.jpg', '/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_56_10355.jpg', '/home/pi/Desktop/images/20042025/01/49/image_20042025_01_50_06_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_16_10358.jpg
/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_26_10391.jpg
/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_35_9353.jpg
/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_46_10376.jpg
/home/pi/Desktop/images/20042025/01/49/image_20042025_01_49_56_10355.jpg
/home/pi/Desktop/images/20042025/01/49/image_20042025_01_50_06_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057294","1352057288","1352057290","1352057283","1352057292","1352057286"],"photo_ids_order":["1352057283","1352057286","1352057288","1352057290","1352057292","1352057294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a97a232af4d8c26fc708e9b720315a4.jpg","text":"TemporaryFile(/tmp/multipartBody6211068292234291925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120313137,"filename":"image_20042025_01_50_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17fa7b8c6ebca1ce2e4362cbfce87201.jpg","text":"TemporaryFile(/tmp/multipartBody4083189973440617534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120313137,"filename":"image_20042025_01_49_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48be760b65d62fc975e1dfb1ea5e68e9.jpg","text":"TemporaryFile(/tmp/multipartBody4758501630221190124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120313137,"filename":"image_20042025_01_49_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16a0b1e61a1f5e5b9bd7a973f433964d.jpg","text":"TemporaryFile(/tmp/multipartBody7375102877395717970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120313137,"filename":"image_20042025_01_49_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93c05868e435453a2a7efd089f4debd4.jpg","text":"TemporaryFile(/tmp/multipartBody6044641899505883528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120313137,"filename":"image_20042025_01_49_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2720dedc5933a0f17fa29f4e3b3e34a6.jpg","text":"TemporaryFile(/tmp/multipartBody1445820631291602734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120313137,"filename":"image_20042025_01_49_26_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057288","file1":"1352057286","file0":"1352057283","file4":"1352057292","file5":"1352057294","file3":"1352057290"},"map_files_photo_id_array":[{"photo_id":"1352057294","filename":"file5"},{"photo_id":"1352057288","filename":"file2"},{"photo_id":"1352057292","filename":"file4"},{"photo_id":"1352057286","filename":"file1"},{"photo_id":"1352057283","filename":"file0"},{"photo_id":"1352057290","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057294":["hashtag1","hashtag2"]},{"1352057288":["hashtag1","hashtag2"]},{"1352057290":["hashtag1","hashtag2"]},{"1352057283":["hashtag1","hashtag2"]},{"1352057292":["hashtag1","hashtag2"]},{"1352057286":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057294, 1352057288, 1352057290, 1352057283, 1352057292, 1352057286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4383339881897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:38:32.769225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_16_10469.jpg', '/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_25_9365.jpg', '/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_36_10409.jpg', '/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_46_10372.jpg', '/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_56_9339.jpg', '/home/pi/Desktop/images/20042025/01/50/image_20042025_01_51_06_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_16_10469.jpg
/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_25_9365.jpg
/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_36_10409.jpg
/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_46_10372.jpg
/home/pi/Desktop/images/20042025/01/50/image_20042025_01_50_56_9339.jpg
/home/pi/Desktop/images/20042025/01/50/image_20042025_01_51_06_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057319","1352057310","1352057312","1352057306","1352057315","1352057317"],"photo_ids_order":["1352057306","1352057310","1352057312","1352057315","1352057317","1352057319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f150fadb459f6b9ad1537691783dd1a.jpg","text":"TemporaryFile(/tmp/multipartBody1523198320745626020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120373243,"filename":"image_20042025_01_51_06_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9189f87ece39fcc491efecefab24c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8780637158955598595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120373243,"filename":"image_20042025_01_50_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e3a9b5b8f0261c6de38a06958629563.jpg","text":"TemporaryFile(/tmp/multipartBody4972649291106890220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120373243,"filename":"image_20042025_01_50_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6875e87c9c02e900197e5d1ff9f18ef.jpg","text":"TemporaryFile(/tmp/multipartBody4309884024191364068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120373243,"filename":"image_20042025_01_50_16_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66f42f507206724b9fde8f880670a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7261070326179318306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120373243,"filename":"image_20042025_01_50_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/983d8d84095a5b0b4405ebc82e5e23f7.jpg","text":"TemporaryFile(/tmp/multipartBody7509763302808083762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120373243,"filename":"image_20042025_01_50_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057312","file1":"1352057310","file0":"1352057306","file4":"1352057317","file5":"1352057319","file3":"1352057315"},"map_files_photo_id_array":[{"photo_id":"1352057319","filename":"file5"},{"photo_id":"1352057312","filename":"file2"},{"photo_id":"1352057317","filename":"file4"},{"photo_id":"1352057310","filename":"file1"},{"photo_id":"1352057306","filename":"file0"},{"photo_id":"1352057315","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057319":["hashtag1","hashtag2"]},{"1352057310":["hashtag1","hashtag2"]},{"1352057312":["hashtag1","hashtag2"]},{"1352057306":["hashtag1","hashtag2"]},{"1352057315":["hashtag1","hashtag2"]},{"1352057317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057319, 1352057310, 1352057312, 1352057306, 1352057315, 1352057317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55893135070801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:39:32.858498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_15_9411.jpg', '/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_26_10360.jpg', '/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_36_10433.jpg', '/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_45_9365.jpg', '/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_56_10473.jpg', '/home/pi/Desktop/images/20042025/01/51/image_20042025_01_52_05_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_15_9411.jpg
/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_26_10360.jpg
/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_36_10433.jpg
/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_45_9365.jpg
/home/pi/Desktop/images/20042025/01/51/image_20042025_01_51_56_10473.jpg
/home/pi/Desktop/images/20042025/01/51/image_20042025_01_52_05_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057333","1352057336","1352057359","1352057338","1352057331","1352057340"],"photo_ids_order":["1352057331","1352057333","1352057336","1352057338","1352057340","1352057359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4ce92244b433f6c3a3408bbc54aa611.jpg","text":"TemporaryFile(/tmp/multipartBody1468837348513988639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120433325,"filename":"image_20042025_01_51_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ab2b58072bcd9ce74bc8aafb2f75e6d.jpg","text":"TemporaryFile(/tmp/multipartBody463592923509926362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120433325,"filename":"image_20042025_01_51_36_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c55bb07534a9e51d1d77091f5d413bd.jpg","text":"TemporaryFile(/tmp/multipartBody920340846729335267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120433325,"filename":"image_20042025_01_52_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9015776178d39b44a918d5a81bad6be.jpg","text":"TemporaryFile(/tmp/multipartBody6248415215487395715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120433325,"filename":"image_20042025_01_51_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b61229330f67859eccf809181b4c197.jpg","text":"TemporaryFile(/tmp/multipartBody1025996280345526160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120433325,"filename":"image_20042025_01_51_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cb0d9fa018291cfd0f2c2d4195413de.jpg","text":"TemporaryFile(/tmp/multipartBody1352061882628626728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120433325,"filename":"image_20042025_01_51_56_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057336","file1":"1352057333","file0":"1352057331","file4":"1352057340","file5":"1352057359","file3":"1352057338"},"map_files_photo_id_array":[{"photo_id":"1352057359","filename":"file5"},{"photo_id":"1352057336","filename":"file2"},{"photo_id":"1352057340","filename":"file4"},{"photo_id":"1352057333","filename":"file1"},{"photo_id":"1352057331","filename":"file0"},{"photo_id":"1352057338","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057333":["hashtag1","hashtag2"]},{"1352057336":["hashtag1","hashtag2"]},{"1352057359":["hashtag1","hashtag2"]},{"1352057338":["hashtag1","hashtag2"]},{"1352057331":["hashtag1","hashtag2"]},{"1352057340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057333, 1352057336, 1352057359, 1352057338, 1352057331, 1352057340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.138108015060425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:40:32.270395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_16_10363.jpg', '/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_26_10453.jpg', '/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_35_9328.jpg', '/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_46_10430.jpg', '/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_55_9352.jpg', '/home/pi/Desktop/images/20042025/01/52/image_20042025_01_53_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_16_10363.jpg
/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_26_10453.jpg
/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_35_9328.jpg
/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_46_10430.jpg
/home/pi/Desktop/images/20042025/01/52/image_20042025_01_52_55_9352.jpg
/home/pi/Desktop/images/20042025/01/52/image_20042025_01_53_06_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057400","1352057403","1352057405","1352057398","1352057395","1352057401"],"photo_ids_order":["1352057395","1352057398","1352057400","1352057401","1352057403","1352057405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82d417c9d6e679ea5a26e714ded810dc.jpg","text":"TemporaryFile(/tmp/multipartBody3109189488036508755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120492737,"filename":"image_20042025_01_52_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7972e94fa450a1c4f2862e98bcb22535.jpg","text":"TemporaryFile(/tmp/multipartBody6802331833585506807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120492737,"filename":"image_20042025_01_52_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a34c72a3f110686a62e346819b1d8975.jpg","text":"TemporaryFile(/tmp/multipartBody1900591778675993917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120492737,"filename":"image_20042025_01_53_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f0a9613d2e92112ca08edc5eb93a3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7700704639708180935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120492737,"filename":"image_20042025_01_52_26_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9fdf125b4abfc91720e1681e76906a2.jpg","text":"TemporaryFile(/tmp/multipartBody2229513951460416961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120492737,"filename":"image_20042025_01_52_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fee30c71fb3833d09ede5d976572d68d.jpg","text":"TemporaryFile(/tmp/multipartBody7949935351563366098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120492737,"filename":"image_20042025_01_52_46_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057400","file1":"1352057398","file0":"1352057395","file4":"1352057403","file5":"1352057405","file3":"1352057401"},"map_files_photo_id_array":[{"photo_id":"1352057405","filename":"file5"},{"photo_id":"1352057400","filename":"file2"},{"photo_id":"1352057403","filename":"file4"},{"photo_id":"1352057398","filename":"file1"},{"photo_id":"1352057395","filename":"file0"},{"photo_id":"1352057401","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057400":["hashtag1","hashtag2"]},{"1352057403":["hashtag1","hashtag2"]},{"1352057405":["hashtag1","hashtag2"]},{"1352057398":["hashtag1","hashtag2"]},{"1352057395":["hashtag1","hashtag2"]},{"1352057401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057400, 1352057403, 1352057405, 1352057398, 1352057395, 1352057401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.46485733985901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:41:32.415235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_16_10416.jpg', '/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_25_9348.jpg', '/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_36_10414.jpg', '/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_46_10390.jpg', '/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_56_9347.jpg', '/home/pi/Desktop/images/20042025/01/53/image_20042025_01_54_06_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_16_10416.jpg
/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_25_9348.jpg
/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_36_10414.jpg
/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_46_10390.jpg
/home/pi/Desktop/images/20042025/01/53/image_20042025_01_53_56_9347.jpg
/home/pi/Desktop/images/20042025/01/53/image_20042025_01_54_06_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057421","1352057418","1352057420","1352057417","1352057422","1352057419"],"photo_ids_order":["1352057417","1352057418","1352057419","1352057420","1352057421","1352057422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d9ad21cf6c1ea132f3d8bb383a25ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2227412121708114410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120552896,"filename":"image_20042025_01_53_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/250f8447a85851f6eadb94409082abd4.jpg","text":"TemporaryFile(/tmp/multipartBody2275369921046469379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120552896,"filename":"image_20042025_01_53_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6f7cf5f30de58cd1daace705eb602d3.jpg","text":"TemporaryFile(/tmp/multipartBody5329009390774544100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120552896,"filename":"image_20042025_01_53_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99c455a054704a2172b81762e4c07fee.jpg","text":"TemporaryFile(/tmp/multipartBody8000007817783885400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120552896,"filename":"image_20042025_01_53_16_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91135fc396a263bcdcd82f1784d2b3e0.jpg","text":"TemporaryFile(/tmp/multipartBody1300499589495902020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120552896,"filename":"image_20042025_01_54_06_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86e3688547d762912be8b34202e4b8b9.jpg","text":"TemporaryFile(/tmp/multipartBody176267206134421547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120552896,"filename":"image_20042025_01_53_36_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057419","file1":"1352057418","file0":"1352057417","file4":"1352057421","file5":"1352057422","file3":"1352057420"},"map_files_photo_id_array":[{"photo_id":"1352057422","filename":"file5"},{"photo_id":"1352057419","filename":"file2"},{"photo_id":"1352057421","filename":"file4"},{"photo_id":"1352057418","filename":"file1"},{"photo_id":"1352057417","filename":"file0"},{"photo_id":"1352057420","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057421":["hashtag1","hashtag2"]},{"1352057418":["hashtag1","hashtag2"]},{"1352057420":["hashtag1","hashtag2"]},{"1352057417":["hashtag1","hashtag2"]},{"1352057422":["hashtag1","hashtag2"]},{"1352057419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057421, 1352057418, 1352057420, 1352057417, 1352057422, 1352057419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.942467212677002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:42:32.821019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_15_9364.jpg', '/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_26_10368.jpg', '/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_36_10397.jpg', '/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_45_9364.jpg', '/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_56_10456.jpg', '/home/pi/Desktop/images/20042025/01/54/image_20042025_01_55_05_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_15_9364.jpg
/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_26_10368.jpg
/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_36_10397.jpg
/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_45_9364.jpg
/home/pi/Desktop/images/20042025/01/54/image_20042025_01_54_56_10456.jpg
/home/pi/Desktop/images/20042025/01/54/image_20042025_01_55_05_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057446","1352057449","1352057440","1352057443","1352057437","1352057433"],"photo_ids_order":["1352057433","1352057437","1352057440","1352057443","1352057446","1352057449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/954d33bee50831750ab0c56827280160.jpg","text":"TemporaryFile(/tmp/multipartBody71166860434316324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120613286,"filename":"image_20042025_01_54_56_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfeace44612e0ca8415896e62fcdd7a5.jpg","text":"TemporaryFile(/tmp/multipartBody2485189481034704671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120613286,"filename":"image_20042025_01_55_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38408e4035e240519e98b11305773694.jpg","text":"TemporaryFile(/tmp/multipartBody8519696455147768957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120613286,"filename":"image_20042025_01_54_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02010bca6f180e5e94ba29bd7c5e34df.jpg","text":"TemporaryFile(/tmp/multipartBody8708067270267360019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120613286,"filename":"image_20042025_01_54_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aff6b1563bd015b0851bdc643dfb8afb.jpg","text":"TemporaryFile(/tmp/multipartBody6784700592485363907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120613286,"filename":"image_20042025_01_54_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/132c6f3ad1ef15362e32c14ccc0e32b5.jpg","text":"TemporaryFile(/tmp/multipartBody8134663801758276982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120613286,"filename":"image_20042025_01_54_15_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057440","file1":"1352057437","file0":"1352057433","file4":"1352057446","file5":"1352057449","file3":"1352057443"},"map_files_photo_id_array":[{"photo_id":"1352057449","filename":"file5"},{"photo_id":"1352057440","filename":"file2"},{"photo_id":"1352057446","filename":"file4"},{"photo_id":"1352057437","filename":"file1"},{"photo_id":"1352057433","filename":"file0"},{"photo_id":"1352057443","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057446":["hashtag1","hashtag2"]},{"1352057449":["hashtag1","hashtag2"]},{"1352057440":["hashtag1","hashtag2"]},{"1352057443":["hashtag1","hashtag2"]},{"1352057437":["hashtag1","hashtag2"]},{"1352057433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057446, 1352057449, 1352057440, 1352057443, 1352057437, 1352057433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.050201416015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:43:33.021030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_16_10365.jpg', '/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_26_10372.jpg', '/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_46_10356.jpg', '/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_56_10449.jpg', '/home/pi/Desktop/images/20042025/01/55/image_20042025_01_56_06_9346.jpg', '/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_16_10501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_16_10365.jpg
/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_26_10372.jpg
/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_46_10356.jpg
/home/pi/Desktop/images/20042025/01/55/image_20042025_01_55_56_10449.jpg
/home/pi/Desktop/images/20042025/01/55/image_20042025_01_56_06_9346.jpg
/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_16_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057456","1352057465","1352057459","1352057461","1352057463","1352057466"],"photo_ids_order":["1352057456","1352057459","1352057461","1352057463","1352057465","1352057466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c64b7046d94960c04b1104a3892cfe9.jpg","text":"TemporaryFile(/tmp/multipartBody8010999595323740947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120673481,"filename":"image_20042025_01_55_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/311f49592abe6474c0be2bb926994d6a.jpg","text":"TemporaryFile(/tmp/multipartBody552051348483578865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120673481,"filename":"image_20042025_01_56_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76f787ac045790613a45de8549c73f68.jpg","text":"TemporaryFile(/tmp/multipartBody4035386913029250520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120673481,"filename":"image_20042025_01_55_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a4b7f2165032408e7697650381f6bec.jpg","text":"TemporaryFile(/tmp/multipartBody6046669003467654247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120673481,"filename":"image_20042025_01_55_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6778ee92c7418f7e242e2fdc41f796d9.jpg","text":"TemporaryFile(/tmp/multipartBody924205678959408480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120673481,"filename":"image_20042025_01_55_56_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfabd6b1d300f998af411130cfc222d6.jpg","text":"TemporaryFile(/tmp/multipartBody4591212099355788910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120673481,"filename":"image_20042025_01_56_16_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057461","file1":"1352057459","file0":"1352057456","file4":"1352057465","file5":"1352057466","file3":"1352057463"},"map_files_photo_id_array":[{"photo_id":"1352057466","filename":"file5"},{"photo_id":"1352057461","filename":"file2"},{"photo_id":"1352057465","filename":"file4"},{"photo_id":"1352057459","filename":"file1"},{"photo_id":"1352057456","filename":"file0"},{"photo_id":"1352057463","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057456":["hashtag1","hashtag2"]},{"1352057465":["hashtag1","hashtag2"]},{"1352057459":["hashtag1","hashtag2"]},{"1352057461":["hashtag1","hashtag2"]},{"1352057463":["hashtag1","hashtag2"]},{"1352057466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057456, 1352057465, 1352057459, 1352057461, 1352057463, 1352057466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.21524477005005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:44:33.087120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_25_9357.jpg', '/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_36_10355.jpg', '/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_46_10441.jpg', '/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_56_9396.jpg', '/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_15_9343.jpg', '/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_26_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_25_9357.jpg
/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_36_10355.jpg
/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_46_10441.jpg
/home/pi/Desktop/images/20042025/01/56/image_20042025_01_56_56_9396.jpg
/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_15_9343.jpg
/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_26_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057489","1352057483","1352057491","1352057485","1352057479","1352057487"],"photo_ids_order":["1352057479","1352057483","1352057485","1352057487","1352057489","1352057491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11890752320ce07c0eb4c5b5c250187f.jpg","text":"TemporaryFile(/tmp/multipartBody248409894593050225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120733573,"filename":"image_20042025_01_57_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c43f6e088ab41014b0f019c6d0b6c53.jpg","text":"TemporaryFile(/tmp/multipartBody569352122726875227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120733573,"filename":"image_20042025_01_56_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46b06b9effde92b03ef1628ccc21c422.jpg","text":"TemporaryFile(/tmp/multipartBody7993109795431054050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120733573,"filename":"image_20042025_01_57_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b88560f306316f1616712969db3d6208.jpg","text":"TemporaryFile(/tmp/multipartBody5701415591694078983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120733573,"filename":"image_20042025_01_56_46_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e78ed8d47c04aa5bd7bbbf6dd90968e.jpg","text":"TemporaryFile(/tmp/multipartBody8233854081683425592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120733573,"filename":"image_20042025_01_56_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ed4aa613bc09345a64871b8470762f6.jpg","text":"TemporaryFile(/tmp/multipartBody8155479088264993134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120733573,"filename":"image_20042025_01_56_56_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057485","file1":"1352057483","file0":"1352057479","file4":"1352057489","file5":"1352057491","file3":"1352057487"},"map_files_photo_id_array":[{"photo_id":"1352057491","filename":"file5"},{"photo_id":"1352057485","filename":"file2"},{"photo_id":"1352057489","filename":"file4"},{"photo_id":"1352057483","filename":"file1"},{"photo_id":"1352057479","filename":"file0"},{"photo_id":"1352057487","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057489":["hashtag1","hashtag2"]},{"1352057483":["hashtag1","hashtag2"]},{"1352057491":["hashtag1","hashtag2"]},{"1352057485":["hashtag1","hashtag2"]},{"1352057479":["hashtag1","hashtag2"]},{"1352057487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057489, 1352057483, 1352057491, 1352057485, 1352057479, 1352057487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16539263725281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:45:32.357942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_36_10344.jpg', '/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_45_9416.jpg', '/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_56_10446.jpg', '/home/pi/Desktop/images/20042025/01/57/image_20042025_01_58_05_9404.jpg', '/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_16_10423.jpg', '/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_26_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_36_10344.jpg
/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_45_9416.jpg
/home/pi/Desktop/images/20042025/01/57/image_20042025_01_57_56_10446.jpg
/home/pi/Desktop/images/20042025/01/57/image_20042025_01_58_05_9404.jpg
/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_16_10423.jpg
/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_26_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057514","1352057508","1352057505","1352057516","1352057500","1352057511"],"photo_ids_order":["1352057500","1352057505","1352057508","1352057511","1352057514","1352057516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e462708bc3be02248fe3656930083bd.jpg","text":"TemporaryFile(/tmp/multipartBody7992332460236219787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120792819,"filename":"image_20042025_01_58_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47a8b9a83af659511221e5a3b3abd9f1.jpg","text":"TemporaryFile(/tmp/multipartBody4687953823085117515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120792819,"filename":"image_20042025_01_57_56_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9bbf290a422c70de0a818c30b78c107.jpg","text":"TemporaryFile(/tmp/multipartBody2271666394479014818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120792819,"filename":"image_20042025_01_57_45_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfe2e2e24d09dd17190b15604d9f5922.jpg","text":"TemporaryFile(/tmp/multipartBody5709124120440371366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120792819,"filename":"image_20042025_01_58_26_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e54e11c11f56af70b334ca10d02cf67.jpg","text":"TemporaryFile(/tmp/multipartBody1354342131183283607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120792819,"filename":"image_20042025_01_57_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ce231fce0ebedd71d6042e6d22bd5fa.jpg","text":"TemporaryFile(/tmp/multipartBody3505646220815674288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120792819,"filename":"image_20042025_01_58_05_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057508","file1":"1352057505","file0":"1352057500","file4":"1352057514","file5":"1352057516","file3":"1352057511"},"map_files_photo_id_array":[{"photo_id":"1352057516","filename":"file5"},{"photo_id":"1352057508","filename":"file2"},{"photo_id":"1352057514","filename":"file4"},{"photo_id":"1352057505","filename":"file1"},{"photo_id":"1352057500","filename":"file0"},{"photo_id":"1352057511","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057514":["hashtag1","hashtag2"]},{"1352057508":["hashtag1","hashtag2"]},{"1352057505":["hashtag1","hashtag2"]},{"1352057516":["hashtag1","hashtag2"]},{"1352057500":["hashtag1","hashtag2"]},{"1352057511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057514, 1352057508, 1352057505, 1352057516, 1352057500, 1352057511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.736506938934326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:46:32.719573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_36_9347.jpg', '/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_46_10411.jpg', '/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_55_9347.jpg', '/home/pi/Desktop/images/20042025/01/58/image_20042025_01_59_06_10377.jpg', '/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_16_10362.jpg', '/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_25_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_36_9347.jpg
/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_46_10411.jpg
/home/pi/Desktop/images/20042025/01/58/image_20042025_01_58_55_9347.jpg
/home/pi/Desktop/images/20042025/01/58/image_20042025_01_59_06_10377.jpg
/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_16_10362.jpg
/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_25_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057537","1352057534","1352057528","1352057530","1352057532","1352057526"],"photo_ids_order":["1352057526","1352057528","1352057530","1352057532","1352057534","1352057537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5aab77948d7e31a2b9d343f8d5b43a0.jpg","text":"TemporaryFile(/tmp/multipartBody3620978493908742320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120853184,"filename":"image_20042025_01_59_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f247bee2a9a3483c06498cfaf3e4231.jpg","text":"TemporaryFile(/tmp/multipartBody8993718088851717231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120853184,"filename":"image_20042025_01_59_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02b59fdba70bc33d472fb0f8c8971e15.jpg","text":"TemporaryFile(/tmp/multipartBody154689747879820922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120853184,"filename":"image_20042025_01_58_46_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e17e195de06a3f12b6212415c3fd781f.jpg","text":"TemporaryFile(/tmp/multipartBody1261040184940546772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120853184,"filename":"image_20042025_01_58_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b749e91676136ab74b50facc0264b267.jpg","text":"TemporaryFile(/tmp/multipartBody2179196601911441454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120853184,"filename":"image_20042025_01_59_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/269d36585d6f45749cb06eb25e9b737c.jpg","text":"TemporaryFile(/tmp/multipartBody6598982395461981303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120853184,"filename":"image_20042025_01_58_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057530","file1":"1352057528","file0":"1352057526","file4":"1352057534","file5":"1352057537","file3":"1352057532"},"map_files_photo_id_array":[{"photo_id":"1352057537","filename":"file5"},{"photo_id":"1352057530","filename":"file2"},{"photo_id":"1352057534","filename":"file4"},{"photo_id":"1352057528","filename":"file1"},{"photo_id":"1352057526","filename":"file0"},{"photo_id":"1352057532","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057537":["hashtag1","hashtag2"]},{"1352057534":["hashtag1","hashtag2"]},{"1352057528":["hashtag1","hashtag2"]},{"1352057530":["hashtag1","hashtag2"]},{"1352057532":["hashtag1","hashtag2"]},{"1352057526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057537, 1352057534, 1352057528, 1352057530, 1352057532, 1352057526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.027058601379395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:47:32.756853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_36_10506.jpg', '/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_46_10369.jpg', '/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_56_9358.jpg', '/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_14_10079.jpg', '/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_24_10417.jpg', '/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_35_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_36_10506.jpg
/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_46_10369.jpg
/home/pi/Desktop/images/20042025/01/59/image_20042025_01_59_56_9358.jpg
/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_14_10079.jpg
/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_24_10417.jpg
/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_35_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057563","1352057551","1352057560","1352057554","1352057548","1352057557"],"photo_ids_order":["1352057548","1352057551","1352057554","1352057557","1352057560","1352057563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63ff93070fb7a364dd51d7433f529084.jpg","text":"TemporaryFile(/tmp/multipartBody8170753657837567432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120913246,"filename":"image_20042025_02_01_35_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e693d88c95f3984fad4e435e2d101e83.jpg","text":"TemporaryFile(/tmp/multipartBody2017852206264233888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120913246,"filename":"image_20042025_01_59_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a937cae18baac2a2328bab05c0fe46b.jpg","text":"TemporaryFile(/tmp/multipartBody8348533712522693131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120913246,"filename":"image_20042025_02_01_24_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d338c93c84048c11990f35fd34b7f77c.jpg","text":"TemporaryFile(/tmp/multipartBody8781447789446469587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120913246,"filename":"image_20042025_01_59_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46aab6eef0e65a6625d047d55b1ae3f1.jpg","text":"TemporaryFile(/tmp/multipartBody4530336832895515998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120913246,"filename":"image_20042025_01_59_36_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a308a964473bccf618149b2682128ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8536531568433113844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120913246,"filename":"image_20042025_02_01_14_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057554","file1":"1352057551","file0":"1352057548","file4":"1352057560","file5":"1352057563","file3":"1352057557"},"map_files_photo_id_array":[{"photo_id":"1352057563","filename":"file5"},{"photo_id":"1352057554","filename":"file2"},{"photo_id":"1352057560","filename":"file4"},{"photo_id":"1352057551","filename":"file1"},{"photo_id":"1352057548","filename":"file0"},{"photo_id":"1352057557","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057563":["hashtag1","hashtag2"]},{"1352057551":["hashtag1","hashtag2"]},{"1352057560":["hashtag1","hashtag2"]},{"1352057554":["hashtag1","hashtag2"]},{"1352057548":["hashtag1","hashtag2"]},{"1352057557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057563, 1352057551, 1352057560, 1352057554, 1352057548, 1352057557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.55339026451111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:48:33.009316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_44_9356.jpg', '/home/pi/Desktop/images/20042025/02/01/image_20042025_02_02_04_9429.jpg', '/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_15_10362.jpg', '/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_24_9482.jpg', '/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_34_10355.jpg', '/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_45_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/01/image_20042025_02_01_44_9356.jpg
/home/pi/Desktop/images/20042025/02/01/image_20042025_02_02_04_9429.jpg
/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_15_10362.jpg
/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_24_9482.jpg
/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_34_10355.jpg
/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_45_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057591","1352057584","1352057578","1352057589","1352057580","1352057586"],"photo_ids_order":["1352057578","1352057580","1352057584","1352057586","1352057589","1352057591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36d7f5f3851c180e77e69de02ddae0ab.jpg","text":"TemporaryFile(/tmp/multipartBody842521628818522704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120973477,"filename":"image_20042025_02_02_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c89978ec11f5573fb5839abd1024259e.jpg","text":"TemporaryFile(/tmp/multipartBody6961191078146218472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120973477,"filename":"image_20042025_02_02_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/401f498b936fbacbb7cebf2bdac39601.jpg","text":"TemporaryFile(/tmp/multipartBody6634918843930461918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120973477,"filename":"image_20042025_02_01_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d9b9209a2a2c05b326e3e2710a13869.jpg","text":"TemporaryFile(/tmp/multipartBody9067050892548575970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120973477,"filename":"image_20042025_02_02_34_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8f3abc98b15366c58ec8ffea584f786.jpg","text":"TemporaryFile(/tmp/multipartBody7245966282679697544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120973477,"filename":"image_20042025_02_02_04_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d645044206fbadfd20ed1f692b33e57.jpg","text":"TemporaryFile(/tmp/multipartBody8038622677493763885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745120973477,"filename":"image_20042025_02_02_24_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057584","file1":"1352057580","file0":"1352057578","file4":"1352057589","file5":"1352057591","file3":"1352057586"},"map_files_photo_id_array":[{"photo_id":"1352057591","filename":"file5"},{"photo_id":"1352057584","filename":"file2"},{"photo_id":"1352057589","filename":"file4"},{"photo_id":"1352057580","filename":"file1"},{"photo_id":"1352057578","filename":"file0"},{"photo_id":"1352057586","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057591":["hashtag1","hashtag2"]},{"1352057584":["hashtag1","hashtag2"]},{"1352057578":["hashtag1","hashtag2"]},{"1352057589":["hashtag1","hashtag2"]},{"1352057580":["hashtag1","hashtag2"]},{"1352057586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057591, 1352057584, 1352057578, 1352057589, 1352057580, 1352057586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34164595603943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:49:32.272965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_54_9345.jpg', '/home/pi/Desktop/images/20042025/02/02/image_20042025_02_03_05_10416.jpg', '/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_14_9455.jpg', '/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_24_10426.jpg', '/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_35_10355.jpg', '/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_44_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/02/image_20042025_02_02_54_9345.jpg
/home/pi/Desktop/images/20042025/02/02/image_20042025_02_03_05_10416.jpg
/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_14_9455.jpg
/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_24_10426.jpg
/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_35_10355.jpg
/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_44_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057603","1352057612","1352057614","1352057608","1352057605","1352057610"],"photo_ids_order":["1352057603","1352057605","1352057608","1352057610","1352057612","1352057614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37c865e69ad8afd06b93271a34965eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6499620204306298539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121032899,"filename":"image_20042025_02_02_54_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2476ef012b674b3d601fef92f34ee53.jpg","text":"TemporaryFile(/tmp/multipartBody1875057625623365783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121032899,"filename":"image_20042025_02_03_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73f2cb9a60f29036d7fc4c2df5dcd61d.jpg","text":"TemporaryFile(/tmp/multipartBody7647318938539778909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121032899,"filename":"image_20042025_02_03_44_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6aabbdea062be168162e8e3597c0f413.jpg","text":"TemporaryFile(/tmp/multipartBody2645475355904004106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121032899,"filename":"image_20042025_02_03_14_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80d325e9cc6a98adc26947a67b2a4244.jpg","text":"TemporaryFile(/tmp/multipartBody4559998026733646278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121032899,"filename":"image_20042025_02_03_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8634bfc3f396d221a23bde14e0124ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1407208459059284024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121032899,"filename":"image_20042025_02_03_24_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057608","file1":"1352057605","file0":"1352057603","file4":"1352057612","file5":"1352057614","file3":"1352057610"},"map_files_photo_id_array":[{"photo_id":"1352057614","filename":"file5"},{"photo_id":"1352057608","filename":"file2"},{"photo_id":"1352057612","filename":"file4"},{"photo_id":"1352057605","filename":"file1"},{"photo_id":"1352057603","filename":"file0"},{"photo_id":"1352057610","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057603":["hashtag1","hashtag2"]},{"1352057612":["hashtag1","hashtag2"]},{"1352057614":["hashtag1","hashtag2"]},{"1352057608":["hashtag1","hashtag2"]},{"1352057605":["hashtag1","hashtag2"]},{"1352057610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057603, 1352057612, 1352057614, 1352057608, 1352057605, 1352057610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.054194927215576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:50:32.559846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_55_10372.jpg', '/home/pi/Desktop/images/20042025/02/03/image_20042025_02_04_05_10415.jpg', '/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_14_9379.jpg', '/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_25_10362.jpg', '/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_34_9350.jpg', '/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_44_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/03/image_20042025_02_03_55_10372.jpg
/home/pi/Desktop/images/20042025/02/03/image_20042025_02_04_05_10415.jpg
/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_14_9379.jpg
/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_25_10362.jpg
/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_34_9350.jpg
/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_44_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057672","1352057666","1352057675","1352057669","1352057660","1352057663"],"photo_ids_order":["1352057660","1352057663","1352057666","1352057669","1352057672","1352057675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0345390b1e6890c0f7b62b0d0d69bf3.jpg","text":"TemporaryFile(/tmp/multipartBody8509895120730598109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121093027,"filename":"image_20042025_02_04_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa0611a98c6621af9801ad9533b699af.jpg","text":"TemporaryFile(/tmp/multipartBody2961702405931369511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121093027,"filename":"image_20042025_02_04_14_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52e9c4b34e0f4a6a14c1dcda33e8730c.jpg","text":"TemporaryFile(/tmp/multipartBody8119213573374218208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121093027,"filename":"image_20042025_02_04_44_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6943cfd400cab87426d83466b122cb94.jpg","text":"TemporaryFile(/tmp/multipartBody4680652179140348421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121093027,"filename":"image_20042025_02_04_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a52e1795c65ec925b4ccba2287a468c.jpg","text":"TemporaryFile(/tmp/multipartBody8322144702259431954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121093027,"filename":"image_20042025_02_03_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8038251021cc934980f7e4e6a0e084fa.jpg","text":"TemporaryFile(/tmp/multipartBody210148558622866712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121093027,"filename":"image_20042025_02_04_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057666","file1":"1352057663","file0":"1352057660","file4":"1352057672","file5":"1352057675","file3":"1352057669"},"map_files_photo_id_array":[{"photo_id":"1352057675","filename":"file5"},{"photo_id":"1352057666","filename":"file2"},{"photo_id":"1352057672","filename":"file4"},{"photo_id":"1352057663","filename":"file1"},{"photo_id":"1352057660","filename":"file0"},{"photo_id":"1352057669","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057672":["hashtag1","hashtag2"]},{"1352057666":["hashtag1","hashtag2"]},{"1352057675":["hashtag1","hashtag2"]},{"1352057669":["hashtag1","hashtag2"]},{"1352057660":["hashtag1","hashtag2"]},{"1352057663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057672, 1352057666, 1352057675, 1352057669, 1352057660, 1352057663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.631032705307007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:51:32.827307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_55_10357.jpg', '/home/pi/Desktop/images/20042025/02/04/image_20042025_02_05_04_9372.jpg', '/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_15_10384.jpg', '/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_24_9484.jpg', '/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_34_10368.jpg', '/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_54_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/04/image_20042025_02_04_55_10357.jpg
/home/pi/Desktop/images/20042025/02/04/image_20042025_02_05_04_9372.jpg
/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_15_10384.jpg
/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_24_9484.jpg
/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_34_10368.jpg
/home/pi/Desktop/images/20042025/02/05/image_20042025_02_05_54_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057700","1352057699","1352057687","1352057701","1352057694","1352057682"],"photo_ids_order":["1352057682","1352057687","1352057694","1352057699","1352057700","1352057701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87cefcba7bc38c53677fee877d91572c.jpg","text":"TemporaryFile(/tmp/multipartBody8501941114393146502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121153293,"filename":"image_20042025_02_05_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/746c58f9f4167c16104f985e7d4f3ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3580754471517373968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121153293,"filename":"image_20042025_02_05_24_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd52856d33d3740d003281ad66f54b64.jpg","text":"TemporaryFile(/tmp/multipartBody6155921438490573360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121153293,"filename":"image_20042025_02_05_04_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2300aeb18de0214df909d1fee1afe77f.jpg","text":"TemporaryFile(/tmp/multipartBody5225734997733357807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121153293,"filename":"image_20042025_02_05_54_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/430e45cf21c7abc6ca644adc78a9c6dd.jpg","text":"TemporaryFile(/tmp/multipartBody518257871530910570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121153293,"filename":"image_20042025_02_05_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd6de9ac4aee3234f2fba99ca19a5991.jpg","text":"TemporaryFile(/tmp/multipartBody7760798732989755959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121153293,"filename":"image_20042025_02_04_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057694","file1":"1352057687","file0":"1352057682","file4":"1352057700","file5":"1352057701","file3":"1352057699"},"map_files_photo_id_array":[{"photo_id":"1352057701","filename":"file5"},{"photo_id":"1352057694","filename":"file2"},{"photo_id":"1352057700","filename":"file4"},{"photo_id":"1352057687","filename":"file1"},{"photo_id":"1352057682","filename":"file0"},{"photo_id":"1352057699","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057700":["hashtag1","hashtag2"]},{"1352057699":["hashtag1","hashtag2"]},{"1352057687":["hashtag1","hashtag2"]},{"1352057701":["hashtag1","hashtag2"]},{"1352057694":["hashtag1","hashtag2"]},{"1352057682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057700, 1352057699, 1352057687, 1352057701, 1352057694, 1352057682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.74571967124939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:52:33.140580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/05/image_20042025_02_06_05_10426.jpg', '/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_14_9416.jpg', '/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_24_10364.jpg', '/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_35_10341.jpg', '/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_44_9407.jpg', '/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/05/image_20042025_02_06_05_10426.jpg
/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_14_9416.jpg
/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_24_10364.jpg
/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_35_10341.jpg
/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_44_9407.jpg
/home/pi/Desktop/images/20042025/02/06/image_20042025_02_06_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057709","1352057720","1352057723","1352057705","1352057713","1352057716"],"photo_ids_order":["1352057705","1352057709","1352057713","1352057716","1352057720","1352057723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/652085e8c99106d7fdded9412befc6cb.jpg","text":"TemporaryFile(/tmp/multipartBody348748943961208829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121213613,"filename":"image_20042025_02_06_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b6e1f22b2174a35746cc7e840bcfa95.jpg","text":"TemporaryFile(/tmp/multipartBody8603698623704108897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121213613,"filename":"image_20042025_02_06_44_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a28c9f0c5d8e2da2b52905b1073ce0a1.jpg","text":"TemporaryFile(/tmp/multipartBody8722793231293275836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121213613,"filename":"image_20042025_02_06_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b505cbbc4ff655b9aeb1af573a336148.jpg","text":"TemporaryFile(/tmp/multipartBody4164969065637344910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121213613,"filename":"image_20042025_02_06_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea7f91eb86bda2901b642e168eae0b91.jpg","text":"TemporaryFile(/tmp/multipartBody4650417185111599359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121213613,"filename":"image_20042025_02_06_24_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0352ee124237e7cdbd2a6d11e478bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3159173455075020564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121213613,"filename":"image_20042025_02_06_35_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057713","file1":"1352057709","file0":"1352057705","file4":"1352057720","file5":"1352057723","file3":"1352057716"},"map_files_photo_id_array":[{"photo_id":"1352057723","filename":"file5"},{"photo_id":"1352057713","filename":"file2"},{"photo_id":"1352057720","filename":"file4"},{"photo_id":"1352057709","filename":"file1"},{"photo_id":"1352057705","filename":"file0"},{"photo_id":"1352057716","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057709":["hashtag1","hashtag2"]},{"1352057720":["hashtag1","hashtag2"]},{"1352057723":["hashtag1","hashtag2"]},{"1352057705":["hashtag1","hashtag2"]},{"1352057713":["hashtag1","hashtag2"]},{"1352057716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057709, 1352057720, 1352057723, 1352057705, 1352057713, 1352057716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.372462034225464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:53:32.324960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/06/image_20042025_02_07_05_10450.jpg', '/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_14_9351.jpg', '/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_25_10364.jpg', '/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_34_9334.jpg', '/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_44_10370.jpg', '/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/06/image_20042025_02_07_05_10450.jpg
/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_14_9351.jpg
/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_25_10364.jpg
/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_34_9334.jpg
/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_44_10370.jpg
/home/pi/Desktop/images/20042025/02/07/image_20042025_02_07_55_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057732","1352057743","1352057746","1352057728","1352057737","1352057739"],"photo_ids_order":["1352057728","1352057732","1352057737","1352057739","1352057743","1352057746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be280d1f5eac56345b6081446557fae3.jpg","text":"TemporaryFile(/tmp/multipartBody4917691496002164031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121272788,"filename":"image_20042025_02_07_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73b537a242aae402139b4591c7c83628.jpg","text":"TemporaryFile(/tmp/multipartBody141487376562146815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121272788,"filename":"image_20042025_02_07_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18e7b4bfc18d5acf44287f4b14184b82.jpg","text":"TemporaryFile(/tmp/multipartBody2876081101928792822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121272788,"filename":"image_20042025_02_07_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79709416cb8fa90cd4a336934bcc9087.jpg","text":"TemporaryFile(/tmp/multipartBody8913127453924129559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121272788,"filename":"image_20042025_02_07_05_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b89f439baf0618adaad4d790c2cd7556.jpg","text":"TemporaryFile(/tmp/multipartBody3147831436175508071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121272788,"filename":"image_20042025_02_07_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98ae6eaf6a2bcf74efac280b150ad04a.jpg","text":"TemporaryFile(/tmp/multipartBody7782107328475914606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121272788,"filename":"image_20042025_02_07_34_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057737","file1":"1352057732","file0":"1352057728","file4":"1352057743","file5":"1352057746","file3":"1352057739"},"map_files_photo_id_array":[{"photo_id":"1352057746","filename":"file5"},{"photo_id":"1352057737","filename":"file2"},{"photo_id":"1352057743","filename":"file4"},{"photo_id":"1352057732","filename":"file1"},{"photo_id":"1352057728","filename":"file0"},{"photo_id":"1352057739","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057732":["hashtag1","hashtag2"]},{"1352057743":["hashtag1","hashtag2"]},{"1352057746":["hashtag1","hashtag2"]},{"1352057728":["hashtag1","hashtag2"]},{"1352057737":["hashtag1","hashtag2"]},{"1352057739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057732, 1352057743, 1352057746, 1352057728, 1352057737, 1352057739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.183634281158447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:54:32.585421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/07/image_20042025_02_08_04_9468.jpg', '/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_15_10360.jpg', '/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_25_10362.jpg', '/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_34_9339.jpg', '/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_45_10354.jpg', '/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/07/image_20042025_02_08_04_9468.jpg
/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_15_10360.jpg
/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_25_10362.jpg
/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_34_9339.jpg
/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_45_10354.jpg
/home/pi/Desktop/images/20042025/02/08/image_20042025_02_08_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057756","1352057752","1352057766","1352057769","1352057760","1352057763"],"photo_ids_order":["1352057752","1352057756","1352057760","1352057763","1352057766","1352057769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75e05203bf3fe2c5747e244eeb6af828.jpg","text":"TemporaryFile(/tmp/multipartBody2147771257060571425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121333057,"filename":"image_20042025_02_08_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d3f7ed76c55808be4fbe26c0664cf95.jpg","text":"TemporaryFile(/tmp/multipartBody1732977926025741885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121333057,"filename":"image_20042025_02_08_04_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fac313cbe9a50402b5345599d1bede94.jpg","text":"TemporaryFile(/tmp/multipartBody5009672333813129252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121333057,"filename":"image_20042025_02_08_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a919e83bf9218525a5a91eddfd3c23e6.jpg","text":"TemporaryFile(/tmp/multipartBody2960231191638565843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121333057,"filename":"image_20042025_02_08_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/903e97d937206c46b470d303dcb4fdec.jpg","text":"TemporaryFile(/tmp/multipartBody1942628364293056561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121333057,"filename":"image_20042025_02_08_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/068268dd61a30b7d4822af0229867320.jpg","text":"TemporaryFile(/tmp/multipartBody7269052446345819748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121333057,"filename":"image_20042025_02_08_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057760","file1":"1352057756","file0":"1352057752","file4":"1352057766","file5":"1352057769","file3":"1352057763"},"map_files_photo_id_array":[{"photo_id":"1352057769","filename":"file5"},{"photo_id":"1352057760","filename":"file2"},{"photo_id":"1352057766","filename":"file4"},{"photo_id":"1352057756","filename":"file1"},{"photo_id":"1352057752","filename":"file0"},{"photo_id":"1352057763","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057756":["hashtag1","hashtag2"]},{"1352057752":["hashtag1","hashtag2"]},{"1352057766":["hashtag1","hashtag2"]},{"1352057769":["hashtag1","hashtag2"]},{"1352057760":["hashtag1","hashtag2"]},{"1352057763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057756, 1352057752, 1352057766, 1352057769, 1352057760, 1352057763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9225914478302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:55:32.746835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/08/image_20042025_02_09_04_10369.jpg', '/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_15_10378.jpg', '/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_24_9361.jpg', '/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_34_10354.jpg', '/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_45_10412.jpg', '/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/08/image_20042025_02_09_04_10369.jpg
/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_15_10378.jpg
/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_24_9361.jpg
/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_34_10354.jpg
/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_45_10412.jpg
/home/pi/Desktop/images/20042025/02/09/image_20042025_02_09_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057783","1352057782","1352057776","1352057779","1352057784","1352057781"],"photo_ids_order":["1352057776","1352057779","1352057781","1352057782","1352057783","1352057784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a646bec0573ecaa63e73b31b8d2d65a2.jpg","text":"TemporaryFile(/tmp/multipartBody4052214407828425614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121393231,"filename":"image_20042025_02_09_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f90398e8258c0a68e52f00ba16668050.jpg","text":"TemporaryFile(/tmp/multipartBody5328675167442382621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121393231,"filename":"image_20042025_02_09_34_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86287991af654aace416b146892cef47.jpg","text":"TemporaryFile(/tmp/multipartBody7357588157871767610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121393231,"filename":"image_20042025_02_09_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d7ae36444f04acd66f3de3a9c09e260.jpg","text":"TemporaryFile(/tmp/multipartBody3151641935845212965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121393231,"filename":"image_20042025_02_09_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62d4fffa4783cfc8a335ccb73db92324.jpg","text":"TemporaryFile(/tmp/multipartBody2649934734786316640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121393231,"filename":"image_20042025_02_09_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7cebefd7cfe07857187462594cee3c1.jpg","text":"TemporaryFile(/tmp/multipartBody3652727788539707343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121393231,"filename":"image_20042025_02_09_24_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057781","file1":"1352057779","file0":"1352057776","file4":"1352057783","file5":"1352057784","file3":"1352057782"},"map_files_photo_id_array":[{"photo_id":"1352057784","filename":"file5"},{"photo_id":"1352057781","filename":"file2"},{"photo_id":"1352057783","filename":"file4"},{"photo_id":"1352057779","filename":"file1"},{"photo_id":"1352057776","filename":"file0"},{"photo_id":"1352057782","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057783":["hashtag1","hashtag2"]},{"1352057782":["hashtag1","hashtag2"]},{"1352057776":["hashtag1","hashtag2"]},{"1352057779":["hashtag1","hashtag2"]},{"1352057784":["hashtag1","hashtag2"]},{"1352057781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057783, 1352057782, 1352057776, 1352057779, 1352057784, 1352057781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.901214361190796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:56:33.063639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/09/image_20042025_02_10_05_10357.jpg', '/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_14_9408.jpg', '/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_24_10396.jpg', '/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_35_10359.jpg', '/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_44_9401.jpg', '/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_55_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/09/image_20042025_02_10_05_10357.jpg
/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_14_9408.jpg
/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_24_10396.jpg
/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_35_10359.jpg
/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_44_9401.jpg
/home/pi/Desktop/images/20042025/02/10/image_20042025_02_10_55_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057795","1352057798","1352057801","1352057804","1352057807","1352057800"],"photo_ids_order":["1352057795","1352057798","1352057800","1352057801","1352057804","1352057807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/034efdebeeabb9342207ababf4650a81.jpg","text":"TemporaryFile(/tmp/multipartBody3607076934225425241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121453533,"filename":"image_20042025_02_10_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81519fd462274a9dcd0a52cae14a5d25.jpg","text":"TemporaryFile(/tmp/multipartBody4252873136425704116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121453533,"filename":"image_20042025_02_10_14_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9494436ae99a117a7e356b0440d4936e.jpg","text":"TemporaryFile(/tmp/multipartBody4332134347567934158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121453533,"filename":"image_20042025_02_10_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99c7d0550b6d3607d0ff3f2405c1fb7e.jpg","text":"TemporaryFile(/tmp/multipartBody7076582381907258666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121453533,"filename":"image_20042025_02_10_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36f4a01cc83801a117d0745978866c58.jpg","text":"TemporaryFile(/tmp/multipartBody1152778882131801859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121453533,"filename":"image_20042025_02_10_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1049b9e2835216da94f4c9e612cae4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3876348743753755343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121453533,"filename":"image_20042025_02_10_24_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057800","file1":"1352057798","file0":"1352057795","file4":"1352057804","file5":"1352057807","file3":"1352057801"},"map_files_photo_id_array":[{"photo_id":"1352057807","filename":"file5"},{"photo_id":"1352057800","filename":"file2"},{"photo_id":"1352057804","filename":"file4"},{"photo_id":"1352057798","filename":"file1"},{"photo_id":"1352057795","filename":"file0"},{"photo_id":"1352057801","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352057795":["hashtag1","hashtag2"]},{"1352057798":["hashtag1","hashtag2"]},{"1352057801":["hashtag1","hashtag2"]},{"1352057804":["hashtag1","hashtag2"]},{"1352057807":["hashtag1","hashtag2"]},{"1352057800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352057795, 1352057798, 1352057801, 1352057804, 1352057807, 1352057800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.431477069854736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 05:57:32.374169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/10/image_20042025_02_11_04_9415.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_14_10354.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_25_10354.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_34_9374.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_44_10334.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_55_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/10/image_20042025_02_11_04_9415.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_14_10354.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_25_10354.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_34_9374.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_44_10334.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_55_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 05:59:03.775491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/10/image_20042025_02_11_04_9415.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_14_10354.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_25_10354.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_34_9374.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_44_10334.jpg', '/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_55_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/10/image_20042025_02_11_04_9415.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_14_10354.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_25_10354.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_34_9374.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_44_10334.jpg
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_11_55_10410.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352058871","1352058820","1352058904","1352058654","1352058761","1352058698"],"photo_ids_order":["1352058654","1352058698","1352058761","1352058820","1352058871","1352058904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8d1c48e997dd000362a6169c12c818d.jpg","text":"TemporaryFile(/tmp/multipartBody1318365655339363188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121605775,"filename":"image_20042025_02_11_44_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74c028ea5313c4812a0957d47b2b62aa.jpg","text":"TemporaryFile(/tmp/multipartBody4666784730575563273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121605775,"filename":"image_20042025_02_11_34_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65cbf529657ad426742b9d52bf3492ce.jpg","text":"TemporaryFile(/tmp/multipartBody1436649499726563995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121605775,"filename":"image_20042025_02_11_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90ef30c41fd142470e50f113b7a5f284.jpg","text":"TemporaryFile(/tmp/multipartBody2164468712969127608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121605775,"filename":"image_20042025_02_11_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00bf221e399949dc18f72c587491f6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1275660450432684617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121605775,"filename":"image_20042025_02_11_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61fe37f71ab0946d2864db4c0200a781.jpg","text":"TemporaryFile(/tmp/multipartBody6692114082477842525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121605775,"filename":"image_20042025_02_11_14_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352058761","file1":"1352058698","file0":"1352058654","file4":"1352058871","file5":"1352058904","file3":"1352058820"},"map_files_photo_id_array":[{"photo_id":"1352058904","filename":"file5"},{"photo_id":"1352058761","filename":"file2"},{"photo_id":"1352058871","filename":"file4"},{"photo_id":"1352058698","filename":"file1"},{"photo_id":"1352058654","filename":"file0"},{"photo_id":"1352058820","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352058871":["hashtag1","hashtag2"]},{"1352058820":["hashtag1","hashtag2"]},{"1352058904":["hashtag1","hashtag2"]},{"1352058654":["hashtag1","hashtag2"]},{"1352058761":["hashtag1","hashtag2"]},{"1352058698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352058871, 1352058820, 1352058904, 1352058654, 1352058761, 1352058698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.760836601257324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 05:59:42.721096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/11/image_20042025_02_12_04_9372.jpg', '/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_15_10343.jpg', '/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_25_10394.jpg', '/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_34_9347.jpg', '/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_45_10377.jpg', '/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_54_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/11/image_20042025_02_12_04_9372.jpg
/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_15_10343.jpg
/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_25_10394.jpg
/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_34_9347.jpg
/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_45_10377.jpg
/home/pi/Desktop/images/20042025/02/12/image_20042025_02_12_54_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059205","1352059090","1352059030","1352059006","1352059059","1352059308"],"photo_ids_order":["1352059006","1352059030","1352059059","1352059090","1352059205","1352059308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10e32bae474ef7af607b796446cc4358.jpg","text":"TemporaryFile(/tmp/multipartBody742036177563557822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121643183,"filename":"image_20042025_02_12_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d90f3e7f9d18c6687c702846d2ef0e30.jpg","text":"TemporaryFile(/tmp/multipartBody1533023138853359280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121643183,"filename":"image_20042025_02_12_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d04fba37eafd30a9aff057792b7805d.jpg","text":"TemporaryFile(/tmp/multipartBody5397696479619627038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121643183,"filename":"image_20042025_02_12_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/068a3d344323c0e3f3cab8d3ffdba9ca.jpg","text":"TemporaryFile(/tmp/multipartBody9030381241527347598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121643183,"filename":"image_20042025_02_12_04_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d7394a869ce0bd0a3fe9afe38e462f4.jpg","text":"TemporaryFile(/tmp/multipartBody1854450153505599561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121643183,"filename":"image_20042025_02_12_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/deb7c4748789e3f45bc7bc6ddfb0f657.jpg","text":"TemporaryFile(/tmp/multipartBody4909178417948437968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121643183,"filename":"image_20042025_02_12_54_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059059","file1":"1352059030","file0":"1352059006","file4":"1352059205","file5":"1352059308","file3":"1352059090"},"map_files_photo_id_array":[{"photo_id":"1352059308","filename":"file5"},{"photo_id":"1352059059","filename":"file2"},{"photo_id":"1352059205","filename":"file4"},{"photo_id":"1352059030","filename":"file1"},{"photo_id":"1352059006","filename":"file0"},{"photo_id":"1352059090","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352059205":["hashtag1","hashtag2"]},{"1352059090":["hashtag1","hashtag2"]},{"1352059030":["hashtag1","hashtag2"]},{"1352059006":["hashtag1","hashtag2"]},{"1352059059":["hashtag1","hashtag2"]},{"1352059308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352059205, 1352059090, 1352059030, 1352059006, 1352059059, 1352059308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37200665473938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:00:32.803169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/12/image_20042025_02_13_04_10359.jpg', '/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_15_10488.jpg', '/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_24_9392.jpg', '/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_35_10402.jpg', '/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_44_9423.jpg', '/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_55_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/12/image_20042025_02_13_04_10359.jpg
/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_15_10488.jpg
/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_24_9392.jpg
/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_35_10402.jpg
/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_44_9423.jpg
/home/pi/Desktop/images/20042025/02/13/image_20042025_02_13_55_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059693","1352059633","1352059663","1352059726","1352059575","1352059605"],"photo_ids_order":["1352059575","1352059605","1352059633","1352059663","1352059693","1352059726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04fe89010477ce7641bc29682b903afd.jpg","text":"TemporaryFile(/tmp/multipartBody1168106968765546765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121693265,"filename":"image_20042025_02_13_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f18af2a9337fbc9d8f8e818b4926c6d.jpg","text":"TemporaryFile(/tmp/multipartBody916452977557942606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121693265,"filename":"image_20042025_02_13_24_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9855fa61a0273bdc553b00e384c3a69e.jpg","text":"TemporaryFile(/tmp/multipartBody6828672732547563524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121693265,"filename":"image_20042025_02_13_35_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0bf44da0a925435d422f5fa25ca6ce3b.jpg","text":"TemporaryFile(/tmp/multipartBody6986153983790926923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121693265,"filename":"image_20042025_02_13_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75cf2fe78e586a87ddfa9c28429c8fe6.jpg","text":"TemporaryFile(/tmp/multipartBody6963719415693663950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121693265,"filename":"image_20042025_02_13_04_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19717ec0832f6553d6581bc43baa8d53.jpg","text":"TemporaryFile(/tmp/multipartBody1263102746837962022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121693265,"filename":"image_20042025_02_13_15_10488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059633","file1":"1352059605","file0":"1352059575","file4":"1352059693","file5":"1352059726","file3":"1352059663"},"map_files_photo_id_array":[{"photo_id":"1352059726","filename":"file5"},{"photo_id":"1352059633","filename":"file2"},{"photo_id":"1352059693","filename":"file4"},{"photo_id":"1352059605","filename":"file1"},{"photo_id":"1352059575","filename":"file0"},{"photo_id":"1352059663","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352059693":["hashtag1","hashtag2"]},{"1352059633":["hashtag1","hashtag2"]},{"1352059663":["hashtag1","hashtag2"]},{"1352059726":["hashtag1","hashtag2"]},{"1352059575":["hashtag1","hashtag2"]},{"1352059605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352059693, 1352059633, 1352059663, 1352059726, 1352059575, 1352059605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.36914873123169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:01:32.945636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/13/image_20042025_02_14_05_10380.jpg', '/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_14_9350.jpg', '/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_25_10429.jpg', '/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_34_9365.jpg', '/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_44_10352.jpg', '/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/13/image_20042025_02_14_05_10380.jpg
/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_14_9350.jpg
/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_25_10429.jpg
/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_34_9365.jpg
/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_44_10352.jpg
/home/pi/Desktop/images/20042025/02/14/image_20042025_02_14_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059747","1352059756","1352059744","1352059752","1352059749","1352059754"],"photo_ids_order":["1352059744","1352059747","1352059749","1352059752","1352059754","1352059756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b91a201c3e617c70f797b6b99090824.jpg","text":"TemporaryFile(/tmp/multipartBody2987971728609501029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121753419,"filename":"image_20042025_02_14_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/309a8fb512d9909d109646d567cf1bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3336965529109262923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121753419,"filename":"image_20042025_02_14_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31e1e29a845c5e5b503dbe61792c68ae.jpg","text":"TemporaryFile(/tmp/multipartBody4485264763243576395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121753419,"filename":"image_20042025_02_14_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3cfe6424811f0cfea5a8c57452014fb3.jpg","text":"TemporaryFile(/tmp/multipartBody4992499623017301198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121753419,"filename":"image_20042025_02_14_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1eaf63825ad0c70039008f583a0311c.jpg","text":"TemporaryFile(/tmp/multipartBody74818213631017115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121753419,"filename":"image_20042025_02_14_25_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f29025f14074ef1f8cd6d68d043afa86.jpg","text":"TemporaryFile(/tmp/multipartBody4078219948032752458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121753419,"filename":"image_20042025_02_14_44_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059749","file1":"1352059747","file0":"1352059744","file4":"1352059754","file5":"1352059756","file3":"1352059752"},"map_files_photo_id_array":[{"photo_id":"1352059756","filename":"file5"},{"photo_id":"1352059749","filename":"file2"},{"photo_id":"1352059754","filename":"file4"},{"photo_id":"1352059747","filename":"file1"},{"photo_id":"1352059744","filename":"file0"},{"photo_id":"1352059752","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352059747":["hashtag1","hashtag2"]},{"1352059756":["hashtag1","hashtag2"]},{"1352059744":["hashtag1","hashtag2"]},{"1352059752":["hashtag1","hashtag2"]},{"1352059749":["hashtag1","hashtag2"]},{"1352059754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352059747, 1352059756, 1352059744, 1352059752, 1352059749, 1352059754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.692198276519775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:02:33.108143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/14/image_20042025_02_15_04_9419.jpg', '/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_15_10363.jpg', '/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_24_9447.jpg', '/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_34_10357.jpg', '/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_45_10367.jpg', '/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_54_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/14/image_20042025_02_15_04_9419.jpg
/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_15_10363.jpg
/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_24_9447.jpg
/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_34_10357.jpg
/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_45_10367.jpg
/home/pi/Desktop/images/20042025/02/15/image_20042025_02_15_54_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059771","1352059774","1352059776","1352059772","1352059766","1352059769"],"photo_ids_order":["1352059766","1352059769","1352059771","1352059772","1352059774","1352059776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2b204a6f3da4bcddadd50e107aeea5d.jpg","text":"TemporaryFile(/tmp/multipartBody670386240769771702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121813570,"filename":"image_20042025_02_15_24_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3172afd72d99b62043e4ffadf9c3eb13.jpg","text":"TemporaryFile(/tmp/multipartBody3249360164028650194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121813570,"filename":"image_20042025_02_15_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b676f5e3594a7d3f51fd8eac1b2d172.jpg","text":"TemporaryFile(/tmp/multipartBody3768679608272013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121813570,"filename":"image_20042025_02_15_54_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98c1c1a9b78ff607ef218ad1f7a9129c.jpg","text":"TemporaryFile(/tmp/multipartBody1308043013983185980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121813570,"filename":"image_20042025_02_15_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8de284d441600e9da80b46f077ce016d.jpg","text":"TemporaryFile(/tmp/multipartBody54915881753327539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121813570,"filename":"image_20042025_02_15_04_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/840feb5e2f7d214c150f6295cb8bee0b.jpg","text":"TemporaryFile(/tmp/multipartBody4007681204965740878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121813570,"filename":"image_20042025_02_15_15_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059771","file1":"1352059769","file0":"1352059766","file4":"1352059774","file5":"1352059776","file3":"1352059772"},"map_files_photo_id_array":[{"photo_id":"1352059776","filename":"file5"},{"photo_id":"1352059771","filename":"file2"},{"photo_id":"1352059774","filename":"file4"},{"photo_id":"1352059769","filename":"file1"},{"photo_id":"1352059766","filename":"file0"},{"photo_id":"1352059772","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352059771":["hashtag1","hashtag2"]},{"1352059774":["hashtag1","hashtag2"]},{"1352059776":["hashtag1","hashtag2"]},{"1352059772":["hashtag1","hashtag2"]},{"1352059766":["hashtag1","hashtag2"]},{"1352059769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352059771, 1352059774, 1352059776, 1352059772, 1352059766, 1352059769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.153971672058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:03:32.390371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/15/image_20042025_02_16_05_10354.jpg', '/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_14_9435.jpg', '/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_24_10375.jpg', '/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_35_10389.jpg', '/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_44_9400.jpg', '/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/15/image_20042025_02_16_05_10354.jpg
/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_14_9435.jpg
/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_24_10375.jpg
/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_35_10389.jpg
/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_44_9400.jpg
/home/pi/Desktop/images/20042025/02/16/image_20042025_02_16_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060054","1352060111","1352060169","1352060082","1352060142","1352060025"],"photo_ids_order":["1352060025","1352060054","1352060082","1352060111","1352060142","1352060169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4aeed0d9693d93fef515dc32b2d87727.jpg","text":"TemporaryFile(/tmp/multipartBody441796309420693791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121872858,"filename":"image_20042025_02_16_14_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/893dce59618feb6491cf94ba448ed462.jpg","text":"TemporaryFile(/tmp/multipartBody8604372357340269255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121872858,"filename":"image_20042025_02_16_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9064ff884b32cc3393a2b4b6b37e8ef1.jpg","text":"TemporaryFile(/tmp/multipartBody6058899241554018357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121872858,"filename":"image_20042025_02_16_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc737c6dab2f532fa4326447e3719492.jpg","text":"TemporaryFile(/tmp/multipartBody2834269401899206548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121872858,"filename":"image_20042025_02_16_24_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dc82214aa79dd1aa2675597255d22ee.jpg","text":"TemporaryFile(/tmp/multipartBody910906049413064048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121872858,"filename":"image_20042025_02_16_44_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fa035ecb746d69570b66d67758c16e1.jpg","text":"TemporaryFile(/tmp/multipartBody3865291064307056774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121872858,"filename":"image_20042025_02_16_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060082","file1":"1352060054","file0":"1352060025","file4":"1352060142","file5":"1352060169","file3":"1352060111"},"map_files_photo_id_array":[{"photo_id":"1352060169","filename":"file5"},{"photo_id":"1352060082","filename":"file2"},{"photo_id":"1352060142","filename":"file4"},{"photo_id":"1352060054","filename":"file1"},{"photo_id":"1352060025","filename":"file0"},{"photo_id":"1352060111","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060054":["hashtag1","hashtag2"]},{"1352060111":["hashtag1","hashtag2"]},{"1352060169":["hashtag1","hashtag2"]},{"1352060082":["hashtag1","hashtag2"]},{"1352060142":["hashtag1","hashtag2"]},{"1352060025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060054, 1352060111, 1352060169, 1352060082, 1352060142, 1352060025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.72121500968933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:04:32.771985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/16/image_20042025_02_17_05_10440.jpg', '/home/pi/Desktop/images/20042025/02/17/image_20042025_02_17_14_9366.jpg', '/home/pi/Desktop/images/20042025/02/17/image_20042025_02_17_34_9362.jpg', '/home/pi/Desktop/images/20042025/02/17/image_20042025_02_17_55_10487.jpg', '/home/pi/Desktop/images/20042025/02/17/image_20042025_02_18_04_9343.jpg', '/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/16/image_20042025_02_17_05_10440.jpg
/home/pi/Desktop/images/20042025/02/17/image_20042025_02_17_14_9366.jpg
/home/pi/Desktop/images/20042025/02/17/image_20042025_02_17_34_9362.jpg
/home/pi/Desktop/images/20042025/02/17/image_20042025_02_17_55_10487.jpg
/home/pi/Desktop/images/20042025/02/17/image_20042025_02_18_04_9343.jpg
/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060290","1352060335","1352060332","1352060277","1352060340","1352060319"],"photo_ids_order":["1352060277","1352060290","1352060319","1352060332","1352060335","1352060340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f93f2dc59b1ac178f7033dbcee7a832.jpg","text":"TemporaryFile(/tmp/multipartBody1917090331522881061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121933238,"filename":"image_20042025_02_17_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a04351cacc2a275976a10af1170774f.jpg","text":"TemporaryFile(/tmp/multipartBody3503073575459015879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121933238,"filename":"image_20042025_02_18_04_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c110ef0b1c21217535d6b55bc813cac0.jpg","text":"TemporaryFile(/tmp/multipartBody5405829980140335191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121933238,"filename":"image_20042025_02_17_55_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4271869962fb2a5bb62709d3c095168a.jpg","text":"TemporaryFile(/tmp/multipartBody2688406678970450863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121933238,"filename":"image_20042025_02_17_05_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/410587e917fbac413552e04e32805351.jpg","text":"TemporaryFile(/tmp/multipartBody1971921313893267099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121933238,"filename":"image_20042025_02_18_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e0c5b02c5cfc1dde662971c03edbb5d.jpg","text":"TemporaryFile(/tmp/multipartBody5471835508070204843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121933238,"filename":"image_20042025_02_17_34_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060319","file1":"1352060290","file0":"1352060277","file4":"1352060335","file5":"1352060340","file3":"1352060332"},"map_files_photo_id_array":[{"photo_id":"1352060340","filename":"file5"},{"photo_id":"1352060319","filename":"file2"},{"photo_id":"1352060335","filename":"file4"},{"photo_id":"1352060290","filename":"file1"},{"photo_id":"1352060277","filename":"file0"},{"photo_id":"1352060332","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060290":["hashtag1","hashtag2"]},{"1352060335":["hashtag1","hashtag2"]},{"1352060332":["hashtag1","hashtag2"]},{"1352060277":["hashtag1","hashtag2"]},{"1352060340":["hashtag1","hashtag2"]},{"1352060319":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060290, 1352060335, 1352060332, 1352060277, 1352060340, 1352060319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.694591760635376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:05:33.007555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_24_9416.jpg', '/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_34_10370.jpg', '/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_45_10520.jpg', '/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_54_9353.jpg', '/home/pi/Desktop/images/20042025/02/18/image_20042025_02_19_05_10460.jpg', '/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_14_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_24_9416.jpg
/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_34_10370.jpg
/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_45_10520.jpg
/home/pi/Desktop/images/20042025/02/18/image_20042025_02_18_54_9353.jpg
/home/pi/Desktop/images/20042025/02/18/image_20042025_02_19_05_10460.jpg
/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_14_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060399","1352060402","1352060404","1352060397","1352060401","1352060403"],"photo_ids_order":["1352060397","1352060399","1352060401","1352060402","1352060403","1352060404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9834ce29f9b36969942bc49544a18cef.jpg","text":"TemporaryFile(/tmp/multipartBody2064405693124987458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121993478,"filename":"image_20042025_02_18_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f51559f4cb42dc605e5b681c95f3db6c.jpg","text":"TemporaryFile(/tmp/multipartBody7511979674627923415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121993478,"filename":"image_20042025_02_18_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13aab073c8190dd6d6cc6b65f5227032.jpg","text":"TemporaryFile(/tmp/multipartBody1385536949908551829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121993478,"filename":"image_20042025_02_19_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6438658da5c362e19508ec3ca537dbf6.jpg","text":"TemporaryFile(/tmp/multipartBody8786080071151841696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121993478,"filename":"image_20042025_02_18_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/685a134b84bfa86ef6f0bf405057656f.jpg","text":"TemporaryFile(/tmp/multipartBody2123695442224308596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121993478,"filename":"image_20042025_02_18_45_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5427260eb7a88d16b1b1c148a5236ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5736368459335808290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745121993478,"filename":"image_20042025_02_19_05_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060401","file1":"1352060399","file0":"1352060397","file4":"1352060403","file5":"1352060404","file3":"1352060402"},"map_files_photo_id_array":[{"photo_id":"1352060404","filename":"file5"},{"photo_id":"1352060401","filename":"file2"},{"photo_id":"1352060403","filename":"file4"},{"photo_id":"1352060399","filename":"file1"},{"photo_id":"1352060397","filename":"file0"},{"photo_id":"1352060402","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060399":["hashtag1","hashtag2"]},{"1352060402":["hashtag1","hashtag2"]},{"1352060404":["hashtag1","hashtag2"]},{"1352060397":["hashtag1","hashtag2"]},{"1352060401":["hashtag1","hashtag2"]},{"1352060403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060399, 1352060402, 1352060404, 1352060397, 1352060401, 1352060403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17285990715027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:06:32.290482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_24_10374.jpg', '/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_35_10463.jpg', '/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_44_9344.jpg', '/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_14_10383.jpg', '/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_25_10358.jpg', '/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_34_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_24_10374.jpg
/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_35_10463.jpg
/home/pi/Desktop/images/20042025/02/19/image_20042025_02_19_44_9344.jpg
/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_14_10383.jpg
/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_25_10358.jpg
/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_34_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060423","1352060425","1352060427","1352060421","1352060415","1352060418"],"photo_ids_order":["1352060415","1352060418","1352060421","1352060423","1352060425","1352060427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8ce6fc68f7ceed84fcd349847502082.jpg","text":"TemporaryFile(/tmp/multipartBody5719762041477333406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122052757,"filename":"image_20042025_02_20_14_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a74863b97542a5ec1f45d7fb53cb155.jpg","text":"TemporaryFile(/tmp/multipartBody4242056149907013702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122052757,"filename":"image_20042025_02_20_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f96d0ca3e27b60ba3a80a3f8f0c3ed75.jpg","text":"TemporaryFile(/tmp/multipartBody469190493856980890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122052757,"filename":"image_20042025_02_20_34_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddf5f3d7d48c7b093646e31656791dae.jpg","text":"TemporaryFile(/tmp/multipartBody5335332189380981094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122052757,"filename":"image_20042025_02_19_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/984a00fa574aab5b89c921bf93265d49.jpg","text":"TemporaryFile(/tmp/multipartBody8900419587598702458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122052757,"filename":"image_20042025_02_19_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34805f48f38c1d89bcf622c4ea3bb930.jpg","text":"TemporaryFile(/tmp/multipartBody2176079053029040788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122052757,"filename":"image_20042025_02_19_35_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060421","file1":"1352060418","file0":"1352060415","file4":"1352060425","file5":"1352060427","file3":"1352060423"},"map_files_photo_id_array":[{"photo_id":"1352060427","filename":"file5"},{"photo_id":"1352060421","filename":"file2"},{"photo_id":"1352060425","filename":"file4"},{"photo_id":"1352060418","filename":"file1"},{"photo_id":"1352060415","filename":"file0"},{"photo_id":"1352060423","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060423":["hashtag1","hashtag2"]},{"1352060425":["hashtag1","hashtag2"]},{"1352060427":["hashtag1","hashtag2"]},{"1352060421":["hashtag1","hashtag2"]},{"1352060415":["hashtag1","hashtag2"]},{"1352060418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060423, 1352060425, 1352060427, 1352060421, 1352060415, 1352060418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83004093170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:07:32.497419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_45_10343.jpg', '/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_55_10449.jpg', '/home/pi/Desktop/images/20042025/02/20/image_20042025_02_21_04_9343.jpg', '/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_15_10357.jpg', '/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_24_9366.jpg', '/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_34_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_45_10343.jpg
/home/pi/Desktop/images/20042025/02/20/image_20042025_02_20_55_10449.jpg
/home/pi/Desktop/images/20042025/02/20/image_20042025_02_21_04_9343.jpg
/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_15_10357.jpg
/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_24_9366.jpg
/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_34_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060441","1352060443","1352060446","1352060439","1352060448","1352060436"],"photo_ids_order":["1352060436","1352060439","1352060441","1352060443","1352060446","1352060448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7202813156e3decacfe5471aa3f04c59.jpg","text":"TemporaryFile(/tmp/multipartBody7115532162968151421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122112966,"filename":"image_20042025_02_21_04_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3562c5d65c61823dfad75f7d3b1da8ea.jpg","text":"TemporaryFile(/tmp/multipartBody5479480126823946568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122112966,"filename":"image_20042025_02_21_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1efdc1960995d4d705830315985232d6.jpg","text":"TemporaryFile(/tmp/multipartBody6490859433144552074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122112966,"filename":"image_20042025_02_21_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90bdce7e6e98a88e397d72fd49c61959.jpg","text":"TemporaryFile(/tmp/multipartBody2458999813623998431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122112966,"filename":"image_20042025_02_20_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c004fb8b7feab31e852f6a7a8cf15bd8.jpg","text":"TemporaryFile(/tmp/multipartBody9003055835767602583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122112966,"filename":"image_20042025_02_21_34_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e78d559e539d170ebe60c2037b7c781.jpg","text":"TemporaryFile(/tmp/multipartBody238583407594712668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122112966,"filename":"image_20042025_02_20_45_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060441","file1":"1352060439","file0":"1352060436","file4":"1352060446","file5":"1352060448","file3":"1352060443"},"map_files_photo_id_array":[{"photo_id":"1352060448","filename":"file5"},{"photo_id":"1352060441","filename":"file2"},{"photo_id":"1352060446","filename":"file4"},{"photo_id":"1352060439","filename":"file1"},{"photo_id":"1352060436","filename":"file0"},{"photo_id":"1352060443","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060441":["hashtag1","hashtag2"]},{"1352060443":["hashtag1","hashtag2"]},{"1352060446":["hashtag1","hashtag2"]},{"1352060439":["hashtag1","hashtag2"]},{"1352060448":["hashtag1","hashtag2"]},{"1352060436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060441, 1352060443, 1352060446, 1352060439, 1352060448, 1352060436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21919822692871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:08:32.695667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_45_10356.jpg', '/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_54_9355.jpg', '/home/pi/Desktop/images/20042025/02/21/image_20042025_02_22_04_10367.jpg', '/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_15_10412.jpg', '/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_24_9335.jpg', '/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_35_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_45_10356.jpg
/home/pi/Desktop/images/20042025/02/21/image_20042025_02_21_54_9355.jpg
/home/pi/Desktop/images/20042025/02/21/image_20042025_02_22_04_10367.jpg
/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_15_10412.jpg
/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_24_9335.jpg
/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_35_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060462","1352060471","1352060465","1352060459","1352060467","1352060469"],"photo_ids_order":["1352060459","1352060462","1352060465","1352060467","1352060469","1352060471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ef3b231714b891cff20a8b8d1e59449.jpg","text":"TemporaryFile(/tmp/multipartBody3760978380705320690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122173176,"filename":"image_20042025_02_21_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc99cc22815e1cec2f0a28b463a5edaa.jpg","text":"TemporaryFile(/tmp/multipartBody4625212785176383646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122173176,"filename":"image_20042025_02_22_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8add724276087d96cefe397a43e9319.jpg","text":"TemporaryFile(/tmp/multipartBody7709614931442880919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122173176,"filename":"image_20042025_02_22_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e851dfb86061dfaf0f446133aa16b8b.jpg","text":"TemporaryFile(/tmp/multipartBody1031561803558336314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122173176,"filename":"image_20042025_02_21_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c420e12c3a6fb96e4def0a26b1201789.jpg","text":"TemporaryFile(/tmp/multipartBody6543638549314446676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122173176,"filename":"image_20042025_02_22_15_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8321449287c8fa2a8cbac44f266f3ac7.jpg","text":"TemporaryFile(/tmp/multipartBody1768314494422642258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122173176,"filename":"image_20042025_02_22_24_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060465","file1":"1352060462","file0":"1352060459","file4":"1352060469","file5":"1352060471","file3":"1352060467"},"map_files_photo_id_array":[{"photo_id":"1352060471","filename":"file5"},{"photo_id":"1352060465","filename":"file2"},{"photo_id":"1352060469","filename":"file4"},{"photo_id":"1352060462","filename":"file1"},{"photo_id":"1352060459","filename":"file0"},{"photo_id":"1352060467","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060462":["hashtag1","hashtag2"]},{"1352060471":["hashtag1","hashtag2"]},{"1352060465":["hashtag1","hashtag2"]},{"1352060459":["hashtag1","hashtag2"]},{"1352060467":["hashtag1","hashtag2"]},{"1352060469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060462, 1352060471, 1352060465, 1352060459, 1352060467, 1352060469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.754408836364746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:09:33.010743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_44_9436.jpg', '/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_54_10409.jpg', '/home/pi/Desktop/images/20042025/02/22/image_20042025_02_23_05_10359.jpg', '/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_14_9358.jpg', '/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_25_10371.jpg', '/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_35_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_44_9436.jpg
/home/pi/Desktop/images/20042025/02/22/image_20042025_02_22_54_10409.jpg
/home/pi/Desktop/images/20042025/02/22/image_20042025_02_23_05_10359.jpg
/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_14_9358.jpg
/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_25_10371.jpg
/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_35_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060482","1352060484","1352060487","1352060492","1352060486","1352060489"],"photo_ids_order":["1352060482","1352060484","1352060486","1352060487","1352060489","1352060492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05014d1cc70dbefd967e017e283c0f44.jpg","text":"TemporaryFile(/tmp/multipartBody7800128181342298602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122233486,"filename":"image_20042025_02_22_44_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/302704de91527e1817e662c392309547.jpg","text":"TemporaryFile(/tmp/multipartBody5720974449849285138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122233486,"filename":"image_20042025_02_22_54_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de083daeca13efb51da21c37114b4575.jpg","text":"TemporaryFile(/tmp/multipartBody3456568533589202659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122233486,"filename":"image_20042025_02_23_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53cf553e4b03d2fda6ead12b193d6477.jpg","text":"TemporaryFile(/tmp/multipartBody8077520124231102434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122233486,"filename":"image_20042025_02_23_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f32751a55f0e0108a51d4563fbd32d24.jpg","text":"TemporaryFile(/tmp/multipartBody3905533400022338364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122233486,"filename":"image_20042025_02_23_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb12c6dfc03af0d3dba92166d43f147b.jpg","text":"TemporaryFile(/tmp/multipartBody6121134544074754550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122233486,"filename":"image_20042025_02_23_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060486","file1":"1352060484","file0":"1352060482","file4":"1352060489","file5":"1352060492","file3":"1352060487"},"map_files_photo_id_array":[{"photo_id":"1352060492","filename":"file5"},{"photo_id":"1352060486","filename":"file2"},{"photo_id":"1352060489","filename":"file4"},{"photo_id":"1352060484","filename":"file1"},{"photo_id":"1352060482","filename":"file0"},{"photo_id":"1352060487","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060482":["hashtag1","hashtag2"]},{"1352060484":["hashtag1","hashtag2"]},{"1352060487":["hashtag1","hashtag2"]},{"1352060492":["hashtag1","hashtag2"]},{"1352060486":["hashtag1","hashtag2"]},{"1352060489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060482, 1352060484, 1352060487, 1352060492, 1352060486, 1352060489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.594316482543945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:10:32.230525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_44_9365.jpg', '/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_55_10353.jpg', '/home/pi/Desktop/images/20042025/02/23/image_20042025_02_24_05_10348.jpg', '/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_14_9341.jpg', '/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_25_10371.jpg', '/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_34_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_44_9365.jpg
/home/pi/Desktop/images/20042025/02/23/image_20042025_02_23_55_10353.jpg
/home/pi/Desktop/images/20042025/02/23/image_20042025_02_24_05_10348.jpg
/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_14_9341.jpg
/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_25_10371.jpg
/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_34_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060563","1352060560","1352060554","1352060557","1352060565","1352060567"],"photo_ids_order":["1352060554","1352060557","1352060560","1352060563","1352060565","1352060567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5057960f0c46c1d48bc645911cc56388.jpg","text":"TemporaryFile(/tmp/multipartBody4261632872551653217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122292709,"filename":"image_20042025_02_24_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43b13633c0c1ccb6090963e0cd36863f.jpg","text":"TemporaryFile(/tmp/multipartBody5082880845648330806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122292709,"filename":"image_20042025_02_24_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ff3bc389bb1203c05848aef00d89799.jpg","text":"TemporaryFile(/tmp/multipartBody3486798006550542403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122292709,"filename":"image_20042025_02_23_44_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d2066149c6dc1fea447fd9f2affc7f3.jpg","text":"TemporaryFile(/tmp/multipartBody6557024883786260094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122292709,"filename":"image_20042025_02_23_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6efa454d2d8c2bed68a17ed9f9d93ebd.jpg","text":"TemporaryFile(/tmp/multipartBody3299194346237781904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122292709,"filename":"image_20042025_02_24_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9678f88c2e3f470c62ac91607ec4d07e.jpg","text":"TemporaryFile(/tmp/multipartBody2011387114171729641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122292709,"filename":"image_20042025_02_24_34_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060560","file1":"1352060557","file0":"1352060554","file4":"1352060565","file5":"1352060567","file3":"1352060563"},"map_files_photo_id_array":[{"photo_id":"1352060567","filename":"file5"},{"photo_id":"1352060560","filename":"file2"},{"photo_id":"1352060565","filename":"file4"},{"photo_id":"1352060557","filename":"file1"},{"photo_id":"1352060554","filename":"file0"},{"photo_id":"1352060563","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060563":["hashtag1","hashtag2"]},{"1352060560":["hashtag1","hashtag2"]},{"1352060554":["hashtag1","hashtag2"]},{"1352060557":["hashtag1","hashtag2"]},{"1352060565":["hashtag1","hashtag2"]},{"1352060567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060563, 1352060560, 1352060554, 1352060557, 1352060565, 1352060567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20990228652954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:11:32.512404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_44_10366.jpg', '/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_55_10438.jpg', '/home/pi/Desktop/images/20042025/02/24/image_20042025_02_25_04_9365.jpg', '/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_15_10415.jpg', '/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_24_9646.jpg', '/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_44_10366.jpg
/home/pi/Desktop/images/20042025/02/24/image_20042025_02_24_55_10438.jpg
/home/pi/Desktop/images/20042025/02/24/image_20042025_02_25_04_9365.jpg
/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_15_10415.jpg
/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_24_9646.jpg
/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_35_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060579","1352060593","1352060589","1352060583","1352060591","1352060585"],"photo_ids_order":["1352060579","1352060583","1352060585","1352060589","1352060591","1352060593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebed96771810086431b0a135600aef8d.jpg","text":"TemporaryFile(/tmp/multipartBody800625956689872899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122352985,"filename":"image_20042025_02_24_44_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c383a4e74c88ff2b91d2b761815e3ee3.jpg","text":"TemporaryFile(/tmp/multipartBody4025282257945176023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122352985,"filename":"image_20042025_02_25_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf161abb7a16c7cca4a5e52adf63e79d.jpg","text":"TemporaryFile(/tmp/multipartBody6293235652610805187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122352985,"filename":"image_20042025_02_25_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf48cde88acf4cb1435ee4d9f7d3212b.jpg","text":"TemporaryFile(/tmp/multipartBody4732943739472395603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122352985,"filename":"image_20042025_02_24_55_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ee47ddc3378859037fc626f55788e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2250721345862890869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122352985,"filename":"image_20042025_02_25_24_9646.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba548f99ea68f78b9bb55876e5007da5.jpg","text":"TemporaryFile(/tmp/multipartBody6463156206883994770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122352985,"filename":"image_20042025_02_25_04_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060585","file1":"1352060583","file0":"1352060579","file4":"1352060591","file5":"1352060593","file3":"1352060589"},"map_files_photo_id_array":[{"photo_id":"1352060593","filename":"file5"},{"photo_id":"1352060585","filename":"file2"},{"photo_id":"1352060591","filename":"file4"},{"photo_id":"1352060583","filename":"file1"},{"photo_id":"1352060579","filename":"file0"},{"photo_id":"1352060589","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060579":["hashtag1","hashtag2"]},{"1352060593":["hashtag1","hashtag2"]},{"1352060589":["hashtag1","hashtag2"]},{"1352060583":["hashtag1","hashtag2"]},{"1352060591":["hashtag1","hashtag2"]},{"1352060585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060579, 1352060593, 1352060589, 1352060583, 1352060591, 1352060585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.900373458862305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:12:32.579380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_44_9355.jpg', '/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_55_10896.jpg', '/home/pi/Desktop/images/20042025/02/25/image_20042025_02_26_04_9352.jpg', '/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_15_10376.jpg', '/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_24_9440.jpg', '/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_45_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_44_9355.jpg
/home/pi/Desktop/images/20042025/02/25/image_20042025_02_25_55_10896.jpg
/home/pi/Desktop/images/20042025/02/25/image_20042025_02_26_04_9352.jpg
/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_15_10376.jpg
/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_24_9440.jpg
/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_45_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060603","1352060612","1352060606","1352060608","1352060598","1352060610"],"photo_ids_order":["1352060598","1352060603","1352060606","1352060608","1352060610","1352060612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58ff3af6d25c3f5fe1e8ae53fb43bd96.jpg","text":"TemporaryFile(/tmp/multipartBody7568963148256189826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122413061,"filename":"image_20042025_02_25_55_10896.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c868c953e27f3f6211bc0a3bd6e8ce6c.jpg","text":"TemporaryFile(/tmp/multipartBody5163626500201030525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122413061,"filename":"image_20042025_02_26_45_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b37d70dac8ff2e08f1d29bc980f096b.jpg","text":"TemporaryFile(/tmp/multipartBody1809189880133354306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122413061,"filename":"image_20042025_02_26_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95bc15633d296e05415a24d517d8204a.jpg","text":"TemporaryFile(/tmp/multipartBody2503412610157240921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122413061,"filename":"image_20042025_02_26_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebd16d4344f24c7b89a7c868aa3570e4.jpg","text":"TemporaryFile(/tmp/multipartBody5482947784003570712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122413061,"filename":"image_20042025_02_25_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78a51fb9a417f7940dd6f3ede522daf8.jpg","text":"TemporaryFile(/tmp/multipartBody3714305577982954534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122413061,"filename":"image_20042025_02_26_24_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060606","file1":"1352060603","file0":"1352060598","file4":"1352060610","file5":"1352060612","file3":"1352060608"},"map_files_photo_id_array":[{"photo_id":"1352060612","filename":"file5"},{"photo_id":"1352060606","filename":"file2"},{"photo_id":"1352060610","filename":"file4"},{"photo_id":"1352060603","filename":"file1"},{"photo_id":"1352060598","filename":"file0"},{"photo_id":"1352060608","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060603":["hashtag1","hashtag2"]},{"1352060612":["hashtag1","hashtag2"]},{"1352060606":["hashtag1","hashtag2"]},{"1352060608":["hashtag1","hashtag2"]},{"1352060598":["hashtag1","hashtag2"]},{"1352060610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060603, 1352060612, 1352060606, 1352060608, 1352060598, 1352060610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.292151927947998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:13:32.880964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_54_9392.jpg', '/home/pi/Desktop/images/20042025/02/26/image_20042025_02_27_05_10442.jpg', '/home/pi/Desktop/images/20042025/02/27/image_20042025_02_27_35_10390.jpg', '/home/pi/Desktop/images/20042025/02/27/image_20042025_02_27_44_9340.jpg', '/home/pi/Desktop/images/20042025/02/27/image_20042025_02_27_55_10397.jpg', '/home/pi/Desktop/images/20042025/02/27/image_20042025_02_28_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/26/image_20042025_02_26_54_9392.jpg
/home/pi/Desktop/images/20042025/02/26/image_20042025_02_27_05_10442.jpg
/home/pi/Desktop/images/20042025/02/27/image_20042025_02_27_35_10390.jpg
/home/pi/Desktop/images/20042025/02/27/image_20042025_02_27_44_9340.jpg
/home/pi/Desktop/images/20042025/02/27/image_20042025_02_27_55_10397.jpg
/home/pi/Desktop/images/20042025/02/27/image_20042025_02_28_04_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060636","1352060639","1352060633","1352060626","1352060629","1352060623"],"photo_ids_order":["1352060623","1352060626","1352060629","1352060633","1352060636","1352060639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b323eec44495d818de77cdd5a25c34aa.jpg","text":"TemporaryFile(/tmp/multipartBody1505918295150701960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122473354,"filename":"image_20042025_02_27_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e31f709a20dd0ef8bf5c033d16a72c5.jpg","text":"TemporaryFile(/tmp/multipartBody3943634579304380616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122473354,"filename":"image_20042025_02_28_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee194d1fdc309e99053fcf54bc882610.jpg","text":"TemporaryFile(/tmp/multipartBody4728992346939862652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122473354,"filename":"image_20042025_02_27_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0311ee02f351f876a3f1513f89a2a53.jpg","text":"TemporaryFile(/tmp/multipartBody4336014604364479051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122473354,"filename":"image_20042025_02_27_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/beb583b0d2490b1e9c2b424e141b3730.jpg","text":"TemporaryFile(/tmp/multipartBody731710420038031507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122473354,"filename":"image_20042025_02_27_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97d356165ffbbcac9ef6f2402aa4c7d3.jpg","text":"TemporaryFile(/tmp/multipartBody3536773606313723288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122473354,"filename":"image_20042025_02_26_54_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060629","file1":"1352060626","file0":"1352060623","file4":"1352060636","file5":"1352060639","file3":"1352060633"},"map_files_photo_id_array":[{"photo_id":"1352060639","filename":"file5"},{"photo_id":"1352060629","filename":"file2"},{"photo_id":"1352060636","filename":"file4"},{"photo_id":"1352060626","filename":"file1"},{"photo_id":"1352060623","filename":"file0"},{"photo_id":"1352060633","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060636":["hashtag1","hashtag2"]},{"1352060639":["hashtag1","hashtag2"]},{"1352060633":["hashtag1","hashtag2"]},{"1352060626":["hashtag1","hashtag2"]},{"1352060629":["hashtag1","hashtag2"]},{"1352060623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060636, 1352060639, 1352060633, 1352060626, 1352060629, 1352060623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.956331729888916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:14:33.154723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_14_10370.jpg', '/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_25_10352.jpg', '/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_34_9392.jpg', '/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_44_10360.jpg', '/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_55_10413.jpg', '/home/pi/Desktop/images/20042025/02/28/image_20042025_02_29_04_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_14_10370.jpg
/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_25_10352.jpg
/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_34_9392.jpg
/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_44_10360.jpg
/home/pi/Desktop/images/20042025/02/28/image_20042025_02_28_55_10413.jpg
/home/pi/Desktop/images/20042025/02/28/image_20042025_02_29_04_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060663","1352060651","1352060647","1352060661","1352060655","1352060658"],"photo_ids_order":["1352060647","1352060651","1352060655","1352060658","1352060661","1352060663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cac23729b1963aa7b7f6048d88b189f8.jpg","text":"TemporaryFile(/tmp/multipartBody711988381182766556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122533619,"filename":"image_20042025_02_29_04_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfc911d28ecf5ebef75b1698a0a40bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6028609073853741598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122533619,"filename":"image_20042025_02_28_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/305944dba79f7b05a0369f314fdf656e.jpg","text":"TemporaryFile(/tmp/multipartBody9089428284706620220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122533619,"filename":"image_20042025_02_28_14_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d83bdbb22d37cdd5af029db7c427850.jpg","text":"TemporaryFile(/tmp/multipartBody8221572073220626281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122533619,"filename":"image_20042025_02_28_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69e9803cadee98710fd32595a94647b1.jpg","text":"TemporaryFile(/tmp/multipartBody5252829607947029192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122533619,"filename":"image_20042025_02_28_34_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/541f325807aa04698e83b6473a9af764.jpg","text":"TemporaryFile(/tmp/multipartBody8232902528294695585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122533619,"filename":"image_20042025_02_28_44_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060655","file1":"1352060651","file0":"1352060647","file4":"1352060661","file5":"1352060663","file3":"1352060658"},"map_files_photo_id_array":[{"photo_id":"1352060663","filename":"file5"},{"photo_id":"1352060655","filename":"file2"},{"photo_id":"1352060661","filename":"file4"},{"photo_id":"1352060651","filename":"file1"},{"photo_id":"1352060647","filename":"file0"},{"photo_id":"1352060658","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060663":["hashtag1","hashtag2"]},{"1352060651":["hashtag1","hashtag2"]},{"1352060647":["hashtag1","hashtag2"]},{"1352060661":["hashtag1","hashtag2"]},{"1352060655":["hashtag1","hashtag2"]},{"1352060658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060663, 1352060651, 1352060647, 1352060661, 1352060655, 1352060658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.516849040985107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:15:32.243284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_15_10339.jpg', '/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_25_10361.jpg', '/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_34_9345.jpg', '/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_45_10363.jpg', '/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_54_9469.jpg', '/home/pi/Desktop/images/20042025/02/29/image_20042025_02_30_04_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_15_10339.jpg
/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_25_10361.jpg
/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_34_9345.jpg
/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_45_10363.jpg
/home/pi/Desktop/images/20042025/02/29/image_20042025_02_29_54_9469.jpg
/home/pi/Desktop/images/20042025/02/29/image_20042025_02_30_04_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060681","1352060675","1352060680","1352060677","1352060679","1352060678"],"photo_ids_order":["1352060675","1352060677","1352060678","1352060679","1352060680","1352060681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f241509e8526ee6f0ca7e1336b217e82.jpg","text":"TemporaryFile(/tmp/multipartBody1071574386045533631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122592728,"filename":"image_20042025_02_30_04_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ced83af1ffd1a3cdb3c0ad01c0712910.jpg","text":"TemporaryFile(/tmp/multipartBody3041165714621061015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122592728,"filename":"image_20042025_02_29_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/045aeca95959ce9d1d02ff007957334d.jpg","text":"TemporaryFile(/tmp/multipartBody7686450343024593013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122592728,"filename":"image_20042025_02_29_54_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d09cd0fecadbeb267a049173587d77f.jpg","text":"TemporaryFile(/tmp/multipartBody9106626424110527792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122592728,"filename":"image_20042025_02_29_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a153153b3d106fd0e8385b6974704e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1690623017590657608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122592728,"filename":"image_20042025_02_29_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60b2996a2e6111b25e4398202fb5f9f2.jpg","text":"TemporaryFile(/tmp/multipartBody3200781693727461055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122592728,"filename":"image_20042025_02_29_34_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060678","file1":"1352060677","file0":"1352060675","file4":"1352060680","file5":"1352060681","file3":"1352060679"},"map_files_photo_id_array":[{"photo_id":"1352060681","filename":"file5"},{"photo_id":"1352060678","filename":"file2"},{"photo_id":"1352060680","filename":"file4"},{"photo_id":"1352060677","filename":"file1"},{"photo_id":"1352060675","filename":"file0"},{"photo_id":"1352060679","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060681":["hashtag1","hashtag2"]},{"1352060675":["hashtag1","hashtag2"]},{"1352060680":["hashtag1","hashtag2"]},{"1352060677":["hashtag1","hashtag2"]},{"1352060679":["hashtag1","hashtag2"]},{"1352060678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060681, 1352060675, 1352060680, 1352060677, 1352060679, 1352060678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.631308794021606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:16:32.606818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_15_10449.jpg', '/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_35_10363.jpg', '/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_44_9431.jpg', '/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_55_10363.jpg', '/home/pi/Desktop/images/20042025/02/30/image_20042025_02_31_04_9483.jpg', '/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_14_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_15_10449.jpg
/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_35_10363.jpg
/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_44_9431.jpg
/home/pi/Desktop/images/20042025/02/30/image_20042025_02_30_55_10363.jpg
/home/pi/Desktop/images/20042025/02/30/image_20042025_02_31_04_9483.jpg
/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_14_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060689","1352060692","1352060697","1352060706","1352060700","1352060703"],"photo_ids_order":["1352060689","1352060692","1352060697","1352060700","1352060703","1352060706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16ac75459dd27cbc2fa3c85df8e809d4.jpg","text":"TemporaryFile(/tmp/multipartBody2248067751542656505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122653079,"filename":"image_20042025_02_30_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3ae6ec8042e5347026b1aaa6acd7a25.jpg","text":"TemporaryFile(/tmp/multipartBody3817858421516927164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122653079,"filename":"image_20042025_02_30_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afc68b12ab7362202cea1d1ee796b96a.jpg","text":"TemporaryFile(/tmp/multipartBody531673508352436338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122653079,"filename":"image_20042025_02_30_44_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/caa4e2ae94f5f1ab14103b8065c2f5bf.jpg","text":"TemporaryFile(/tmp/multipartBody2131166911261836590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122653079,"filename":"image_20042025_02_31_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/953cfe775a17bbc2c17f32d7b515b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody8215551214402909817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122653079,"filename":"image_20042025_02_30_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd6532ff9f34bdecf0c039368892f767.jpg","text":"TemporaryFile(/tmp/multipartBody8643929982588967433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122653079,"filename":"image_20042025_02_31_04_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060697","file1":"1352060692","file0":"1352060689","file4":"1352060703","file5":"1352060706","file3":"1352060700"},"map_files_photo_id_array":[{"photo_id":"1352060706","filename":"file5"},{"photo_id":"1352060697","filename":"file2"},{"photo_id":"1352060703","filename":"file4"},{"photo_id":"1352060692","filename":"file1"},{"photo_id":"1352060689","filename":"file0"},{"photo_id":"1352060700","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060689":["hashtag1","hashtag2"]},{"1352060692":["hashtag1","hashtag2"]},{"1352060697":["hashtag1","hashtag2"]},{"1352060706":["hashtag1","hashtag2"]},{"1352060700":["hashtag1","hashtag2"]},{"1352060703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060689, 1352060692, 1352060697, 1352060706, 1352060700, 1352060703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12334370613098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:17:32.831925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_34_9430.jpg', '/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_45_10372.jpg', '/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_55_10390.jpg', '/home/pi/Desktop/images/20042025/02/31/image_20042025_02_32_04_9358.jpg', '/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_24_9441.jpg', '/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_34_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_34_9430.jpg
/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_45_10372.jpg
/home/pi/Desktop/images/20042025/02/31/image_20042025_02_31_55_10390.jpg
/home/pi/Desktop/images/20042025/02/31/image_20042025_02_32_04_9358.jpg
/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_24_9441.jpg
/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_34_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060720","1352060714","1352060716","1352060730","1352060724","1352060727"],"photo_ids_order":["1352060714","1352060716","1352060720","1352060724","1352060727","1352060730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b11a1c56093a650a22b4377a6aa67af6.jpg","text":"TemporaryFile(/tmp/multipartBody3611364873329251528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122713331,"filename":"image_20042025_02_31_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1a9b30e18ae4d22b94754e218d37b2b.jpg","text":"TemporaryFile(/tmp/multipartBody418684233702768592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122713331,"filename":"image_20042025_02_31_34_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d8cd1cb8fc256590e91f9197c38669a.jpg","text":"TemporaryFile(/tmp/multipartBody5601492816951278159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122713331,"filename":"image_20042025_02_31_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae5a1ac6816923ce641aaeefc12ca0d5.jpg","text":"TemporaryFile(/tmp/multipartBody6039227704661762471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122713331,"filename":"image_20042025_02_32_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74d2dfd48b730a11811b63bb7c9efd80.jpg","text":"TemporaryFile(/tmp/multipartBody3115177257260724634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122713331,"filename":"image_20042025_02_32_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31c553f5db267adce363aeaa531a13dd.jpg","text":"TemporaryFile(/tmp/multipartBody4564578327553610641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122713331,"filename":"image_20042025_02_32_24_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060720","file1":"1352060716","file0":"1352060714","file4":"1352060727","file5":"1352060730","file3":"1352060724"},"map_files_photo_id_array":[{"photo_id":"1352060730","filename":"file5"},{"photo_id":"1352060720","filename":"file2"},{"photo_id":"1352060727","filename":"file4"},{"photo_id":"1352060716","filename":"file1"},{"photo_id":"1352060714","filename":"file0"},{"photo_id":"1352060724","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060720":["hashtag1","hashtag2"]},{"1352060714":["hashtag1","hashtag2"]},{"1352060716":["hashtag1","hashtag2"]},{"1352060730":["hashtag1","hashtag2"]},{"1352060724":["hashtag1","hashtag2"]},{"1352060727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060720, 1352060714, 1352060716, 1352060730, 1352060724, 1352060727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13298463821411 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:18:33.003974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_45_10445.jpg', '/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_54_9348.jpg', '/home/pi/Desktop/images/20042025/02/32/image_20042025_02_33_05_10349.jpg', '/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_14_9452.jpg', '/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_25_10459.jpg', '/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_35_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_45_10445.jpg
/home/pi/Desktop/images/20042025/02/32/image_20042025_02_32_54_9348.jpg
/home/pi/Desktop/images/20042025/02/32/image_20042025_02_33_05_10349.jpg
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_14_9452.jpg
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_25_10459.jpg
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_35_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060741","1352060750","1352060752","1352060737","1352060745","1352060748"],"photo_ids_order":["1352060737","1352060741","1352060745","1352060748","1352060750","1352060752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51a09241693f62a3829e5e23612517de.jpg","text":"TemporaryFile(/tmp/multipartBody8485178525859971552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122773470,"filename":"image_20042025_02_32_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3fe350f0c0f660c6ec0d9d9e484146d5.jpg","text":"TemporaryFile(/tmp/multipartBody1892144648928410387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122773470,"filename":"image_20042025_02_33_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/903e51705d741dde9116029419d7d208.jpg","text":"TemporaryFile(/tmp/multipartBody8248154944274935534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122773470,"filename":"image_20042025_02_33_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08de4ac8479e05b7b1622acf8ea69f99.jpg","text":"TemporaryFile(/tmp/multipartBody7002147293680381633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122773470,"filename":"image_20042025_02_32_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1862f6e8739b7752f049b7193b544405.jpg","text":"TemporaryFile(/tmp/multipartBody5008513988965286441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122773470,"filename":"image_20042025_02_33_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbf806fcf94c0333117f79f4085e10d9.jpg","text":"TemporaryFile(/tmp/multipartBody8438583383290391961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122773470,"filename":"image_20042025_02_33_14_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060745","file1":"1352060741","file0":"1352060737","file4":"1352060750","file5":"1352060752","file3":"1352060748"},"map_files_photo_id_array":[{"photo_id":"1352060752","filename":"file5"},{"photo_id":"1352060745","filename":"file2"},{"photo_id":"1352060750","filename":"file4"},{"photo_id":"1352060741","filename":"file1"},{"photo_id":"1352060737","filename":"file0"},{"photo_id":"1352060748","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060741":["hashtag1","hashtag2"]},{"1352060750":["hashtag1","hashtag2"]},{"1352060752":["hashtag1","hashtag2"]},{"1352060737":["hashtag1","hashtag2"]},{"1352060745":["hashtag1","hashtag2"]},{"1352060748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060741, 1352060750, 1352060752, 1352060737, 1352060745, 1352060748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60531187057495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:19:32.436415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_44_9386.jpg', '/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_55_10348.jpg', '/home/pi/Desktop/images/20042025/02/33/image_20042025_02_34_04_9356.jpg', '/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_14_10379.jpg', '/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_25_10367.jpg', '/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_44_9386.jpg
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_55_10348.jpg
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_34_04_9356.jpg
/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_14_10379.jpg
/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_25_10367.jpg
/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_45_10361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40602731704711914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 06:19:42.320403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_44_9386.jpg', '/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_55_10348.jpg', '/home/pi/Desktop/images/20042025/02/33/image_20042025_02_34_04_9356.jpg', '/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_14_10379.jpg', '/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_25_10367.jpg', '/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_44_9386.jpg
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_33_55_10348.jpg
/home/pi/Desktop/images/20042025/02/33/image_20042025_02_34_04_9356.jpg
/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_14_10379.jpg
/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_25_10367.jpg
/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060780","1352060774","1352060782","1352060784","1352060777","1352060771"],"photo_ids_order":["1352060771","1352060774","1352060777","1352060780","1352060782","1352060784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2f56b67c138c8ad49d57ac1f5af261a.jpg","text":"TemporaryFile(/tmp/multipartBody5291250291252885301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122842800,"filename":"image_20042025_02_34_14_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39d364924c3d25e317b96665894e7cfd.jpg","text":"TemporaryFile(/tmp/multipartBody330207715045623378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122842800,"filename":"image_20042025_02_33_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75a7e21b4d725210b4cd77de00bb8d19.jpg","text":"TemporaryFile(/tmp/multipartBody2935087271772720300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122842800,"filename":"image_20042025_02_34_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f73af0ba2ef1d1c876c5560124b9f9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5666024951922075176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122842800,"filename":"image_20042025_02_34_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d1b4f8a1e79869dced6ff464983c628.jpg","text":"TemporaryFile(/tmp/multipartBody1858993739288220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122842800,"filename":"image_20042025_02_34_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d054ee864b7ac8ca2f351a0a46291492.jpg","text":"TemporaryFile(/tmp/multipartBody9160441995667155094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122842800,"filename":"image_20042025_02_33_44_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060777","file1":"1352060774","file0":"1352060771","file4":"1352060782","file5":"1352060784","file3":"1352060780"},"map_files_photo_id_array":[{"photo_id":"1352060784","filename":"file5"},{"photo_id":"1352060777","filename":"file2"},{"photo_id":"1352060782","filename":"file4"},{"photo_id":"1352060774","filename":"file1"},{"photo_id":"1352060771","filename":"file0"},{"photo_id":"1352060780","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060780":["hashtag1","hashtag2"]},{"1352060774":["hashtag1","hashtag2"]},{"1352060782":["hashtag1","hashtag2"]},{"1352060784":["hashtag1","hashtag2"]},{"1352060777":["hashtag1","hashtag2"]},{"1352060771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060780, 1352060774, 1352060782, 1352060784, 1352060777, 1352060771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.754460334777832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:20:32.543150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_55_10451.jpg', '/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_15_10373.jpg', '/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_24_9478.jpg', '/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_35_10354.jpg', '/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_45_10444.jpg', '/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_54_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/34/image_20042025_02_34_55_10451.jpg
/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_15_10373.jpg
/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_24_9478.jpg
/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_35_10354.jpg
/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_45_10444.jpg
/home/pi/Desktop/images/20042025/02/35/image_20042025_02_35_54_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060831","1352060833","1352060823","1352060826","1352060829","1352060820"],"photo_ids_order":["1352060820","1352060823","1352060826","1352060829","1352060831","1352060833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96f6ec5a621dbf96030c27928a7f5527.jpg","text":"TemporaryFile(/tmp/multipartBody6827934895854992178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122893029,"filename":"image_20042025_02_35_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea046e56be58bd26bc13a3d8f1578840.jpg","text":"TemporaryFile(/tmp/multipartBody1211597654467720744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122893029,"filename":"image_20042025_02_35_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9f961044436950f7980aa653de6c080.jpg","text":"TemporaryFile(/tmp/multipartBody4976094755897594735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122893029,"filename":"image_20042025_02_35_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b542bf728e4045e641ec959587dadc5.jpg","text":"TemporaryFile(/tmp/multipartBody717894745414093714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122893029,"filename":"image_20042025_02_35_24_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9d3e70c76177bd5b4e0216df86d3d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6475609523972343044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122893029,"filename":"image_20042025_02_35_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e1f4747e251762850dd0331914f911f.jpg","text":"TemporaryFile(/tmp/multipartBody262190643484760562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122893029,"filename":"image_20042025_02_34_55_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060826","file1":"1352060823","file0":"1352060820","file4":"1352060831","file5":"1352060833","file3":"1352060829"},"map_files_photo_id_array":[{"photo_id":"1352060833","filename":"file5"},{"photo_id":"1352060826","filename":"file2"},{"photo_id":"1352060831","filename":"file4"},{"photo_id":"1352060823","filename":"file1"},{"photo_id":"1352060820","filename":"file0"},{"photo_id":"1352060829","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060831":["hashtag1","hashtag2"]},{"1352060833":["hashtag1","hashtag2"]},{"1352060823":["hashtag1","hashtag2"]},{"1352060826":["hashtag1","hashtag2"]},{"1352060829":["hashtag1","hashtag2"]},{"1352060820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060831, 1352060833, 1352060823, 1352060826, 1352060829, 1352060820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68889307975769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:21:32.827326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/35/image_20042025_02_36_05_10354.jpg', '/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_14_9341.jpg', '/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_24_10360.jpg', '/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_35_10356.jpg', '/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_44_9382.jpg', '/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_55_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/35/image_20042025_02_36_05_10354.jpg
/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_14_9341.jpg
/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_24_10360.jpg
/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_35_10356.jpg
/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_44_9382.jpg
/home/pi/Desktop/images/20042025/02/36/image_20042025_02_36_55_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060855","1352060857","1352060851","1352060848","1352060853","1352060859"],"photo_ids_order":["1352060848","1352060851","1352060853","1352060855","1352060857","1352060859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dfbdf09e0b92de389da9fc9141323b7.jpg","text":"TemporaryFile(/tmp/multipartBody1977909735412019517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122953298,"filename":"image_20042025_02_36_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f523d2b3c0d6faf1430e5931532702a2.jpg","text":"TemporaryFile(/tmp/multipartBody7050891625368816779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122953298,"filename":"image_20042025_02_36_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/003dd65cedf264cc7c3b881d2dd6d5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1551636333317924594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122953298,"filename":"image_20042025_02_36_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/debd779a5ef3c434a1ad1889718f9664.jpg","text":"TemporaryFile(/tmp/multipartBody8497216527167634516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122953298,"filename":"image_20042025_02_36_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58967f15923ee7a9733e746c2a876d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5366334638424081693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122953298,"filename":"image_20042025_02_36_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c395f3cccffcac8e93e54ca2f85cc1d4.jpg","text":"TemporaryFile(/tmp/multipartBody5044134947441086648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745122953298,"filename":"image_20042025_02_36_55_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060853","file1":"1352060851","file0":"1352060848","file4":"1352060857","file5":"1352060859","file3":"1352060855"},"map_files_photo_id_array":[{"photo_id":"1352060859","filename":"file5"},{"photo_id":"1352060853","filename":"file2"},{"photo_id":"1352060857","filename":"file4"},{"photo_id":"1352060851","filename":"file1"},{"photo_id":"1352060848","filename":"file0"},{"photo_id":"1352060855","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060855":["hashtag1","hashtag2"]},{"1352060857":["hashtag1","hashtag2"]},{"1352060851":["hashtag1","hashtag2"]},{"1352060848":["hashtag1","hashtag2"]},{"1352060853":["hashtag1","hashtag2"]},{"1352060859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060855, 1352060857, 1352060851, 1352060848, 1352060853, 1352060859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23651099205017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:22:33.142418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/36/image_20042025_02_37_05_10406.jpg', '/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_14_9358.jpg', '/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_25_10391.jpg', '/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_34_9362.jpg', '/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_44_10376.jpg', '/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_55_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/36/image_20042025_02_37_05_10406.jpg
/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_14_9358.jpg
/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_25_10391.jpg
/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_34_9362.jpg
/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_44_10376.jpg
/home/pi/Desktop/images/20042025/02/37/image_20042025_02_37_55_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060881","1352060875","1352060884","1352060878","1352060872","1352060870"],"photo_ids_order":["1352060870","1352060872","1352060875","1352060878","1352060881","1352060884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dc7d6f16398f52a73b5d65c50a5a14b.jpg","text":"TemporaryFile(/tmp/multipartBody2412329012025737423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123013607,"filename":"image_20042025_02_37_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37b36b15c74b70fe13ba01364dc7c6c7.jpg","text":"TemporaryFile(/tmp/multipartBody7866045285291575881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123013607,"filename":"image_20042025_02_37_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2650547ee8c5fa0bde84f1e3e023e116.jpg","text":"TemporaryFile(/tmp/multipartBody1082898359004280835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123013607,"filename":"image_20042025_02_37_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30998c774dce1d770f708203e4f73669.jpg","text":"TemporaryFile(/tmp/multipartBody3011031852719343865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123013607,"filename":"image_20042025_02_37_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6709780c4b37ff822dd15f839cdd1b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4633311723589091871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123013607,"filename":"image_20042025_02_37_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbc5daa66a1a81abf37baac63fe391e4.jpg","text":"TemporaryFile(/tmp/multipartBody1194869341283589163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123013607,"filename":"image_20042025_02_37_05_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060875","file1":"1352060872","file0":"1352060870","file4":"1352060881","file5":"1352060884","file3":"1352060878"},"map_files_photo_id_array":[{"photo_id":"1352060884","filename":"file5"},{"photo_id":"1352060875","filename":"file2"},{"photo_id":"1352060881","filename":"file4"},{"photo_id":"1352060872","filename":"file1"},{"photo_id":"1352060870","filename":"file0"},{"photo_id":"1352060878","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060881":["hashtag1","hashtag2"]},{"1352060875":["hashtag1","hashtag2"]},{"1352060884":["hashtag1","hashtag2"]},{"1352060878":["hashtag1","hashtag2"]},{"1352060872":["hashtag1","hashtag2"]},{"1352060870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060881, 1352060875, 1352060884, 1352060878, 1352060872, 1352060870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91350197792053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:23:32.221026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/37/image_20042025_02_38_04_9390.jpg', '/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_15_10352.jpg', '/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_24_9528.jpg', '/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_34_10357.jpg', '/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_45_10487.jpg', '/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_54_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/37/image_20042025_02_38_04_9390.jpg
/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_15_10352.jpg
/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_24_9528.jpg
/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_34_10357.jpg
/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_45_10487.jpg
/home/pi/Desktop/images/20042025/02/38/image_20042025_02_38_54_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060900","1352060903","1352060906","1352060896","1352060892","1352060910"],"photo_ids_order":["1352060892","1352060896","1352060900","1352060903","1352060906","1352060910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db8660413295d061b942fe8d70fc7775.jpg","text":"TemporaryFile(/tmp/multipartBody30051645634217880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123072694,"filename":"image_20042025_02_38_24_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbaebac665d8a91b43874a305bd8b34e.jpg","text":"TemporaryFile(/tmp/multipartBody8302122041568227177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123072694,"filename":"image_20042025_02_38_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc8f7d845f65b45adf050672ee164dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3233672167170363811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123072694,"filename":"image_20042025_02_38_45_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1e4c8789c2fd0d9cf43dfdb613bb24f.jpg","text":"TemporaryFile(/tmp/multipartBody3882509805875012638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123072694,"filename":"image_20042025_02_38_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/278bfc373e47277dc2c4b270268ce7ee.jpg","text":"TemporaryFile(/tmp/multipartBody3850657167295996483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123072694,"filename":"image_20042025_02_38_04_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d615384a97b5241df9e6d1017cedd73.jpg","text":"TemporaryFile(/tmp/multipartBody5100826534861732913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123072694,"filename":"image_20042025_02_38_54_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060900","file1":"1352060896","file0":"1352060892","file4":"1352060906","file5":"1352060910","file3":"1352060903"},"map_files_photo_id_array":[{"photo_id":"1352060910","filename":"file5"},{"photo_id":"1352060900","filename":"file2"},{"photo_id":"1352060906","filename":"file4"},{"photo_id":"1352060896","filename":"file1"},{"photo_id":"1352060892","filename":"file0"},{"photo_id":"1352060903","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060900":["hashtag1","hashtag2"]},{"1352060903":["hashtag1","hashtag2"]},{"1352060906":["hashtag1","hashtag2"]},{"1352060896":["hashtag1","hashtag2"]},{"1352060892":["hashtag1","hashtag2"]},{"1352060910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060900, 1352060903, 1352060906, 1352060896, 1352060892, 1352060910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81185698509216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:24:32.420618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/38/image_20042025_02_39_05_10392.jpg', '/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_14_9403.jpg', '/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_24_10374.jpg', '/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_35_10350.jpg', '/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_44_9353.jpg', '/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_55_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/38/image_20042025_02_39_05_10392.jpg
/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_14_9403.jpg
/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_24_10374.jpg
/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_35_10350.jpg
/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_44_9353.jpg
/home/pi/Desktop/images/20042025/02/39/image_20042025_02_39_55_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060923","1352060926","1352060929","1352060920","1352060917","1352060931"],"photo_ids_order":["1352060917","1352060920","1352060923","1352060926","1352060929","1352060931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e99da9fc0c95cff8f5f114821c226d0.jpg","text":"TemporaryFile(/tmp/multipartBody230523942248277240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123132887,"filename":"image_20042025_02_39_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/314c539b9a755a421cf3646ffd96b4b2.jpg","text":"TemporaryFile(/tmp/multipartBody2707831077783294925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123132887,"filename":"image_20042025_02_39_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1e5365a766d867f49b92bbb5ee89242.jpg","text":"TemporaryFile(/tmp/multipartBody3348052413428650529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123132887,"filename":"image_20042025_02_39_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07b4dd301772474f221ae4e5a59304a6.jpg","text":"TemporaryFile(/tmp/multipartBody5682791600226195840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123132887,"filename":"image_20042025_02_39_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d83182a94eccd24a456386470f18cbc4.jpg","text":"TemporaryFile(/tmp/multipartBody4974659557868367045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123132887,"filename":"image_20042025_02_39_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a21fed7afcb04aa710d4f869871e32a.jpg","text":"TemporaryFile(/tmp/multipartBody431109695704216958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123132887,"filename":"image_20042025_02_39_55_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060923","file1":"1352060920","file0":"1352060917","file4":"1352060929","file5":"1352060931","file3":"1352060926"},"map_files_photo_id_array":[{"photo_id":"1352060931","filename":"file5"},{"photo_id":"1352060923","filename":"file2"},{"photo_id":"1352060929","filename":"file4"},{"photo_id":"1352060920","filename":"file1"},{"photo_id":"1352060917","filename":"file0"},{"photo_id":"1352060926","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060923":["hashtag1","hashtag2"]},{"1352060926":["hashtag1","hashtag2"]},{"1352060929":["hashtag1","hashtag2"]},{"1352060920":["hashtag1","hashtag2"]},{"1352060917":["hashtag1","hashtag2"]},{"1352060931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060923, 1352060926, 1352060929, 1352060920, 1352060917, 1352060931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.408626794815063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:25:32.691398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/39/image_20042025_02_40_04_9407.jpg', '/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_14_10417.jpg', '/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_25_10372.jpg', '/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_34_9416.jpg', '/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_45_10420.jpg', '/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_54_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/39/image_20042025_02_40_04_9407.jpg
/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_14_10417.jpg
/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_25_10372.jpg
/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_34_9416.jpg
/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_45_10420.jpg
/home/pi/Desktop/images/20042025/02/40/image_20042025_02_40_54_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060941","1352060950","1352060944","1352060953","1352060947","1352060955"],"photo_ids_order":["1352060941","1352060944","1352060947","1352060950","1352060953","1352060955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d047f75d14b882c9dd80742d222c11be.jpg","text":"TemporaryFile(/tmp/multipartBody7216295343736259337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123193173,"filename":"image_20042025_02_40_04_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95a530411391c066577b0425c719f877.jpg","text":"TemporaryFile(/tmp/multipartBody2230699815620899048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123193173,"filename":"image_20042025_02_40_34_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7ceac955510bac0a169c28ffa350d67.jpg","text":"TemporaryFile(/tmp/multipartBody370121720423262733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123193173,"filename":"image_20042025_02_40_14_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ed7e18eb7b67226e6c10baadb9b2622.jpg","text":"TemporaryFile(/tmp/multipartBody5188027487060075708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123193173,"filename":"image_20042025_02_40_45_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30f3b2538daa3d94d44ceaabe6b017e4.jpg","text":"TemporaryFile(/tmp/multipartBody6533975924101704296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123193173,"filename":"image_20042025_02_40_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c487af22ee5072fb71a022e9ee1df639.jpg","text":"TemporaryFile(/tmp/multipartBody8078851685081023258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123193173,"filename":"image_20042025_02_40_54_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060947","file1":"1352060944","file0":"1352060941","file4":"1352060953","file5":"1352060955","file3":"1352060950"},"map_files_photo_id_array":[{"photo_id":"1352060955","filename":"file5"},{"photo_id":"1352060947","filename":"file2"},{"photo_id":"1352060953","filename":"file4"},{"photo_id":"1352060944","filename":"file1"},{"photo_id":"1352060941","filename":"file0"},{"photo_id":"1352060950","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060941":["hashtag1","hashtag2"]},{"1352060950":["hashtag1","hashtag2"]},{"1352060944":["hashtag1","hashtag2"]},{"1352060953":["hashtag1","hashtag2"]},{"1352060947":["hashtag1","hashtag2"]},{"1352060955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060941, 1352060950, 1352060944, 1352060953, 1352060947, 1352060955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.187445878982544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:26:33.004633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/40/image_20042025_02_41_04_10363.jpg', '/home/pi/Desktop/images/20042025/02/41/image_20042025_02_41_15_10478.jpg', '/home/pi/Desktop/images/20042025/02/41/image_20042025_02_41_24_9362.jpg', '/home/pi/Desktop/images/20042025/02/41/image_20042025_02_41_35_10346.jpg', '/home/pi/Desktop/images/20042025/02/41/image_20042025_02_42_05_10356.jpg', '/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_25_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/40/image_20042025_02_41_04_10363.jpg
/home/pi/Desktop/images/20042025/02/41/image_20042025_02_41_15_10478.jpg
/home/pi/Desktop/images/20042025/02/41/image_20042025_02_41_24_9362.jpg
/home/pi/Desktop/images/20042025/02/41/image_20042025_02_41_35_10346.jpg
/home/pi/Desktop/images/20042025/02/41/image_20042025_02_42_05_10356.jpg
/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_25_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060969","1352060977","1352060971","1352060973","1352060967","1352060975"],"photo_ids_order":["1352060967","1352060969","1352060971","1352060973","1352060975","1352060977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2231631d431a84932d7ecca1ac428550.jpg","text":"TemporaryFile(/tmp/multipartBody3723185327717254007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123253484,"filename":"image_20042025_02_41_15_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dce8d9d6c51dab2625eabab7ed786307.jpg","text":"TemporaryFile(/tmp/multipartBody6741726798509582152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123253484,"filename":"image_20042025_02_42_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb417103f7b7e46a43b189b3e3563f41.jpg","text":"TemporaryFile(/tmp/multipartBody2982718861143645700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123253484,"filename":"image_20042025_02_41_24_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/466fbbaad847675bff595b02defaa7ca.jpg","text":"TemporaryFile(/tmp/multipartBody287482150913007780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123253484,"filename":"image_20042025_02_41_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8cc755edfbcd0011d9bd82e88323a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4555395543449094016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123253484,"filename":"image_20042025_02_41_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/641618c2135fdd10b3e5714fd1555ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7504270674127479410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123253484,"filename":"image_20042025_02_42_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060971","file1":"1352060969","file0":"1352060967","file4":"1352060975","file5":"1352060977","file3":"1352060973"},"map_files_photo_id_array":[{"photo_id":"1352060977","filename":"file5"},{"photo_id":"1352060971","filename":"file2"},{"photo_id":"1352060975","filename":"file4"},{"photo_id":"1352060969","filename":"file1"},{"photo_id":"1352060967","filename":"file0"},{"photo_id":"1352060973","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060969":["hashtag1","hashtag2"]},{"1352060977":["hashtag1","hashtag2"]},{"1352060971":["hashtag1","hashtag2"]},{"1352060973":["hashtag1","hashtag2"]},{"1352060967":["hashtag1","hashtag2"]},{"1352060975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060969, 1352060977, 1352060971, 1352060973, 1352060967, 1352060975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.130555391311646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:27:33.159331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_35_10471.jpg', '/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_44_9346.jpg', '/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_55_10388.jpg', '/home/pi/Desktop/images/20042025/02/42/image_20042025_02_43_04_9433.jpg', '/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_15_10354.jpg', '/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_25_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_35_10471.jpg
/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_44_9346.jpg
/home/pi/Desktop/images/20042025/02/42/image_20042025_02_42_55_10388.jpg
/home/pi/Desktop/images/20042025/02/42/image_20042025_02_43_04_9433.jpg
/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_15_10354.jpg
/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_25_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060987","1352060995","1352060989","1352060997","1352060991","1352060993"],"photo_ids_order":["1352060987","1352060989","1352060991","1352060993","1352060995","1352060997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20e707acd1a56accd8f8f5e716fc3425.jpg","text":"TemporaryFile(/tmp/multipartBody4802012525348758411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123313648,"filename":"image_20042025_02_42_35_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b145171947de538d9f2fc5da91d37274.jpg","text":"TemporaryFile(/tmp/multipartBody7201591198495224186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123313648,"filename":"image_20042025_02_43_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3dce7bec00b99bff52a66c8cc1b3dd5.jpg","text":"TemporaryFile(/tmp/multipartBody3120553184574019690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123313648,"filename":"image_20042025_02_42_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/449954dc0493f3e4c5457362be7340e9.jpg","text":"TemporaryFile(/tmp/multipartBody7523974103057646339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123313648,"filename":"image_20042025_02_43_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c464f252ed33c13f6d6147cc93daf27f.jpg","text":"TemporaryFile(/tmp/multipartBody6882044276510932963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123313648,"filename":"image_20042025_02_42_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53f93cde904372e932bdfa48ac3e721e.jpg","text":"TemporaryFile(/tmp/multipartBody3951786953918901921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123313648,"filename":"image_20042025_02_43_04_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060991","file1":"1352060989","file0":"1352060987","file4":"1352060995","file5":"1352060997","file3":"1352060993"},"map_files_photo_id_array":[{"photo_id":"1352060997","filename":"file5"},{"photo_id":"1352060991","filename":"file2"},{"photo_id":"1352060995","filename":"file4"},{"photo_id":"1352060989","filename":"file1"},{"photo_id":"1352060987","filename":"file0"},{"photo_id":"1352060993","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352060987":["hashtag1","hashtag2"]},{"1352060995":["hashtag1","hashtag2"]},{"1352060989":["hashtag1","hashtag2"]},{"1352060997":["hashtag1","hashtag2"]},{"1352060991":["hashtag1","hashtag2"]},{"1352060993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352060987, 1352060995, 1352060989, 1352060997, 1352060991, 1352060993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94979953765869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:28:32.359711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_34_9451.jpg', '/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_45_10363.jpg', '/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_54_9351.jpg', '/home/pi/Desktop/images/20042025/02/43/image_20042025_02_44_05_10427.jpg', '/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_14_9462.jpg', '/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_24_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_34_9451.jpg
/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_45_10363.jpg
/home/pi/Desktop/images/20042025/02/43/image_20042025_02_43_54_9351.jpg
/home/pi/Desktop/images/20042025/02/43/image_20042025_02_44_05_10427.jpg
/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_14_9462.jpg
/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_24_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061019","1352061010","1352061013","1352061016","1352061003","1352061006"],"photo_ids_order":["1352061003","1352061006","1352061010","1352061013","1352061016","1352061019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9af76afe425b44834dc5b819f78a0b83.jpg","text":"TemporaryFile(/tmp/multipartBody8588157097520596655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123372844,"filename":"image_20042025_02_44_24_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76e0b12202ca02f650b6cf1d37fd7550.jpg","text":"TemporaryFile(/tmp/multipartBody902232191069316609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123372844,"filename":"image_20042025_02_43_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c2761de99d0c4e33d83e8c9024fe5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1786523172104035294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123372844,"filename":"image_20042025_02_44_05_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad83c3fe9530427dfdc1c8e20a57574c.jpg","text":"TemporaryFile(/tmp/multipartBody519342033136330868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123372844,"filename":"image_20042025_02_44_14_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3fb2969019044330f30d28f34afe403.jpg","text":"TemporaryFile(/tmp/multipartBody6950509493590298849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123372844,"filename":"image_20042025_02_43_34_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd13b8e6bafb8cb49694a058bf444abd.jpg","text":"TemporaryFile(/tmp/multipartBody992987603191067868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123372844,"filename":"image_20042025_02_43_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061010","file1":"1352061006","file0":"1352061003","file4":"1352061016","file5":"1352061019","file3":"1352061013"},"map_files_photo_id_array":[{"photo_id":"1352061019","filename":"file5"},{"photo_id":"1352061010","filename":"file2"},{"photo_id":"1352061016","filename":"file4"},{"photo_id":"1352061006","filename":"file1"},{"photo_id":"1352061003","filename":"file0"},{"photo_id":"1352061013","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061019":["hashtag1","hashtag2"]},{"1352061010":["hashtag1","hashtag2"]},{"1352061013":["hashtag1","hashtag2"]},{"1352061016":["hashtag1","hashtag2"]},{"1352061003":["hashtag1","hashtag2"]},{"1352061006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061019, 1352061010, 1352061013, 1352061016, 1352061003, 1352061006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19940781593323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:29:32.565361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_35_10369.jpg', '/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_44_9452.jpg', '/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_55_10374.jpg', '/home/pi/Desktop/images/20042025/02/44/image_20042025_02_45_04_9481.jpg', '/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_14_10381.jpg', '/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_25_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_35_10369.jpg
/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_44_9452.jpg
/home/pi/Desktop/images/20042025/02/44/image_20042025_02_44_55_10374.jpg
/home/pi/Desktop/images/20042025/02/44/image_20042025_02_45_04_9481.jpg
/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_14_10381.jpg
/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_25_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061041","1352061035","1352061029","1352061037","1352061039","1352061032"],"photo_ids_order":["1352061029","1352061032","1352061035","1352061037","1352061039","1352061041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7246ab45b9495a4ecb5a86074ffc928b.jpg","text":"TemporaryFile(/tmp/multipartBody1698398440615610756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123433032,"filename":"image_20042025_02_45_25_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/714221aa2bfff4f44761975e001f2eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2144039719618583862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123433032,"filename":"image_20042025_02_44_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/397852d90e6fb87077a3c9228a583c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3988450916689164804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123433032,"filename":"image_20042025_02_44_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b38abb15eb5b1481a3b1d3264e8ac196.jpg","text":"TemporaryFile(/tmp/multipartBody8212079695401796638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123433032,"filename":"image_20042025_02_45_04_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2c62bf2007ae76fdcd6b2e6f54221fb.jpg","text":"TemporaryFile(/tmp/multipartBody1448545324387650884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123433032,"filename":"image_20042025_02_45_14_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d45c1455fd71d83701454c646eb3eb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8989503261415931591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123433032,"filename":"image_20042025_02_44_44_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061035","file1":"1352061032","file0":"1352061029","file4":"1352061039","file5":"1352061041","file3":"1352061037"},"map_files_photo_id_array":[{"photo_id":"1352061041","filename":"file5"},{"photo_id":"1352061035","filename":"file2"},{"photo_id":"1352061039","filename":"file4"},{"photo_id":"1352061032","filename":"file1"},{"photo_id":"1352061029","filename":"file0"},{"photo_id":"1352061037","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061041":["hashtag1","hashtag2"]},{"1352061035":["hashtag1","hashtag2"]},{"1352061029":["hashtag1","hashtag2"]},{"1352061037":["hashtag1","hashtag2"]},{"1352061039":["hashtag1","hashtag2"]},{"1352061032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061041, 1352061035, 1352061029, 1352061037, 1352061039, 1352061032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.18118190765381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:30:32.874788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_34_9412.jpg', '/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_45_10360.jpg', '/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_54_9367.jpg', '/home/pi/Desktop/images/20042025/02/45/image_20042025_02_46_04_10339.jpg', '/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_15_10365.jpg', '/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_24_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_34_9412.jpg
/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_45_10360.jpg
/home/pi/Desktop/images/20042025/02/45/image_20042025_02_45_54_9367.jpg
/home/pi/Desktop/images/20042025/02/45/image_20042025_02_46_04_10339.jpg
/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_15_10365.jpg
/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_24_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061061","1352061070","1352061064","1352061058","1352061066","1352061068"],"photo_ids_order":["1352061058","1352061061","1352061064","1352061066","1352061068","1352061070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63e48e15c99ff64226ffd2beab81af1e.jpg","text":"TemporaryFile(/tmp/multipartBody5211009251941431320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123493344,"filename":"image_20042025_02_45_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0114ae0948aafbabd37750265c3a56fb.jpg","text":"TemporaryFile(/tmp/multipartBody7263863358565090056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123493344,"filename":"image_20042025_02_46_24_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6ab2bc4a262a6be947e6ac868de2ab1.jpg","text":"TemporaryFile(/tmp/multipartBody8790525363853840344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123493344,"filename":"image_20042025_02_45_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7077841947ded024ea757141cb080fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1019407819412332070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123493344,"filename":"image_20042025_02_45_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0afb7346e36da953ed9b633a748754fb.jpg","text":"TemporaryFile(/tmp/multipartBody3324854364075492122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123493344,"filename":"image_20042025_02_46_04_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb9b22a2a8a7ef4a9d02df98b69fe87b.jpg","text":"TemporaryFile(/tmp/multipartBody6426150258565025063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123493344,"filename":"image_20042025_02_46_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061064","file1":"1352061061","file0":"1352061058","file4":"1352061068","file5":"1352061070","file3":"1352061066"},"map_files_photo_id_array":[{"photo_id":"1352061070","filename":"file5"},{"photo_id":"1352061064","filename":"file2"},{"photo_id":"1352061068","filename":"file4"},{"photo_id":"1352061061","filename":"file1"},{"photo_id":"1352061058","filename":"file0"},{"photo_id":"1352061066","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061061":["hashtag1","hashtag2"]},{"1352061070":["hashtag1","hashtag2"]},{"1352061064":["hashtag1","hashtag2"]},{"1352061058":["hashtag1","hashtag2"]},{"1352061066":["hashtag1","hashtag2"]},{"1352061068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061061, 1352061070, 1352061064, 1352061058, 1352061066, 1352061068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.40143322944641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:31:32.981784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_35_10449.jpg', '/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_44_9441.jpg', '/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_54_10374.jpg', '/home/pi/Desktop/images/20042025/02/46/image_20042025_02_47_05_10350.jpg', '/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_14_9357.jpg', '/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_25_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_35_10449.jpg
/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_44_9441.jpg
/home/pi/Desktop/images/20042025/02/46/image_20042025_02_46_54_10374.jpg
/home/pi/Desktop/images/20042025/02/46/image_20042025_02_47_05_10350.jpg
/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_14_9357.jpg
/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_25_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061088","1352061097","1352061096","1352061081","1352061090","1352061093"],"photo_ids_order":["1352061081","1352061088","1352061090","1352061093","1352061096","1352061097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8efc6637afc8d36d808fdf1e37f93971.jpg","text":"TemporaryFile(/tmp/multipartBody255309393348419671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123553459,"filename":"image_20042025_02_46_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df8ad0c19fcec30f6ed5b32a68013e23.jpg","text":"TemporaryFile(/tmp/multipartBody8050361658352332495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123553459,"filename":"image_20042025_02_47_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9514533f19f007f6ebaad4f8f6e80ede.jpg","text":"TemporaryFile(/tmp/multipartBody649241474952467488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123553459,"filename":"image_20042025_02_47_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51e9cbe46ba8d6cb7b41a384d5fdc208.jpg","text":"TemporaryFile(/tmp/multipartBody3778250521142454221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123553459,"filename":"image_20042025_02_46_35_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f779659d5e256fd4281e471db3503fce.jpg","text":"TemporaryFile(/tmp/multipartBody1477783313622842526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123553459,"filename":"image_20042025_02_46_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f88fb57d57c22de6a23db2d218c614cb.jpg","text":"TemporaryFile(/tmp/multipartBody7899925600515629947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123553459,"filename":"image_20042025_02_47_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061090","file1":"1352061088","file0":"1352061081","file4":"1352061096","file5":"1352061097","file3":"1352061093"},"map_files_photo_id_array":[{"photo_id":"1352061097","filename":"file5"},{"photo_id":"1352061090","filename":"file2"},{"photo_id":"1352061096","filename":"file4"},{"photo_id":"1352061088","filename":"file1"},{"photo_id":"1352061081","filename":"file0"},{"photo_id":"1352061093","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061088":["hashtag1","hashtag2"]},{"1352061097":["hashtag1","hashtag2"]},{"1352061096":["hashtag1","hashtag2"]},{"1352061081":["hashtag1","hashtag2"]},{"1352061090":["hashtag1","hashtag2"]},{"1352061093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061088, 1352061097, 1352061096, 1352061081, 1352061090, 1352061093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40999746322632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:32:32.353173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_35_10417.jpg', '/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_44_9361.jpg', '/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_55_10388.jpg', '/home/pi/Desktop/images/20042025/02/47/image_20042025_02_48_04_9360.jpg', '/home/pi/Desktop/images/20042025/02/48/image_20042025_02_48_14_10390.jpg', '/home/pi/Desktop/images/20042025/02/48/image_20042025_02_48_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_35_10417.jpg
/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_44_9361.jpg
/home/pi/Desktop/images/20042025/02/47/image_20042025_02_47_55_10388.jpg
/home/pi/Desktop/images/20042025/02/47/image_20042025_02_48_04_9360.jpg
/home/pi/Desktop/images/20042025/02/48/image_20042025_02_48_14_10390.jpg
/home/pi/Desktop/images/20042025/02/48/image_20042025_02_48_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061116","1352061104","1352061118","1352061112","1352061114","1352061108"],"photo_ids_order":["1352061104","1352061108","1352061112","1352061114","1352061116","1352061118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33a100a566e1ab1d0c6c3a7f3de89a32.jpg","text":"TemporaryFile(/tmp/multipartBody6421160277204862736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123612836,"filename":"image_20042025_02_48_14_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71365788c2f992bc3f9ed2710a848fee.jpg","text":"TemporaryFile(/tmp/multipartBody620095160366029479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123612836,"filename":"image_20042025_02_47_35_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aec126748e2dfb40bc2225378048b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody1497950671806767199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123612836,"filename":"image_20042025_02_48_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42e2ad38687a3dd68ab7a099720ffccd.jpg","text":"TemporaryFile(/tmp/multipartBody7394653341798451443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123612836,"filename":"image_20042025_02_47_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d3b8b2e8ccf2377ae9d496804b450e6.jpg","text":"TemporaryFile(/tmp/multipartBody8407486803512022598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123612836,"filename":"image_20042025_02_48_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/782a3b9988372f75bbef8a55cf7ca1e2.jpg","text":"TemporaryFile(/tmp/multipartBody1268018396329051599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123612836,"filename":"image_20042025_02_47_44_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061112","file1":"1352061108","file0":"1352061104","file4":"1352061116","file5":"1352061118","file3":"1352061114"},"map_files_photo_id_array":[{"photo_id":"1352061118","filename":"file5"},{"photo_id":"1352061112","filename":"file2"},{"photo_id":"1352061116","filename":"file4"},{"photo_id":"1352061108","filename":"file1"},{"photo_id":"1352061104","filename":"file0"},{"photo_id":"1352061114","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061116":["hashtag1","hashtag2"]},{"1352061104":["hashtag1","hashtag2"]},{"1352061118":["hashtag1","hashtag2"]},{"1352061112":["hashtag1","hashtag2"]},{"1352061114":["hashtag1","hashtag2"]},{"1352061108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061116, 1352061104, 1352061118, 1352061112, 1352061114, 1352061108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43853735923767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:33:32.593827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/48/image_20042025_02_48_55_10441.jpg', '/home/pi/Desktop/images/20042025/02/48/image_20042025_02_49_04_9353.jpg', '/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_15_10360.jpg', '/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_34_10441.jpg', '/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_45_10449.jpg', '/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_54_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/48/image_20042025_02_48_55_10441.jpg
/home/pi/Desktop/images/20042025/02/48/image_20042025_02_49_04_9353.jpg
/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_15_10360.jpg
/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_34_10441.jpg
/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_45_10449.jpg
/home/pi/Desktop/images/20042025/02/49/image_20042025_02_49_54_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061134","1352061136","1352061139","1352061133","1352061141","1352061131"],"photo_ids_order":["1352061131","1352061133","1352061134","1352061136","1352061139","1352061141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b433d44355bbda8ebf25c0772fd46be7.jpg","text":"TemporaryFile(/tmp/multipartBody8133746492570212667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123673078,"filename":"image_20042025_02_49_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e121ccda9c30ca86ec6099fb79ace6bf.jpg","text":"TemporaryFile(/tmp/multipartBody2557941119604448464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123673078,"filename":"image_20042025_02_49_34_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/406dc07690bea7fdbcaf48d569167c97.jpg","text":"TemporaryFile(/tmp/multipartBody1919611702263334254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123673078,"filename":"image_20042025_02_49_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bd493a702b5fc7ceb934e47d567bf92.jpg","text":"TemporaryFile(/tmp/multipartBody8938877651697607910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123673078,"filename":"image_20042025_02_49_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f4b53bdc32846de40485a9bc0200b95.jpg","text":"TemporaryFile(/tmp/multipartBody1252558720406190313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123673078,"filename":"image_20042025_02_49_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/178438be5c2ce9d04a4f81f16670bfec.jpg","text":"TemporaryFile(/tmp/multipartBody184796724327787409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123673078,"filename":"image_20042025_02_48_55_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061134","file1":"1352061133","file0":"1352061131","file4":"1352061139","file5":"1352061141","file3":"1352061136"},"map_files_photo_id_array":[{"photo_id":"1352061141","filename":"file5"},{"photo_id":"1352061134","filename":"file2"},{"photo_id":"1352061139","filename":"file4"},{"photo_id":"1352061133","filename":"file1"},{"photo_id":"1352061131","filename":"file0"},{"photo_id":"1352061136","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061134":["hashtag1","hashtag2"]},{"1352061136":["hashtag1","hashtag2"]},{"1352061139":["hashtag1","hashtag2"]},{"1352061133":["hashtag1","hashtag2"]},{"1352061141":["hashtag1","hashtag2"]},{"1352061131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061134, 1352061136, 1352061139, 1352061133, 1352061141, 1352061131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20852565765381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:34:32.868172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/49/image_20042025_02_50_05_10358.jpg', '/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_14_9371.jpg', '/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_24_10365.jpg', '/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_35_10354.jpg', '/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_44_9346.jpg', '/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_54_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/49/image_20042025_02_50_05_10358.jpg
/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_14_9371.jpg
/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_24_10365.jpg
/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_35_10354.jpg
/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_44_9346.jpg
/home/pi/Desktop/images/20042025/02/50/image_20042025_02_50_54_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061166","1352061151","1352061162","1352061165","1352061153","1352061156"],"photo_ids_order":["1352061151","1352061153","1352061156","1352061162","1352061165","1352061166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80dfe3d0dca71ba76b3c9bda5f4bcc5e.jpg","text":"TemporaryFile(/tmp/multipartBody2199722086740544677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123733350,"filename":"image_20042025_02_50_54_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d4509548995e0941716e7a1d6f0f556.jpg","text":"TemporaryFile(/tmp/multipartBody5848129856538220583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123733350,"filename":"image_20042025_02_50_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1eb6ea0e1fe4f7f4d0af82faccc27f85.jpg","text":"TemporaryFile(/tmp/multipartBody1761925874983052017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123733350,"filename":"image_20042025_02_50_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05b039f3ace21d231d5bd8d32d029128.jpg","text":"TemporaryFile(/tmp/multipartBody7649902813664557360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123733350,"filename":"image_20042025_02_50_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38fc790cdcd846e66c6d53c652fb88b4.jpg","text":"TemporaryFile(/tmp/multipartBody2361027124826137005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123733350,"filename":"image_20042025_02_50_14_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aafc09a462f412c72f7111ed43523377.jpg","text":"TemporaryFile(/tmp/multipartBody3248999672233900244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123733350,"filename":"image_20042025_02_50_24_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061156","file1":"1352061153","file0":"1352061151","file4":"1352061165","file5":"1352061166","file3":"1352061162"},"map_files_photo_id_array":[{"photo_id":"1352061166","filename":"file5"},{"photo_id":"1352061156","filename":"file2"},{"photo_id":"1352061165","filename":"file4"},{"photo_id":"1352061153","filename":"file1"},{"photo_id":"1352061151","filename":"file0"},{"photo_id":"1352061162","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061166":["hashtag1","hashtag2"]},{"1352061151":["hashtag1","hashtag2"]},{"1352061162":["hashtag1","hashtag2"]},{"1352061165":["hashtag1","hashtag2"]},{"1352061153":["hashtag1","hashtag2"]},{"1352061156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061166, 1352061151, 1352061162, 1352061165, 1352061153, 1352061156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05717158317566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:35:33.200650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_25_10420.jpg', '/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_34_9369.jpg', '/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_44_10349.jpg', '/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_55_10358.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_15_10419.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_24_9491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_25_10420.jpg
/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_34_9369.jpg
/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_44_10349.jpg
/home/pi/Desktop/images/20042025/02/51/image_20042025_02_51_55_10358.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_15_10419.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_24_9491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061178","1352061181","1352061180","1352061177","1352061176","1352061179"],"photo_ids_order":["1352061176","1352061177","1352061178","1352061179","1352061180","1352061181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c9a36dcc6fd42d0a65d4b24db49cfc4.jpg","text":"TemporaryFile(/tmp/multipartBody3088682794523192001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123793672,"filename":"image_20042025_02_51_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f5318c0ca6140d550c060d14e572a31.jpg","text":"TemporaryFile(/tmp/multipartBody4256712955964133083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123793672,"filename":"image_20042025_02_52_24_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e53bb8781a336adbac5fd67c648a24e8.jpg","text":"TemporaryFile(/tmp/multipartBody210397469518847693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123793672,"filename":"image_20042025_02_52_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3284573576a88c0dd27135627ce8bd52.jpg","text":"TemporaryFile(/tmp/multipartBody2936111671215212896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123793672,"filename":"image_20042025_02_51_34_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be9474e1b23396cb6091874e10d38af9.jpg","text":"TemporaryFile(/tmp/multipartBody7900890458015103338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123793672,"filename":"image_20042025_02_51_25_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2e2e3ef25258eebe2708ec00f61d291.jpg","text":"TemporaryFile(/tmp/multipartBody8339805713814580332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123793672,"filename":"image_20042025_02_51_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061178","file1":"1352061177","file0":"1352061176","file4":"1352061180","file5":"1352061181","file3":"1352061179"},"map_files_photo_id_array":[{"photo_id":"1352061181","filename":"file5"},{"photo_id":"1352061178","filename":"file2"},{"photo_id":"1352061180","filename":"file4"},{"photo_id":"1352061177","filename":"file1"},{"photo_id":"1352061176","filename":"file0"},{"photo_id":"1352061179","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061178":["hashtag1","hashtag2"]},{"1352061181":["hashtag1","hashtag2"]},{"1352061180":["hashtag1","hashtag2"]},{"1352061177":["hashtag1","hashtag2"]},{"1352061176":["hashtag1","hashtag2"]},{"1352061179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061178, 1352061181, 1352061180, 1352061177, 1352061176, 1352061179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.292579889297485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:36:32.204036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_34_10360.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_45_10439.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_54_9370.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_53_05_10437.jpg', '/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_14_9471.jpg', '/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_34_10360.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_45_10439.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_54_9370.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_53_05_10437.jpg
/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_14_9471.jpg
/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_25_10376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40369272232055664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 06:36:42.257910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_34_10360.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_45_10439.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_54_9370.jpg', '/home/pi/Desktop/images/20042025/02/52/image_20042025_02_53_05_10437.jpg', '/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_14_9471.jpg', '/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_34_10360.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_45_10439.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_52_54_9370.jpg
/home/pi/Desktop/images/20042025/02/52/image_20042025_02_53_05_10437.jpg
/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_14_9471.jpg
/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_25_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061209","1352061205","1352061198","1352061207","1352061201","1352061204"],"photo_ids_order":["1352061198","1352061201","1352061204","1352061205","1352061207","1352061209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fa85fbe9b8edaaa35f54d1e1716350f.jpg","text":"TemporaryFile(/tmp/multipartBody8678634511162091340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123862733,"filename":"image_20042025_02_53_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cb3eb31c4e18da3b5ed8afd1e078a2b.jpg","text":"TemporaryFile(/tmp/multipartBody9120934800696081955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123862733,"filename":"image_20042025_02_53_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d22b3d10d6658afb1e5dd6ae9c2d558.jpg","text":"TemporaryFile(/tmp/multipartBody7675587592150673069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123862733,"filename":"image_20042025_02_52_34_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c34c68c14c67fcb30f4d2e9782cbda12.jpg","text":"TemporaryFile(/tmp/multipartBody4547337051898440681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123862733,"filename":"image_20042025_02_53_14_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10e3a8de0172b1640a17341815dbcec4.jpg","text":"TemporaryFile(/tmp/multipartBody2472255183728717963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123862733,"filename":"image_20042025_02_52_45_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/436b3f4ca9ef89a91db26fb82dae765a.jpg","text":"TemporaryFile(/tmp/multipartBody7849134592693592827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123862733,"filename":"image_20042025_02_52_54_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061204","file1":"1352061201","file0":"1352061198","file4":"1352061207","file5":"1352061209","file3":"1352061205"},"map_files_photo_id_array":[{"photo_id":"1352061209","filename":"file5"},{"photo_id":"1352061204","filename":"file2"},{"photo_id":"1352061207","filename":"file4"},{"photo_id":"1352061201","filename":"file1"},{"photo_id":"1352061198","filename":"file0"},{"photo_id":"1352061205","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061209":["hashtag1","hashtag2"]},{"1352061205":["hashtag1","hashtag2"]},{"1352061198":["hashtag1","hashtag2"]},{"1352061207":["hashtag1","hashtag2"]},{"1352061201":["hashtag1","hashtag2"]},{"1352061204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061209, 1352061205, 1352061198, 1352061207, 1352061201, 1352061204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7851927280426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:37:32.516829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_44_9351.jpg', '/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_55_10375.jpg', '/home/pi/Desktop/images/20042025/02/53/image_20042025_02_54_04_9403.jpg', '/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_14_10365.jpg', '/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_25_10458.jpg', '/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_34_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_44_9351.jpg
/home/pi/Desktop/images/20042025/02/53/image_20042025_02_53_55_10375.jpg
/home/pi/Desktop/images/20042025/02/53/image_20042025_02_54_04_9403.jpg
/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_14_10365.jpg
/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_25_10458.jpg
/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_34_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061220","1352061232","1352061226","1352061228","1352061222","1352061230"],"photo_ids_order":["1352061220","1352061222","1352061226","1352061228","1352061230","1352061232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbfeac0ca8fc2498dcd788f8c118ef48.jpg","text":"TemporaryFile(/tmp/multipartBody710150467690944926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123913003,"filename":"image_20042025_02_53_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7c3a5ea7d392dce3920140fcd999482.jpg","text":"TemporaryFile(/tmp/multipartBody4785875175689403690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123913003,"filename":"image_20042025_02_54_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba2a93d6bca19299b4cc9a4b17802032.jpg","text":"TemporaryFile(/tmp/multipartBody3648621047956550884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123913003,"filename":"image_20042025_02_54_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21e1fd16e55accadd3ddd686084aaa60.jpg","text":"TemporaryFile(/tmp/multipartBody6150069886201039412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123913003,"filename":"image_20042025_02_54_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bce0ece1dbf46ef913f63c2497a02159.jpg","text":"TemporaryFile(/tmp/multipartBody2474227801133793824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123913003,"filename":"image_20042025_02_53_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42d5a6c51a8171f7b38ce53ed1d23622.jpg","text":"TemporaryFile(/tmp/multipartBody1331825145805020831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123913003,"filename":"image_20042025_02_54_25_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061226","file1":"1352061222","file0":"1352061220","file4":"1352061230","file5":"1352061232","file3":"1352061228"},"map_files_photo_id_array":[{"photo_id":"1352061232","filename":"file5"},{"photo_id":"1352061226","filename":"file2"},{"photo_id":"1352061230","filename":"file4"},{"photo_id":"1352061222","filename":"file1"},{"photo_id":"1352061220","filename":"file0"},{"photo_id":"1352061228","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061220":["hashtag1","hashtag2"]},{"1352061232":["hashtag1","hashtag2"]},{"1352061226":["hashtag1","hashtag2"]},{"1352061228":["hashtag1","hashtag2"]},{"1352061222":["hashtag1","hashtag2"]},{"1352061230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061220, 1352061232, 1352061226, 1352061228, 1352061222, 1352061230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8093318939209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:38:32.744416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_45_10425.jpg', '/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_54_9422.jpg', '/home/pi/Desktop/images/20042025/02/54/image_20042025_02_55_05_10356.jpg', '/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_15_10384.jpg', '/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_24_9346.jpg', '/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_35_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_45_10425.jpg
/home/pi/Desktop/images/20042025/02/54/image_20042025_02_54_54_9422.jpg
/home/pi/Desktop/images/20042025/02/54/image_20042025_02_55_05_10356.jpg
/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_15_10384.jpg
/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_24_9346.jpg
/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_35_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061241","1352061244","1352061238","1352061252","1352061246","1352061249"],"photo_ids_order":["1352061238","1352061241","1352061244","1352061246","1352061249","1352061252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdcb563e1902e48f5d815e42ca97c65b.jpg","text":"TemporaryFile(/tmp/multipartBody1405577941045126993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123973214,"filename":"image_20042025_02_54_54_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0bed1ecc742850e1290e74ee630426b0.jpg","text":"TemporaryFile(/tmp/multipartBody9108053933414486653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123973214,"filename":"image_20042025_02_55_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f39eeb4df49338a9df5656786cd7bd97.jpg","text":"TemporaryFile(/tmp/multipartBody2568798259429475554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123973214,"filename":"image_20042025_02_54_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47fcf53b178763b60f1ac9836a8e39af.jpg","text":"TemporaryFile(/tmp/multipartBody3194887959058983787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123973214,"filename":"image_20042025_02_55_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c2c9233322d034267f58d94db3dd751.jpg","text":"TemporaryFile(/tmp/multipartBody1693623636807485994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123973214,"filename":"image_20042025_02_55_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/358d2351889a8d11005edd6e7b24957f.jpg","text":"TemporaryFile(/tmp/multipartBody7164162055526723449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745123973214,"filename":"image_20042025_02_55_24_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061244","file1":"1352061241","file0":"1352061238","file4":"1352061249","file5":"1352061252","file3":"1352061246"},"map_files_photo_id_array":[{"photo_id":"1352061252","filename":"file5"},{"photo_id":"1352061244","filename":"file2"},{"photo_id":"1352061249","filename":"file4"},{"photo_id":"1352061241","filename":"file1"},{"photo_id":"1352061238","filename":"file0"},{"photo_id":"1352061246","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061241":["hashtag1","hashtag2"]},{"1352061244":["hashtag1","hashtag2"]},{"1352061238":["hashtag1","hashtag2"]},{"1352061252":["hashtag1","hashtag2"]},{"1352061246":["hashtag1","hashtag2"]},{"1352061249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061241, 1352061244, 1352061238, 1352061252, 1352061246, 1352061249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.022536754608154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:39:32.988581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_44_9443.jpg', '/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_54_10360.jpg', '/home/pi/Desktop/images/20042025/02/55/image_20042025_02_56_05_10491.jpg', '/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_14_9354.jpg', '/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_25_10373.jpg', '/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_34_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_44_9443.jpg
/home/pi/Desktop/images/20042025/02/55/image_20042025_02_55_54_10360.jpg
/home/pi/Desktop/images/20042025/02/55/image_20042025_02_56_05_10491.jpg
/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_14_9354.jpg
/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_25_10373.jpg
/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_34_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061265","1352061274","1352061268","1352061276","1352061261","1352061279"],"photo_ids_order":["1352061261","1352061265","1352061268","1352061274","1352061276","1352061279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edfb2184a4a2acee28788101c437d5f7.jpg","text":"TemporaryFile(/tmp/multipartBody3428600843712878776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124033463,"filename":"image_20042025_02_55_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b56c06226885c1f3e20c86654efbf58.jpg","text":"TemporaryFile(/tmp/multipartBody1381669048056767448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124033463,"filename":"image_20042025_02_56_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b734019ed571058642adb20829471c1.jpg","text":"TemporaryFile(/tmp/multipartBody5494569322264311155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124033463,"filename":"image_20042025_02_56_05_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0afaca11729a78957ea2a3727f57c28.jpg","text":"TemporaryFile(/tmp/multipartBody6166047850618534364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124033463,"filename":"image_20042025_02_56_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1458fb1ac8dd29de05581e7959e57f84.jpg","text":"TemporaryFile(/tmp/multipartBody8492292310004445304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124033463,"filename":"image_20042025_02_55_44_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0e227cae4bdc799c35a4552f7c76929.jpg","text":"TemporaryFile(/tmp/multipartBody7797601354852723032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124033463,"filename":"image_20042025_02_56_34_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061268","file1":"1352061265","file0":"1352061261","file4":"1352061276","file5":"1352061279","file3":"1352061274"},"map_files_photo_id_array":[{"photo_id":"1352061279","filename":"file5"},{"photo_id":"1352061268","filename":"file2"},{"photo_id":"1352061276","filename":"file4"},{"photo_id":"1352061265","filename":"file1"},{"photo_id":"1352061261","filename":"file0"},{"photo_id":"1352061274","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061265":["hashtag1","hashtag2"]},{"1352061274":["hashtag1","hashtag2"]},{"1352061268":["hashtag1","hashtag2"]},{"1352061276":["hashtag1","hashtag2"]},{"1352061261":["hashtag1","hashtag2"]},{"1352061279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061265, 1352061274, 1352061268, 1352061276, 1352061261, 1352061279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93286633491516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:40:33.277297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_44_10391.jpg', '/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_24_9437.jpg', '/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_34_10366.jpg', '/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_45_10364.jpg', '/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_54_9424.jpg', '/home/pi/Desktop/images/20042025/02/57/image_20042025_02_58_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/56/image_20042025_02_56_44_10391.jpg
/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_24_9437.jpg
/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_34_10366.jpg
/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_45_10364.jpg
/home/pi/Desktop/images/20042025/02/57/image_20042025_02_57_54_9424.jpg
/home/pi/Desktop/images/20042025/02/57/image_20042025_02_58_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061288","1352061297","1352061306","1352061300","1352061303","1352061293"],"photo_ids_order":["1352061288","1352061293","1352061297","1352061300","1352061303","1352061306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e28a809d05f8fc7e1c2def3b21aa89a3.jpg","text":"TemporaryFile(/tmp/multipartBody9014940177881767505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124093763,"filename":"image_20042025_02_56_44_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69152470d5de45ee1612fc7ef2fb7471.jpg","text":"TemporaryFile(/tmp/multipartBody295314644296710074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124093763,"filename":"image_20042025_02_57_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f630202d984118a41005138b3e7bcf36.jpg","text":"TemporaryFile(/tmp/multipartBody5581109244940339819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124093763,"filename":"image_20042025_02_58_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8844142e1dd16ea00a63f6a9bcaf0e76.jpg","text":"TemporaryFile(/tmp/multipartBody5819834881301357174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124093763,"filename":"image_20042025_02_57_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5524c63a79d17a7f2598fbcf0ae11982.jpg","text":"TemporaryFile(/tmp/multipartBody3696446990933015883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124093763,"filename":"image_20042025_02_57_54_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce825cba5eade9e48315d7142b8be503.jpg","text":"TemporaryFile(/tmp/multipartBody1990395277104494806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124093763,"filename":"image_20042025_02_57_24_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061297","file1":"1352061293","file0":"1352061288","file4":"1352061303","file5":"1352061306","file3":"1352061300"},"map_files_photo_id_array":[{"photo_id":"1352061306","filename":"file5"},{"photo_id":"1352061297","filename":"file2"},{"photo_id":"1352061303","filename":"file4"},{"photo_id":"1352061293","filename":"file1"},{"photo_id":"1352061288","filename":"file0"},{"photo_id":"1352061300","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061288":["hashtag1","hashtag2"]},{"1352061297":["hashtag1","hashtag2"]},{"1352061306":["hashtag1","hashtag2"]},{"1352061300":["hashtag1","hashtag2"]},{"1352061303":["hashtag1","hashtag2"]},{"1352061293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061288, 1352061297, 1352061306, 1352061300, 1352061303, 1352061293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37231159210205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:41:32.653846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_14_9452.jpg', '/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_24_10365.jpg', '/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_35_10385.jpg', '/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_44_9400.jpg', '/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_55_10370.jpg', '/home/pi/Desktop/images/20042025/02/58/image_20042025_02_59_05_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_14_9452.jpg
/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_24_10365.jpg
/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_35_10385.jpg
/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_44_9400.jpg
/home/pi/Desktop/images/20042025/02/58/image_20042025_02_58_55_10370.jpg
/home/pi/Desktop/images/20042025/02/58/image_20042025_02_59_05_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061325","1352061319","1352061312","1352061315","1352061323","1352061317"],"photo_ids_order":["1352061312","1352061315","1352061317","1352061319","1352061323","1352061325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c78a9ab67ba220c590634eb8e071068.jpg","text":"TemporaryFile(/tmp/multipartBody2963261155185413289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124153148,"filename":"image_20042025_02_59_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8a9d9867902a928cbff5d5963883fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6563586563301154199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124153148,"filename":"image_20042025_02_58_44_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91f2fe323a7357f121683991173f8cbd.jpg","text":"TemporaryFile(/tmp/multipartBody483209037207061341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124153148,"filename":"image_20042025_02_58_14_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5e85b09f882f6a215f9ef12baa6ee9b.jpg","text":"TemporaryFile(/tmp/multipartBody75614023223369620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124153148,"filename":"image_20042025_02_58_24_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4feda1d3ff7baedca5b9a76918ddce70.jpg","text":"TemporaryFile(/tmp/multipartBody4819042686564103166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124153148,"filename":"image_20042025_02_58_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19c11f47c04668dae3e44868b9b2110f.jpg","text":"TemporaryFile(/tmp/multipartBody1670292100240379881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124153148,"filename":"image_20042025_02_58_35_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061317","file1":"1352061315","file0":"1352061312","file4":"1352061323","file5":"1352061325","file3":"1352061319"},"map_files_photo_id_array":[{"photo_id":"1352061325","filename":"file5"},{"photo_id":"1352061317","filename":"file2"},{"photo_id":"1352061323","filename":"file4"},{"photo_id":"1352061315","filename":"file1"},{"photo_id":"1352061312","filename":"file0"},{"photo_id":"1352061319","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061325":["hashtag1","hashtag2"]},{"1352061319":["hashtag1","hashtag2"]},{"1352061312":["hashtag1","hashtag2"]},{"1352061315":["hashtag1","hashtag2"]},{"1352061323":["hashtag1","hashtag2"]},{"1352061317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061325, 1352061319, 1352061312, 1352061315, 1352061323, 1352061317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.203548431396484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:42:32.835940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_14_9368.jpg', '/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_25_10433.jpg', '/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_34_9434.jpg', '/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_45_10385.jpg', '/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_54_9457.jpg', '/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_14_10084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_14_9368.jpg
/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_25_10433.jpg
/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_34_9434.jpg
/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_45_10385.jpg
/home/pi/Desktop/images/20042025/02/59/image_20042025_02_59_54_9457.jpg
/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_14_10084.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061349","1352061340","1352061334","1352061343","1352061345","1352061338"],"photo_ids_order":["1352061334","1352061338","1352061340","1352061343","1352061345","1352061349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c307ba4c54bf9c0bce7078e19d44379.jpg","text":"TemporaryFile(/tmp/multipartBody6453573766986708930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124213308,"filename":"image_20042025_03_01_14_10084.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b74a10bb4953dcc5db05ea16567de40.jpg","text":"TemporaryFile(/tmp/multipartBody7132345909119772729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124213308,"filename":"image_20042025_02_59_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3ba29541b527dc114a9703548315005.jpg","text":"TemporaryFile(/tmp/multipartBody1685632814657192692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124213308,"filename":"image_20042025_02_59_14_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dec8bc7c0ffaaece53cf66be5108009d.jpg","text":"TemporaryFile(/tmp/multipartBody2436920983353727518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124213308,"filename":"image_20042025_02_59_45_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e7173d9b5886d0f4fc23c07dbcc04a9.jpg","text":"TemporaryFile(/tmp/multipartBody3406507230491546887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124213308,"filename":"image_20042025_02_59_54_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d561602616f89ba313200da9d91b7591.jpg","text":"TemporaryFile(/tmp/multipartBody145620433740902316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124213308,"filename":"image_20042025_02_59_25_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061340","file1":"1352061338","file0":"1352061334","file4":"1352061345","file5":"1352061349","file3":"1352061343"},"map_files_photo_id_array":[{"photo_id":"1352061349","filename":"file5"},{"photo_id":"1352061340","filename":"file2"},{"photo_id":"1352061345","filename":"file4"},{"photo_id":"1352061338","filename":"file1"},{"photo_id":"1352061334","filename":"file0"},{"photo_id":"1352061343","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061349":["hashtag1","hashtag2"]},{"1352061340":["hashtag1","hashtag2"]},{"1352061334":["hashtag1","hashtag2"]},{"1352061343":["hashtag1","hashtag2"]},{"1352061345":["hashtag1","hashtag2"]},{"1352061338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061349, 1352061340, 1352061334, 1352061343, 1352061345, 1352061338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69328236579895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:43:33.156712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_25_10408.jpg', '/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_35_10427.jpg', '/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_44_9363.jpg', '/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_55_10375.jpg', '/home/pi/Desktop/images/20042025/03/01/image_20042025_03_02_05_10339.jpg', '/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_14_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_25_10408.jpg
/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_35_10427.jpg
/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_44_9363.jpg
/home/pi/Desktop/images/20042025/03/01/image_20042025_03_01_55_10375.jpg
/home/pi/Desktop/images/20042025/03/01/image_20042025_03_02_05_10339.jpg
/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_14_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061367","1352061369","1352061371","1352061365","1352061362","1352061359"],"photo_ids_order":["1352061359","1352061362","1352061365","1352061367","1352061369","1352061371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3859d3b18586b533cfcb7fc26f9b0f49.jpg","text":"TemporaryFile(/tmp/multipartBody8929300705302753062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124273634,"filename":"image_20042025_03_01_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56cf0ac2cf7be0e7b09be77fc573265b.jpg","text":"TemporaryFile(/tmp/multipartBody7457374541901443905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124273634,"filename":"image_20042025_03_02_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57c24bbc210c71810796b683a31b35a7.jpg","text":"TemporaryFile(/tmp/multipartBody7064146691838580485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124273634,"filename":"image_20042025_03_02_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06717feb19928ef7c5a823673b7168cf.jpg","text":"TemporaryFile(/tmp/multipartBody8108689048960759870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124273634,"filename":"image_20042025_03_01_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88e0de62ee740f29df2b588336e3ab28.jpg","text":"TemporaryFile(/tmp/multipartBody8607877312801301796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124273634,"filename":"image_20042025_03_01_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d52c665e02ac38e0829837eee4452422.jpg","text":"TemporaryFile(/tmp/multipartBody1186723697171838938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124273634,"filename":"image_20042025_03_01_25_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061365","file1":"1352061362","file0":"1352061359","file4":"1352061369","file5":"1352061371","file3":"1352061367"},"map_files_photo_id_array":[{"photo_id":"1352061371","filename":"file5"},{"photo_id":"1352061365","filename":"file2"},{"photo_id":"1352061369","filename":"file4"},{"photo_id":"1352061362","filename":"file1"},{"photo_id":"1352061359","filename":"file0"},{"photo_id":"1352061367","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061367":["hashtag1","hashtag2"]},{"1352061369":["hashtag1","hashtag2"]},{"1352061371":["hashtag1","hashtag2"]},{"1352061365":["hashtag1","hashtag2"]},{"1352061362":["hashtag1","hashtag2"]},{"1352061359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061367, 1352061369, 1352061371, 1352061365, 1352061362, 1352061359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92661929130554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:44:32.363359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_25_10458.jpg', '/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_34_9493.jpg', '/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_45_10389.jpg', '/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_54_9362.jpg', '/home/pi/Desktop/images/20042025/03/02/image_20042025_03_03_05_10361.jpg', '/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_15_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_25_10458.jpg
/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_34_9493.jpg
/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_45_10389.jpg
/home/pi/Desktop/images/20042025/03/02/image_20042025_03_02_54_9362.jpg
/home/pi/Desktop/images/20042025/03/02/image_20042025_03_03_05_10361.jpg
/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_15_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061394","1352061391","1352061388","1352061381","1352061383","1352061386"],"photo_ids_order":["1352061381","1352061383","1352061386","1352061388","1352061391","1352061394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e954ec9e245fc77601ef5ca34b14a7c.jpg","text":"TemporaryFile(/tmp/multipartBody8456367086567028964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124332834,"filename":"image_20042025_03_03_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29f1d9100ecce8b7ab0212933d096d78.jpg","text":"TemporaryFile(/tmp/multipartBody7603467203101466444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124332834,"filename":"image_20042025_03_03_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/851d16c6e811f28082f0ebb3b9725b4a.jpg","text":"TemporaryFile(/tmp/multipartBody351972021607530979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124332834,"filename":"image_20042025_03_02_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0545ceda9b3bfb999ad42a3c92442c93.jpg","text":"TemporaryFile(/tmp/multipartBody252255891080013281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124332834,"filename":"image_20042025_03_02_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0786862d15770aba86c37c8678fcea39.jpg","text":"TemporaryFile(/tmp/multipartBody5779713058431740223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124332834,"filename":"image_20042025_03_02_34_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b725228bc26f97c292575778799f347d.jpg","text":"TemporaryFile(/tmp/multipartBody5080134611815129312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124332834,"filename":"image_20042025_03_02_45_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061386","file1":"1352061383","file0":"1352061381","file4":"1352061391","file5":"1352061394","file3":"1352061388"},"map_files_photo_id_array":[{"photo_id":"1352061394","filename":"file5"},{"photo_id":"1352061386","filename":"file2"},{"photo_id":"1352061391","filename":"file4"},{"photo_id":"1352061383","filename":"file1"},{"photo_id":"1352061381","filename":"file0"},{"photo_id":"1352061388","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061394":["hashtag1","hashtag2"]},{"1352061391":["hashtag1","hashtag2"]},{"1352061388":["hashtag1","hashtag2"]},{"1352061381":["hashtag1","hashtag2"]},{"1352061383":["hashtag1","hashtag2"]},{"1352061386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061394, 1352061391, 1352061388, 1352061381, 1352061383, 1352061386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.069207668304443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:45:32.539654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_24_9360.jpg', '/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_35_10385.jpg', '/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_44_9482.jpg', '/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_55_10366.jpg', '/home/pi/Desktop/images/20042025/03/03/image_20042025_03_04_05_10430.jpg', '/home/pi/Desktop/images/20042025/03/04/image_20042025_03_04_14_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_24_9360.jpg
/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_35_10385.jpg
/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_44_9482.jpg
/home/pi/Desktop/images/20042025/03/03/image_20042025_03_03_55_10366.jpg
/home/pi/Desktop/images/20042025/03/03/image_20042025_03_04_05_10430.jpg
/home/pi/Desktop/images/20042025/03/04/image_20042025_03_04_14_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061413","1352061412","1352061415","1352061411","1352061414","1352061408"],"photo_ids_order":["1352061408","1352061411","1352061412","1352061413","1352061414","1352061415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/230b36ce55e338c0d846bdb3870e1757.jpg","text":"TemporaryFile(/tmp/multipartBody7664225769395674028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124393014,"filename":"image_20042025_03_03_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5447397c10205f1e253e1335013c09f9.jpg","text":"TemporaryFile(/tmp/multipartBody3475995360271737219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124393014,"filename":"image_20042025_03_03_44_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f18f3f2a76129adba0f0a90fa6f5dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4338673793177739355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124393014,"filename":"image_20042025_03_04_14_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47852b1f3161e102ed3c801cbe70eee4.jpg","text":"TemporaryFile(/tmp/multipartBody94948379238104170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124393014,"filename":"image_20042025_03_03_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/322093fe06f19a835ab2f1840f0aa940.jpg","text":"TemporaryFile(/tmp/multipartBody5792198111603480869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124393014,"filename":"image_20042025_03_04_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03e03f380fa24eb48530e65ca0539e77.jpg","text":"TemporaryFile(/tmp/multipartBody5287238214322274949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124393014,"filename":"image_20042025_03_03_24_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061412","file1":"1352061411","file0":"1352061408","file4":"1352061414","file5":"1352061415","file3":"1352061413"},"map_files_photo_id_array":[{"photo_id":"1352061415","filename":"file5"},{"photo_id":"1352061412","filename":"file2"},{"photo_id":"1352061414","filename":"file4"},{"photo_id":"1352061411","filename":"file1"},{"photo_id":"1352061408","filename":"file0"},{"photo_id":"1352061413","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061413":["hashtag1","hashtag2"]},{"1352061412":["hashtag1","hashtag2"]},{"1352061415":["hashtag1","hashtag2"]},{"1352061411":["hashtag1","hashtag2"]},{"1352061414":["hashtag1","hashtag2"]},{"1352061408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061413, 1352061412, 1352061415, 1352061411, 1352061414, 1352061408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.724552392959595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:46:32.756337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/04/image_20042025_03_04_34_9415.jpg', '/home/pi/Desktop/images/20042025/03/04/image_20042025_03_04_55_10508.jpg', '/home/pi/Desktop/images/20042025/03/04/image_20042025_03_05_04_9346.jpg', '/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_15_10398.jpg', '/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_24_9426.jpg', '/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/04/image_20042025_03_04_34_9415.jpg
/home/pi/Desktop/images/20042025/03/04/image_20042025_03_04_55_10508.jpg
/home/pi/Desktop/images/20042025/03/04/image_20042025_03_05_04_9346.jpg
/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_15_10398.jpg
/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_24_9426.jpg
/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_35_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061431","1352061433","1352061423","1352061426","1352061435","1352061429"],"photo_ids_order":["1352061423","1352061426","1352061429","1352061431","1352061433","1352061435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4204cb5fd64e03e33969219f01d775fb.jpg","text":"TemporaryFile(/tmp/multipartBody1182514326628228479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124453231,"filename":"image_20042025_03_05_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/741c7012e98d5f4db94eb9c71d41778a.jpg","text":"TemporaryFile(/tmp/multipartBody2372101907760804759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124453231,"filename":"image_20042025_03_05_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eef5b8d30aecda7420e35e2678c247a9.jpg","text":"TemporaryFile(/tmp/multipartBody5822910097626029091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124453231,"filename":"image_20042025_03_04_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/777d559ea3a80fdcb83bbc447d54d64f.jpg","text":"TemporaryFile(/tmp/multipartBody8261870384268268964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124453231,"filename":"image_20042025_03_04_55_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d96f22d61f9fab0501de92ed22eadc20.jpg","text":"TemporaryFile(/tmp/multipartBody4886705361861697586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124453231,"filename":"image_20042025_03_05_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db59d30ba564b2702b842ce445576ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7726595533455510058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124453231,"filename":"image_20042025_03_05_04_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061429","file1":"1352061426","file0":"1352061423","file4":"1352061433","file5":"1352061435","file3":"1352061431"},"map_files_photo_id_array":[{"photo_id":"1352061435","filename":"file5"},{"photo_id":"1352061429","filename":"file2"},{"photo_id":"1352061433","filename":"file4"},{"photo_id":"1352061426","filename":"file1"},{"photo_id":"1352061423","filename":"file0"},{"photo_id":"1352061431","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061431":["hashtag1","hashtag2"]},{"1352061433":["hashtag1","hashtag2"]},{"1352061423":["hashtag1","hashtag2"]},{"1352061426":["hashtag1","hashtag2"]},{"1352061435":["hashtag1","hashtag2"]},{"1352061429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061431, 1352061433, 1352061423, 1352061426, 1352061435, 1352061429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95866870880127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:47:32.997952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_45_10439.jpg', '/home/pi/Desktop/images/20042025/03/05/image_20042025_03_06_05_10368.jpg', '/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_14_9382.jpg', '/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_25_10373.jpg', '/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_35_10401.jpg', '/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_44_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/05/image_20042025_03_05_45_10439.jpg
/home/pi/Desktop/images/20042025/03/05/image_20042025_03_06_05_10368.jpg
/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_14_9382.jpg
/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_25_10373.jpg
/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_35_10401.jpg
/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_44_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061454","1352061448","1352061456","1352061450","1352061452","1352061458"],"photo_ids_order":["1352061448","1352061450","1352061452","1352061454","1352061456","1352061458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04e0e0327f9aec6cd735e7611314feb1.jpg","text":"TemporaryFile(/tmp/multipartBody8469187423899084486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124513468,"filename":"image_20042025_03_06_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dd4a79065fc07122b2475770789c9bd.jpg","text":"TemporaryFile(/tmp/multipartBody853171339477723004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124513468,"filename":"image_20042025_03_05_45_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0492b0d7e59da3766b9f3ab77ba6b16b.jpg","text":"TemporaryFile(/tmp/multipartBody1148007501919592067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124513468,"filename":"image_20042025_03_06_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7d5ea0f5f6d2dafbddc37af4760c6ae.jpg","text":"TemporaryFile(/tmp/multipartBody7992448806420517557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124513468,"filename":"image_20042025_03_06_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d59b7daf76ad368bbafce3f709083e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2401683941760120647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124513468,"filename":"image_20042025_03_06_14_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33a939579033c442f0abc270ecaa82b0.jpg","text":"TemporaryFile(/tmp/multipartBody7905288277416393032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124513468,"filename":"image_20042025_03_06_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061452","file1":"1352061450","file0":"1352061448","file4":"1352061456","file5":"1352061458","file3":"1352061454"},"map_files_photo_id_array":[{"photo_id":"1352061458","filename":"file5"},{"photo_id":"1352061452","filename":"file2"},{"photo_id":"1352061456","filename":"file4"},{"photo_id":"1352061450","filename":"file1"},{"photo_id":"1352061448","filename":"file0"},{"photo_id":"1352061454","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061454":["hashtag1","hashtag2"]},{"1352061448":["hashtag1","hashtag2"]},{"1352061456":["hashtag1","hashtag2"]},{"1352061450":["hashtag1","hashtag2"]},{"1352061452":["hashtag1","hashtag2"]},{"1352061458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061454, 1352061448, 1352061456, 1352061450, 1352061452, 1352061458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.850674629211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:48:32.187215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_55_10346.jpg', '/home/pi/Desktop/images/20042025/03/06/image_20042025_03_07_05_10372.jpg', '/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_14_9360.jpg', '/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_25_10365.jpg', '/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_35_10394.jpg', '/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_44_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/06/image_20042025_03_06_55_10346.jpg
/home/pi/Desktop/images/20042025/03/06/image_20042025_03_07_05_10372.jpg
/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_14_9360.jpg
/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_25_10365.jpg
/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_35_10394.jpg
/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_44_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061478","1352061472","1352061466","1352061469","1352061474","1352061476"],"photo_ids_order":["1352061466","1352061469","1352061472","1352061474","1352061476","1352061478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf95ab9abcdb43b02050bea3e2426af9.jpg","text":"TemporaryFile(/tmp/multipartBody2303185955291901171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124572665,"filename":"image_20042025_03_07_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69bf7ae3fff58c11d33560d5c7cf7500.jpg","text":"TemporaryFile(/tmp/multipartBody1645597770700078794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124572665,"filename":"image_20042025_03_07_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6f5e3bfabaf6d8498d0dae8d3766d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2669460972326258227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124572665,"filename":"image_20042025_03_06_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1b3080dba8f8d2f923c6417bb782abe.jpg","text":"TemporaryFile(/tmp/multipartBody3276314648461581053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124572665,"filename":"image_20042025_03_07_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee8be96f0490dbb11d66d1564783c7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7463611412455518863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124572665,"filename":"image_20042025_03_07_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0669efdd6966efc5f988f363f83ea432.jpg","text":"TemporaryFile(/tmp/multipartBody1754477842841431307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124572665,"filename":"image_20042025_03_07_35_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061472","file1":"1352061469","file0":"1352061466","file4":"1352061476","file5":"1352061478","file3":"1352061474"},"map_files_photo_id_array":[{"photo_id":"1352061478","filename":"file5"},{"photo_id":"1352061472","filename":"file2"},{"photo_id":"1352061476","filename":"file4"},{"photo_id":"1352061469","filename":"file1"},{"photo_id":"1352061466","filename":"file0"},{"photo_id":"1352061474","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061478":["hashtag1","hashtag2"]},{"1352061472":["hashtag1","hashtag2"]},{"1352061466":["hashtag1","hashtag2"]},{"1352061469":["hashtag1","hashtag2"]},{"1352061474":["hashtag1","hashtag2"]},{"1352061476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061478, 1352061472, 1352061466, 1352061469, 1352061474, 1352061476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61677598953247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:49:32.387386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_55_10423.jpg', '/home/pi/Desktop/images/20042025/03/07/image_20042025_03_08_04_9355.jpg', '/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_15_10371.jpg', '/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_25_10459.jpg', '/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_35_9414.jpg', '/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_45_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/07/image_20042025_03_07_55_10423.jpg
/home/pi/Desktop/images/20042025/03/07/image_20042025_03_08_04_9355.jpg
/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_15_10371.jpg
/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_25_10459.jpg
/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_35_9414.jpg
/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_45_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061496","1352061500","1352061498","1352061502","1352061491","1352061494"],"photo_ids_order":["1352061491","1352061494","1352061496","1352061498","1352061500","1352061502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f9cc7519898b69f44357c5412758b60.jpg","text":"TemporaryFile(/tmp/multipartBody895544665886244244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124632864,"filename":"image_20042025_03_08_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11a3dbb4ead423bf92b23c43dcb20308.jpg","text":"TemporaryFile(/tmp/multipartBody312199415262047982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124632864,"filename":"image_20042025_03_08_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/193c5e50c37f17a1dfeb963e955e2ed5.jpg","text":"TemporaryFile(/tmp/multipartBody2396302819336757889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124632864,"filename":"image_20042025_03_08_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8183977eaf3b1b532852422e213eee58.jpg","text":"TemporaryFile(/tmp/multipartBody6385243129400129422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124632864,"filename":"image_20042025_03_08_45_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40892a606155009aff6df5629cd3b749.jpg","text":"TemporaryFile(/tmp/multipartBody307631662141245902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124632864,"filename":"image_20042025_03_07_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36027937f9693b0e1493824f72bc9b62.jpg","text":"TemporaryFile(/tmp/multipartBody8255332826180614031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124632864,"filename":"image_20042025_03_08_04_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061496","file1":"1352061494","file0":"1352061491","file4":"1352061500","file5":"1352061502","file3":"1352061498"},"map_files_photo_id_array":[{"photo_id":"1352061502","filename":"file5"},{"photo_id":"1352061496","filename":"file2"},{"photo_id":"1352061500","filename":"file4"},{"photo_id":"1352061494","filename":"file1"},{"photo_id":"1352061491","filename":"file0"},{"photo_id":"1352061498","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061496":["hashtag1","hashtag2"]},{"1352061500":["hashtag1","hashtag2"]},{"1352061498":["hashtag1","hashtag2"]},{"1352061502":["hashtag1","hashtag2"]},{"1352061491":["hashtag1","hashtag2"]},{"1352061494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061496, 1352061500, 1352061498, 1352061502, 1352061491, 1352061494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11994814872742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:50:32.600381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_54_9349.jpg', '/home/pi/Desktop/images/20042025/03/08/image_20042025_03_09_05_10367.jpg', '/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_15_10402.jpg', '/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_24_9357.jpg', '/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_35_10381.jpg', '/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_44_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/08/image_20042025_03_08_54_9349.jpg
/home/pi/Desktop/images/20042025/03/08/image_20042025_03_09_05_10367.jpg
/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_15_10402.jpg
/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_24_9357.jpg
/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_35_10381.jpg
/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_44_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061524","1352061532","1352061526","1352061529","1352061519","1352061521"],"photo_ids_order":["1352061519","1352061521","1352061524","1352061526","1352061529","1352061532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db565c6c63d3d189721ce5084ae91ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5972271818771330468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124693089,"filename":"image_20042025_03_09_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9dd24f3be2e794fac83999fdbedb909.jpg","text":"TemporaryFile(/tmp/multipartBody7669653906947812136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124693089,"filename":"image_20042025_03_09_44_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15a5362abfb3156fdee473b4fc0faf46.jpg","text":"TemporaryFile(/tmp/multipartBody5460997281978673340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124693089,"filename":"image_20042025_03_09_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0123109d9bb4b2a4f6e708cf16108fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5669443774174251483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124693089,"filename":"image_20042025_03_09_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5892f883147eea6bf652e161ff304a4f.jpg","text":"TemporaryFile(/tmp/multipartBody3565094954620101347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124693089,"filename":"image_20042025_03_08_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64739600fd78d47b5a3f5bb9554dc337.jpg","text":"TemporaryFile(/tmp/multipartBody5143702348981701808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124693089,"filename":"image_20042025_03_09_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061524","file1":"1352061521","file0":"1352061519","file4":"1352061529","file5":"1352061532","file3":"1352061526"},"map_files_photo_id_array":[{"photo_id":"1352061532","filename":"file5"},{"photo_id":"1352061524","filename":"file2"},{"photo_id":"1352061529","filename":"file4"},{"photo_id":"1352061521","filename":"file1"},{"photo_id":"1352061519","filename":"file0"},{"photo_id":"1352061526","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061524":["hashtag1","hashtag2"]},{"1352061532":["hashtag1","hashtag2"]},{"1352061526":["hashtag1","hashtag2"]},{"1352061529":["hashtag1","hashtag2"]},{"1352061519":["hashtag1","hashtag2"]},{"1352061521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061524, 1352061532, 1352061526, 1352061529, 1352061519, 1352061521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82269859313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:51:32.865064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_55_10367.jpg', '/home/pi/Desktop/images/20042025/03/09/image_20042025_03_10_05_10442.jpg', '/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_14_9327.jpg', '/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_25_10355.jpg', '/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_35_10355.jpg', '/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_44_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/09/image_20042025_03_09_55_10367.jpg
/home/pi/Desktop/images/20042025/03/09/image_20042025_03_10_05_10442.jpg
/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_14_9327.jpg
/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_25_10355.jpg
/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_35_10355.jpg
/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_44_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061544","1352061553","1352061547","1352061555","1352061540","1352061551"],"photo_ids_order":["1352061540","1352061544","1352061547","1352061551","1352061553","1352061555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69d2ca3715f54db13e26d5b54d232297.jpg","text":"TemporaryFile(/tmp/multipartBody7078893859694379678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124753345,"filename":"image_20042025_03_10_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cea70c2b87961e9202cd4c8e39c91f41.jpg","text":"TemporaryFile(/tmp/multipartBody4977623587933963268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124753345,"filename":"image_20042025_03_10_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d2e9dedcb36e5135bb9b75911faff69.jpg","text":"TemporaryFile(/tmp/multipartBody3631276716048182327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124753345,"filename":"image_20042025_03_10_14_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3aae8d42c69196e3073183f78c5203c.jpg","text":"TemporaryFile(/tmp/multipartBody4600558199031793677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124753345,"filename":"image_20042025_03_10_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bd556ab6879c3e9ac7ceedb30f6a25a.jpg","text":"TemporaryFile(/tmp/multipartBody8901371209998568264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124753345,"filename":"image_20042025_03_09_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/354a2dd7e1bd240d6424a33d41212ae3.jpg","text":"TemporaryFile(/tmp/multipartBody5383003249784069363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124753345,"filename":"image_20042025_03_10_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061547","file1":"1352061544","file0":"1352061540","file4":"1352061553","file5":"1352061555","file3":"1352061551"},"map_files_photo_id_array":[{"photo_id":"1352061555","filename":"file5"},{"photo_id":"1352061547","filename":"file2"},{"photo_id":"1352061553","filename":"file4"},{"photo_id":"1352061544","filename":"file1"},{"photo_id":"1352061540","filename":"file0"},{"photo_id":"1352061551","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061544":["hashtag1","hashtag2"]},{"1352061553":["hashtag1","hashtag2"]},{"1352061547":["hashtag1","hashtag2"]},{"1352061555":["hashtag1","hashtag2"]},{"1352061540":["hashtag1","hashtag2"]},{"1352061551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061544, 1352061553, 1352061547, 1352061555, 1352061540, 1352061551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.654813528060913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:52:33.145507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_55_10361.jpg', '/home/pi/Desktop/images/20042025/03/10/image_20042025_03_11_04_9391.jpg', '/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_15_10350.jpg', '/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_25_10478.jpg', '/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_34_9338.jpg', '/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/10/image_20042025_03_10_55_10361.jpg
/home/pi/Desktop/images/20042025/03/10/image_20042025_03_11_04_9391.jpg
/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_15_10350.jpg
/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_25_10478.jpg
/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_34_9338.jpg
/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061574","1352061568","1352061576","1352061570","1352061578","1352061572"],"photo_ids_order":["1352061568","1352061570","1352061572","1352061574","1352061576","1352061578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d6376b568e2990256a8bea61e8c2d38.jpg","text":"TemporaryFile(/tmp/multipartBody1898339683203596250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124813615,"filename":"image_20042025_03_11_25_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/961d3e119d82741f1e6f807e4f56866e.jpg","text":"TemporaryFile(/tmp/multipartBody6546288522161486800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124813615,"filename":"image_20042025_03_10_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f094f64aea00c007c622f225a45c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody6962540567279670502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124813615,"filename":"image_20042025_03_11_34_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0efb1b698c23539529665ca80fa294bf.jpg","text":"TemporaryFile(/tmp/multipartBody7789573562336447770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124813615,"filename":"image_20042025_03_11_04_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0c15c61c6367939fac3093736056b27.jpg","text":"TemporaryFile(/tmp/multipartBody8928389770327170080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124813615,"filename":"image_20042025_03_11_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db56727f503cd845caee2485b5ba8a16.jpg","text":"TemporaryFile(/tmp/multipartBody6379144877992464001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124813615,"filename":"image_20042025_03_11_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061572","file1":"1352061570","file0":"1352061568","file4":"1352061576","file5":"1352061578","file3":"1352061574"},"map_files_photo_id_array":[{"photo_id":"1352061578","filename":"file5"},{"photo_id":"1352061572","filename":"file2"},{"photo_id":"1352061576","filename":"file4"},{"photo_id":"1352061570","filename":"file1"},{"photo_id":"1352061568","filename":"file0"},{"photo_id":"1352061574","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061574":["hashtag1","hashtag2"]},{"1352061568":["hashtag1","hashtag2"]},{"1352061576":["hashtag1","hashtag2"]},{"1352061570":["hashtag1","hashtag2"]},{"1352061578":["hashtag1","hashtag2"]},{"1352061572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061574, 1352061568, 1352061576, 1352061570, 1352061578, 1352061572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.455713510513306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:53:32.184235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_55_10435.jpg', '/home/pi/Desktop/images/20042025/03/11/image_20042025_03_12_05_9393.jpg', '/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_15_10406.jpg', '/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_24_9357.jpg', '/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_35_10373.jpg', '/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_45_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/11/image_20042025_03_11_55_10435.jpg
/home/pi/Desktop/images/20042025/03/11/image_20042025_03_12_05_9393.jpg
/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_15_10406.jpg
/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_24_9357.jpg
/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_35_10373.jpg
/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_45_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061602","1352061595","1352061601","1352061596","1352061599","1352061593"],"photo_ids_order":["1352061593","1352061595","1352061596","1352061599","1352061601","1352061602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2868247153db7750c85cdc180202c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1309823398338230331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124872663,"filename":"image_20042025_03_12_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/060b09c5a93bd63963bee5e74dc242a7.jpg","text":"TemporaryFile(/tmp/multipartBody2895054366860220115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124872663,"filename":"image_20042025_03_12_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d92c5f4bf40a6c74cf6eba1491a61b9.jpg","text":"TemporaryFile(/tmp/multipartBody3009574806434034444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124872663,"filename":"image_20042025_03_12_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15614d308a20239e074b430ce53e52ab.jpg","text":"TemporaryFile(/tmp/multipartBody8312611066404177146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124872663,"filename":"image_20042025_03_12_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2da39b6b6d733ece98344c2e4e1a1908.jpg","text":"TemporaryFile(/tmp/multipartBody1798197549984417670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124872663,"filename":"image_20042025_03_12_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b180b9a91a74234013819a399d938799.jpg","text":"TemporaryFile(/tmp/multipartBody6607296666442487201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124872663,"filename":"image_20042025_03_11_55_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061596","file1":"1352061595","file0":"1352061593","file4":"1352061601","file5":"1352061602","file3":"1352061599"},"map_files_photo_id_array":[{"photo_id":"1352061602","filename":"file5"},{"photo_id":"1352061596","filename":"file2"},{"photo_id":"1352061601","filename":"file4"},{"photo_id":"1352061595","filename":"file1"},{"photo_id":"1352061593","filename":"file0"},{"photo_id":"1352061599","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061602":["hashtag1","hashtag2"]},{"1352061595":["hashtag1","hashtag2"]},{"1352061601":["hashtag1","hashtag2"]},{"1352061596":["hashtag1","hashtag2"]},{"1352061599":["hashtag1","hashtag2"]},{"1352061593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061602, 1352061595, 1352061601, 1352061596, 1352061599, 1352061593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.6171236038208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:54:32.562218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_54_9370.jpg', '/home/pi/Desktop/images/20042025/03/12/image_20042025_03_13_05_10487.jpg', '/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_14_9370.jpg', '/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_25_10388.jpg', '/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_34_9451.jpg', '/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_45_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/12/image_20042025_03_12_54_9370.jpg
/home/pi/Desktop/images/20042025/03/12/image_20042025_03_13_05_10487.jpg
/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_14_9370.jpg
/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_25_10388.jpg
/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_34_9451.jpg
/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_45_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061619","1352061613","1352061616","1352061624","1352061627","1352061626"],"photo_ids_order":["1352061613","1352061616","1352061619","1352061624","1352061626","1352061627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb015987db2164cda14b563c30d71716.jpg","text":"TemporaryFile(/tmp/multipartBody6814259740144374748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124933040,"filename":"image_20042025_03_13_14_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30ed176667679ec916f7b184ae9c683c.jpg","text":"TemporaryFile(/tmp/multipartBody2280390928309301191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124933040,"filename":"image_20042025_03_12_54_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f9c940c542f655955e5f22e4dae5333.jpg","text":"TemporaryFile(/tmp/multipartBody4311843884738906830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124933040,"filename":"image_20042025_03_13_05_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a42400c2e877ee91793390bd7d75a55f.jpg","text":"TemporaryFile(/tmp/multipartBody4363598068050283646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124933040,"filename":"image_20042025_03_13_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b878238e318bac352b851b5d74529efc.jpg","text":"TemporaryFile(/tmp/multipartBody7742033206721468226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124933040,"filename":"image_20042025_03_13_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cf953d53fce512b8d7e6bdc1627b304.jpg","text":"TemporaryFile(/tmp/multipartBody6961540102442077002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124933040,"filename":"image_20042025_03_13_34_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061619","file1":"1352061616","file0":"1352061613","file4":"1352061626","file5":"1352061627","file3":"1352061624"},"map_files_photo_id_array":[{"photo_id":"1352061627","filename":"file5"},{"photo_id":"1352061619","filename":"file2"},{"photo_id":"1352061626","filename":"file4"},{"photo_id":"1352061616","filename":"file1"},{"photo_id":"1352061613","filename":"file0"},{"photo_id":"1352061624","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061619":["hashtag1","hashtag2"]},{"1352061613":["hashtag1","hashtag2"]},{"1352061616":["hashtag1","hashtag2"]},{"1352061624":["hashtag1","hashtag2"]},{"1352061627":["hashtag1","hashtag2"]},{"1352061626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061619, 1352061613, 1352061616, 1352061624, 1352061627, 1352061626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02588486671448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:55:32.603681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_55_10393.jpg', '/home/pi/Desktop/images/20042025/03/13/image_20042025_03_14_04_9359.jpg', '/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_15_10399.jpg', '/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_25_10372.jpg', '/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_34_9360.jpg', '/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_45_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/13/image_20042025_03_13_55_10393.jpg
/home/pi/Desktop/images/20042025/03/13/image_20042025_03_14_04_9359.jpg
/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_15_10399.jpg
/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_25_10372.jpg
/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_34_9360.jpg
/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_45_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061643","1352061637","1352061640","1352061642","1352061639","1352061641"],"photo_ids_order":["1352061637","1352061639","1352061640","1352061641","1352061642","1352061643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/279ba2893ddcd569ffadfb9ffa728755.jpg","text":"TemporaryFile(/tmp/multipartBody9190707200592698418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124993077,"filename":"image_20042025_03_14_45_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da8e98205080991cb969560fe85ad661.jpg","text":"TemporaryFile(/tmp/multipartBody2401782798603505624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124993077,"filename":"image_20042025_03_13_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3602be2f3e8516694633aaa1cf970dc5.jpg","text":"TemporaryFile(/tmp/multipartBody1972314876361057648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124993077,"filename":"image_20042025_03_14_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6007d1441731d629fa99cdb5f6bf5dd.jpg","text":"TemporaryFile(/tmp/multipartBody1822538719114936288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124993077,"filename":"image_20042025_03_14_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/178a977115447faa24456a82cad09173.jpg","text":"TemporaryFile(/tmp/multipartBody3151586922596396150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124993077,"filename":"image_20042025_03_14_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64e9de0a3188c6b369a21a7857cc1b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3109235288528970413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745124993077,"filename":"image_20042025_03_14_25_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061640","file1":"1352061639","file0":"1352061637","file4":"1352061642","file5":"1352061643","file3":"1352061641"},"map_files_photo_id_array":[{"photo_id":"1352061643","filename":"file5"},{"photo_id":"1352061640","filename":"file2"},{"photo_id":"1352061642","filename":"file4"},{"photo_id":"1352061639","filename":"file1"},{"photo_id":"1352061637","filename":"file0"},{"photo_id":"1352061641","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061643":["hashtag1","hashtag2"]},{"1352061637":["hashtag1","hashtag2"]},{"1352061640":["hashtag1","hashtag2"]},{"1352061642":["hashtag1","hashtag2"]},{"1352061639":["hashtag1","hashtag2"]},{"1352061641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061643, 1352061637, 1352061640, 1352061642, 1352061639, 1352061641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34044337272644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:56:32.872638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_54_9363.jpg', '/home/pi/Desktop/images/20042025/03/14/image_20042025_03_15_05_10362.jpg', '/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_14_9484.jpg', '/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_25_10371.jpg', '/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_35_10424.jpg', '/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_44_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/14/image_20042025_03_14_54_9363.jpg
/home/pi/Desktop/images/20042025/03/14/image_20042025_03_15_05_10362.jpg
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_14_9484.jpg
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_25_10371.jpg
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_35_10424.jpg
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_44_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061745","1352061907","1352061876","1352061814","1352061846","1352061785"],"photo_ids_order":["1352061745","1352061785","1352061814","1352061846","1352061876","1352061907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69c449453d0280a934c5197af819b7b6.jpg","text":"TemporaryFile(/tmp/multipartBody9177210366405505141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125053341,"filename":"image_20042025_03_14_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef5dacbeebe071fee117d59180902fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3939940928726856067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125053341,"filename":"image_20042025_03_15_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6988a6aedffe9912047ab3f4307157a.jpg","text":"TemporaryFile(/tmp/multipartBody2358937911321491824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125053341,"filename":"image_20042025_03_15_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20c096ee3cd50f4370ec4fc9c707dbc2.jpg","text":"TemporaryFile(/tmp/multipartBody2575203301341296192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125053341,"filename":"image_20042025_03_15_14_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37981bf6b541e6f8124617a72564eca2.jpg","text":"TemporaryFile(/tmp/multipartBody8323311647506115322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125053341,"filename":"image_20042025_03_15_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e53a640a08e3c0e142746e11456fa897.jpg","text":"TemporaryFile(/tmp/multipartBody2634304579539250237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125053341,"filename":"image_20042025_03_15_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061814","file1":"1352061785","file0":"1352061745","file4":"1352061876","file5":"1352061907","file3":"1352061846"},"map_files_photo_id_array":[{"photo_id":"1352061907","filename":"file5"},{"photo_id":"1352061814","filename":"file2"},{"photo_id":"1352061876","filename":"file4"},{"photo_id":"1352061785","filename":"file1"},{"photo_id":"1352061745","filename":"file0"},{"photo_id":"1352061846","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352061745":["hashtag1","hashtag2"]},{"1352061907":["hashtag1","hashtag2"]},{"1352061876":["hashtag1","hashtag2"]},{"1352061814":["hashtag1","hashtag2"]},{"1352061846":["hashtag1","hashtag2"]},{"1352061785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352061745, 1352061907, 1352061876, 1352061814, 1352061846, 1352061785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.459627866744995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 06:57:32.215817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_55_10353.jpg', '/home/pi/Desktop/images/20042025/03/15/image_20042025_03_16_05_10359.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_14_9359.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_25_10483.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_34_9434.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_55_10353.jpg
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_16_05_10359.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_14_9359.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_25_10483.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_34_9434.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_45_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 06:59:04.479693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_55_10353.jpg', '/home/pi/Desktop/images/20042025/03/15/image_20042025_03_16_05_10359.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_14_9359.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_25_10483.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_34_9434.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_15_55_10353.jpg
/home/pi/Desktop/images/20042025/03/15/image_20042025_03_16_05_10359.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_14_9359.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_25_10483.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_34_9434.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_45_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352062351","1352062354","1352062341","1352062367","1352062346","1352062396"],"photo_ids_order":["1352062341","1352062346","1352062351","1352062354","1352062367","1352062396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f41860f3c04c0110f11bb773c5c271d.jpg","text":"TemporaryFile(/tmp/multipartBody9094485741227984197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125205179,"filename":"image_20042025_03_16_14_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e3d0ed3725e7b3049619a1bf05751f5.jpg","text":"TemporaryFile(/tmp/multipartBody5286440348721812494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125205179,"filename":"image_20042025_03_16_25_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/603ec88a1be98bfa67c46318c2172baa.jpg","text":"TemporaryFile(/tmp/multipartBody1930259268386964937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125205179,"filename":"image_20042025_03_15_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2f6d2f51ebf6930a41e7cf16e5e7cca.jpg","text":"TemporaryFile(/tmp/multipartBody7536109139646355355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125205179,"filename":"image_20042025_03_16_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a9fdd2bab3d5f4bdc5fd882a926347f.jpg","text":"TemporaryFile(/tmp/multipartBody5955475357727944657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125205179,"filename":"image_20042025_03_16_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d56bdd254d6eb0bc99366e47283c5d28.jpg","text":"TemporaryFile(/tmp/multipartBody7437866366708510395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125205179,"filename":"image_20042025_03_16_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352062351","file1":"1352062346","file0":"1352062341","file4":"1352062367","file5":"1352062396","file3":"1352062354"},"map_files_photo_id_array":[{"photo_id":"1352062396","filename":"file5"},{"photo_id":"1352062351","filename":"file2"},{"photo_id":"1352062367","filename":"file4"},{"photo_id":"1352062346","filename":"file1"},{"photo_id":"1352062341","filename":"file0"},{"photo_id":"1352062354","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352062351":["hashtag1","hashtag2"]},{"1352062354":["hashtag1","hashtag2"]},{"1352062341":["hashtag1","hashtag2"]},{"1352062367":["hashtag1","hashtag2"]},{"1352062346":["hashtag1","hashtag2"]},{"1352062396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352062351, 1352062354, 1352062341, 1352062367, 1352062346, 1352062396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71046781539917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 06:59:42.954768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_55_10411.jpg', '/home/pi/Desktop/images/20042025/03/16/image_20042025_03_17_04_9359.jpg', '/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_15_10361.jpg', '/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_24_9358.jpg', '/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_35_10361.jpg', '/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_45_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_16_55_10411.jpg
/home/pi/Desktop/images/20042025/03/16/image_20042025_03_17_04_9359.jpg
/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_15_10361.jpg
/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_24_9358.jpg
/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_35_10361.jpg
/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_45_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352062582","1352062576","1352062645","1352062547","1352062601","1352062517"],"photo_ids_order":["1352062517","1352062547","1352062576","1352062582","1352062601","1352062645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30e82e798b36b9481052c814186fb328.jpg","text":"TemporaryFile(/tmp/multipartBody4645230234357426571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125243436,"filename":"image_20042025_03_17_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc35d20592facdeda57c62513a64f33e.jpg","text":"TemporaryFile(/tmp/multipartBody758844834862661401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125243436,"filename":"image_20042025_03_17_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0eef1b7e710855446d50ed3e2ab95cec.jpg","text":"TemporaryFile(/tmp/multipartBody2350037244704562085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125243436,"filename":"image_20042025_03_17_45_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3087934239d4659a65ef31383d853593.jpg","text":"TemporaryFile(/tmp/multipartBody1020221071188463683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125243436,"filename":"image_20042025_03_17_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fe2834528f85c26ccda7d94722b4a00.jpg","text":"TemporaryFile(/tmp/multipartBody1627441088412198313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125243436,"filename":"image_20042025_03_17_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c194e0190039f7aa33044befe296f5a2.jpg","text":"TemporaryFile(/tmp/multipartBody9157047085381131095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125243436,"filename":"image_20042025_03_16_55_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352062576","file1":"1352062547","file0":"1352062517","file4":"1352062601","file5":"1352062645","file3":"1352062582"},"map_files_photo_id_array":[{"photo_id":"1352062645","filename":"file5"},{"photo_id":"1352062576","filename":"file2"},{"photo_id":"1352062601","filename":"file4"},{"photo_id":"1352062547","filename":"file1"},{"photo_id":"1352062517","filename":"file0"},{"photo_id":"1352062582","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352062582":["hashtag1","hashtag2"]},{"1352062576":["hashtag1","hashtag2"]},{"1352062645":["hashtag1","hashtag2"]},{"1352062547":["hashtag1","hashtag2"]},{"1352062601":["hashtag1","hashtag2"]},{"1352062517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352062582, 1352062576, 1352062645, 1352062547, 1352062601, 1352062517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18806457519531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:00:32.202141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_54_9370.jpg', '/home/pi/Desktop/images/20042025/03/17/image_20042025_03_18_05_10360.jpg', '/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_15_10451.jpg', '/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_24_9368.jpg', '/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_35_10391.jpg', '/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_44_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/17/image_20042025_03_17_54_9370.jpg
/home/pi/Desktop/images/20042025/03/17/image_20042025_03_18_05_10360.jpg
/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_15_10451.jpg
/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_24_9368.jpg
/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_35_10391.jpg
/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_44_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352062872","1352062932","1352062964","1352063024","1352062993","1352062904"],"photo_ids_order":["1352062872","1352062904","1352062932","1352062964","1352062993","1352063024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb082b7f8ad8393293d952b3a3353f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6234038073855193258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125292687,"filename":"image_20042025_03_17_54_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eeaa5a392db9c595cd7027aa055bf8e1.jpg","text":"TemporaryFile(/tmp/multipartBody5238756331245698303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125292687,"filename":"image_20042025_03_18_15_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20b81dc085d071a63d521542a7428cb5.jpg","text":"TemporaryFile(/tmp/multipartBody5108943480147995416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125292687,"filename":"image_20042025_03_18_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b614ab4ad24123cceda267a79a3de03a.jpg","text":"TemporaryFile(/tmp/multipartBody3916402504092192228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125292687,"filename":"image_20042025_03_18_44_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e080f4a89da3fe5541dac8074fd5b568.jpg","text":"TemporaryFile(/tmp/multipartBody5413823739203891194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125292687,"filename":"image_20042025_03_18_35_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/338f054d8cce7b6f36ce177b1eb04f70.jpg","text":"TemporaryFile(/tmp/multipartBody1221384470765308667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125292687,"filename":"image_20042025_03_18_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352062932","file1":"1352062904","file0":"1352062872","file4":"1352062993","file5":"1352063024","file3":"1352062964"},"map_files_photo_id_array":[{"photo_id":"1352063024","filename":"file5"},{"photo_id":"1352062932","filename":"file2"},{"photo_id":"1352062993","filename":"file4"},{"photo_id":"1352062904","filename":"file1"},{"photo_id":"1352062872","filename":"file0"},{"photo_id":"1352062964","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352062872":["hashtag1","hashtag2"]},{"1352062932":["hashtag1","hashtag2"]},{"1352062964":["hashtag1","hashtag2"]},{"1352063024":["hashtag1","hashtag2"]},{"1352062993":["hashtag1","hashtag2"]},{"1352062904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352062872, 1352062932, 1352062964, 1352063024, 1352062993, 1352062904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31042242050171 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:01:32.403107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_55_10364.jpg', '/home/pi/Desktop/images/20042025/03/18/image_20042025_03_19_05_10401.jpg', '/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_14_9358.jpg', '/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_25_10371.jpg', '/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_34_9456.jpg', '/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_45_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/18/image_20042025_03_18_55_10364.jpg
/home/pi/Desktop/images/20042025/03/18/image_20042025_03_19_05_10401.jpg
/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_14_9358.jpg
/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_25_10371.jpg
/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_34_9456.jpg
/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_45_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352063404","1352063345","1352063312","1352063281","1352063434","1352063377"],"photo_ids_order":["1352063281","1352063312","1352063345","1352063377","1352063404","1352063434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/047dea2861812d4a3ac82209b0327ff1.jpg","text":"TemporaryFile(/tmp/multipartBody4377013815388232431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125352875,"filename":"image_20042025_03_19_34_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb17571fc6290a3e4b2053a22205fb98.jpg","text":"TemporaryFile(/tmp/multipartBody3463449874503283817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125352875,"filename":"image_20042025_03_19_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c1c9e4b9226d6648aaed1b4f50cf9b3.jpg","text":"TemporaryFile(/tmp/multipartBody4979270642765228514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125352875,"filename":"image_20042025_03_19_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0607e03f50d98c09d75ade2bd7ba8894.jpg","text":"TemporaryFile(/tmp/multipartBody6054710049779077983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125352875,"filename":"image_20042025_03_18_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c37430ae8abb6d257b055a23ee45f53.jpg","text":"TemporaryFile(/tmp/multipartBody8104163378560546174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125352875,"filename":"image_20042025_03_19_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc333e6659a91e0be6a5075a8162b38a.jpg","text":"TemporaryFile(/tmp/multipartBody1167881599101169185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125352875,"filename":"image_20042025_03_19_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352063345","file1":"1352063312","file0":"1352063281","file4":"1352063404","file5":"1352063434","file3":"1352063377"},"map_files_photo_id_array":[{"photo_id":"1352063434","filename":"file5"},{"photo_id":"1352063345","filename":"file2"},{"photo_id":"1352063404","filename":"file4"},{"photo_id":"1352063312","filename":"file1"},{"photo_id":"1352063281","filename":"file0"},{"photo_id":"1352063377","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352063404":["hashtag1","hashtag2"]},{"1352063345":["hashtag1","hashtag2"]},{"1352063312":["hashtag1","hashtag2"]},{"1352063281":["hashtag1","hashtag2"]},{"1352063434":["hashtag1","hashtag2"]},{"1352063377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352063404, 1352063345, 1352063312, 1352063281, 1352063434, 1352063377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.927066802978516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:02:32.533317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_55_10424.jpg', '/home/pi/Desktop/images/20042025/03/19/image_20042025_03_20_04_9374.jpg', '/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_15_10382.jpg', '/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_24_9445.jpg', '/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_35_10364.jpg', '/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_45_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/19/image_20042025_03_19_55_10424.jpg
/home/pi/Desktop/images/20042025/03/19/image_20042025_03_20_04_9374.jpg
/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_15_10382.jpg
/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_24_9445.jpg
/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_35_10364.jpg
/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_45_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352063640","1352063654","1352063642","1352063650","1352063653","1352063647"],"photo_ids_order":["1352063640","1352063642","1352063647","1352063650","1352063653","1352063654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94f5cf94af232d35f29986f62a050ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1807547823814351536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125413003,"filename":"image_20042025_03_19_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ebd7bd7739cd90faa8d1c2e2849505c.jpg","text":"TemporaryFile(/tmp/multipartBody7976851595455074433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125413003,"filename":"image_20042025_03_20_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2617a53ccaa782de313805916fd31249.jpg","text":"TemporaryFile(/tmp/multipartBody6895920421912938375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125413003,"filename":"image_20042025_03_20_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ff869adc1a36c0112ad1662f6282044.jpg","text":"TemporaryFile(/tmp/multipartBody6408733257494849370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125413003,"filename":"image_20042025_03_20_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abefb3487091311b63a7b36b10f3f41e.jpg","text":"TemporaryFile(/tmp/multipartBody794762563634042665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125413003,"filename":"image_20042025_03_20_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abed8ae960f895738608c9f9be2657cf.jpg","text":"TemporaryFile(/tmp/multipartBody3754397165787869655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125413003,"filename":"image_20042025_03_20_15_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352063647","file1":"1352063642","file0":"1352063640","file4":"1352063653","file5":"1352063654","file3":"1352063650"},"map_files_photo_id_array":[{"photo_id":"1352063654","filename":"file5"},{"photo_id":"1352063647","filename":"file2"},{"photo_id":"1352063653","filename":"file4"},{"photo_id":"1352063642","filename":"file1"},{"photo_id":"1352063640","filename":"file0"},{"photo_id":"1352063650","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352063640":["hashtag1","hashtag2"]},{"1352063654":["hashtag1","hashtag2"]},{"1352063642":["hashtag1","hashtag2"]},{"1352063650":["hashtag1","hashtag2"]},{"1352063653":["hashtag1","hashtag2"]},{"1352063647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352063640, 1352063654, 1352063642, 1352063650, 1352063653, 1352063647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.938894033432007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:03:32.715931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_54_9370.jpg', '/home/pi/Desktop/images/20042025/03/20/image_20042025_03_21_05_10356.jpg', '/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_15_10411.jpg', '/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_24_9355.jpg', '/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_35_10365.jpg', '/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_44_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/20/image_20042025_03_20_54_9370.jpg
/home/pi/Desktop/images/20042025/03/20/image_20042025_03_21_05_10356.jpg
/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_15_10411.jpg
/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_24_9355.jpg
/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_35_10365.jpg
/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_44_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352063874","1352063868","1352063844","1352063838","1352063840","1352063819"],"photo_ids_order":["1352063819","1352063838","1352063840","1352063844","1352063868","1352063874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c0de6e852ca17f3833264baf93dcef5.jpg","text":"TemporaryFile(/tmp/multipartBody610711693989506295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125473187,"filename":"image_20042025_03_21_44_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fddd5cf9914db842525fe0b07f54e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3869727082202486694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125473187,"filename":"image_20042025_03_21_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbf9ba7b407692545e7a4d6fac93e726.jpg","text":"TemporaryFile(/tmp/multipartBody4787622925766681028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125473187,"filename":"image_20042025_03_21_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f83d9f61b5764e7e591d9ab3e19eab3.jpg","text":"TemporaryFile(/tmp/multipartBody2992933543892245595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125473187,"filename":"image_20042025_03_21_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b9da5f98f7f8b06caee82e225422452.jpg","text":"TemporaryFile(/tmp/multipartBody6838967285715560115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125473187,"filename":"image_20042025_03_21_15_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98cb685160273cc69d5f8c536b7931a8.jpg","text":"TemporaryFile(/tmp/multipartBody2856848901702781676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125473187,"filename":"image_20042025_03_20_54_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352063840","file1":"1352063838","file0":"1352063819","file4":"1352063868","file5":"1352063874","file3":"1352063844"},"map_files_photo_id_array":[{"photo_id":"1352063874","filename":"file5"},{"photo_id":"1352063840","filename":"file2"},{"photo_id":"1352063868","filename":"file4"},{"photo_id":"1352063838","filename":"file1"},{"photo_id":"1352063819","filename":"file0"},{"photo_id":"1352063844","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352063874":["hashtag1","hashtag2"]},{"1352063868":["hashtag1","hashtag2"]},{"1352063844":["hashtag1","hashtag2"]},{"1352063838":["hashtag1","hashtag2"]},{"1352063840":["hashtag1","hashtag2"]},{"1352063819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352063874, 1352063868, 1352063844, 1352063838, 1352063840, 1352063819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.771342277526855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:04:32.898905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_55_10407.jpg', '/home/pi/Desktop/images/20042025/03/21/image_20042025_03_22_05_10432.jpg', '/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_14_9357.jpg', '/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_25_10378.jpg', '/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_34_9415.jpg', '/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_45_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/21/image_20042025_03_21_55_10407.jpg
/home/pi/Desktop/images/20042025/03/21/image_20042025_03_22_05_10432.jpg
/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_14_9357.jpg
/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_25_10378.jpg
/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_34_9415.jpg
/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_45_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352063929","1352063937","1352063931","1352063939","1352063933","1352063935"],"photo_ids_order":["1352063929","1352063931","1352063933","1352063935","1352063937","1352063939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb61e28e65eda822d1396d5731728257.jpg","text":"TemporaryFile(/tmp/multipartBody4143280533609436977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125533369,"filename":"image_20042025_03_21_55_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/563c94853b6a81b9c8a2891c4490247c.jpg","text":"TemporaryFile(/tmp/multipartBody2529744372133371780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125533369,"filename":"image_20042025_03_22_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7568530ff5e3854a7a67d28dc61e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8943803533517198257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125533369,"filename":"image_20042025_03_22_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19acaa1be5ec6d0bd64bb964ecee0943.jpg","text":"TemporaryFile(/tmp/multipartBody2327921960841776673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125533369,"filename":"image_20042025_03_22_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f9cb46687de91817096a70e61ac67d9.jpg","text":"TemporaryFile(/tmp/multipartBody2528947436352508916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125533369,"filename":"image_20042025_03_22_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c2d01e6fa51a86e8b60c50369dbc362.jpg","text":"TemporaryFile(/tmp/multipartBody5372034692562336962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125533369,"filename":"image_20042025_03_22_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352063933","file1":"1352063931","file0":"1352063929","file4":"1352063937","file5":"1352063939","file3":"1352063935"},"map_files_photo_id_array":[{"photo_id":"1352063939","filename":"file5"},{"photo_id":"1352063933","filename":"file2"},{"photo_id":"1352063937","filename":"file4"},{"photo_id":"1352063931","filename":"file1"},{"photo_id":"1352063929","filename":"file0"},{"photo_id":"1352063935","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352063929":["hashtag1","hashtag2"]},{"1352063937":["hashtag1","hashtag2"]},{"1352063931":["hashtag1","hashtag2"]},{"1352063939":["hashtag1","hashtag2"]},{"1352063933":["hashtag1","hashtag2"]},{"1352063935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352063929, 1352063937, 1352063931, 1352063939, 1352063933, 1352063935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1104474067688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:05:33.089792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_55_10499.jpg', '/home/pi/Desktop/images/20042025/03/22/image_20042025_03_23_04_9356.jpg', '/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_15_10352.jpg', '/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_24_9444.jpg', '/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_35_10439.jpg', '/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_45_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/22/image_20042025_03_22_55_10499.jpg
/home/pi/Desktop/images/20042025/03/22/image_20042025_03_23_04_9356.jpg
/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_15_10352.jpg
/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_24_9444.jpg
/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_35_10439.jpg
/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_45_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352063964","1352063955","1352063966","1352063951","1352063962","1352063959"],"photo_ids_order":["1352063951","1352063955","1352063959","1352063962","1352063964","1352063966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fa9cd84b100a8037fec8bb84cd52cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4456586477459811201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125593566,"filename":"image_20042025_03_23_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40b8cb3293f72193a70ca9e411e0f047.jpg","text":"TemporaryFile(/tmp/multipartBody6596608112796606186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125593566,"filename":"image_20042025_03_23_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d4d767dc283ba31ebf53d9481ba3209.jpg","text":"TemporaryFile(/tmp/multipartBody3645231847730041815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125593566,"filename":"image_20042025_03_23_45_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fda2a3f4542444c74d32304f662d58d.jpg","text":"TemporaryFile(/tmp/multipartBody937274710084285481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125593566,"filename":"image_20042025_03_22_55_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a195fe6d2eee259ae6459fb6e23cb665.jpg","text":"TemporaryFile(/tmp/multipartBody7431412833751126818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125593566,"filename":"image_20042025_03_23_24_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79ce17007b53b90d775e2d15694e55f1.jpg","text":"TemporaryFile(/tmp/multipartBody6635469367183457410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125593566,"filename":"image_20042025_03_23_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352063959","file1":"1352063955","file0":"1352063951","file4":"1352063964","file5":"1352063966","file3":"1352063962"},"map_files_photo_id_array":[{"photo_id":"1352063966","filename":"file5"},{"photo_id":"1352063959","filename":"file2"},{"photo_id":"1352063964","filename":"file4"},{"photo_id":"1352063955","filename":"file1"},{"photo_id":"1352063951","filename":"file0"},{"photo_id":"1352063962","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352063964":["hashtag1","hashtag2"]},{"1352063955":["hashtag1","hashtag2"]},{"1352063966":["hashtag1","hashtag2"]},{"1352063951":["hashtag1","hashtag2"]},{"1352063962":["hashtag1","hashtag2"]},{"1352063959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352063964, 1352063955, 1352063966, 1352063951, 1352063962, 1352063959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.321717739105225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:06:32.316432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_54_9351.jpg', '/home/pi/Desktop/images/20042025/03/23/image_20042025_03_24_05_10480.jpg', '/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_14_9334.jpg', '/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_25_10746.jpg', '/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_34_9435.jpg', '/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/23/image_20042025_03_23_54_9351.jpg
/home/pi/Desktop/images/20042025/03/23/image_20042025_03_24_05_10480.jpg
/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_14_9334.jpg
/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_25_10746.jpg
/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_34_9435.jpg
/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352063997","1352063988","1352063993","1352063999","1352063984","1352063980"],"photo_ids_order":["1352063980","1352063984","1352063988","1352063993","1352063997","1352063999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60d2d7b8660dc74dba1991b4421dd5bc.jpg","text":"TemporaryFile(/tmp/multipartBody7043715343104366524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125652799,"filename":"image_20042025_03_24_34_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0783b1f8b5ba18519403c58f3c2fcbe7.jpg","text":"TemporaryFile(/tmp/multipartBody6909264709481156308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125652799,"filename":"image_20042025_03_24_14_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14d4e0d7f21f5457b7dec4e558a1f785.jpg","text":"TemporaryFile(/tmp/multipartBody7032507616150917113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125652799,"filename":"image_20042025_03_24_25_10746.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/403c03c3b3377998c7d54d98f5a0632a.jpg","text":"TemporaryFile(/tmp/multipartBody1691337083350770336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125652799,"filename":"image_20042025_03_24_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1251b005617e2073263e46450bb509c.jpg","text":"TemporaryFile(/tmp/multipartBody2766104584166375318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125652799,"filename":"image_20042025_03_24_05_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0f8c03dcca82801c1f06416d3a0754d.jpg","text":"TemporaryFile(/tmp/multipartBody7239385998879720110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125652799,"filename":"image_20042025_03_23_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352063988","file1":"1352063984","file0":"1352063980","file4":"1352063997","file5":"1352063999","file3":"1352063993"},"map_files_photo_id_array":[{"photo_id":"1352063999","filename":"file5"},{"photo_id":"1352063988","filename":"file2"},{"photo_id":"1352063997","filename":"file4"},{"photo_id":"1352063984","filename":"file1"},{"photo_id":"1352063980","filename":"file0"},{"photo_id":"1352063993","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352063997":["hashtag1","hashtag2"]},{"1352063988":["hashtag1","hashtag2"]},{"1352063993":["hashtag1","hashtag2"]},{"1352063999":["hashtag1","hashtag2"]},{"1352063984":["hashtag1","hashtag2"]},{"1352063980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352063997, 1352063988, 1352063993, 1352063999, 1352063984, 1352063980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60155439376831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:07:32.627344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_54_9432.jpg', '/home/pi/Desktop/images/20042025/03/24/image_20042025_03_25_05_10370.jpg', '/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_15_10395.jpg', '/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_24_9361.jpg', '/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_35_10352.jpg', '/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/24/image_20042025_03_24_54_9432.jpg
/home/pi/Desktop/images/20042025/03/24/image_20042025_03_25_05_10370.jpg
/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_15_10395.jpg
/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_24_9361.jpg
/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_35_10352.jpg
/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_45_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064027","1352064015","1352064029","1352064020","1352064023","1352064025"],"photo_ids_order":["1352064015","1352064020","1352064023","1352064025","1352064027","1352064029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/efdf214e5176a234233a50d43fd076b8.jpg","text":"TemporaryFile(/tmp/multipartBody3303307934946427807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125713093,"filename":"image_20042025_03_25_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/331a409723f111aa7955fbec85aff9d0.jpg","text":"TemporaryFile(/tmp/multipartBody4437148700252168673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125713093,"filename":"image_20042025_03_24_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69ff9f0189282f9c85900814a3cec63f.jpg","text":"TemporaryFile(/tmp/multipartBody239036326872080528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125713093,"filename":"image_20042025_03_25_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9650e0b00b023be90f97a357efe40beb.jpg","text":"TemporaryFile(/tmp/multipartBody7252048791239381203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125713093,"filename":"image_20042025_03_25_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e401424d76bf240378b07f651ff5fa01.jpg","text":"TemporaryFile(/tmp/multipartBody1252364601729593280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125713093,"filename":"image_20042025_03_25_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8872928206a8f6cab46592ba49998917.jpg","text":"TemporaryFile(/tmp/multipartBody5262846813193045458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125713093,"filename":"image_20042025_03_25_24_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064023","file1":"1352064020","file0":"1352064015","file4":"1352064027","file5":"1352064029","file3":"1352064025"},"map_files_photo_id_array":[{"photo_id":"1352064029","filename":"file5"},{"photo_id":"1352064023","filename":"file2"},{"photo_id":"1352064027","filename":"file4"},{"photo_id":"1352064020","filename":"file1"},{"photo_id":"1352064015","filename":"file0"},{"photo_id":"1352064025","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064027":["hashtag1","hashtag2"]},{"1352064015":["hashtag1","hashtag2"]},{"1352064029":["hashtag1","hashtag2"]},{"1352064020":["hashtag1","hashtag2"]},{"1352064023":["hashtag1","hashtag2"]},{"1352064025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064027, 1352064015, 1352064029, 1352064020, 1352064023, 1352064025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.089566707611084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:08:32.723526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_54_9366.jpg', '/home/pi/Desktop/images/20042025/03/25/image_20042025_03_26_05_10357.jpg', '/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_14_9429.jpg', '/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_25_10412.jpg', '/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_35_10398.jpg', '/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_44_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/25/image_20042025_03_25_54_9366.jpg
/home/pi/Desktop/images/20042025/03/25/image_20042025_03_26_05_10357.jpg
/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_14_9429.jpg
/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_25_10412.jpg
/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_35_10398.jpg
/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_44_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064048","1352064041","1352064050","1352064044","1352064053","1352064046"],"photo_ids_order":["1352064041","1352064044","1352064046","1352064048","1352064050","1352064053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37546cc3617eb9b7e9a1994eebc93e11.jpg","text":"TemporaryFile(/tmp/multipartBody6550114206911482888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125773188,"filename":"image_20042025_03_26_25_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99a06b7c84a72a07a5e6b4aaadad25e4.jpg","text":"TemporaryFile(/tmp/multipartBody7857921426450947061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125773188,"filename":"image_20042025_03_25_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b32f152206ed8f18b295f15926aab45a.jpg","text":"TemporaryFile(/tmp/multipartBody61113325632336459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125773188,"filename":"image_20042025_03_26_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b55e314e61fc7b6a0a836aa7a388da61.jpg","text":"TemporaryFile(/tmp/multipartBody1651975416796244947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125773188,"filename":"image_20042025_03_26_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c932d5ccece627e3656c10c7a2140f46.jpg","text":"TemporaryFile(/tmp/multipartBody2745704584235391688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125773188,"filename":"image_20042025_03_26_44_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5457446252cbeed1dfeab37969f9e3c.jpg","text":"TemporaryFile(/tmp/multipartBody7935293641338780851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125773188,"filename":"image_20042025_03_26_14_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064046","file1":"1352064044","file0":"1352064041","file4":"1352064050","file5":"1352064053","file3":"1352064048"},"map_files_photo_id_array":[{"photo_id":"1352064053","filename":"file5"},{"photo_id":"1352064046","filename":"file2"},{"photo_id":"1352064050","filename":"file4"},{"photo_id":"1352064044","filename":"file1"},{"photo_id":"1352064041","filename":"file0"},{"photo_id":"1352064048","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064048":["hashtag1","hashtag2"]},{"1352064041":["hashtag1","hashtag2"]},{"1352064050":["hashtag1","hashtag2"]},{"1352064044":["hashtag1","hashtag2"]},{"1352064053":["hashtag1","hashtag2"]},{"1352064046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064048, 1352064041, 1352064050, 1352064044, 1352064053, 1352064046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81758379936218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:09:32.903076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_55_10381.jpg', '/home/pi/Desktop/images/20042025/03/26/image_20042025_03_27_04_9351.jpg', '/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_14_10368.jpg', '/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_25_10410.jpg', '/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_34_9361.jpg', '/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_45_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/26/image_20042025_03_26_55_10381.jpg
/home/pi/Desktop/images/20042025/03/26/image_20042025_03_27_04_9351.jpg
/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_14_10368.jpg
/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_25_10410.jpg
/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_34_9361.jpg
/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_45_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064074","1352064068","1352064070","1352064064","1352064081","1352064078"],"photo_ids_order":["1352064064","1352064068","1352064070","1352064074","1352064078","1352064081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/500408cb99728b5fc6108490065e2c84.jpg","text":"TemporaryFile(/tmp/multipartBody4033944804648557665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125833378,"filename":"image_20042025_03_27_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8e7624a233baa0c87ed053d6d6a928a.jpg","text":"TemporaryFile(/tmp/multipartBody2960726452211744935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125833378,"filename":"image_20042025_03_27_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90a994bf42d44118e2c14a7a4e0128ce.jpg","text":"TemporaryFile(/tmp/multipartBody3828299086624078049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125833378,"filename":"image_20042025_03_27_14_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e9bcde057f7a56edabe119c72a4b3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8764359590531745761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125833378,"filename":"image_20042025_03_26_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c13bd413e6313f4e50385251b669a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1703441322482125100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125833378,"filename":"image_20042025_03_27_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fe8ae0f8277adf61e4ec8535f4a1a19.jpg","text":"TemporaryFile(/tmp/multipartBody51810461515920483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125833378,"filename":"image_20042025_03_27_34_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064070","file1":"1352064068","file0":"1352064064","file4":"1352064078","file5":"1352064081","file3":"1352064074"},"map_files_photo_id_array":[{"photo_id":"1352064081","filename":"file5"},{"photo_id":"1352064070","filename":"file2"},{"photo_id":"1352064078","filename":"file4"},{"photo_id":"1352064068","filename":"file1"},{"photo_id":"1352064064","filename":"file0"},{"photo_id":"1352064074","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064074":["hashtag1","hashtag2"]},{"1352064068":["hashtag1","hashtag2"]},{"1352064070":["hashtag1","hashtag2"]},{"1352064064":["hashtag1","hashtag2"]},{"1352064081":["hashtag1","hashtag2"]},{"1352064078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064074, 1352064068, 1352064070, 1352064064, 1352064081, 1352064078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.343175411224365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:10:32.279901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_55_10388.jpg', '/home/pi/Desktop/images/20042025/03/27/image_20042025_03_28_04_9362.jpg', '/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_15_10345.jpg', '/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_24_9425.jpg', '/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_35_10384.jpg', '/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_45_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/27/image_20042025_03_27_55_10388.jpg
/home/pi/Desktop/images/20042025/03/27/image_20042025_03_28_04_9362.jpg
/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_15_10345.jpg
/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_24_9425.jpg
/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_35_10384.jpg
/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_45_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064093","1352064087","1352064101","1352064096","1352064099","1352064090"],"photo_ids_order":["1352064087","1352064090","1352064093","1352064096","1352064099","1352064101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c2013ad219dda39d972990c5dc850ab.jpg","text":"TemporaryFile(/tmp/multipartBody2542523609251236603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125892749,"filename":"image_20042025_03_28_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/629d1c95ae8f0b53c2838b4afc3ff0f3.jpg","text":"TemporaryFile(/tmp/multipartBody7321613130036057390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125892749,"filename":"image_20042025_03_27_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ab06841f0c8b3407af783cc9690d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4670312620910829524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125892749,"filename":"image_20042025_03_28_45_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23ce1c9eced12747825fe3cdb0abe85a.jpg","text":"TemporaryFile(/tmp/multipartBody1418063699766982871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125892749,"filename":"image_20042025_03_28_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0cae51f232f84f68774432414519808.jpg","text":"TemporaryFile(/tmp/multipartBody6344321813492557532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125892749,"filename":"image_20042025_03_28_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68e96fdd9915094ba0c3c568d479c9e0.jpg","text":"TemporaryFile(/tmp/multipartBody6457944732159786923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125892749,"filename":"image_20042025_03_28_04_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064093","file1":"1352064090","file0":"1352064087","file4":"1352064099","file5":"1352064101","file3":"1352064096"},"map_files_photo_id_array":[{"photo_id":"1352064101","filename":"file5"},{"photo_id":"1352064093","filename":"file2"},{"photo_id":"1352064099","filename":"file4"},{"photo_id":"1352064090","filename":"file1"},{"photo_id":"1352064087","filename":"file0"},{"photo_id":"1352064096","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064093":["hashtag1","hashtag2"]},{"1352064087":["hashtag1","hashtag2"]},{"1352064101":["hashtag1","hashtag2"]},{"1352064096":["hashtag1","hashtag2"]},{"1352064099":["hashtag1","hashtag2"]},{"1352064090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064093, 1352064087, 1352064101, 1352064096, 1352064099, 1352064090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.772382259368896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:11:32.484958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_54_9350.jpg', '/home/pi/Desktop/images/20042025/03/28/image_20042025_03_29_05_10362.jpg', '/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_15_10366.jpg', '/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_25_9435.jpg', '/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_35_10414.jpg', '/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_44_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/28/image_20042025_03_28_54_9350.jpg
/home/pi/Desktop/images/20042025/03/28/image_20042025_03_29_05_10362.jpg
/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_15_10366.jpg
/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_25_9435.jpg
/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_35_10414.jpg
/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_44_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064117","1352064111","1352064119","1352064121","1352064115","1352064112"],"photo_ids_order":["1352064111","1352064112","1352064115","1352064117","1352064119","1352064121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/199da37acd6d517224fc475a783b4b74.jpg","text":"TemporaryFile(/tmp/multipartBody2209434400952065775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125952963,"filename":"image_20042025_03_29_25_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/230933e1da1a568ffab47eee9646078f.jpg","text":"TemporaryFile(/tmp/multipartBody1716945830187055838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125952963,"filename":"image_20042025_03_28_54_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18f1c87b12cf6a7d17f707515ab38999.jpg","text":"TemporaryFile(/tmp/multipartBody1004353712717599958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125952963,"filename":"image_20042025_03_29_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a0d1cdde2070e90b48b53d4116506ec.jpg","text":"TemporaryFile(/tmp/multipartBody8296436447242154799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125952963,"filename":"image_20042025_03_29_44_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1ee4608241daa1370d65c2f48bd2dc5.jpg","text":"TemporaryFile(/tmp/multipartBody2215500099514337863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125952963,"filename":"image_20042025_03_29_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ae3bd0e1d4cf87a1d8ea1e98107c2bb.jpg","text":"TemporaryFile(/tmp/multipartBody4220657179404813622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745125952963,"filename":"image_20042025_03_29_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064115","file1":"1352064112","file0":"1352064111","file4":"1352064119","file5":"1352064121","file3":"1352064117"},"map_files_photo_id_array":[{"photo_id":"1352064121","filename":"file5"},{"photo_id":"1352064115","filename":"file2"},{"photo_id":"1352064119","filename":"file4"},{"photo_id":"1352064112","filename":"file1"},{"photo_id":"1352064111","filename":"file0"},{"photo_id":"1352064117","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064117":["hashtag1","hashtag2"]},{"1352064111":["hashtag1","hashtag2"]},{"1352064119":["hashtag1","hashtag2"]},{"1352064121":["hashtag1","hashtag2"]},{"1352064115":["hashtag1","hashtag2"]},{"1352064112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064117, 1352064111, 1352064119, 1352064121, 1352064115, 1352064112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52591371536255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:12:32.717043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_55_10380.jpg', '/home/pi/Desktop/images/20042025/03/29/image_20042025_03_30_05_10437.jpg', '/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_15_9472.jpg', '/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_25_10465.jpg', '/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_34_9350.jpg', '/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_45_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/29/image_20042025_03_29_55_10380.jpg
/home/pi/Desktop/images/20042025/03/29/image_20042025_03_30_05_10437.jpg
/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_15_9472.jpg
/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_25_10465.jpg
/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_34_9350.jpg
/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_45_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064132","1352064143","1352064134","1352064142","1352064136","1352064139"],"photo_ids_order":["1352064132","1352064134","1352064136","1352064139","1352064142","1352064143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8ef07951e2421e1b8384340912e98cf.jpg","text":"TemporaryFile(/tmp/multipartBody4181234451690848065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126013185,"filename":"image_20042025_03_29_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f8ce1d15856c14a9d503b1e53eea10b.jpg","text":"TemporaryFile(/tmp/multipartBody8658818943622606272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126013185,"filename":"image_20042025_03_30_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/178f9488dcaab3039425d4d43dddb9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1698908171010899750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126013185,"filename":"image_20042025_03_30_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be54b0abbffcea828212eb63c6df36c5.jpg","text":"TemporaryFile(/tmp/multipartBody1744231283128574426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126013185,"filename":"image_20042025_03_30_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4176fe2c98ff02a534106e7d41c2cd9c.jpg","text":"TemporaryFile(/tmp/multipartBody7525893698638019813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126013185,"filename":"image_20042025_03_30_15_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e288c3be1c088d45b22c7522c6e20e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7522573551842103018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126013185,"filename":"image_20042025_03_30_25_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064136","file1":"1352064134","file0":"1352064132","file4":"1352064142","file5":"1352064143","file3":"1352064139"},"map_files_photo_id_array":[{"photo_id":"1352064143","filename":"file5"},{"photo_id":"1352064136","filename":"file2"},{"photo_id":"1352064142","filename":"file4"},{"photo_id":"1352064134","filename":"file1"},{"photo_id":"1352064132","filename":"file0"},{"photo_id":"1352064139","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064132":["hashtag1","hashtag2"]},{"1352064143":["hashtag1","hashtag2"]},{"1352064134":["hashtag1","hashtag2"]},{"1352064142":["hashtag1","hashtag2"]},{"1352064136":["hashtag1","hashtag2"]},{"1352064139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064132, 1352064143, 1352064134, 1352064142, 1352064136, 1352064139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24428653717041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:13:32.866243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_54_9363.jpg', '/home/pi/Desktop/images/20042025/03/30/image_20042025_03_31_04_10357.jpg', '/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_15_10496.jpg', '/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_24_9338.jpg', '/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_35_10357.jpg', '/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_44_9515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/30/image_20042025_03_30_54_9363.jpg
/home/pi/Desktop/images/20042025/03/30/image_20042025_03_31_04_10357.jpg
/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_15_10496.jpg
/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_24_9338.jpg
/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_35_10357.jpg
/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_44_9515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064165","1352064167","1352064158","1352064160","1352064163","1352064157"],"photo_ids_order":["1352064157","1352064158","1352064160","1352064163","1352064165","1352064167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1a3c933c8be8b2f7a256b64cbf515f1.jpg","text":"TemporaryFile(/tmp/multipartBody3710197168316730690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126073341,"filename":"image_20042025_03_31_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/437093445eb136e6aa4e9c582514ac5d.jpg","text":"TemporaryFile(/tmp/multipartBody86745193503384357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126073341,"filename":"image_20042025_03_31_44_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3eee47fc2bcce02ecb943654d2df4c90.jpg","text":"TemporaryFile(/tmp/multipartBody2164532933251746617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126073341,"filename":"image_20042025_03_31_04_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb8156b7db04186c639ccda2209656cc.jpg","text":"TemporaryFile(/tmp/multipartBody2579561846196643870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126073341,"filename":"image_20042025_03_31_15_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e8c65849a197e4a6bde0fb78e36a886.jpg","text":"TemporaryFile(/tmp/multipartBody7140134571947680795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126073341,"filename":"image_20042025_03_31_24_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0b19551db4631473b3f0894d5ef386c.jpg","text":"TemporaryFile(/tmp/multipartBody5293681868298599619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126073341,"filename":"image_20042025_03_30_54_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064160","file1":"1352064158","file0":"1352064157","file4":"1352064165","file5":"1352064167","file3":"1352064163"},"map_files_photo_id_array":[{"photo_id":"1352064167","filename":"file5"},{"photo_id":"1352064160","filename":"file2"},{"photo_id":"1352064165","filename":"file4"},{"photo_id":"1352064158","filename":"file1"},{"photo_id":"1352064157","filename":"file0"},{"photo_id":"1352064163","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064165":["hashtag1","hashtag2"]},{"1352064167":["hashtag1","hashtag2"]},{"1352064158":["hashtag1","hashtag2"]},{"1352064160":["hashtag1","hashtag2"]},{"1352064163":["hashtag1","hashtag2"]},{"1352064157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064165, 1352064167, 1352064158, 1352064160, 1352064163, 1352064157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1344690322876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:14:33.144511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_55_10360.jpg', '/home/pi/Desktop/images/20042025/03/31/image_20042025_03_32_05_10481.jpg', '/home/pi/Desktop/images/20042025/03/32/image_20042025_03_32_14_9363.jpg', '/home/pi/Desktop/images/20042025/03/32/image_20042025_03_32_34_9411.jpg', '/home/pi/Desktop/images/20042025/03/32/image_20042025_03_32_45_10351.jpg', '/home/pi/Desktop/images/20042025/03/32/image_20042025_03_33_04_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/31/image_20042025_03_31_55_10360.jpg
/home/pi/Desktop/images/20042025/03/31/image_20042025_03_32_05_10481.jpg
/home/pi/Desktop/images/20042025/03/32/image_20042025_03_32_14_9363.jpg
/home/pi/Desktop/images/20042025/03/32/image_20042025_03_32_34_9411.jpg
/home/pi/Desktop/images/20042025/03/32/image_20042025_03_32_45_10351.jpg
/home/pi/Desktop/images/20042025/03/32/image_20042025_03_33_04_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064186","1352064191","1352064178","1352064181","1352064189","1352064183"],"photo_ids_order":["1352064178","1352064181","1352064183","1352064186","1352064189","1352064191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bba29846595931809bbd80e58a182455.jpg","text":"TemporaryFile(/tmp/multipartBody3524485364161550581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126133621,"filename":"image_20042025_03_32_34_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/386aa1901ca6b98eb27f375b358a4197.jpg","text":"TemporaryFile(/tmp/multipartBody874695662578024911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126133621,"filename":"image_20042025_03_33_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2364340f8f7aa47d9a8d250b3bf1b20.jpg","text":"TemporaryFile(/tmp/multipartBody4056468075973003518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126133621,"filename":"image_20042025_03_31_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bae137e575dbdecd9b5584755e3df127.jpg","text":"TemporaryFile(/tmp/multipartBody1362138648453593511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126133621,"filename":"image_20042025_03_32_05_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9eae9a74800eed426e2c0b706edad08f.jpg","text":"TemporaryFile(/tmp/multipartBody1382255156402564332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126133621,"filename":"image_20042025_03_32_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/650491af709fefd0ebb6d8103f7ecec6.jpg","text":"TemporaryFile(/tmp/multipartBody3191059436072412658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126133621,"filename":"image_20042025_03_32_14_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064183","file1":"1352064181","file0":"1352064178","file4":"1352064189","file5":"1352064191","file3":"1352064186"},"map_files_photo_id_array":[{"photo_id":"1352064191","filename":"file5"},{"photo_id":"1352064183","filename":"file2"},{"photo_id":"1352064189","filename":"file4"},{"photo_id":"1352064181","filename":"file1"},{"photo_id":"1352064178","filename":"file0"},{"photo_id":"1352064186","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064186":["hashtag1","hashtag2"]},{"1352064191":["hashtag1","hashtag2"]},{"1352064178":["hashtag1","hashtag2"]},{"1352064181":["hashtag1","hashtag2"]},{"1352064189":["hashtag1","hashtag2"]},{"1352064183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064186, 1352064191, 1352064178, 1352064181, 1352064189, 1352064183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.443035125732422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:15:32.356814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_15_10376.jpg', '/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_35_10360.jpg', '/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_45_10475.jpg', '/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_54_9360.jpg', '/home/pi/Desktop/images/20042025/03/33/image_20042025_03_34_05_10357.jpg', '/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_25_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_15_10376.jpg
/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_35_10360.jpg
/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_45_10475.jpg
/home/pi/Desktop/images/20042025/03/33/image_20042025_03_33_54_9360.jpg
/home/pi/Desktop/images/20042025/03/33/image_20042025_03_34_05_10357.jpg
/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_25_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064207","1352064206","1352064209","1352064202","1352064205","1352064208"],"photo_ids_order":["1352064202","1352064205","1352064206","1352064207","1352064208","1352064209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9383a6cb5bbad875ca081ddb64a7d29f.jpg","text":"TemporaryFile(/tmp/multipartBody7955509997141550633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126192831,"filename":"image_20042025_03_33_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e01b5cd773660673820e9eee3aaac38.jpg","text":"TemporaryFile(/tmp/multipartBody5370561850317810716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126192831,"filename":"image_20042025_03_33_45_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a035891ddef1ccaac8c81b8d076ac71.jpg","text":"TemporaryFile(/tmp/multipartBody8581297549162044808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126192831,"filename":"image_20042025_03_34_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ccd9b3c57e9fc4fb66af76e36220a823.jpg","text":"TemporaryFile(/tmp/multipartBody5694096643526683062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126192831,"filename":"image_20042025_03_33_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/762ea548f1aa40eee91d45d80c516520.jpg","text":"TemporaryFile(/tmp/multipartBody614277165357026204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126192831,"filename":"image_20042025_03_33_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9c1e61ee8af1bc7c20b67869da98b01.jpg","text":"TemporaryFile(/tmp/multipartBody9052355625492279176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126192831,"filename":"image_20042025_03_34_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064206","file1":"1352064205","file0":"1352064202","file4":"1352064208","file5":"1352064209","file3":"1352064207"},"map_files_photo_id_array":[{"photo_id":"1352064209","filename":"file5"},{"photo_id":"1352064206","filename":"file2"},{"photo_id":"1352064208","filename":"file4"},{"photo_id":"1352064205","filename":"file1"},{"photo_id":"1352064202","filename":"file0"},{"photo_id":"1352064207","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064207":["hashtag1","hashtag2"]},{"1352064206":["hashtag1","hashtag2"]},{"1352064209":["hashtag1","hashtag2"]},{"1352064202":["hashtag1","hashtag2"]},{"1352064205":["hashtag1","hashtag2"]},{"1352064208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064207, 1352064206, 1352064209, 1352064202, 1352064205, 1352064208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.772061824798584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:16:32.705531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_35_10393.jpg', '/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_44_9368.jpg', '/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_55_10430.jpg', '/home/pi/Desktop/images/20042025/03/34/image_20042025_03_35_04_9455.jpg', '/home/pi/Desktop/images/20042025/03/35/image_20042025_03_35_15_10442.jpg', '/home/pi/Desktop/images/20042025/03/35/image_20042025_03_35_25_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_35_10393.jpg
/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_44_9368.jpg
/home/pi/Desktop/images/20042025/03/34/image_20042025_03_34_55_10430.jpg
/home/pi/Desktop/images/20042025/03/34/image_20042025_03_35_04_9455.jpg
/home/pi/Desktop/images/20042025/03/35/image_20042025_03_35_15_10442.jpg
/home/pi/Desktop/images/20042025/03/35/image_20042025_03_35_25_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064231","1352064225","1352064222","1352064227","1352064229","1352064220"],"photo_ids_order":["1352064220","1352064222","1352064225","1352064227","1352064229","1352064231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aafbc1fb55d4aa61b8fd0bbcdeb0d060.jpg","text":"TemporaryFile(/tmp/multipartBody1998681654898991124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126253178,"filename":"image_20042025_03_35_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ea3423a89c36d7f6056eda51b8d035b.jpg","text":"TemporaryFile(/tmp/multipartBody6523948026835174440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126253178,"filename":"image_20042025_03_34_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f7528b2e4f8935acea4424ef916b6cd.jpg","text":"TemporaryFile(/tmp/multipartBody7902644955526910050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126253178,"filename":"image_20042025_03_34_44_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/413abecb0bec618c3dcdab8ccc562ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4466014135720328313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126253178,"filename":"image_20042025_03_35_04_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/795fea255eaa710997db7d3464dee469.jpg","text":"TemporaryFile(/tmp/multipartBody279085205939445068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126253178,"filename":"image_20042025_03_35_15_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b367d72b016cd3879e6ec287da36c05b.jpg","text":"TemporaryFile(/tmp/multipartBody1248947093356428062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126253178,"filename":"image_20042025_03_34_35_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064225","file1":"1352064222","file0":"1352064220","file4":"1352064229","file5":"1352064231","file3":"1352064227"},"map_files_photo_id_array":[{"photo_id":"1352064231","filename":"file5"},{"photo_id":"1352064225","filename":"file2"},{"photo_id":"1352064229","filename":"file4"},{"photo_id":"1352064222","filename":"file1"},{"photo_id":"1352064220","filename":"file0"},{"photo_id":"1352064227","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064231":["hashtag1","hashtag2"]},{"1352064225":["hashtag1","hashtag2"]},{"1352064222":["hashtag1","hashtag2"]},{"1352064227":["hashtag1","hashtag2"]},{"1352064229":["hashtag1","hashtag2"]},{"1352064220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064231, 1352064225, 1352064222, 1352064227, 1352064229, 1352064220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.5899076461792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:17:32.886162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/35/image_20042025_03_35_34_9353.jpg', '/home/pi/Desktop/images/20042025/03/35/image_20042025_03_36_04_9368.jpg', '/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_15_10419.jpg', '/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_24_9352.jpg', '/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_35_10353.jpg', '/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_54_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/35/image_20042025_03_35_34_9353.jpg
/home/pi/Desktop/images/20042025/03/35/image_20042025_03_36_04_9368.jpg
/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_15_10419.jpg
/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_24_9352.jpg
/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_35_10353.jpg
/home/pi/Desktop/images/20042025/03/36/image_20042025_03_36_54_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064249","1352064251","1352064245","1352064253","1352064247","1352064241"],"photo_ids_order":["1352064241","1352064245","1352064247","1352064249","1352064251","1352064253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b48c534836064b92cf96286b3244e723.jpg","text":"TemporaryFile(/tmp/multipartBody1165116957320418652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126313358,"filename":"image_20042025_03_36_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f634ededcb58c80c7749e29a758c63b.jpg","text":"TemporaryFile(/tmp/multipartBody3070285182169285096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126313358,"filename":"image_20042025_03_36_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/911135a72d8203944d19c75717a697aa.jpg","text":"TemporaryFile(/tmp/multipartBody7126235784820319100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126313358,"filename":"image_20042025_03_36_04_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b37e3f23e5eea073dd8ad8e1f4f5b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2913008538586341683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126313358,"filename":"image_20042025_03_36_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be6a58f0f188e0b4a11bbf15646438cb.jpg","text":"TemporaryFile(/tmp/multipartBody1748058710260786011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126313358,"filename":"image_20042025_03_36_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f22e57d7c80e6c64edf149daefbe9860.jpg","text":"TemporaryFile(/tmp/multipartBody7037715323813095784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126313358,"filename":"image_20042025_03_35_34_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064247","file1":"1352064245","file0":"1352064241","file4":"1352064251","file5":"1352064253","file3":"1352064249"},"map_files_photo_id_array":[{"photo_id":"1352064253","filename":"file5"},{"photo_id":"1352064247","filename":"file2"},{"photo_id":"1352064251","filename":"file4"},{"photo_id":"1352064245","filename":"file1"},{"photo_id":"1352064241","filename":"file0"},{"photo_id":"1352064249","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064249":["hashtag1","hashtag2"]},{"1352064251":["hashtag1","hashtag2"]},{"1352064245":["hashtag1","hashtag2"]},{"1352064253":["hashtag1","hashtag2"]},{"1352064247":["hashtag1","hashtag2"]},{"1352064241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064249, 1352064251, 1352064245, 1352064253, 1352064247, 1352064241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34466576576233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:18:32.214245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/36/image_20042025_03_37_05_10436.jpg', '/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_14_9368.jpg', '/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_25_10410.jpg', '/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_35_10359.jpg', '/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_44_9413.jpg', '/home/pi/Desktop/images/20042025/03/38/image_20042025_03_38_15_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/36/image_20042025_03_37_05_10436.jpg
/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_14_9368.jpg
/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_25_10410.jpg
/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_35_10359.jpg
/home/pi/Desktop/images/20042025/03/37/image_20042025_03_37_44_9413.jpg
/home/pi/Desktop/images/20042025/03/38/image_20042025_03_38_15_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064264","1352064267","1352064272","1352064281","1352064277","1352064274"],"photo_ids_order":["1352064264","1352064267","1352064272","1352064274","1352064277","1352064281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f10444a87347161ae4b83bcc5868b39.jpg","text":"TemporaryFile(/tmp/multipartBody85063868821654772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126372700,"filename":"image_20042025_03_37_05_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcd87bd64b49b179735304420f577133.jpg","text":"TemporaryFile(/tmp/multipartBody1375225305947500008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126372700,"filename":"image_20042025_03_37_14_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edc6e1785c18d540d4c1c746dc92fa7e.jpg","text":"TemporaryFile(/tmp/multipartBody773866156505264033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126372700,"filename":"image_20042025_03_37_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/487d6c4c47767bd69f1abfe118fd188a.jpg","text":"TemporaryFile(/tmp/multipartBody3258655017524963487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126372700,"filename":"image_20042025_03_38_15_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57a0e2e466ca63b0e8d4e0c136c56f01.jpg","text":"TemporaryFile(/tmp/multipartBody1754425253128303638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126372700,"filename":"image_20042025_03_37_44_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/660d0cf796828647cca03f8f46d9f996.jpg","text":"TemporaryFile(/tmp/multipartBody5612501561831548792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126372700,"filename":"image_20042025_03_37_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064272","file1":"1352064267","file0":"1352064264","file4":"1352064277","file5":"1352064281","file3":"1352064274"},"map_files_photo_id_array":[{"photo_id":"1352064281","filename":"file5"},{"photo_id":"1352064272","filename":"file2"},{"photo_id":"1352064277","filename":"file4"},{"photo_id":"1352064267","filename":"file1"},{"photo_id":"1352064264","filename":"file0"},{"photo_id":"1352064274","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064264":["hashtag1","hashtag2"]},{"1352064267":["hashtag1","hashtag2"]},{"1352064272":["hashtag1","hashtag2"]},{"1352064281":["hashtag1","hashtag2"]},{"1352064277":["hashtag1","hashtag2"]},{"1352064274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064264, 1352064267, 1352064272, 1352064281, 1352064277, 1352064274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79388475418091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:19:32.562698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/38/image_20042025_03_38_45_10451.jpg', '/home/pi/Desktop/images/20042025/03/38/image_20042025_03_38_54_9357.jpg', '/home/pi/Desktop/images/20042025/03/38/image_20042025_03_39_05_10351.jpg', '/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_14_9366.jpg', '/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_25_10372.jpg', '/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_35_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/38/image_20042025_03_38_45_10451.jpg
/home/pi/Desktop/images/20042025/03/38/image_20042025_03_38_54_9357.jpg
/home/pi/Desktop/images/20042025/03/38/image_20042025_03_39_05_10351.jpg
/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_14_9366.jpg
/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_25_10372.jpg
/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_35_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064290","1352064295","1352064298","1352064286","1352064301","1352064304"],"photo_ids_order":["1352064286","1352064290","1352064295","1352064298","1352064301","1352064304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/186d20e70dc1ed448b12e31548901107.jpg","text":"TemporaryFile(/tmp/multipartBody6346254561041440633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126433037,"filename":"image_20042025_03_38_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d878181041b73785a5ffa6ff5791fb1f.jpg","text":"TemporaryFile(/tmp/multipartBody3113801872004427580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126433037,"filename":"image_20042025_03_39_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8a77bb651c31472af58576898287839.jpg","text":"TemporaryFile(/tmp/multipartBody5941243004680059987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126433037,"filename":"image_20042025_03_39_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f77d26c8fc7b3c770d440ff77ad69f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2222068209266786637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126433037,"filename":"image_20042025_03_38_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5920c7e3e107eb402e759df2ec5efd80.jpg","text":"TemporaryFile(/tmp/multipartBody1665066367959421516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126433037,"filename":"image_20042025_03_39_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/296e37df3b11c4b1304673386fe908cf.jpg","text":"TemporaryFile(/tmp/multipartBody8242381553229406628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126433037,"filename":"image_20042025_03_39_35_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064295","file1":"1352064290","file0":"1352064286","file4":"1352064301","file5":"1352064304","file3":"1352064298"},"map_files_photo_id_array":[{"photo_id":"1352064304","filename":"file5"},{"photo_id":"1352064295","filename":"file2"},{"photo_id":"1352064301","filename":"file4"},{"photo_id":"1352064290","filename":"file1"},{"photo_id":"1352064286","filename":"file0"},{"photo_id":"1352064298","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064290":["hashtag1","hashtag2"]},{"1352064295":["hashtag1","hashtag2"]},{"1352064298":["hashtag1","hashtag2"]},{"1352064286":["hashtag1","hashtag2"]},{"1352064301":["hashtag1","hashtag2"]},{"1352064304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064290, 1352064295, 1352064298, 1352064286, 1352064301, 1352064304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.358120918273926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:20:32.675885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_44_9327.jpg', '/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_55_10382.jpg', '/home/pi/Desktop/images/20042025/03/39/image_20042025_03_40_05_10344.jpg', '/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_14_9371.jpg', '/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_25_10370.jpg', '/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_34_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_44_9327.jpg
/home/pi/Desktop/images/20042025/03/39/image_20042025_03_39_55_10382.jpg
/home/pi/Desktop/images/20042025/03/39/image_20042025_03_40_05_10344.jpg
/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_14_9371.jpg
/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_25_10370.jpg
/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_34_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064331","1352064328","1352064322","1352064316","1352064325","1352064319"],"photo_ids_order":["1352064316","1352064319","1352064322","1352064325","1352064328","1352064331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8783cb881dbede69d3c15c2ae93d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody973914972196771174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126493170,"filename":"image_20042025_03_40_34_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/308b91f5323dae449e15452b5cc6d4be.jpg","text":"TemporaryFile(/tmp/multipartBody1364229854910488480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126493170,"filename":"image_20042025_03_40_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb99f4c6c67c713f4e4fa32b2fbf7090.jpg","text":"TemporaryFile(/tmp/multipartBody2490089378514312848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126493170,"filename":"image_20042025_03_40_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e13e73d945704fed8122692ad00f33f1.jpg","text":"TemporaryFile(/tmp/multipartBody2464646755980748690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126493170,"filename":"image_20042025_03_39_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b599e2fdb5ea0c760f0c68e5f8238814.jpg","text":"TemporaryFile(/tmp/multipartBody6723837271884884712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126493170,"filename":"image_20042025_03_40_14_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2426827b53d884d649fda71827f51dd.jpg","text":"TemporaryFile(/tmp/multipartBody2064301386450324511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126493170,"filename":"image_20042025_03_39_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064322","file1":"1352064319","file0":"1352064316","file4":"1352064328","file5":"1352064331","file3":"1352064325"},"map_files_photo_id_array":[{"photo_id":"1352064331","filename":"file5"},{"photo_id":"1352064322","filename":"file2"},{"photo_id":"1352064328","filename":"file4"},{"photo_id":"1352064319","filename":"file1"},{"photo_id":"1352064316","filename":"file0"},{"photo_id":"1352064325","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064331":["hashtag1","hashtag2"]},{"1352064328":["hashtag1","hashtag2"]},{"1352064322":["hashtag1","hashtag2"]},{"1352064316":["hashtag1","hashtag2"]},{"1352064325":["hashtag1","hashtag2"]},{"1352064319":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064331, 1352064328, 1352064322, 1352064316, 1352064325, 1352064319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07204341888428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:21:32.847221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_45_10374.jpg', '/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_55_10426.jpg', '/home/pi/Desktop/images/20042025/03/40/image_20042025_03_41_04_9339.jpg', '/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_15_10360.jpg', '/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_24_9465.jpg', '/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_35_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_45_10374.jpg
/home/pi/Desktop/images/20042025/03/40/image_20042025_03_40_55_10426.jpg
/home/pi/Desktop/images/20042025/03/40/image_20042025_03_41_04_9339.jpg
/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_15_10360.jpg
/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_24_9465.jpg
/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_35_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064347","1352064350","1352064344","1352064352","1352064340","1352064337"],"photo_ids_order":["1352064337","1352064340","1352064344","1352064347","1352064350","1352064352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8c3a32ed251980bc4bcba2370e90909.jpg","text":"TemporaryFile(/tmp/multipartBody7945980534844949688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126553315,"filename":"image_20042025_03_41_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4406a9f47009527cdf4c394b950f4176.jpg","text":"TemporaryFile(/tmp/multipartBody6513094456525614665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126553315,"filename":"image_20042025_03_41_24_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50679edb65ab95d35ba3afdcc481a02e.jpg","text":"TemporaryFile(/tmp/multipartBody5499161757331141125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126553315,"filename":"image_20042025_03_41_04_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2afb5a4ab539c78d162096df40281716.jpg","text":"TemporaryFile(/tmp/multipartBody6420964567150818146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126553315,"filename":"image_20042025_03_41_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c06e08c1e35ca14829b3a5dc6d99e156.jpg","text":"TemporaryFile(/tmp/multipartBody5095467723084379048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126553315,"filename":"image_20042025_03_40_55_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89f785f9798cb23d2e70a0920c801833.jpg","text":"TemporaryFile(/tmp/multipartBody3748906912311500659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126553315,"filename":"image_20042025_03_40_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064344","file1":"1352064340","file0":"1352064337","file4":"1352064350","file5":"1352064352","file3":"1352064347"},"map_files_photo_id_array":[{"photo_id":"1352064352","filename":"file5"},{"photo_id":"1352064344","filename":"file2"},{"photo_id":"1352064350","filename":"file4"},{"photo_id":"1352064340","filename":"file1"},{"photo_id":"1352064337","filename":"file0"},{"photo_id":"1352064347","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064347":["hashtag1","hashtag2"]},{"1352064350":["hashtag1","hashtag2"]},{"1352064344":["hashtag1","hashtag2"]},{"1352064352":["hashtag1","hashtag2"]},{"1352064340":["hashtag1","hashtag2"]},{"1352064337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064347, 1352064350, 1352064344, 1352064352, 1352064340, 1352064337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64054870605469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:22:32.186735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_45_10477.jpg', '/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_54_9358.jpg', '/home/pi/Desktop/images/20042025/03/41/image_20042025_03_42_05_10359.jpg', '/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_14_9360.jpg', '/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_25_10376.jpg', '/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_35_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_45_10477.jpg
/home/pi/Desktop/images/20042025/03/41/image_20042025_03_41_54_9358.jpg
/home/pi/Desktop/images/20042025/03/41/image_20042025_03_42_05_10359.jpg
/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_14_9360.jpg
/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_25_10376.jpg
/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_35_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064366","1352064374","1352064362","1352064376","1352064375","1352064360"],"photo_ids_order":["1352064360","1352064362","1352064366","1352064374","1352064375","1352064376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f64a357d5209ead31a49e8b0b2d6ca2e.jpg","text":"TemporaryFile(/tmp/multipartBody936608670949328052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126612650,"filename":"image_20042025_03_42_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23ef45e0e418930e99525a3de5598fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8177107730179140516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126612650,"filename":"image_20042025_03_42_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53ed91e50e9140c41db555d9ff6863b1.jpg","text":"TemporaryFile(/tmp/multipartBody8568644820736450465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126612650,"filename":"image_20042025_03_41_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11ea0ea3149e643c9eb8e1c50a0bd1af.jpg","text":"TemporaryFile(/tmp/multipartBody2070277816163733187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126612650,"filename":"image_20042025_03_42_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59d4668b73f0b2949ebb4f9487b49398.jpg","text":"TemporaryFile(/tmp/multipartBody1258791061202242903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126612650,"filename":"image_20042025_03_42_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e31d1380550b9e293050645b54f0458.jpg","text":"TemporaryFile(/tmp/multipartBody2371695587853238197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126612650,"filename":"image_20042025_03_41_45_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064366","file1":"1352064362","file0":"1352064360","file4":"1352064375","file5":"1352064376","file3":"1352064374"},"map_files_photo_id_array":[{"photo_id":"1352064376","filename":"file5"},{"photo_id":"1352064366","filename":"file2"},{"photo_id":"1352064375","filename":"file4"},{"photo_id":"1352064362","filename":"file1"},{"photo_id":"1352064360","filename":"file0"},{"photo_id":"1352064374","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064366":["hashtag1","hashtag2"]},{"1352064374":["hashtag1","hashtag2"]},{"1352064362":["hashtag1","hashtag2"]},{"1352064376":["hashtag1","hashtag2"]},{"1352064375":["hashtag1","hashtag2"]},{"1352064360":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064366, 1352064374, 1352064362, 1352064376, 1352064375, 1352064360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.508968353271484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:23:32.445805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_44_9348.jpg', '/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_55_10367.jpg', '/home/pi/Desktop/images/20042025/03/42/image_20042025_03_43_05_10348.jpg', '/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_14_9367.jpg', '/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_25_10510.jpg', '/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_34_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_44_9348.jpg
/home/pi/Desktop/images/20042025/03/42/image_20042025_03_42_55_10367.jpg
/home/pi/Desktop/images/20042025/03/42/image_20042025_03_43_05_10348.jpg
/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_14_9367.jpg
/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_25_10510.jpg
/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_34_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064383","1352064386","1352064389","1352064380","1352064397","1352064393"],"photo_ids_order":["1352064380","1352064383","1352064386","1352064389","1352064393","1352064397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ee7da47c29fb1359ccb7cba9dedb4d2.jpg","text":"TemporaryFile(/tmp/multipartBody4111643926775352732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126672911,"filename":"image_20042025_03_42_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a98b89e4dbe35458ac54bb77ec81ab8a.jpg","text":"TemporaryFile(/tmp/multipartBody2952741360009712520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126672911,"filename":"image_20042025_03_43_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/851da4ec3c5c7baec95f7caa300fcfb7.jpg","text":"TemporaryFile(/tmp/multipartBody2327826092688890405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126672911,"filename":"image_20042025_03_43_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dfd404ecec29dd53fc81a92430185b0.jpg","text":"TemporaryFile(/tmp/multipartBody3555507811146301005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126672911,"filename":"image_20042025_03_42_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5032f34f45ebd8129d35bf2a3cc0e01c.jpg","text":"TemporaryFile(/tmp/multipartBody6578275230189410064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126672911,"filename":"image_20042025_03_43_34_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d0fa22248204e9059f99211a660d1de.jpg","text":"TemporaryFile(/tmp/multipartBody6457017129300658145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126672911,"filename":"image_20042025_03_43_25_10510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064386","file1":"1352064383","file0":"1352064380","file4":"1352064393","file5":"1352064397","file3":"1352064389"},"map_files_photo_id_array":[{"photo_id":"1352064397","filename":"file5"},{"photo_id":"1352064386","filename":"file2"},{"photo_id":"1352064393","filename":"file4"},{"photo_id":"1352064383","filename":"file1"},{"photo_id":"1352064380","filename":"file0"},{"photo_id":"1352064389","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064383":["hashtag1","hashtag2"]},{"1352064386":["hashtag1","hashtag2"]},{"1352064389":["hashtag1","hashtag2"]},{"1352064380":["hashtag1","hashtag2"]},{"1352064397":["hashtag1","hashtag2"]},{"1352064393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064383, 1352064386, 1352064389, 1352064380, 1352064397, 1352064393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.996726751327515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:24:32.657418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_45_10389.jpg', '/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_55_10356.jpg', '/home/pi/Desktop/images/20042025/03/43/image_20042025_03_44_04_9351.jpg', '/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_15_10346.jpg', '/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_24_9422.jpg', '/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_34_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_45_10389.jpg
/home/pi/Desktop/images/20042025/03/43/image_20042025_03_43_55_10356.jpg
/home/pi/Desktop/images/20042025/03/43/image_20042025_03_44_04_9351.jpg
/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_15_10346.jpg
/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_24_9422.jpg
/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_34_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064411","1352064402","1352064416","1352064413","1352064406","1352064409"],"photo_ids_order":["1352064402","1352064406","1352064409","1352064411","1352064413","1352064416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d96db182a0ae4c824e8e5a8ee564d10.jpg","text":"TemporaryFile(/tmp/multipartBody9057137444802404555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126733223,"filename":"image_20042025_03_44_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/067a77341cfa39a7e15de905fd643039.jpg","text":"TemporaryFile(/tmp/multipartBody3682650453639553259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126733223,"filename":"image_20042025_03_43_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16e8917ef9324b625193fa474cdfd697.jpg","text":"TemporaryFile(/tmp/multipartBody7543931022187800768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126733223,"filename":"image_20042025_03_44_34_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee80950265e5bdd7e98acbc794167560.jpg","text":"TemporaryFile(/tmp/multipartBody559196615568464990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126733223,"filename":"image_20042025_03_44_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/685a163ffa219c82071a5e37c729fd40.jpg","text":"TemporaryFile(/tmp/multipartBody2451816721163500391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126733223,"filename":"image_20042025_03_43_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc194ce97d84f83ccf333fb0851f145e.jpg","text":"TemporaryFile(/tmp/multipartBody879958748839779636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126733223,"filename":"image_20042025_03_44_04_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064409","file1":"1352064406","file0":"1352064402","file4":"1352064413","file5":"1352064416","file3":"1352064411"},"map_files_photo_id_array":[{"photo_id":"1352064416","filename":"file5"},{"photo_id":"1352064409","filename":"file2"},{"photo_id":"1352064413","filename":"file4"},{"photo_id":"1352064406","filename":"file1"},{"photo_id":"1352064402","filename":"file0"},{"photo_id":"1352064411","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064411":["hashtag1","hashtag2"]},{"1352064402":["hashtag1","hashtag2"]},{"1352064416":["hashtag1","hashtag2"]},{"1352064413":["hashtag1","hashtag2"]},{"1352064406":["hashtag1","hashtag2"]},{"1352064409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064411, 1352064402, 1352064416, 1352064413, 1352064406, 1352064409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63323783874512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:25:32.909738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_45_10457.jpg', '/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_54_9356.jpg', '/home/pi/Desktop/images/20042025/03/44/image_20042025_03_45_05_10358.jpg', '/home/pi/Desktop/images/20042025/03/45/image_20042025_03_45_15_10418.jpg', '/home/pi/Desktop/images/20042025/03/45/image_20042025_03_45_44_9329.jpg', '/home/pi/Desktop/images/20042025/03/45/image_20042025_03_45_55_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_45_10457.jpg
/home/pi/Desktop/images/20042025/03/44/image_20042025_03_44_54_9356.jpg
/home/pi/Desktop/images/20042025/03/44/image_20042025_03_45_05_10358.jpg
/home/pi/Desktop/images/20042025/03/45/image_20042025_03_45_15_10418.jpg
/home/pi/Desktop/images/20042025/03/45/image_20042025_03_45_44_9329.jpg
/home/pi/Desktop/images/20042025/03/45/image_20042025_03_45_55_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064438","1352064434","1352064428","1352064431","1352064425","1352064436"],"photo_ids_order":["1352064425","1352064428","1352064431","1352064434","1352064436","1352064438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a35a092109e9104567ffd55ee4281fc.jpg","text":"TemporaryFile(/tmp/multipartBody7299028571638440156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126793460,"filename":"image_20042025_03_45_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66dfa61e6b0bca859fbec746e3551831.jpg","text":"TemporaryFile(/tmp/multipartBody3637757607118242937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126793460,"filename":"image_20042025_03_45_15_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2259273cbecd46e0d1dc75749b1f162.jpg","text":"TemporaryFile(/tmp/multipartBody6004230231858445954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126793460,"filename":"image_20042025_03_44_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36387de5fdee3f237a9230ff5adf1f5e.jpg","text":"TemporaryFile(/tmp/multipartBody7037180390539254887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126793460,"filename":"image_20042025_03_45_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/260a97ea05bcf5d4f221ae7676bd32d7.jpg","text":"TemporaryFile(/tmp/multipartBody5428696320876063891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126793460,"filename":"image_20042025_03_44_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae20e0468407ef665f44f2dd58900279.jpg","text":"TemporaryFile(/tmp/multipartBody5806471461682577018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126793460,"filename":"image_20042025_03_45_44_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064431","file1":"1352064428","file0":"1352064425","file4":"1352064436","file5":"1352064438","file3":"1352064434"},"map_files_photo_id_array":[{"photo_id":"1352064438","filename":"file5"},{"photo_id":"1352064431","filename":"file2"},{"photo_id":"1352064436","filename":"file4"},{"photo_id":"1352064428","filename":"file1"},{"photo_id":"1352064425","filename":"file0"},{"photo_id":"1352064434","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064438":["hashtag1","hashtag2"]},{"1352064434":["hashtag1","hashtag2"]},{"1352064428":["hashtag1","hashtag2"]},{"1352064431":["hashtag1","hashtag2"]},{"1352064425":["hashtag1","hashtag2"]},{"1352064436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064438, 1352064434, 1352064428, 1352064431, 1352064425, 1352064436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.352391481399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:26:33.029713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/45/image_20042025_03_46_05_10387.jpg', '/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_14_9354.jpg', '/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_25_10382.jpg', '/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_34_9459.jpg', '/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_45_10357.jpg', '/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_55_10504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/45/image_20042025_03_46_05_10387.jpg
/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_14_9354.jpg
/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_25_10382.jpg
/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_34_9459.jpg
/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_45_10357.jpg
/home/pi/Desktop/images/20042025/03/46/image_20042025_03_46_55_10504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064450","1352064444","1352064447","1352064460","1352064457","1352064454"],"photo_ids_order":["1352064444","1352064447","1352064450","1352064454","1352064457","1352064460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff859a9b4be6c285d9ccbdfb001c8494.jpg","text":"TemporaryFile(/tmp/multipartBody3366019818948234307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126853581,"filename":"image_20042025_03_46_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12104f97c96e7b242c2fb488e632c9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7174622676790042898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126853581,"filename":"image_20042025_03_46_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f487d2053dd7fcbd9ddfd18e03c74025.jpg","text":"TemporaryFile(/tmp/multipartBody5510876992250578215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126853581,"filename":"image_20042025_03_46_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/234e7b7c08e5f17f21e5967e262fdd7d.jpg","text":"TemporaryFile(/tmp/multipartBody8989190809168554036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126853581,"filename":"image_20042025_03_46_55_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb9d197bd3ec3c676e6b9e1d693bf951.jpg","text":"TemporaryFile(/tmp/multipartBody6251955521896218423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126853581,"filename":"image_20042025_03_46_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8016e8af148782ebc913bf09a114c0d.jpg","text":"TemporaryFile(/tmp/multipartBody7096940929001105011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126853581,"filename":"image_20042025_03_46_34_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064450","file1":"1352064447","file0":"1352064444","file4":"1352064457","file5":"1352064460","file3":"1352064454"},"map_files_photo_id_array":[{"photo_id":"1352064460","filename":"file5"},{"photo_id":"1352064450","filename":"file2"},{"photo_id":"1352064457","filename":"file4"},{"photo_id":"1352064447","filename":"file1"},{"photo_id":"1352064444","filename":"file0"},{"photo_id":"1352064454","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064450":["hashtag1","hashtag2"]},{"1352064444":["hashtag1","hashtag2"]},{"1352064447":["hashtag1","hashtag2"]},{"1352064460":["hashtag1","hashtag2"]},{"1352064457":["hashtag1","hashtag2"]},{"1352064454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064450, 1352064444, 1352064447, 1352064460, 1352064457, 1352064454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.141865968704224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:27:32.317838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/46/image_20042025_03_47_04_9389.jpg', '/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_15_10449.jpg', '/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_24_9341.jpg', '/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_35_10372.jpg', '/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_45_10427.jpg', '/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_54_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/46/image_20042025_03_47_04_9389.jpg
/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_15_10449.jpg
/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_24_9341.jpg
/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_35_10372.jpg
/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_45_10427.jpg
/home/pi/Desktop/images/20042025/03/47/image_20042025_03_47_54_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064476","1352064473","1352064469","1352064484","1352064466","1352064480"],"photo_ids_order":["1352064466","1352064469","1352064473","1352064476","1352064480","1352064484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0411d6d3220ab62062bc5a66c0791c7.jpg","text":"TemporaryFile(/tmp/multipartBody73484343487792005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126912869,"filename":"image_20042025_03_47_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b31e01c107ea42c5c1eaaaa0b5e8359.jpg","text":"TemporaryFile(/tmp/multipartBody4000671769666831683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126912869,"filename":"image_20042025_03_47_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/326fc0b3d9594025b3f0cfdfa7675304.jpg","text":"TemporaryFile(/tmp/multipartBody3792600230743862072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126912869,"filename":"image_20042025_03_47_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19f8a8cc477801db422838aeb9c229e9.jpg","text":"TemporaryFile(/tmp/multipartBody2633483191153197021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126912869,"filename":"image_20042025_03_47_54_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bad9e483aa5bd83fd868a09ad517781.jpg","text":"TemporaryFile(/tmp/multipartBody6626984510162177797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126912869,"filename":"image_20042025_03_47_04_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e5f1814b867867c31fcd812cd1960a3.jpg","text":"TemporaryFile(/tmp/multipartBody2157558172868664588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126912869,"filename":"image_20042025_03_47_45_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064473","file1":"1352064469","file0":"1352064466","file4":"1352064480","file5":"1352064484","file3":"1352064476"},"map_files_photo_id_array":[{"photo_id":"1352064484","filename":"file5"},{"photo_id":"1352064473","filename":"file2"},{"photo_id":"1352064480","filename":"file4"},{"photo_id":"1352064469","filename":"file1"},{"photo_id":"1352064466","filename":"file0"},{"photo_id":"1352064476","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064476":["hashtag1","hashtag2"]},{"1352064473":["hashtag1","hashtag2"]},{"1352064469":["hashtag1","hashtag2"]},{"1352064484":["hashtag1","hashtag2"]},{"1352064466":["hashtag1","hashtag2"]},{"1352064480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064476, 1352064473, 1352064469, 1352064484, 1352064466, 1352064480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.859938383102417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:28:32.564277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/47/image_20042025_03_48_05_10357.jpg', '/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_14_9398.jpg', '/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_25_10366.jpg', '/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_35_10390.jpg', '/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_55_10375.jpg', '/home/pi/Desktop/images/20042025/03/48/image_20042025_03_49_04_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/47/image_20042025_03_48_05_10357.jpg
/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_14_9398.jpg
/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_25_10366.jpg
/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_35_10390.jpg
/home/pi/Desktop/images/20042025/03/48/image_20042025_03_48_55_10375.jpg
/home/pi/Desktop/images/20042025/03/48/image_20042025_03_49_04_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064509","1352064499","1352064505","1352064502","1352064492","1352064495"],"photo_ids_order":["1352064492","1352064495","1352064499","1352064502","1352064505","1352064509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d335f64f93a4d14a68eff74596ac69f6.jpg","text":"TemporaryFile(/tmp/multipartBody1778265993633913872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126973131,"filename":"image_20042025_03_49_04_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80e5935df4e3c11c1e85f91237157677.jpg","text":"TemporaryFile(/tmp/multipartBody5708697080968101611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126973131,"filename":"image_20042025_03_48_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e49cccaa68a502197deae36d7a19e9da.jpg","text":"TemporaryFile(/tmp/multipartBody1068953042790440761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126973131,"filename":"image_20042025_03_48_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad5e62cb901da8569f0ca590fad0400c.jpg","text":"TemporaryFile(/tmp/multipartBody2797630044036127736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126973131,"filename":"image_20042025_03_48_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a5fbd8d16b6bc09753d594509d2280d.jpg","text":"TemporaryFile(/tmp/multipartBody7625100622665516897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126973131,"filename":"image_20042025_03_48_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95bfad08d09e5c6396b20a616a41c9fc.jpg","text":"TemporaryFile(/tmp/multipartBody4543175721619047126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745126973131,"filename":"image_20042025_03_48_14_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064499","file1":"1352064495","file0":"1352064492","file4":"1352064505","file5":"1352064509","file3":"1352064502"},"map_files_photo_id_array":[{"photo_id":"1352064509","filename":"file5"},{"photo_id":"1352064499","filename":"file2"},{"photo_id":"1352064505","filename":"file4"},{"photo_id":"1352064495","filename":"file1"},{"photo_id":"1352064492","filename":"file0"},{"photo_id":"1352064502","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064509":["hashtag1","hashtag2"]},{"1352064499":["hashtag1","hashtag2"]},{"1352064505":["hashtag1","hashtag2"]},{"1352064502":["hashtag1","hashtag2"]},{"1352064492":["hashtag1","hashtag2"]},{"1352064495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064509, 1352064499, 1352064505, 1352064502, 1352064492, 1352064495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.535739183425903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:29:32.796030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_15_10366.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_25_10429.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_34_9366.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_45_10355.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_54_9436.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_50_04_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_15_10366.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_25_10429.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_34_9366.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_45_10355.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_54_9436.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_50_04_10356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45916056632995605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 07:29:42.789913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_15_10366.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_25_10429.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_34_9366.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_45_10355.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_54_9436.jpg', '/home/pi/Desktop/images/20042025/03/49/image_20042025_03_50_04_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_15_10366.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_25_10429.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_34_9366.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_45_10355.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_49_54_9436.jpg
/home/pi/Desktop/images/20042025/03/49/image_20042025_03_50_04_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064528","1352064539","1352064548","1352064536","1352064541","1352064532"],"photo_ids_order":["1352064528","1352064532","1352064536","1352064539","1352064541","1352064548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06e9b4f3b3fdea0639fb9b61b8774cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3809143940558029736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127043323,"filename":"image_20042025_03_49_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecf58bc0ed00ae36ad063cf535c59482.jpg","text":"TemporaryFile(/tmp/multipartBody3016579273786147707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127043323,"filename":"image_20042025_03_49_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddd012ca7b390221218c1dd49e04c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody4752109710478976547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127043323,"filename":"image_20042025_03_50_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9680cdc0c13dc05c82aa1aa62909bcdf.jpg","text":"TemporaryFile(/tmp/multipartBody8314620561823841727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127043323,"filename":"image_20042025_03_49_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d388fbd4defc2634339519fa070c273.jpg","text":"TemporaryFile(/tmp/multipartBody6352029533368323518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127043323,"filename":"image_20042025_03_49_54_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04a295fffb15d7f6e74572bd236ae34a.jpg","text":"TemporaryFile(/tmp/multipartBody5964216451381820066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127043323,"filename":"image_20042025_03_49_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064536","file1":"1352064532","file0":"1352064528","file4":"1352064541","file5":"1352064548","file3":"1352064539"},"map_files_photo_id_array":[{"photo_id":"1352064548","filename":"file5"},{"photo_id":"1352064536","filename":"file2"},{"photo_id":"1352064541","filename":"file4"},{"photo_id":"1352064532","filename":"file1"},{"photo_id":"1352064528","filename":"file0"},{"photo_id":"1352064539","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064528":["hashtag1","hashtag2"]},{"1352064539":["hashtag1","hashtag2"]},{"1352064548":["hashtag1","hashtag2"]},{"1352064536":["hashtag1","hashtag2"]},{"1352064541":["hashtag1","hashtag2"]},{"1352064532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064528, 1352064539, 1352064548, 1352064536, 1352064541, 1352064532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.949416637420654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:30:33.028206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_15_10407.jpg', '/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_24_9493.jpg', '/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_35_10345.jpg', '/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_44_9430.jpg', '/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_55_10367.jpg', '/home/pi/Desktop/images/20042025/03/50/image_20042025_03_51_05_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_15_10407.jpg
/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_24_9493.jpg
/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_35_10345.jpg
/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_44_9430.jpg
/home/pi/Desktop/images/20042025/03/50/image_20042025_03_50_55_10367.jpg
/home/pi/Desktop/images/20042025/03/50/image_20042025_03_51_05_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064555","1352064569","1352064571","1352064570","1352064573","1352064567"],"photo_ids_order":["1352064555","1352064567","1352064569","1352064570","1352064571","1352064573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5fa7d3db5ebb8a0b746be63be9281e6.jpg","text":"TemporaryFile(/tmp/multipartBody2105224417475724357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127093580,"filename":"image_20042025_03_50_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2b5b352b7f17de825ab9c9a1581e45d.jpg","text":"TemporaryFile(/tmp/multipartBody8150613030194345255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127093580,"filename":"image_20042025_03_50_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79c14a1ef6e309114b451cd21557683e.jpg","text":"TemporaryFile(/tmp/multipartBody376597389359800145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127093580,"filename":"image_20042025_03_50_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cad8b263c4b072d51fb6ecc97135c62.jpg","text":"TemporaryFile(/tmp/multipartBody3603025996889646773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127093580,"filename":"image_20042025_03_50_44_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fbe14deeb62829f25bcd27df06441b63.jpg","text":"TemporaryFile(/tmp/multipartBody7013061934854972424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127093580,"filename":"image_20042025_03_51_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/355beff28a7209f95872b130d98bc2ea.jpg","text":"TemporaryFile(/tmp/multipartBody4235054636610219225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127093580,"filename":"image_20042025_03_50_24_9493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064569","file1":"1352064567","file0":"1352064555","file4":"1352064571","file5":"1352064573","file3":"1352064570"},"map_files_photo_id_array":[{"photo_id":"1352064573","filename":"file5"},{"photo_id":"1352064569","filename":"file2"},{"photo_id":"1352064571","filename":"file4"},{"photo_id":"1352064567","filename":"file1"},{"photo_id":"1352064555","filename":"file0"},{"photo_id":"1352064570","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064555":["hashtag1","hashtag2"]},{"1352064569":["hashtag1","hashtag2"]},{"1352064571":["hashtag1","hashtag2"]},{"1352064570":["hashtag1","hashtag2"]},{"1352064573":["hashtag1","hashtag2"]},{"1352064567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064555, 1352064569, 1352064571, 1352064570, 1352064573, 1352064567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20754361152649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:31:32.245926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_14_9354.jpg', '/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_25_10357.jpg', '/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_35_10368.jpg', '/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_44_9356.jpg', '/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_55_10347.jpg', '/home/pi/Desktop/images/20042025/03/51/image_20042025_03_52_04_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_14_9354.jpg
/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_25_10357.jpg
/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_35_10368.jpg
/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_44_9356.jpg
/home/pi/Desktop/images/20042025/03/51/image_20042025_03_51_55_10347.jpg
/home/pi/Desktop/images/20042025/03/51/image_20042025_03_52_04_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064582","1352064584","1352064587","1352064586","1352064589","1352064591"],"photo_ids_order":["1352064582","1352064584","1352064586","1352064587","1352064589","1352064591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbaa3f218be1e6f6b339c0817fea120c.jpg","text":"TemporaryFile(/tmp/multipartBody85979181722076817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127152793,"filename":"image_20042025_03_51_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbca584aac548456923deae05a613c30.jpg","text":"TemporaryFile(/tmp/multipartBody5181097990961580397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127152793,"filename":"image_20042025_03_51_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9b37ecef7cd696147323744296da934.jpg","text":"TemporaryFile(/tmp/multipartBody8623731289218186559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127152793,"filename":"image_20042025_03_51_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8aa39191907a349acf98a098d4d1c00.jpg","text":"TemporaryFile(/tmp/multipartBody8511708650478596028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127152793,"filename":"image_20042025_03_51_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/637401d6a82282523ec560a5a45ca9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4644583153163334406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127152793,"filename":"image_20042025_03_51_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5763e9e4ac342d5b109b540b5894cf48.jpg","text":"TemporaryFile(/tmp/multipartBody6253834239727835691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127152793,"filename":"image_20042025_03_52_04_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064586","file1":"1352064584","file0":"1352064582","file4":"1352064589","file5":"1352064591","file3":"1352064587"},"map_files_photo_id_array":[{"photo_id":"1352064591","filename":"file5"},{"photo_id":"1352064586","filename":"file2"},{"photo_id":"1352064589","filename":"file4"},{"photo_id":"1352064584","filename":"file1"},{"photo_id":"1352064582","filename":"file0"},{"photo_id":"1352064587","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064582":["hashtag1","hashtag2"]},{"1352064584":["hashtag1","hashtag2"]},{"1352064587":["hashtag1","hashtag2"]},{"1352064586":["hashtag1","hashtag2"]},{"1352064589":["hashtag1","hashtag2"]},{"1352064591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064582, 1352064584, 1352064587, 1352064586, 1352064589, 1352064591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69149613380432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:32:32.509773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_15_10373.jpg', '/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_25_10426.jpg', '/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_34_9336.jpg', '/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_45_10366.jpg', '/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_55_10374.jpg', '/home/pi/Desktop/images/20042025/03/52/image_20042025_03_53_04_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_15_10373.jpg
/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_25_10426.jpg
/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_34_9336.jpg
/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_45_10366.jpg
/home/pi/Desktop/images/20042025/03/52/image_20042025_03_52_55_10374.jpg
/home/pi/Desktop/images/20042025/03/52/image_20042025_03_53_04_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064612","1352064609","1352064614","1352064611","1352064605","1352064601"],"photo_ids_order":["1352064601","1352064605","1352064609","1352064611","1352064612","1352064614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5afeecb3ad96e036d553e2e6bd6ff8a.jpg","text":"TemporaryFile(/tmp/multipartBody8896784337923201179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127213067,"filename":"image_20042025_03_52_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fe1250b9e5cb03c9cb1cea1a3995a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5324051098208937394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127213067,"filename":"image_20042025_03_52_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ac751b5ac7271b69ec8656b41211bc8.jpg","text":"TemporaryFile(/tmp/multipartBody4849753321067015809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127213067,"filename":"image_20042025_03_53_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ff56d6f12cc4290a1fe445f5b99e616.jpg","text":"TemporaryFile(/tmp/multipartBody613950658866424243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127213067,"filename":"image_20042025_03_52_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbabdffb506dc6849df93145e1083d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6981661637025841901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127213067,"filename":"image_20042025_03_52_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4eb26dc80ce7cadc1a0dfcee08b2560.jpg","text":"TemporaryFile(/tmp/multipartBody6598910994959995080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127213067,"filename":"image_20042025_03_52_15_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064609","file1":"1352064605","file0":"1352064601","file4":"1352064612","file5":"1352064614","file3":"1352064611"},"map_files_photo_id_array":[{"photo_id":"1352064614","filename":"file5"},{"photo_id":"1352064609","filename":"file2"},{"photo_id":"1352064612","filename":"file4"},{"photo_id":"1352064605","filename":"file1"},{"photo_id":"1352064601","filename":"file0"},{"photo_id":"1352064611","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064612":["hashtag1","hashtag2"]},{"1352064609":["hashtag1","hashtag2"]},{"1352064614":["hashtag1","hashtag2"]},{"1352064611":["hashtag1","hashtag2"]},{"1352064605":["hashtag1","hashtag2"]},{"1352064601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064612, 1352064609, 1352064614, 1352064611, 1352064605, 1352064601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.820850133895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:33:32.908970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_15_10352.jpg', '/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_24_9446.jpg', '/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_35_10365.jpg', '/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_45_10518.jpg', '/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_54_9368.jpg', '/home/pi/Desktop/images/20042025/03/53/image_20042025_03_54_05_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_15_10352.jpg
/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_24_9446.jpg
/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_35_10365.jpg
/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_45_10518.jpg
/home/pi/Desktop/images/20042025/03/53/image_20042025_03_53_54_9368.jpg
/home/pi/Desktop/images/20042025/03/53/image_20042025_03_54_05_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064640","1352064643","1352064637","1352064631","1352064634","1352064628"],"photo_ids_order":["1352064628","1352064631","1352064634","1352064637","1352064640","1352064643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/314bef82e9b2c5fe17cc821fec0913fd.jpg","text":"TemporaryFile(/tmp/multipartBody540106722164815998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127273461,"filename":"image_20042025_03_53_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cec4bfba2577748f3da6eeec51689751.jpg","text":"TemporaryFile(/tmp/multipartBody4884137417740426943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127273461,"filename":"image_20042025_03_54_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5efb65a770b89d74e5337a7d3064db5d.jpg","text":"TemporaryFile(/tmp/multipartBody3528813709184144808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127273461,"filename":"image_20042025_03_53_45_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/877dd26173d1b631f6c592768db53c69.jpg","text":"TemporaryFile(/tmp/multipartBody3157360849219489800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127273461,"filename":"image_20042025_03_53_24_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c90cc6205cbdba0cba4850e037098a7.jpg","text":"TemporaryFile(/tmp/multipartBody5903925194620672667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127273461,"filename":"image_20042025_03_53_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cea5c6bb2e3ec076c1cc8072b92dfc71.jpg","text":"TemporaryFile(/tmp/multipartBody7975147132486918307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127273461,"filename":"image_20042025_03_53_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064634","file1":"1352064631","file0":"1352064628","file4":"1352064640","file5":"1352064643","file3":"1352064637"},"map_files_photo_id_array":[{"photo_id":"1352064643","filename":"file5"},{"photo_id":"1352064634","filename":"file2"},{"photo_id":"1352064640","filename":"file4"},{"photo_id":"1352064631","filename":"file1"},{"photo_id":"1352064628","filename":"file0"},{"photo_id":"1352064637","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064640":["hashtag1","hashtag2"]},{"1352064643":["hashtag1","hashtag2"]},{"1352064637":["hashtag1","hashtag2"]},{"1352064631":["hashtag1","hashtag2"]},{"1352064634":["hashtag1","hashtag2"]},{"1352064628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064640, 1352064643, 1352064637, 1352064631, 1352064634, 1352064628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.672329902648926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:34:33.084955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_14_9460.jpg', '/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_25_10368.jpg', '/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_35_10362.jpg', '/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_44_9353.jpg', '/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_55_10453.jpg', '/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_14_9460.jpg
/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_25_10368.jpg
/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_35_10362.jpg
/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_44_9353.jpg
/home/pi/Desktop/images/20042025/03/54/image_20042025_03_54_55_10453.jpg
/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_15_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064660","1352064662","1352064655","1352064664","1352064658","1352064666"],"photo_ids_order":["1352064655","1352064658","1352064660","1352064662","1352064664","1352064666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93e61b82d10dbe731073129ad0d8008a.jpg","text":"TemporaryFile(/tmp/multipartBody6154638079799375308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127333640,"filename":"image_20042025_03_54_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b51d3e1542801f840afff5f59f7c559b.jpg","text":"TemporaryFile(/tmp/multipartBody621630045740593462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127333640,"filename":"image_20042025_03_54_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dedc50962b38f2813bcfeaa4de31cc01.jpg","text":"TemporaryFile(/tmp/multipartBody7003002260384074115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127333640,"filename":"image_20042025_03_54_14_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2cc67732ae5b1947116573b2468a1b43.jpg","text":"TemporaryFile(/tmp/multipartBody8432628001038113531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127333640,"filename":"image_20042025_03_54_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d27e55994f5c67078f09d866adf475af.jpg","text":"TemporaryFile(/tmp/multipartBody7888989243391485188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127333640,"filename":"image_20042025_03_54_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60e4585dbfdf608396d3e6beba56e552.jpg","text":"TemporaryFile(/tmp/multipartBody4333626074331032861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127333640,"filename":"image_20042025_03_55_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064660","file1":"1352064658","file0":"1352064655","file4":"1352064664","file5":"1352064666","file3":"1352064662"},"map_files_photo_id_array":[{"photo_id":"1352064666","filename":"file5"},{"photo_id":"1352064660","filename":"file2"},{"photo_id":"1352064664","filename":"file4"},{"photo_id":"1352064658","filename":"file1"},{"photo_id":"1352064655","filename":"file0"},{"photo_id":"1352064662","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064660":["hashtag1","hashtag2"]},{"1352064662":["hashtag1","hashtag2"]},{"1352064655":["hashtag1","hashtag2"]},{"1352064664":["hashtag1","hashtag2"]},{"1352064658":["hashtag1","hashtag2"]},{"1352064666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064660, 1352064662, 1352064655, 1352064664, 1352064658, 1352064666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.731234550476074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:35:32.340464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_25_10360.jpg', '/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_34_9365.jpg', '/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_45_10382.jpg', '/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_55_10357.jpg', '/home/pi/Desktop/images/20042025/03/55/image_20042025_03_56_04_9359.jpg', '/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_25_10360.jpg
/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_34_9365.jpg
/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_45_10382.jpg
/home/pi/Desktop/images/20042025/03/55/image_20042025_03_55_55_10357.jpg
/home/pi/Desktop/images/20042025/03/55/image_20042025_03_56_04_9359.jpg
/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064681","1352064680","1352064683","1352064677","1352064682","1352064679"],"photo_ids_order":["1352064677","1352064679","1352064680","1352064681","1352064682","1352064683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad2203858e7f4f1832c2295d22fc0b81.jpg","text":"TemporaryFile(/tmp/multipartBody739796195453288058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127392891,"filename":"image_20042025_03_55_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40eaf40c4c46b6a5dbc1a5e78fe599ed.jpg","text":"TemporaryFile(/tmp/multipartBody6373595703879517347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127392891,"filename":"image_20042025_03_55_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/482eaa8d70361e3c6d67af21ebd4b73f.jpg","text":"TemporaryFile(/tmp/multipartBody5373254754439086396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127392891,"filename":"image_20042025_03_56_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23df8a7ed5033a0e28a513f44a3342f1.jpg","text":"TemporaryFile(/tmp/multipartBody4976986075836486334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127392891,"filename":"image_20042025_03_55_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8fb242584085a8a0b843a6368e5144a.jpg","text":"TemporaryFile(/tmp/multipartBody774074328758863064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127392891,"filename":"image_20042025_03_56_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/664cbc88a2d0fc737923434aab423e36.jpg","text":"TemporaryFile(/tmp/multipartBody9059503061776215769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127392891,"filename":"image_20042025_03_55_34_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064680","file1":"1352064679","file0":"1352064677","file4":"1352064682","file5":"1352064683","file3":"1352064681"},"map_files_photo_id_array":[{"photo_id":"1352064683","filename":"file5"},{"photo_id":"1352064680","filename":"file2"},{"photo_id":"1352064682","filename":"file4"},{"photo_id":"1352064679","filename":"file1"},{"photo_id":"1352064677","filename":"file0"},{"photo_id":"1352064681","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064681":["hashtag1","hashtag2"]},{"1352064680":["hashtag1","hashtag2"]},{"1352064683":["hashtag1","hashtag2"]},{"1352064677":["hashtag1","hashtag2"]},{"1352064682":["hashtag1","hashtag2"]},{"1352064679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064681, 1352064680, 1352064683, 1352064677, 1352064682, 1352064679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02867531776428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:36:32.698192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_24_9359.jpg', '/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_34_10355.jpg', '/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_45_10437.jpg', '/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_54_9369.jpg', '/home/pi/Desktop/images/20042025/03/56/image_20042025_03_57_05_10399.jpg', '/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_15_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_24_9359.jpg
/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_34_10355.jpg
/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_45_10437.jpg
/home/pi/Desktop/images/20042025/03/56/image_20042025_03_56_54_9369.jpg
/home/pi/Desktop/images/20042025/03/56/image_20042025_03_57_05_10399.jpg
/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_15_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064702","1352064692","1352064698","1352064694","1352064696","1352064700"],"photo_ids_order":["1352064692","1352064694","1352064696","1352064698","1352064700","1352064702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/344188967e18aabf7f3977bee3e15cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6518357668511827517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127453236,"filename":"image_20042025_03_57_15_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5eb875ed93afdd4dcd450df5f76bab9.jpg","text":"TemporaryFile(/tmp/multipartBody7811334210056831588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127453236,"filename":"image_20042025_03_56_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b94ce12c2bf9718082b5ee33a31f7f94.jpg","text":"TemporaryFile(/tmp/multipartBody6035476672679833603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127453236,"filename":"image_20042025_03_56_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96887289fa67d7861df4d46093a40d94.jpg","text":"TemporaryFile(/tmp/multipartBody4539937245164950555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127453236,"filename":"image_20042025_03_56_34_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/779788a96b57514e77b0d0287f68b1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2377589603080609301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127453236,"filename":"image_20042025_03_56_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2086f50beb3ed54e053fd9e0ab5095b5.jpg","text":"TemporaryFile(/tmp/multipartBody5783336626603090488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127453236,"filename":"image_20042025_03_57_05_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064696","file1":"1352064694","file0":"1352064692","file4":"1352064700","file5":"1352064702","file3":"1352064698"},"map_files_photo_id_array":[{"photo_id":"1352064702","filename":"file5"},{"photo_id":"1352064696","filename":"file2"},{"photo_id":"1352064700","filename":"file4"},{"photo_id":"1352064694","filename":"file1"},{"photo_id":"1352064692","filename":"file0"},{"photo_id":"1352064698","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064702":["hashtag1","hashtag2"]},{"1352064692":["hashtag1","hashtag2"]},{"1352064698":["hashtag1","hashtag2"]},{"1352064694":["hashtag1","hashtag2"]},{"1352064696":["hashtag1","hashtag2"]},{"1352064700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064702, 1352064692, 1352064698, 1352064694, 1352064696, 1352064700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.347190618515015 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:37:33.136609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_24_9364.jpg', '/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_35_10415.jpg', '/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_44_9348.jpg', '/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_55_10377.jpg', '/home/pi/Desktop/images/20042025/03/57/image_20042025_03_58_05_10358.jpg', '/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_14_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_24_9364.jpg
/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_35_10415.jpg
/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_44_9348.jpg
/home/pi/Desktop/images/20042025/03/57/image_20042025_03_57_55_10377.jpg
/home/pi/Desktop/images/20042025/03/57/image_20042025_03_58_05_10358.jpg
/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_14_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064714","1352064725","1352064719","1352064722","1352064716","1352064712"],"photo_ids_order":["1352064712","1352064714","1352064716","1352064719","1352064722","1352064725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4043b0514b66679220ea84be95155c92.jpg","text":"TemporaryFile(/tmp/multipartBody747998383720041323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127513686,"filename":"image_20042025_03_57_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac9766069f1b77ba965b74e403d86974.jpg","text":"TemporaryFile(/tmp/multipartBody7439438152623569097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127513686,"filename":"image_20042025_03_58_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a50ea116b865befe085a47c911ea72b.jpg","text":"TemporaryFile(/tmp/multipartBody1534764545369334750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127513686,"filename":"image_20042025_03_57_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e66906f7785a7eb62bbd922e64c6a6ef.jpg","text":"TemporaryFile(/tmp/multipartBody8797173108522376273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127513686,"filename":"image_20042025_03_58_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a2ba38cb8bd31142e8eaef0c7439c83.jpg","text":"TemporaryFile(/tmp/multipartBody7480837391651680608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127513686,"filename":"image_20042025_03_57_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96710dea621fa7db04902b38fbf5a56d.jpg","text":"TemporaryFile(/tmp/multipartBody955700443151451551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127513686,"filename":"image_20042025_03_57_24_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064716","file1":"1352064714","file0":"1352064712","file4":"1352064722","file5":"1352064725","file3":"1352064719"},"map_files_photo_id_array":[{"photo_id":"1352064725","filename":"file5"},{"photo_id":"1352064716","filename":"file2"},{"photo_id":"1352064722","filename":"file4"},{"photo_id":"1352064714","filename":"file1"},{"photo_id":"1352064712","filename":"file0"},{"photo_id":"1352064719","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064714":["hashtag1","hashtag2"]},{"1352064725":["hashtag1","hashtag2"]},{"1352064719":["hashtag1","hashtag2"]},{"1352064722":["hashtag1","hashtag2"]},{"1352064716":["hashtag1","hashtag2"]},{"1352064712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064714, 1352064725, 1352064719, 1352064722, 1352064716, 1352064712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.86530566215515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:38:33.125018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_25_10360.jpg', '/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_35_10354.jpg', '/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_44_9340.jpg', '/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_55_10366.jpg', '/home/pi/Desktop/images/20042025/03/58/image_20042025_03_59_05_10360.jpg', '/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_14_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_25_10360.jpg
/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_35_10354.jpg
/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_44_9340.jpg
/home/pi/Desktop/images/20042025/03/58/image_20042025_03_58_55_10366.jpg
/home/pi/Desktop/images/20042025/03/58/image_20042025_03_59_05_10360.jpg
/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_14_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064747","1352064737","1352064740","1352064733","1352064750","1352064744"],"photo_ids_order":["1352064733","1352064737","1352064740","1352064744","1352064747","1352064750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0cce738414f095cd348bcad57cc3281.jpg","text":"TemporaryFile(/tmp/multipartBody7786022446914003299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127573676,"filename":"image_20042025_03_59_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/949694b6b41caaa53ddd9ed275058d44.jpg","text":"TemporaryFile(/tmp/multipartBody2983190630375911577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127573676,"filename":"image_20042025_03_58_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/708de241861db02bdc45a662dc51d699.jpg","text":"TemporaryFile(/tmp/multipartBody8864694915956173766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127573676,"filename":"image_20042025_03_58_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1b9ac9e34353e0581e69dd7c87f11dd.jpg","text":"TemporaryFile(/tmp/multipartBody8881723890247210310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127573676,"filename":"image_20042025_03_58_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/878dac98f944c7734b8bfd7d4b89d77c.jpg","text":"TemporaryFile(/tmp/multipartBody1044969967611161926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127573676,"filename":"image_20042025_03_59_14_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c5237d186f612772b7c964ba9757442.jpg","text":"TemporaryFile(/tmp/multipartBody4328617345387105345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127573676,"filename":"image_20042025_03_58_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064740","file1":"1352064737","file0":"1352064733","file4":"1352064747","file5":"1352064750","file3":"1352064744"},"map_files_photo_id_array":[{"photo_id":"1352064750","filename":"file5"},{"photo_id":"1352064740","filename":"file2"},{"photo_id":"1352064747","filename":"file4"},{"photo_id":"1352064737","filename":"file1"},{"photo_id":"1352064733","filename":"file0"},{"photo_id":"1352064744","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064747":["hashtag1","hashtag2"]},{"1352064737":["hashtag1","hashtag2"]},{"1352064740":["hashtag1","hashtag2"]},{"1352064733":["hashtag1","hashtag2"]},{"1352064750":["hashtag1","hashtag2"]},{"1352064744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064747, 1352064737, 1352064740, 1352064733, 1352064750, 1352064744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27015161514282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:39:32.436845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_25_10512.jpg', '/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_34_9361.jpg', '/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_45_10413.jpg', '/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_16_10071.jpg', '/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_37_10353.jpg', '/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_46_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_25_10512.jpg
/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_34_9361.jpg
/home/pi/Desktop/images/20042025/03/59/image_20042025_03_59_45_10413.jpg
/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_16_10071.jpg
/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_37_10353.jpg
/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_46_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064752","1352064760","1352064754","1352064763","1352064757","1352064765"],"photo_ids_order":["1352064752","1352064754","1352064757","1352064760","1352064763","1352064765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9349d9d399abcfc3000fbbd87c75f27.jpg","text":"TemporaryFile(/tmp/multipartBody1242113835958277884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127632986,"filename":"image_20042025_03_59_25_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d565650ddad5b7f454d79545caa0fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6299852588971568480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127632986,"filename":"image_20042025_04_00_16_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f7ea785c553644d34b6aa1fa38af05f.jpg","text":"TemporaryFile(/tmp/multipartBody4764439823591373773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127632986,"filename":"image_20042025_03_59_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b477dc3bfd7e9cfe513219b257398363.jpg","text":"TemporaryFile(/tmp/multipartBody7983885050443514995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127632986,"filename":"image_20042025_04_00_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf00f0c3c77dec99cb24783a1604b183.jpg","text":"TemporaryFile(/tmp/multipartBody4517830616281652444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127632986,"filename":"image_20042025_03_59_45_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c216d0517113ae5c3526e984d0ea6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2203421014413014596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127632986,"filename":"image_20042025_04_00_46_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064757","file1":"1352064754","file0":"1352064752","file4":"1352064763","file5":"1352064765","file3":"1352064760"},"map_files_photo_id_array":[{"photo_id":"1352064765","filename":"file5"},{"photo_id":"1352064757","filename":"file2"},{"photo_id":"1352064763","filename":"file4"},{"photo_id":"1352064754","filename":"file1"},{"photo_id":"1352064752","filename":"file0"},{"photo_id":"1352064760","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064752":["hashtag1","hashtag2"]},{"1352064760":["hashtag1","hashtag2"]},{"1352064754":["hashtag1","hashtag2"]},{"1352064763":["hashtag1","hashtag2"]},{"1352064757":["hashtag1","hashtag2"]},{"1352064765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064752, 1352064760, 1352064754, 1352064763, 1352064757, 1352064765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12290334701538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:40:32.810931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_56_10374.jpg', '/home/pi/Desktop/images/20042025/04/00/image_20042025_04_01_07_10352.jpg', '/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_16_9433.jpg', '/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_27_10357.jpg', '/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_36_9405.jpg', '/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_46_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/00/image_20042025_04_00_56_10374.jpg
/home/pi/Desktop/images/20042025/04/00/image_20042025_04_01_07_10352.jpg
/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_16_9433.jpg
/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_27_10357.jpg
/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_36_9405.jpg
/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_46_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064784","1352064787","1352064781","1352064789","1352064780","1352064792"],"photo_ids_order":["1352064780","1352064781","1352064784","1352064787","1352064789","1352064792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/867d181f7a5028de1223da4a0edc07de.jpg","text":"TemporaryFile(/tmp/multipartBody4722780609587352913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127693379,"filename":"image_20042025_04_01_16_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98db6cd50fe6be88e3ba1ab52299bbe0.jpg","text":"TemporaryFile(/tmp/multipartBody6578457107484419664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127693379,"filename":"image_20042025_04_01_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c91f727927ffa439d1fe1be4283cf10.jpg","text":"TemporaryFile(/tmp/multipartBody8641134298150273941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127693379,"filename":"image_20042025_04_01_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e1621a40efc0a72095195f0179a8158.jpg","text":"TemporaryFile(/tmp/multipartBody2403570272369551917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127693379,"filename":"image_20042025_04_01_36_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5301af31f2fa64b0587a6ee619309c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8840819855240524126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127693379,"filename":"image_20042025_04_00_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a21636a5a339a155f94042ea0dd5c43.jpg","text":"TemporaryFile(/tmp/multipartBody6998433959877161171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127693379,"filename":"image_20042025_04_01_46_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064784","file1":"1352064781","file0":"1352064780","file4":"1352064789","file5":"1352064792","file3":"1352064787"},"map_files_photo_id_array":[{"photo_id":"1352064792","filename":"file5"},{"photo_id":"1352064784","filename":"file2"},{"photo_id":"1352064789","filename":"file4"},{"photo_id":"1352064781","filename":"file1"},{"photo_id":"1352064780","filename":"file0"},{"photo_id":"1352064787","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064784":["hashtag1","hashtag2"]},{"1352064787":["hashtag1","hashtag2"]},{"1352064781":["hashtag1","hashtag2"]},{"1352064789":["hashtag1","hashtag2"]},{"1352064780":["hashtag1","hashtag2"]},{"1352064792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064784, 1352064787, 1352064781, 1352064789, 1352064780, 1352064792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.879884481430054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:41:33.015327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_57_10389.jpg', '/home/pi/Desktop/images/20042025/04/01/image_20042025_04_02_06_9441.jpg', '/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_17_10408.jpg', '/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_26_9478.jpg', '/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_36_10344.jpg', '/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_47_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/01/image_20042025_04_01_57_10389.jpg
/home/pi/Desktop/images/20042025/04/01/image_20042025_04_02_06_9441.jpg
/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_17_10408.jpg
/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_26_9478.jpg
/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_36_10344.jpg
/home/pi/Desktop/images/20042025/04/02/image_20042025_04_02_47_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064801","1352064817","1352064811","1352064805","1352064814","1352064808"],"photo_ids_order":["1352064801","1352064805","1352064808","1352064811","1352064814","1352064817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f38dcf6f278d079f6dceb1bbf3bfdba5.jpg","text":"TemporaryFile(/tmp/multipartBody2125250843979676080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127753573,"filename":"image_20042025_04_01_57_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58d602835e4bbe0733995757e3fbaa75.jpg","text":"TemporaryFile(/tmp/multipartBody4266815892840288762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127753573,"filename":"image_20042025_04_02_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cdbf2c5b1d3d273e1f1e9ccfd2af21e.jpg","text":"TemporaryFile(/tmp/multipartBody6692480698624797278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127753573,"filename":"image_20042025_04_02_26_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f06641499028e93a0ecf4f95e2c497b.jpg","text":"TemporaryFile(/tmp/multipartBody1624543673999707652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127753573,"filename":"image_20042025_04_02_06_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b3ec6a135651a99b3ce3ac336e118c2.jpg","text":"TemporaryFile(/tmp/multipartBody3351675867557842571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127753573,"filename":"image_20042025_04_02_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/909ee9dccc33f295896f9911b21065c2.jpg","text":"TemporaryFile(/tmp/multipartBody7554678646685159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127753573,"filename":"image_20042025_04_02_17_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064808","file1":"1352064805","file0":"1352064801","file4":"1352064814","file5":"1352064817","file3":"1352064811"},"map_files_photo_id_array":[{"photo_id":"1352064817","filename":"file5"},{"photo_id":"1352064808","filename":"file2"},{"photo_id":"1352064814","filename":"file4"},{"photo_id":"1352064805","filename":"file1"},{"photo_id":"1352064801","filename":"file0"},{"photo_id":"1352064811","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064801":["hashtag1","hashtag2"]},{"1352064817":["hashtag1","hashtag2"]},{"1352064811":["hashtag1","hashtag2"]},{"1352064805":["hashtag1","hashtag2"]},{"1352064814":["hashtag1","hashtag2"]},{"1352064808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064801, 1352064817, 1352064811, 1352064805, 1352064814, 1352064808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.711888790130615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:42:32.143836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/02/image_20042025_04_03_07_10462.jpg', '/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_16_9435.jpg', '/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_27_10360.jpg', '/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_36_9414.jpg', '/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_46_10365.jpg', '/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_57_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/02/image_20042025_04_03_07_10462.jpg
/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_16_9435.jpg
/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_27_10360.jpg
/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_36_9414.jpg
/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_46_10365.jpg
/home/pi/Desktop/images/20042025/04/03/image_20042025_04_03_57_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064831","1352064834","1352064842","1352064829","1352064838","1352064823"],"photo_ids_order":["1352064823","1352064829","1352064831","1352064834","1352064838","1352064842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef2657a1cccadd5569253c5033b8eefc.jpg","text":"TemporaryFile(/tmp/multipartBody2033073425754973032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127812682,"filename":"image_20042025_04_03_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dced8ef2985787db3555ffc44d9f78fc.jpg","text":"TemporaryFile(/tmp/multipartBody60909611757390922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127812682,"filename":"image_20042025_04_03_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad760effbaba81303ad13a59ab160213.jpg","text":"TemporaryFile(/tmp/multipartBody3902598950262889539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127812682,"filename":"image_20042025_04_03_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5296bb871b6079960e11068d9ee956a5.jpg","text":"TemporaryFile(/tmp/multipartBody6706036794013585115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127812682,"filename":"image_20042025_04_03_16_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b055d58825c69f3f77916aa8792faa05.jpg","text":"TemporaryFile(/tmp/multipartBody3154594052871686729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127812682,"filename":"image_20042025_04_03_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa3af8b03c7db67f71e49665610e39d2.jpg","text":"TemporaryFile(/tmp/multipartBody2726049665653005462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127812682,"filename":"image_20042025_04_03_07_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064831","file1":"1352064829","file0":"1352064823","file4":"1352064838","file5":"1352064842","file3":"1352064834"},"map_files_photo_id_array":[{"photo_id":"1352064842","filename":"file5"},{"photo_id":"1352064831","filename":"file2"},{"photo_id":"1352064838","filename":"file4"},{"photo_id":"1352064829","filename":"file1"},{"photo_id":"1352064823","filename":"file0"},{"photo_id":"1352064834","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064831":["hashtag1","hashtag2"]},{"1352064834":["hashtag1","hashtag2"]},{"1352064842":["hashtag1","hashtag2"]},{"1352064829":["hashtag1","hashtag2"]},{"1352064838":["hashtag1","hashtag2"]},{"1352064823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064831, 1352064834, 1352064842, 1352064829, 1352064838, 1352064823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74658441543579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:43:32.318272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/03/image_20042025_04_04_06_9410.jpg', '/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_16_10350.jpg', '/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_26_9428.jpg', '/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_36_10401.jpg', '/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_47_10398.jpg', '/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_56_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/03/image_20042025_04_04_06_9410.jpg
/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_16_10350.jpg
/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_26_9428.jpg
/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_36_10401.jpg
/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_47_10398.jpg
/home/pi/Desktop/images/20042025/04/04/image_20042025_04_04_56_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064867","1352064860","1352064854","1352064857","1352064859","1352064864"],"photo_ids_order":["1352064854","1352064857","1352064859","1352064860","1352064864","1352064867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/997a550246a0123d3f9931e248ed0d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1043973913383363012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127872875,"filename":"image_20042025_04_04_56_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68464618d8cdb2e962b4e0f49663486a.jpg","text":"TemporaryFile(/tmp/multipartBody5952937489806800633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127872875,"filename":"image_20042025_04_04_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e6cb3268a235b43bf2772c588e9f884.jpg","text":"TemporaryFile(/tmp/multipartBody1496020256222966639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127872875,"filename":"image_20042025_04_04_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/243d84b95f72682b85e17035a213d18c.jpg","text":"TemporaryFile(/tmp/multipartBody1172054293573426045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127872875,"filename":"image_20042025_04_04_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b067c8ffca2c065ff19de378ebc16e3.jpg","text":"TemporaryFile(/tmp/multipartBody4143996745899599968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127872875,"filename":"image_20042025_04_04_26_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65ba9cf575ebccf743986d51d62e78f9.jpg","text":"TemporaryFile(/tmp/multipartBody765831453175560414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127872875,"filename":"image_20042025_04_04_47_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064859","file1":"1352064857","file0":"1352064854","file4":"1352064864","file5":"1352064867","file3":"1352064860"},"map_files_photo_id_array":[{"photo_id":"1352064867","filename":"file5"},{"photo_id":"1352064859","filename":"file2"},{"photo_id":"1352064864","filename":"file4"},{"photo_id":"1352064857","filename":"file1"},{"photo_id":"1352064854","filename":"file0"},{"photo_id":"1352064860","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064867":["hashtag1","hashtag2"]},{"1352064860":["hashtag1","hashtag2"]},{"1352064854":["hashtag1","hashtag2"]},{"1352064857":["hashtag1","hashtag2"]},{"1352064859":["hashtag1","hashtag2"]},{"1352064864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064867, 1352064860, 1352064854, 1352064857, 1352064859, 1352064864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.278080463409424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:44:32.593966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/04/image_20042025_04_05_07_10352.jpg', '/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_16_9435.jpg', '/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_37_10377.jpg', '/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_46_9489.jpg', '/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_57_10366.jpg', '/home/pi/Desktop/images/20042025/04/05/image_20042025_04_06_06_9492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/04/image_20042025_04_05_07_10352.jpg
/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_16_9435.jpg
/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_37_10377.jpg
/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_46_9489.jpg
/home/pi/Desktop/images/20042025/04/05/image_20042025_04_05_57_10366.jpg
/home/pi/Desktop/images/20042025/04/05/image_20042025_04_06_06_9492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064890","1352064881","1352064888","1352064891","1352064885","1352064879"],"photo_ids_order":["1352064879","1352064881","1352064885","1352064888","1352064890","1352064891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/029e5e8e978c9d08cf65c3d245d1e6f8.jpg","text":"TemporaryFile(/tmp/multipartBody1098271628477619869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127933152,"filename":"image_20042025_04_05_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf4917f8bd046aedcd925419654b4fce.jpg","text":"TemporaryFile(/tmp/multipartBody7909242624639218270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127933152,"filename":"image_20042025_04_05_16_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91ab6996ea36110f03b6707256e5bf9f.jpg","text":"TemporaryFile(/tmp/multipartBody1418329585069821275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127933152,"filename":"image_20042025_04_05_46_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c427cd4d976d57eb8741d04f52935b3.jpg","text":"TemporaryFile(/tmp/multipartBody7384560512090536344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127933152,"filename":"image_20042025_04_06_06_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38b8dedd3db5825c70599f505da1066e.jpg","text":"TemporaryFile(/tmp/multipartBody1049614524593735709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127933152,"filename":"image_20042025_04_05_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cae80278f3d536aac068360517a4a28e.jpg","text":"TemporaryFile(/tmp/multipartBody7968800872279212319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127933152,"filename":"image_20042025_04_05_07_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064885","file1":"1352064881","file0":"1352064879","file4":"1352064890","file5":"1352064891","file3":"1352064888"},"map_files_photo_id_array":[{"photo_id":"1352064891","filename":"file5"},{"photo_id":"1352064885","filename":"file2"},{"photo_id":"1352064890","filename":"file4"},{"photo_id":"1352064881","filename":"file1"},{"photo_id":"1352064879","filename":"file0"},{"photo_id":"1352064888","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064890":["hashtag1","hashtag2"]},{"1352064881":["hashtag1","hashtag2"]},{"1352064888":["hashtag1","hashtag2"]},{"1352064891":["hashtag1","hashtag2"]},{"1352064885":["hashtag1","hashtag2"]},{"1352064879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064890, 1352064881, 1352064888, 1352064891, 1352064885, 1352064879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.723331689834595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:45:32.800961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_16_10333.jpg', '/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_36_9396.jpg', '/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_47_10403.jpg', '/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_56_9454.jpg', '/home/pi/Desktop/images/20042025/04/06/image_20042025_04_07_06_10370.jpg', '/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_17_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_16_10333.jpg
/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_36_9396.jpg
/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_47_10403.jpg
/home/pi/Desktop/images/20042025/04/06/image_20042025_04_06_56_9454.jpg
/home/pi/Desktop/images/20042025/04/06/image_20042025_04_07_06_10370.jpg
/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_17_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064912","1352064906","1352064909","1352064903","1352064914","1352064913"],"photo_ids_order":["1352064903","1352064906","1352064909","1352064912","1352064913","1352064914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bdbfbe74435ccd67edff877c19f7d64.jpg","text":"TemporaryFile(/tmp/multipartBody5297731733790338657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127993351,"filename":"image_20042025_04_06_56_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58b3d4fc6fd3405502be838b6e2b5fe4.jpg","text":"TemporaryFile(/tmp/multipartBody398048567128820225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127993351,"filename":"image_20042025_04_06_36_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ac14df8f77b4053e14699bc9700ee4b.jpg","text":"TemporaryFile(/tmp/multipartBody4202540416186582239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127993351,"filename":"image_20042025_04_06_47_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3988376909350fb3f629bf2ac0636d7.jpg","text":"TemporaryFile(/tmp/multipartBody5362250438560840817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127993351,"filename":"image_20042025_04_06_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3875f7bc7dc3e2b6c4cce601bc0a4e5.jpg","text":"TemporaryFile(/tmp/multipartBody4214787782802653486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127993351,"filename":"image_20042025_04_07_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4dd6508f236e0b0c37a4afcdad328305.jpg","text":"TemporaryFile(/tmp/multipartBody5077861942460020594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745127993351,"filename":"image_20042025_04_07_06_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064909","file1":"1352064906","file0":"1352064903","file4":"1352064913","file5":"1352064914","file3":"1352064912"},"map_files_photo_id_array":[{"photo_id":"1352064914","filename":"file5"},{"photo_id":"1352064909","filename":"file2"},{"photo_id":"1352064913","filename":"file4"},{"photo_id":"1352064906","filename":"file1"},{"photo_id":"1352064903","filename":"file0"},{"photo_id":"1352064912","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064912":["hashtag1","hashtag2"]},{"1352064906":["hashtag1","hashtag2"]},{"1352064909":["hashtag1","hashtag2"]},{"1352064903":["hashtag1","hashtag2"]},{"1352064914":["hashtag1","hashtag2"]},{"1352064913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064912, 1352064906, 1352064909, 1352064903, 1352064914, 1352064913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.26421117782593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:46:33.065935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_26_9469.jpg', '/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_37_10371.jpg', '/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_46_9362.jpg', '/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_56_10368.jpg', '/home/pi/Desktop/images/20042025/04/07/image_20042025_04_08_07_10340.jpg', '/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_16_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_26_9469.jpg
/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_37_10371.jpg
/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_46_9362.jpg
/home/pi/Desktop/images/20042025/04/07/image_20042025_04_07_56_10368.jpg
/home/pi/Desktop/images/20042025/04/07/image_20042025_04_08_07_10340.jpg
/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_16_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064924","1352064936","1352064921","1352064934","1352064928","1352064931"],"photo_ids_order":["1352064921","1352064924","1352064928","1352064931","1352064934","1352064936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbec4de01e06fb249b12f0e8c3354476.jpg","text":"TemporaryFile(/tmp/multipartBody5031049152642759325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128053669,"filename":"image_20042025_04_07_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b359a24624739ba4c3dda9ff4598350e.jpg","text":"TemporaryFile(/tmp/multipartBody4412969740660295955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128053669,"filename":"image_20042025_04_08_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42d9e9d98fb5ac69c72ed02f8b6a986e.jpg","text":"TemporaryFile(/tmp/multipartBody8796333160539352585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128053669,"filename":"image_20042025_04_07_26_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ce0232f5d217e5286ba1ca89d02129b.jpg","text":"TemporaryFile(/tmp/multipartBody2380012426169228279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128053669,"filename":"image_20042025_04_08_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce649dbc0427cf7ae4d31677168ca299.jpg","text":"TemporaryFile(/tmp/multipartBody7657439505050762890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128053669,"filename":"image_20042025_04_07_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/817f293086407a4629889b7e61d99d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2413810480122392403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128053669,"filename":"image_20042025_04_07_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064928","file1":"1352064924","file0":"1352064921","file4":"1352064934","file5":"1352064936","file3":"1352064931"},"map_files_photo_id_array":[{"photo_id":"1352064936","filename":"file5"},{"photo_id":"1352064928","filename":"file2"},{"photo_id":"1352064934","filename":"file4"},{"photo_id":"1352064924","filename":"file1"},{"photo_id":"1352064921","filename":"file0"},{"photo_id":"1352064931","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064924":["hashtag1","hashtag2"]},{"1352064936":["hashtag1","hashtag2"]},{"1352064921":["hashtag1","hashtag2"]},{"1352064934":["hashtag1","hashtag2"]},{"1352064928":["hashtag1","hashtag2"]},{"1352064931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064924, 1352064936, 1352064921, 1352064934, 1352064928, 1352064931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.787261724472046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:47:32.316080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_26_10414.jpg', '/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_37_10355.jpg', '/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_46_9372.jpg', '/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_57_10468.jpg', '/home/pi/Desktop/images/20042025/04/08/image_20042025_04_09_06_9426.jpg', '/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_16_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_26_10414.jpg
/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_37_10355.jpg
/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_46_9372.jpg
/home/pi/Desktop/images/20042025/04/08/image_20042025_04_08_57_10468.jpg
/home/pi/Desktop/images/20042025/04/08/image_20042025_04_09_06_9426.jpg
/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_16_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064953","1352064959","1352064950","1352064944","1352064946","1352064957"],"photo_ids_order":["1352064944","1352064946","1352064950","1352064953","1352064957","1352064959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c50c38d50d884f57584275f2550752b7.jpg","text":"TemporaryFile(/tmp/multipartBody5566071018259572891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128112911,"filename":"image_20042025_04_08_57_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fea151726568def631a69171ff8663c2.jpg","text":"TemporaryFile(/tmp/multipartBody1258749906308562573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128112911,"filename":"image_20042025_04_09_16_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/961cd7ef76f56188e195659f735ec7ba.jpg","text":"TemporaryFile(/tmp/multipartBody727874419481328383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128112911,"filename":"image_20042025_04_08_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e29c7b51422f07a7bf0651ea6c1f442.jpg","text":"TemporaryFile(/tmp/multipartBody1722210897693333901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128112911,"filename":"image_20042025_04_08_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d17a1f1aa6667f8a2faf7714a488f59.jpg","text":"TemporaryFile(/tmp/multipartBody1238038751412525325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128112911,"filename":"image_20042025_04_08_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9b328b298c746a11580fe88fae02992.jpg","text":"TemporaryFile(/tmp/multipartBody1469847363083961920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128112911,"filename":"image_20042025_04_09_06_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064950","file1":"1352064946","file0":"1352064944","file4":"1352064957","file5":"1352064959","file3":"1352064953"},"map_files_photo_id_array":[{"photo_id":"1352064959","filename":"file5"},{"photo_id":"1352064950","filename":"file2"},{"photo_id":"1352064957","filename":"file4"},{"photo_id":"1352064946","filename":"file1"},{"photo_id":"1352064944","filename":"file0"},{"photo_id":"1352064953","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064953":["hashtag1","hashtag2"]},{"1352064959":["hashtag1","hashtag2"]},{"1352064950":["hashtag1","hashtag2"]},{"1352064944":["hashtag1","hashtag2"]},{"1352064946":["hashtag1","hashtag2"]},{"1352064957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064953, 1352064959, 1352064950, 1352064944, 1352064946, 1352064957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.284327745437622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:48:32.512993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_27_10375.jpg', '/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_36_9440.jpg', '/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_47_10384.jpg', '/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_56_9388.jpg', '/home/pi/Desktop/images/20042025/04/09/image_20042025_04_10_06_10367.jpg', '/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_17_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_27_10375.jpg
/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_36_9440.jpg
/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_47_10384.jpg
/home/pi/Desktop/images/20042025/04/09/image_20042025_04_09_56_9388.jpg
/home/pi/Desktop/images/20042025/04/09/image_20042025_04_10_06_10367.jpg
/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_17_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064966","1352064974","1352064968","1352064977","1352064976","1352064979"],"photo_ids_order":["1352064966","1352064968","1352064974","1352064976","1352064977","1352064979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f1372c7f5e5ac8d71323ec8e81614f6.jpg","text":"TemporaryFile(/tmp/multipartBody7976883012373473318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128173048,"filename":"image_20042025_04_09_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f529b8594c41b8a6a278b97775676d2.jpg","text":"TemporaryFile(/tmp/multipartBody4772811671511415585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128173048,"filename":"image_20042025_04_09_47_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7550a3c04778f88753a69c3f4412f13.jpg","text":"TemporaryFile(/tmp/multipartBody7837885624478942496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128173048,"filename":"image_20042025_04_09_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c6754367f0f22b687586dc08af9437a.jpg","text":"TemporaryFile(/tmp/multipartBody5952544911151181035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128173048,"filename":"image_20042025_04_10_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c30eb034959b02a152003c9330d6e92f.jpg","text":"TemporaryFile(/tmp/multipartBody2915174891488651261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128173048,"filename":"image_20042025_04_09_56_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ae887e6f4029c1c4add22eaa262032c.jpg","text":"TemporaryFile(/tmp/multipartBody1228466516234153379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128173048,"filename":"image_20042025_04_10_17_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064974","file1":"1352064968","file0":"1352064966","file4":"1352064977","file5":"1352064979","file3":"1352064976"},"map_files_photo_id_array":[{"photo_id":"1352064979","filename":"file5"},{"photo_id":"1352064974","filename":"file2"},{"photo_id":"1352064977","filename":"file4"},{"photo_id":"1352064968","filename":"file1"},{"photo_id":"1352064966","filename":"file0"},{"photo_id":"1352064976","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064966":["hashtag1","hashtag2"]},{"1352064974":["hashtag1","hashtag2"]},{"1352064968":["hashtag1","hashtag2"]},{"1352064977":["hashtag1","hashtag2"]},{"1352064976":["hashtag1","hashtag2"]},{"1352064979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064966, 1352064974, 1352064968, 1352064977, 1352064976, 1352064979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65394926071167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:49:32.755418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_26_9445.jpg', '/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_37_10361.jpg', '/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_46_9448.jpg', '/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_56_10469.jpg', '/home/pi/Desktop/images/20042025/04/10/image_20042025_04_11_06_9487.jpg', '/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_27_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_26_9445.jpg
/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_37_10361.jpg
/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_46_9448.jpg
/home/pi/Desktop/images/20042025/04/10/image_20042025_04_10_56_10469.jpg
/home/pi/Desktop/images/20042025/04/10/image_20042025_04_11_06_9487.jpg
/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_27_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064992","1352064995","1352065001","1352065003","1352064996","1352064999"],"photo_ids_order":["1352064992","1352064995","1352064996","1352064999","1352065001","1352065003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af89d033f20cc3b0dfd18549d6f9aaed.jpg","text":"TemporaryFile(/tmp/multipartBody2734928268529538289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128233304,"filename":"image_20042025_04_10_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4a8081e083af3eff03b60e5488fbf86.jpg","text":"TemporaryFile(/tmp/multipartBody5470300005514506329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128233304,"filename":"image_20042025_04_10_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bfbe1a1044c2cd22adb0aa610657f73.jpg","text":"TemporaryFile(/tmp/multipartBody8874031879955538705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128233304,"filename":"image_20042025_04_11_06_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e031d1d9a507bc4ec42f7d42fd8b453.jpg","text":"TemporaryFile(/tmp/multipartBody466833574454132872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128233304,"filename":"image_20042025_04_11_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a092502d73600ae2caa7fc22567e0045.jpg","text":"TemporaryFile(/tmp/multipartBody1324936631090495570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128233304,"filename":"image_20042025_04_10_46_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5567573d07d3a825b939e3ada91bca7.jpg","text":"TemporaryFile(/tmp/multipartBody6285504920447006984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128233304,"filename":"image_20042025_04_10_56_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064996","file1":"1352064995","file0":"1352064992","file4":"1352065001","file5":"1352065003","file3":"1352064999"},"map_files_photo_id_array":[{"photo_id":"1352065003","filename":"file5"},{"photo_id":"1352064996","filename":"file2"},{"photo_id":"1352065001","filename":"file4"},{"photo_id":"1352064995","filename":"file1"},{"photo_id":"1352064992","filename":"file0"},{"photo_id":"1352064999","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352064992":["hashtag1","hashtag2"]},{"1352064995":["hashtag1","hashtag2"]},{"1352065001":["hashtag1","hashtag2"]},{"1352065003":["hashtag1","hashtag2"]},{"1352064996":["hashtag1","hashtag2"]},{"1352064999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352064992, 1352064995, 1352065001, 1352065003, 1352064996, 1352064999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.310933351516724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:50:33.030486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_36_9377.jpg', '/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_46_10373.jpg', '/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_57_10378.jpg', '/home/pi/Desktop/images/20042025/04/11/image_20042025_04_12_06_9466.jpg', '/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_17_10341.jpg', '/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_26_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_36_9377.jpg
/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_46_10373.jpg
/home/pi/Desktop/images/20042025/04/11/image_20042025_04_11_57_10378.jpg
/home/pi/Desktop/images/20042025/04/11/image_20042025_04_12_06_9466.jpg
/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_17_10341.jpg
/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_26_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065014","1352065025","1352065028","1352065021","1352065018","1352065026"],"photo_ids_order":["1352065014","1352065018","1352065021","1352065025","1352065026","1352065028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7864bd42ed2ff283dfc350d6d36b727.jpg","text":"TemporaryFile(/tmp/multipartBody6945437483436047076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128293583,"filename":"image_20042025_04_11_36_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77fb117138a0f91624f733bc6afe3d7e.jpg","text":"TemporaryFile(/tmp/multipartBody111478652647278169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128293583,"filename":"image_20042025_04_12_06_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9a45bb350a8f93a851b125d077c838a.jpg","text":"TemporaryFile(/tmp/multipartBody3357610150849459452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128293583,"filename":"image_20042025_04_12_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b530b4ee0abf811458f42144914bd88b.jpg","text":"TemporaryFile(/tmp/multipartBody9221353245087322357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128293583,"filename":"image_20042025_04_11_57_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/085a536d1569e665864f6f738fd646ad.jpg","text":"TemporaryFile(/tmp/multipartBody50300790767130779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128293583,"filename":"image_20042025_04_11_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d2c2004ecde59c07ba44c1cfdbe12e1.jpg","text":"TemporaryFile(/tmp/multipartBody6009161702215351535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128293583,"filename":"image_20042025_04_12_17_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065021","file1":"1352065018","file0":"1352065014","file4":"1352065026","file5":"1352065028","file3":"1352065025"},"map_files_photo_id_array":[{"photo_id":"1352065028","filename":"file5"},{"photo_id":"1352065021","filename":"file2"},{"photo_id":"1352065026","filename":"file4"},{"photo_id":"1352065018","filename":"file1"},{"photo_id":"1352065014","filename":"file0"},{"photo_id":"1352065025","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065014":["hashtag1","hashtag2"]},{"1352065025":["hashtag1","hashtag2"]},{"1352065028":["hashtag1","hashtag2"]},{"1352065021":["hashtag1","hashtag2"]},{"1352065018":["hashtag1","hashtag2"]},{"1352065026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065014, 1352065025, 1352065028, 1352065021, 1352065018, 1352065026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78742218017578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:51:32.412998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_36_10371.jpg', '/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_46_9521.jpg', '/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_56_10387.jpg', '/home/pi/Desktop/images/20042025/04/12/image_20042025_04_13_07_10353.jpg', '/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_16_9359.jpg', '/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_36_10371.jpg
/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_46_9521.jpg
/home/pi/Desktop/images/20042025/04/12/image_20042025_04_12_56_10387.jpg
/home/pi/Desktop/images/20042025/04/12/image_20042025_04_13_07_10353.jpg
/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_16_9359.jpg
/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_26_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065043","1352065045","1352065039","1352065036","1352065041","1352065047"],"photo_ids_order":["1352065036","1352065039","1352065041","1352065043","1352065045","1352065047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/863d6b3e7088e486a2a3342214f8fdea.jpg","text":"TemporaryFile(/tmp/multipartBody6394906589836147840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128352971,"filename":"image_20042025_04_13_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25c3ee2c22a9f6f13318920186e45656.jpg","text":"TemporaryFile(/tmp/multipartBody4357900467286893122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128352971,"filename":"image_20042025_04_13_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/509775c5edb89af3b6ecb7993ae66ebd.jpg","text":"TemporaryFile(/tmp/multipartBody9135255987056937141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128352971,"filename":"image_20042025_04_12_46_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9cd71ec777990d177ba8280f6d0b27f.jpg","text":"TemporaryFile(/tmp/multipartBody8800974548482821652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128352971,"filename":"image_20042025_04_12_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18b29276aa7def733eaadeb00d5eebb6.jpg","text":"TemporaryFile(/tmp/multipartBody5817786843934953076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128352971,"filename":"image_20042025_04_12_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b29b91cf2795fbfe999c02078d2de174.jpg","text":"TemporaryFile(/tmp/multipartBody2827758812856813476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128352971,"filename":"image_20042025_04_13_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065041","file1":"1352065039","file0":"1352065036","file4":"1352065045","file5":"1352065047","file3":"1352065043"},"map_files_photo_id_array":[{"photo_id":"1352065047","filename":"file5"},{"photo_id":"1352065041","filename":"file2"},{"photo_id":"1352065045","filename":"file4"},{"photo_id":"1352065039","filename":"file1"},{"photo_id":"1352065036","filename":"file0"},{"photo_id":"1352065043","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065043":["hashtag1","hashtag2"]},{"1352065045":["hashtag1","hashtag2"]},{"1352065039":["hashtag1","hashtag2"]},{"1352065036":["hashtag1","hashtag2"]},{"1352065041":["hashtag1","hashtag2"]},{"1352065047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065043, 1352065045, 1352065039, 1352065036, 1352065041, 1352065047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.942917108535767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:52:32.389105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_37_10375.jpg', '/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_46_9442.jpg', '/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_57_10401.jpg', '/home/pi/Desktop/images/20042025/04/13/image_20042025_04_14_06_9500.jpg', '/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_16_10349.jpg', '/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_27_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_37_10375.jpg
/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_46_9442.jpg
/home/pi/Desktop/images/20042025/04/13/image_20042025_04_13_57_10401.jpg
/home/pi/Desktop/images/20042025/04/13/image_20042025_04_14_06_9500.jpg
/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_16_10349.jpg
/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_27_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065070","1352065064","1352065066","1352065068","1352065062","1352065059"],"photo_ids_order":["1352065059","1352065062","1352065064","1352065066","1352065068","1352065070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/922320da99a7fed3be62444e4446c43a.jpg","text":"TemporaryFile(/tmp/multipartBody1136381908121743511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128412934,"filename":"image_20042025_04_14_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5164f7a2195f3c042551f87b1e37f566.jpg","text":"TemporaryFile(/tmp/multipartBody8051635913482710671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128412934,"filename":"image_20042025_04_13_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4636f741bfae44f2b862fbe0b01823f2.jpg","text":"TemporaryFile(/tmp/multipartBody3643932675717904578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128412934,"filename":"image_20042025_04_14_06_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c086da1467a475331af8df2e69d45779.jpg","text":"TemporaryFile(/tmp/multipartBody3798528507690581729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128412934,"filename":"image_20042025_04_14_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f050665654d27b2383a4c540b90592ed.jpg","text":"TemporaryFile(/tmp/multipartBody8130516697234570550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128412934,"filename":"image_20042025_04_13_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9336ed33eff89a5c91a2637a3a63a51a.jpg","text":"TemporaryFile(/tmp/multipartBody1824944893091920388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128412934,"filename":"image_20042025_04_13_37_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065064","file1":"1352065062","file0":"1352065059","file4":"1352065068","file5":"1352065070","file3":"1352065066"},"map_files_photo_id_array":[{"photo_id":"1352065070","filename":"file5"},{"photo_id":"1352065064","filename":"file2"},{"photo_id":"1352065068","filename":"file4"},{"photo_id":"1352065062","filename":"file1"},{"photo_id":"1352065059","filename":"file0"},{"photo_id":"1352065066","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065070":["hashtag1","hashtag2"]},{"1352065064":["hashtag1","hashtag2"]},{"1352065066":["hashtag1","hashtag2"]},{"1352065068":["hashtag1","hashtag2"]},{"1352065062":["hashtag1","hashtag2"]},{"1352065059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065070, 1352065064, 1352065066, 1352065068, 1352065062, 1352065059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03720235824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:53:32.729282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_47_10386.jpg', '/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_56_9389.jpg', '/home/pi/Desktop/images/20042025/04/14/image_20042025_04_15_06_10348.jpg', '/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_26_9474.jpg', '/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_37_10357.jpg', '/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_46_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_47_10386.jpg
/home/pi/Desktop/images/20042025/04/14/image_20042025_04_14_56_9389.jpg
/home/pi/Desktop/images/20042025/04/14/image_20042025_04_15_06_10348.jpg
/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_26_9474.jpg
/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_37_10357.jpg
/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_46_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065079","1352065088","1352065082","1352065090","1352065084","1352065087"],"photo_ids_order":["1352065079","1352065082","1352065084","1352065087","1352065088","1352065090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60bcd5ca577292ebed55ebf4026e4d00.jpg","text":"TemporaryFile(/tmp/multipartBody945073171374806904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128473286,"filename":"image_20042025_04_14_47_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2513aa075035ca6d1f0db3012761abf.jpg","text":"TemporaryFile(/tmp/multipartBody6761420069498302260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128473286,"filename":"image_20042025_04_15_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b70b91f2c1c1680c57f00da1fa35709.jpg","text":"TemporaryFile(/tmp/multipartBody7038376544244887054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128473286,"filename":"image_20042025_04_14_56_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecb20e286101f5b62928ba08c4f8acda.jpg","text":"TemporaryFile(/tmp/multipartBody5003744854248575356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128473286,"filename":"image_20042025_04_15_46_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1533e8664c5f920604fb68d18c8fed17.jpg","text":"TemporaryFile(/tmp/multipartBody7017044468275402761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128473286,"filename":"image_20042025_04_15_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33a002105cecef8e1512076b01da0dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6449038941557589290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128473286,"filename":"image_20042025_04_15_26_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065084","file1":"1352065082","file0":"1352065079","file4":"1352065088","file5":"1352065090","file3":"1352065087"},"map_files_photo_id_array":[{"photo_id":"1352065090","filename":"file5"},{"photo_id":"1352065084","filename":"file2"},{"photo_id":"1352065088","filename":"file4"},{"photo_id":"1352065082","filename":"file1"},{"photo_id":"1352065079","filename":"file0"},{"photo_id":"1352065087","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065079":["hashtag1","hashtag2"]},{"1352065088":["hashtag1","hashtag2"]},{"1352065082":["hashtag1","hashtag2"]},{"1352065090":["hashtag1","hashtag2"]},{"1352065084":["hashtag1","hashtag2"]},{"1352065087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065079, 1352065088, 1352065082, 1352065090, 1352065084, 1352065087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.584903240203857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:54:32.787618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_56_10379.jpg', '/home/pi/Desktop/images/20042025/04/15/image_20042025_04_16_07_10390.jpg', '/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_16_9343.jpg', '/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_26_10379.jpg', '/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_36_9475.jpg', '/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/15/image_20042025_04_15_56_10379.jpg
/home/pi/Desktop/images/20042025/04/15/image_20042025_04_16_07_10390.jpg
/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_16_9343.jpg
/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_26_10379.jpg
/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_36_9475.jpg
/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_46_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065113","1352065107","1352065103","1352065109","1352065111","1352065105"],"photo_ids_order":["1352065103","1352065105","1352065107","1352065109","1352065111","1352065113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48ba929f060e87fe746bdc22f92f54cf.jpg","text":"TemporaryFile(/tmp/multipartBody1793601544935806425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128535022,"filename":"image_20042025_04_16_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fffb48809f92eee7b972f3d1c38b5915.jpg","text":"TemporaryFile(/tmp/multipartBody2898879109643793406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128535022,"filename":"image_20042025_04_16_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1151d6afbe107c288b60604afc4d5b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5714253887750195025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128535022,"filename":"image_20042025_04_15_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30fc54df59ab38c9b9b02dbef8975188.jpg","text":"TemporaryFile(/tmp/multipartBody6809978001760789375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128535022,"filename":"image_20042025_04_16_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdd8a9041ea3e5d3f29abb5b97d9cc03.jpg","text":"TemporaryFile(/tmp/multipartBody2219792949227956518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128535022,"filename":"image_20042025_04_16_36_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/934d0ff655f00e6726f43482c1946e83.jpg","text":"TemporaryFile(/tmp/multipartBody5503728613132942195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128535022,"filename":"image_20042025_04_16_07_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065107","file1":"1352065105","file0":"1352065103","file4":"1352065111","file5":"1352065113","file3":"1352065109"},"map_files_photo_id_array":[{"photo_id":"1352065113","filename":"file5"},{"photo_id":"1352065107","filename":"file2"},{"photo_id":"1352065111","filename":"file4"},{"photo_id":"1352065105","filename":"file1"},{"photo_id":"1352065103","filename":"file0"},{"photo_id":"1352065109","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065113":["hashtag1","hashtag2"]},{"1352065107":["hashtag1","hashtag2"]},{"1352065103":["hashtag1","hashtag2"]},{"1352065109":["hashtag1","hashtag2"]},{"1352065111":["hashtag1","hashtag2"]},{"1352065105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065113, 1352065107, 1352065103, 1352065109, 1352065111, 1352065105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.484506130218506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:55:32.981588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_57_10402.jpg', '/home/pi/Desktop/images/20042025/04/16/image_20042025_04_17_06_9447.jpg', '/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_17_10342.jpg', '/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_26_9479.jpg', '/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_36_10432.jpg', '/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_47_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/16/image_20042025_04_16_57_10402.jpg
/home/pi/Desktop/images/20042025/04/16/image_20042025_04_17_06_9447.jpg
/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_17_10342.jpg
/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_26_9479.jpg
/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_36_10432.jpg
/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_47_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065128","1352065130","1352065124","1352065127","1352065126","1352065129"],"photo_ids_order":["1352065124","1352065126","1352065127","1352065128","1352065129","1352065130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ce5b51344cd6b636bdda1b7c48516c0.jpg","text":"TemporaryFile(/tmp/multipartBody6986488124339803084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128593529,"filename":"image_20042025_04_17_26_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b15b3743afce5fc8d64febc5d4511a42.jpg","text":"TemporaryFile(/tmp/multipartBody4388681476314560838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128593529,"filename":"image_20042025_04_17_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10c78c56958c00f23661f06950e390f9.jpg","text":"TemporaryFile(/tmp/multipartBody3999900052969322512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128593529,"filename":"image_20042025_04_16_57_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c521b1d43685f384f6d118ee9b4ff19.jpg","text":"TemporaryFile(/tmp/multipartBody5417355925597876005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128593529,"filename":"image_20042025_04_17_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e692aea64fa82e776515aae66ad58d2.jpg","text":"TemporaryFile(/tmp/multipartBody7524955914915614392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128593529,"filename":"image_20042025_04_17_06_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5589e02ff063a6401af19819aa662ae2.jpg","text":"TemporaryFile(/tmp/multipartBody4857472026904678042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128593529,"filename":"image_20042025_04_17_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065127","file1":"1352065126","file0":"1352065124","file4":"1352065129","file5":"1352065130","file3":"1352065128"},"map_files_photo_id_array":[{"photo_id":"1352065130","filename":"file5"},{"photo_id":"1352065127","filename":"file2"},{"photo_id":"1352065129","filename":"file4"},{"photo_id":"1352065126","filename":"file1"},{"photo_id":"1352065124","filename":"file0"},{"photo_id":"1352065128","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065128":["hashtag1","hashtag2"]},{"1352065130":["hashtag1","hashtag2"]},{"1352065124":["hashtag1","hashtag2"]},{"1352065127":["hashtag1","hashtag2"]},{"1352065126":["hashtag1","hashtag2"]},{"1352065129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065128, 1352065130, 1352065124, 1352065127, 1352065126, 1352065129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99971103668213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:56:32.312499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_56_9377.jpg', '/home/pi/Desktop/images/20042025/04/17/image_20042025_04_18_07_10357.jpg', '/home/pi/Desktop/images/20042025/04/18/image_20042025_04_18_16_9408.jpg', '/home/pi/Desktop/images/20042025/04/18/image_20042025_04_18_46_9384.jpg', '/home/pi/Desktop/images/20042025/04/18/image_20042025_04_18_56_10381.jpg', '/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_27_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/17/image_20042025_04_17_56_9377.jpg
/home/pi/Desktop/images/20042025/04/17/image_20042025_04_18_07_10357.jpg
/home/pi/Desktop/images/20042025/04/18/image_20042025_04_18_16_9408.jpg
/home/pi/Desktop/images/20042025/04/18/image_20042025_04_18_46_9384.jpg
/home/pi/Desktop/images/20042025/04/18/image_20042025_04_18_56_10381.jpg
/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_27_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065358","1352065301","1352065396","1352065330","1352065398","1352065386"],"photo_ids_order":["1352065301","1352065330","1352065358","1352065386","1352065396","1352065398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d73482130b49f4b802d807ebb62a042.jpg","text":"TemporaryFile(/tmp/multipartBody5897119293282838134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128652872,"filename":"image_20042025_04_18_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74c46193e96d4634b21805dfe8eddd12.jpg","text":"TemporaryFile(/tmp/multipartBody3004899221869052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128652872,"filename":"image_20042025_04_17_56_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59e9a8bfc4c6b6755e687e40e345c633.jpg","text":"TemporaryFile(/tmp/multipartBody8890578321015877304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128652872,"filename":"image_20042025_04_18_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5c16ba5b2e8aa6f3f258485dfd30ffc.jpg","text":"TemporaryFile(/tmp/multipartBody1253424054632084188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128652872,"filename":"image_20042025_04_18_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ae236450539513e3dc84d49711fa44b.jpg","text":"TemporaryFile(/tmp/multipartBody2675269397309147376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128652872,"filename":"image_20042025_04_19_27_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25aabb9a506a898ef402aa6292d8228c.jpg","text":"TemporaryFile(/tmp/multipartBody894176383084635562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128652872,"filename":"image_20042025_04_18_46_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065358","file1":"1352065330","file0":"1352065301","file4":"1352065396","file5":"1352065398","file3":"1352065386"},"map_files_photo_id_array":[{"photo_id":"1352065398","filename":"file5"},{"photo_id":"1352065358","filename":"file2"},{"photo_id":"1352065396","filename":"file4"},{"photo_id":"1352065330","filename":"file1"},{"photo_id":"1352065301","filename":"file0"},{"photo_id":"1352065386","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065358":["hashtag1","hashtag2"]},{"1352065301":["hashtag1","hashtag2"]},{"1352065396":["hashtag1","hashtag2"]},{"1352065330":["hashtag1","hashtag2"]},{"1352065398":["hashtag1","hashtag2"]},{"1352065386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065358, 1352065301, 1352065396, 1352065330, 1352065398, 1352065386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.025084018707275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 07:57:32.682317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_36_9381.jpg', '/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_56_9379.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_26_9442.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_37_10431.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_46_9459.jpg', '/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_16_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_36_9381.jpg
/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_56_9379.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_26_9442.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_37_10431.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_46_9459.jpg
/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_16_9444.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4725663661956787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 07:57:42.718108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_36_9381.jpg', '/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_56_9379.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_26_9442.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_37_10431.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_46_9459.jpg', '/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_16_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_36_9381.jpg
/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_56_9379.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_26_9442.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_37_10431.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_46_9459.jpg
/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_16_9444.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 07:59:04.197436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_36_9381.jpg', '/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_56_9379.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_26_9442.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_37_10431.jpg', '/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_46_9459.jpg', '/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_16_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_36_9381.jpg
/home/pi/Desktop/images/20042025/04/19/image_20042025_04_19_56_9379.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_26_9442.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_37_10431.jpg
/home/pi/Desktop/images/20042025/04/20/image_20042025_04_20_46_9459.jpg
/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_16_9444.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065541","1352065544","1352065538","1352065526","1352065531","1352065536"],"photo_ids_order":["1352065526","1352065531","1352065536","1352065538","1352065541","1352065544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d1792581fe396611acd96979ac5b97f.jpg","text":"TemporaryFile(/tmp/multipartBody6104019025487066097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128804783,"filename":"image_20042025_04_20_46_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8f0843f03e243d0dec55c1838b737a9.jpg","text":"TemporaryFile(/tmp/multipartBody4981432136378268976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128804783,"filename":"image_20042025_04_21_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9e93b49314d081fd756ca2941544699.jpg","text":"TemporaryFile(/tmp/multipartBody7885908174909993460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128804783,"filename":"image_20042025_04_20_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a66832a5d376e9c820ab1779f577022.jpg","text":"TemporaryFile(/tmp/multipartBody136753741776005357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128804783,"filename":"image_20042025_04_19_36_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58c8a69eb2a1c3c405d5a77a7fac13ff.jpg","text":"TemporaryFile(/tmp/multipartBody3153677401337258049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128804783,"filename":"image_20042025_04_19_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d14445d5e8abb47d747e0e6c86d57cad.jpg","text":"TemporaryFile(/tmp/multipartBody5930381578682703737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128804783,"filename":"image_20042025_04_20_26_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065536","file1":"1352065531","file0":"1352065526","file4":"1352065541","file5":"1352065544","file3":"1352065538"},"map_files_photo_id_array":[{"photo_id":"1352065544","filename":"file5"},{"photo_id":"1352065536","filename":"file2"},{"photo_id":"1352065541","filename":"file4"},{"photo_id":"1352065531","filename":"file1"},{"photo_id":"1352065526","filename":"file0"},{"photo_id":"1352065538","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065541":["hashtag1","hashtag2"]},{"1352065544":["hashtag1","hashtag2"]},{"1352065538":["hashtag1","hashtag2"]},{"1352065526":["hashtag1","hashtag2"]},{"1352065531":["hashtag1","hashtag2"]},{"1352065536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065541, 1352065544, 1352065538, 1352065526, 1352065531, 1352065536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81314992904663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 07:59:43.124064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_36_9405.jpg', '/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_57_10360.jpg', '/home/pi/Desktop/images/20042025/04/21/image_20042025_04_22_06_9373.jpg', '/home/pi/Desktop/images/20042025/04/22/image_20042025_04_22_16_10322.jpg', '/home/pi/Desktop/images/20042025/04/22/image_20042025_04_22_27_10463.jpg', '/home/pi/Desktop/images/20042025/04/22/image_20042025_04_22_57_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_36_9405.jpg
/home/pi/Desktop/images/20042025/04/21/image_20042025_04_21_57_10360.jpg
/home/pi/Desktop/images/20042025/04/21/image_20042025_04_22_06_9373.jpg
/home/pi/Desktop/images/20042025/04/22/image_20042025_04_22_16_10322.jpg
/home/pi/Desktop/images/20042025/04/22/image_20042025_04_22_27_10463.jpg
/home/pi/Desktop/images/20042025/04/22/image_20042025_04_22_57_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065559","1352065552","1352065561","1352065555","1352065549","1352065546"],"photo_ids_order":["1352065546","1352065549","1352065552","1352065555","1352065559","1352065561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c042a78d22f301e46f09db03af49bde.jpg","text":"TemporaryFile(/tmp/multipartBody4926678629003052410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128843658,"filename":"image_20042025_04_22_27_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e3b8fe11b82588d6cb75d36738e0d25.jpg","text":"TemporaryFile(/tmp/multipartBody73404393775711510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128843658,"filename":"image_20042025_04_22_06_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56ebf6f6a435fcd1506f39af6fd4b935.jpg","text":"TemporaryFile(/tmp/multipartBody8566661336082490056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128843658,"filename":"image_20042025_04_22_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff62f4a31b023ed52c2a675a05caaa1b.jpg","text":"TemporaryFile(/tmp/multipartBody1125266020668814719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128843658,"filename":"image_20042025_04_22_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c1014ebac4ee070d48d346845e6eb88.jpg","text":"TemporaryFile(/tmp/multipartBody7255957392101826303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128843658,"filename":"image_20042025_04_21_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5af0acc5b89d21e88edca9171caa54e.jpg","text":"TemporaryFile(/tmp/multipartBody6853251834416893985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128843658,"filename":"image_20042025_04_21_36_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065552","file1":"1352065549","file0":"1352065546","file4":"1352065559","file5":"1352065561","file3":"1352065555"},"map_files_photo_id_array":[{"photo_id":"1352065561","filename":"file5"},{"photo_id":"1352065552","filename":"file2"},{"photo_id":"1352065559","filename":"file4"},{"photo_id":"1352065549","filename":"file1"},{"photo_id":"1352065546","filename":"file0"},{"photo_id":"1352065555","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065559":["hashtag1","hashtag2"]},{"1352065552":["hashtag1","hashtag2"]},{"1352065561":["hashtag1","hashtag2"]},{"1352065555":["hashtag1","hashtag2"]},{"1352065549":["hashtag1","hashtag2"]},{"1352065546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065559, 1352065552, 1352065561, 1352065555, 1352065549, 1352065546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.127974033355713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:00:32.252684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/22/image_20042025_04_23_06_9382.jpg', '/home/pi/Desktop/images/20042025/04/23/image_20042025_04_23_16_10363.jpg', '/home/pi/Desktop/images/20042025/04/23/image_20042025_04_23_27_10378.jpg', '/home/pi/Desktop/images/20042025/04/23/image_20042025_04_23_56_9418.jpg', '/home/pi/Desktop/images/20042025/04/23/image_20042025_04_24_06_10411.jpg', '/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_17_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/22/image_20042025_04_23_06_9382.jpg
/home/pi/Desktop/images/20042025/04/23/image_20042025_04_23_16_10363.jpg
/home/pi/Desktop/images/20042025/04/23/image_20042025_04_23_27_10378.jpg
/home/pi/Desktop/images/20042025/04/23/image_20042025_04_23_56_9418.jpg
/home/pi/Desktop/images/20042025/04/23/image_20042025_04_24_06_10411.jpg
/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_17_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065585","1352065579","1352065570","1352065582","1352065576","1352065575"],"photo_ids_order":["1352065570","1352065575","1352065576","1352065579","1352065582","1352065585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec96ec503240584cb1a8184a9f74dda2.jpg","text":"TemporaryFile(/tmp/multipartBody7390069176706272589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128892807,"filename":"image_20042025_04_24_17_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9849d4ff9e060a1a068de2032638eda6.jpg","text":"TemporaryFile(/tmp/multipartBody1948311961350944952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128892807,"filename":"image_20042025_04_23_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/effdda1fde4b8685bd90ade215bba2a5.jpg","text":"TemporaryFile(/tmp/multipartBody7049454012431118958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128892807,"filename":"image_20042025_04_23_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5f190968d82ca1a6d12e797e7121a39.jpg","text":"TemporaryFile(/tmp/multipartBody6516638700635464732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128892807,"filename":"image_20042025_04_24_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a87f0637938a4ab7c447ff6d8626b838.jpg","text":"TemporaryFile(/tmp/multipartBody2792094478193888089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128892807,"filename":"image_20042025_04_23_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60d2ed4f0a9abb2e6acaafda6815c425.jpg","text":"TemporaryFile(/tmp/multipartBody5099766913925304497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128892807,"filename":"image_20042025_04_23_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065576","file1":"1352065575","file0":"1352065570","file4":"1352065582","file5":"1352065585","file3":"1352065579"},"map_files_photo_id_array":[{"photo_id":"1352065585","filename":"file5"},{"photo_id":"1352065576","filename":"file2"},{"photo_id":"1352065582","filename":"file4"},{"photo_id":"1352065575","filename":"file1"},{"photo_id":"1352065570","filename":"file0"},{"photo_id":"1352065579","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065585":["hashtag1","hashtag2"]},{"1352065579":["hashtag1","hashtag2"]},{"1352065570":["hashtag1","hashtag2"]},{"1352065582":["hashtag1","hashtag2"]},{"1352065576":["hashtag1","hashtag2"]},{"1352065575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065585, 1352065579, 1352065570, 1352065582, 1352065576, 1352065575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.945133209228516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:01:32.440292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_26_9466.jpg', '/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_37_10367.jpg', '/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_46_9474.jpg', '/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_56_10377.jpg', '/home/pi/Desktop/images/20042025/04/24/image_20042025_04_25_07_10356.jpg', '/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_26_9466.jpg
/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_37_10367.jpg
/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_46_9474.jpg
/home/pi/Desktop/images/20042025/04/24/image_20042025_04_24_56_10377.jpg
/home/pi/Desktop/images/20042025/04/24/image_20042025_04_25_07_10356.jpg
/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_16_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065592","1352065610","1352065604","1352065607","1352065596","1352065599"],"photo_ids_order":["1352065592","1352065596","1352065599","1352065604","1352065607","1352065610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b2a8256a7fe10ad738eee1163f371a2.jpg","text":"TemporaryFile(/tmp/multipartBody4578415777975564161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128953003,"filename":"image_20042025_04_24_26_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2bf3ef7b2ccc738d8ee3ae99c6770522.jpg","text":"TemporaryFile(/tmp/multipartBody7570532111722344781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128953003,"filename":"image_20042025_04_25_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16ea7b7177fda83fbaab68a9c39ebe38.jpg","text":"TemporaryFile(/tmp/multipartBody7069806272325253272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128953003,"filename":"image_20042025_04_24_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b6f128e955c52b267812d54cd0c2a73.jpg","text":"TemporaryFile(/tmp/multipartBody2828317177125905343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128953003,"filename":"image_20042025_04_25_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84c9ed8b1e6d4d016785acb5939c77a2.jpg","text":"TemporaryFile(/tmp/multipartBody7165688997034368259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128953003,"filename":"image_20042025_04_24_37_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30eeaafbf10dbb392cafe801ece4816d.jpg","text":"TemporaryFile(/tmp/multipartBody1230579205422341602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745128953003,"filename":"image_20042025_04_24_46_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065599","file1":"1352065596","file0":"1352065592","file4":"1352065607","file5":"1352065610","file3":"1352065604"},"map_files_photo_id_array":[{"photo_id":"1352065610","filename":"file5"},{"photo_id":"1352065599","filename":"file2"},{"photo_id":"1352065607","filename":"file4"},{"photo_id":"1352065596","filename":"file1"},{"photo_id":"1352065592","filename":"file0"},{"photo_id":"1352065604","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065592":["hashtag1","hashtag2"]},{"1352065610":["hashtag1","hashtag2"]},{"1352065604":["hashtag1","hashtag2"]},{"1352065607":["hashtag1","hashtag2"]},{"1352065596":["hashtag1","hashtag2"]},{"1352065599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065592, 1352065610, 1352065604, 1352065607, 1352065596, 1352065599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18305230140686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:02:32.618100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_27_10378.jpg', '/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_36_9461.jpg', '/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_57_10368.jpg', '/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_17_10332.jpg', '/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_26_9423.jpg', '/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_27_10378.jpg
/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_36_9461.jpg
/home/pi/Desktop/images/20042025/04/25/image_20042025_04_25_57_10368.jpg
/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_17_10332.jpg
/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_26_9423.jpg
/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_36_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065622","1352065625","1352065619","1352065616","1352065632","1352065629"],"photo_ids_order":["1352065616","1352065619","1352065622","1352065625","1352065629","1352065632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/037047b86066ebf41cbe613e05756d18.jpg","text":"TemporaryFile(/tmp/multipartBody1578481103114165234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129013165,"filename":"image_20042025_04_25_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5de4923f39c25a8c690ba62484c5caab.jpg","text":"TemporaryFile(/tmp/multipartBody8364136477183538268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129013165,"filename":"image_20042025_04_26_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76c70917a6ae11d91181ac838a1b51f6.jpg","text":"TemporaryFile(/tmp/multipartBody1261316512659321376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129013165,"filename":"image_20042025_04_25_36_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5af610d00d5882bc506edfbdaffb8490.jpg","text":"TemporaryFile(/tmp/multipartBody7857835695403136411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129013165,"filename":"image_20042025_04_25_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dbf53beb16f90226d00c5219396bd52.jpg","text":"TemporaryFile(/tmp/multipartBody3717754443712850852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129013165,"filename":"image_20042025_04_26_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2cf163fc85f7e880d03821ce6804240.jpg","text":"TemporaryFile(/tmp/multipartBody6151021907655780002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129013165,"filename":"image_20042025_04_26_26_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065622","file1":"1352065619","file0":"1352065616","file4":"1352065629","file5":"1352065632","file3":"1352065625"},"map_files_photo_id_array":[{"photo_id":"1352065632","filename":"file5"},{"photo_id":"1352065622","filename":"file2"},{"photo_id":"1352065629","filename":"file4"},{"photo_id":"1352065619","filename":"file1"},{"photo_id":"1352065616","filename":"file0"},{"photo_id":"1352065625","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065622":["hashtag1","hashtag2"]},{"1352065625":["hashtag1","hashtag2"]},{"1352065619":["hashtag1","hashtag2"]},{"1352065616":["hashtag1","hashtag2"]},{"1352065632":["hashtag1","hashtag2"]},{"1352065629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065622, 1352065625, 1352065619, 1352065616, 1352065632, 1352065629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8683557510376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:03:32.850869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_47_10365.jpg', '/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_56_9442.jpg', '/home/pi/Desktop/images/20042025/04/26/image_20042025_04_27_06_10362.jpg', '/home/pi/Desktop/images/20042025/04/27/image_20042025_04_27_37_10364.jpg', '/home/pi/Desktop/images/20042025/04/27/image_20042025_04_27_46_9348.jpg', '/home/pi/Desktop/images/20042025/04/27/image_20042025_04_27_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_47_10365.jpg
/home/pi/Desktop/images/20042025/04/26/image_20042025_04_26_56_9442.jpg
/home/pi/Desktop/images/20042025/04/26/image_20042025_04_27_06_10362.jpg
/home/pi/Desktop/images/20042025/04/27/image_20042025_04_27_37_10364.jpg
/home/pi/Desktop/images/20042025/04/27/image_20042025_04_27_46_9348.jpg
/home/pi/Desktop/images/20042025/04/27/image_20042025_04_27_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065649","1352065652","1352065644","1352065638","1352065647","1352065641"],"photo_ids_order":["1352065638","1352065641","1352065644","1352065647","1352065649","1352065652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d394ca6831a7994b8843f54066f8bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1581035059284204676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129073396,"filename":"image_20042025_04_27_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b155234bf0ca793bedbaded7182ecee4.jpg","text":"TemporaryFile(/tmp/multipartBody519330316612423533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129073396,"filename":"image_20042025_04_27_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cab57da6fbfb48a689935131fbe5fe03.jpg","text":"TemporaryFile(/tmp/multipartBody8527720788414552221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129073396,"filename":"image_20042025_04_27_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c536756da7e16622a9f69f17122bc5fb.jpg","text":"TemporaryFile(/tmp/multipartBody3360513283218392839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129073396,"filename":"image_20042025_04_26_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ec49900ec945323c096203765de26ea.jpg","text":"TemporaryFile(/tmp/multipartBody7811020834397833981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129073396,"filename":"image_20042025_04_27_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f747bf6ba2d2cc3fcce7b9e14c84303.jpg","text":"TemporaryFile(/tmp/multipartBody5872721108862181045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129073396,"filename":"image_20042025_04_26_56_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065644","file1":"1352065641","file0":"1352065638","file4":"1352065649","file5":"1352065652","file3":"1352065647"},"map_files_photo_id_array":[{"photo_id":"1352065652","filename":"file5"},{"photo_id":"1352065644","filename":"file2"},{"photo_id":"1352065649","filename":"file4"},{"photo_id":"1352065641","filename":"file1"},{"photo_id":"1352065638","filename":"file0"},{"photo_id":"1352065647","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065649":["hashtag1","hashtag2"]},{"1352065652":["hashtag1","hashtag2"]},{"1352065644":["hashtag1","hashtag2"]},{"1352065638":["hashtag1","hashtag2"]},{"1352065647":["hashtag1","hashtag2"]},{"1352065641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065649, 1352065652, 1352065644, 1352065638, 1352065647, 1352065641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91211748123169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:04:33.103327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/27/image_20042025_04_28_07_10356.jpg', '/home/pi/Desktop/images/20042025/04/28/image_20042025_04_28_27_10385.jpg', '/home/pi/Desktop/images/20042025/04/28/image_20042025_04_28_36_9598.jpg', '/home/pi/Desktop/images/20042025/04/28/image_20042025_04_28_56_9380.jpg', '/home/pi/Desktop/images/20042025/04/28/image_20042025_04_29_06_10347.jpg', '/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_17_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/27/image_20042025_04_28_07_10356.jpg
/home/pi/Desktop/images/20042025/04/28/image_20042025_04_28_27_10385.jpg
/home/pi/Desktop/images/20042025/04/28/image_20042025_04_28_36_9598.jpg
/home/pi/Desktop/images/20042025/04/28/image_20042025_04_28_56_9380.jpg
/home/pi/Desktop/images/20042025/04/28/image_20042025_04_29_06_10347.jpg
/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_17_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065673","1352065667","1352065676","1352065661","1352065670","1352065664"],"photo_ids_order":["1352065661","1352065664","1352065667","1352065670","1352065673","1352065676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b131315d4f5225c589ee88c23bc80d9c.jpg","text":"TemporaryFile(/tmp/multipartBody3498647664517761846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129133644,"filename":"image_20042025_04_29_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2040a30a663a742e340bb8cc0a74a542.jpg","text":"TemporaryFile(/tmp/multipartBody8178786980962357726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129133644,"filename":"image_20042025_04_28_36_9598.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d2634ff7008e89d40e7a27a6619f0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8532383278012650982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129133644,"filename":"image_20042025_04_29_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebfb3527403b9085ffe5b4c52eab9784.jpg","text":"TemporaryFile(/tmp/multipartBody3500716839593241743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129133644,"filename":"image_20042025_04_28_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc791f9d13fb90c9293e81bad25d0402.jpg","text":"TemporaryFile(/tmp/multipartBody1212831174323754152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129133644,"filename":"image_20042025_04_28_56_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e887529f8b21ee2f87767ae1eb33115b.jpg","text":"TemporaryFile(/tmp/multipartBody2483514507016361392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129133644,"filename":"image_20042025_04_28_27_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065667","file1":"1352065664","file0":"1352065661","file4":"1352065673","file5":"1352065676","file3":"1352065670"},"map_files_photo_id_array":[{"photo_id":"1352065676","filename":"file5"},{"photo_id":"1352065667","filename":"file2"},{"photo_id":"1352065673","filename":"file4"},{"photo_id":"1352065664","filename":"file1"},{"photo_id":"1352065661","filename":"file0"},{"photo_id":"1352065670","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065673":["hashtag1","hashtag2"]},{"1352065667":["hashtag1","hashtag2"]},{"1352065676":["hashtag1","hashtag2"]},{"1352065661":["hashtag1","hashtag2"]},{"1352065670":["hashtag1","hashtag2"]},{"1352065664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065673, 1352065667, 1352065676, 1352065661, 1352065670, 1352065664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.204246282577515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:05:32.259032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_36_10344.jpg', '/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_46_9423.jpg', '/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_56_10380.jpg', '/home/pi/Desktop/images/20042025/04/29/image_20042025_04_30_07_10344.jpg', '/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_16_9411.jpg', '/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_26_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_36_10344.jpg
/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_46_9423.jpg
/home/pi/Desktop/images/20042025/04/29/image_20042025_04_29_56_10380.jpg
/home/pi/Desktop/images/20042025/04/29/image_20042025_04_30_07_10344.jpg
/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_16_9411.jpg
/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_26_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065694","1352065688","1352065690","1352065684","1352065692","1352065686"],"photo_ids_order":["1352065684","1352065686","1352065688","1352065690","1352065692","1352065694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c33addf83ee09d399d65a914c771724e.jpg","text":"TemporaryFile(/tmp/multipartBody3481293385094710861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129192804,"filename":"image_20042025_04_30_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8feb11e29f56045c0c38c4b281d8392.jpg","text":"TemporaryFile(/tmp/multipartBody9060546593382105694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129192804,"filename":"image_20042025_04_29_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c324aa5b7d1b8665d7325497b7a7da2.jpg","text":"TemporaryFile(/tmp/multipartBody1821842281780994942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129192804,"filename":"image_20042025_04_30_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/711ad66b882ef6624863585834cb66ca.jpg","text":"TemporaryFile(/tmp/multipartBody7313057377080158833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129192804,"filename":"image_20042025_04_29_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c33306510b0de36f7729e0acd7ab69f5.jpg","text":"TemporaryFile(/tmp/multipartBody634701960852831041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129192804,"filename":"image_20042025_04_30_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2e0ab4049711a6f8f27a85e97b53307.jpg","text":"TemporaryFile(/tmp/multipartBody7958250120542663307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129192804,"filename":"image_20042025_04_29_46_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065688","file1":"1352065686","file0":"1352065684","file4":"1352065692","file5":"1352065694","file3":"1352065690"},"map_files_photo_id_array":[{"photo_id":"1352065694","filename":"file5"},{"photo_id":"1352065688","filename":"file2"},{"photo_id":"1352065692","filename":"file4"},{"photo_id":"1352065686","filename":"file1"},{"photo_id":"1352065684","filename":"file0"},{"photo_id":"1352065690","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065694":["hashtag1","hashtag2"]},{"1352065688":["hashtag1","hashtag2"]},{"1352065690":["hashtag1","hashtag2"]},{"1352065684":["hashtag1","hashtag2"]},{"1352065692":["hashtag1","hashtag2"]},{"1352065686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065694, 1352065688, 1352065690, 1352065684, 1352065692, 1352065686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57968235015869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:06:32.503208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_37_10361.jpg', '/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_46_9374.jpg', '/home/pi/Desktop/images/20042025/04/30/image_20042025_04_31_06_9389.jpg', '/home/pi/Desktop/images/20042025/04/31/image_20042025_04_31_16_10372.jpg', '/home/pi/Desktop/images/20042025/04/31/image_20042025_04_31_36_9342.jpg', '/home/pi/Desktop/images/20042025/04/31/image_20042025_04_31_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_37_10361.jpg
/home/pi/Desktop/images/20042025/04/30/image_20042025_04_30_46_9374.jpg
/home/pi/Desktop/images/20042025/04/30/image_20042025_04_31_06_9389.jpg
/home/pi/Desktop/images/20042025/04/31/image_20042025_04_31_16_10372.jpg
/home/pi/Desktop/images/20042025/04/31/image_20042025_04_31_36_9342.jpg
/home/pi/Desktop/images/20042025/04/31/image_20042025_04_31_46_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065699","1352065714","1352065708","1352065702","1352065711","1352065705"],"photo_ids_order":["1352065699","1352065702","1352065705","1352065708","1352065711","1352065714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c1813499d9c716e0b89a739c19563ef.jpg","text":"TemporaryFile(/tmp/multipartBody4256309984914438631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129253067,"filename":"image_20042025_04_30_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09353ad84fbeb39c0ed08005983c6d80.jpg","text":"TemporaryFile(/tmp/multipartBody5566763392227816197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129253067,"filename":"image_20042025_04_31_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fab8c0e5b4cc44d9a6afc4aeb64ea8b1.jpg","text":"TemporaryFile(/tmp/multipartBody4723832210911947479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129253067,"filename":"image_20042025_04_31_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/775c463fa3794339e62bf1f65fe8aa98.jpg","text":"TemporaryFile(/tmp/multipartBody5722612231626693413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129253067,"filename":"image_20042025_04_30_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afff84159e9370df5bf9bf290a92626c.jpg","text":"TemporaryFile(/tmp/multipartBody3320773659055034946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129253067,"filename":"image_20042025_04_31_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/455f00cdc48273944da1414db0a8ed53.jpg","text":"TemporaryFile(/tmp/multipartBody6260568764449631862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129253067,"filename":"image_20042025_04_31_06_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065705","file1":"1352065702","file0":"1352065699","file4":"1352065711","file5":"1352065714","file3":"1352065708"},"map_files_photo_id_array":[{"photo_id":"1352065714","filename":"file5"},{"photo_id":"1352065705","filename":"file2"},{"photo_id":"1352065711","filename":"file4"},{"photo_id":"1352065702","filename":"file1"},{"photo_id":"1352065699","filename":"file0"},{"photo_id":"1352065708","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065699":["hashtag1","hashtag2"]},{"1352065714":["hashtag1","hashtag2"]},{"1352065708":["hashtag1","hashtag2"]},{"1352065702":["hashtag1","hashtag2"]},{"1352065711":["hashtag1","hashtag2"]},{"1352065705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065699, 1352065714, 1352065708, 1352065702, 1352065711, 1352065705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.455514192581177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:07:32.706521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/31/image_20042025_04_32_06_9376.jpg', '/home/pi/Desktop/images/20042025/04/32/image_20042025_04_32_17_10348.jpg', '/home/pi/Desktop/images/20042025/04/32/image_20042025_04_32_47_10365.jpg', '/home/pi/Desktop/images/20042025/04/32/image_20042025_04_32_56_9456.jpg', '/home/pi/Desktop/images/20042025/04/32/image_20042025_04_33_07_10373.jpg', '/home/pi/Desktop/images/20042025/04/33/image_20042025_04_33_16_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/31/image_20042025_04_32_06_9376.jpg
/home/pi/Desktop/images/20042025/04/32/image_20042025_04_32_17_10348.jpg
/home/pi/Desktop/images/20042025/04/32/image_20042025_04_32_47_10365.jpg
/home/pi/Desktop/images/20042025/04/32/image_20042025_04_32_56_9456.jpg
/home/pi/Desktop/images/20042025/04/32/image_20042025_04_33_07_10373.jpg
/home/pi/Desktop/images/20042025/04/33/image_20042025_04_33_16_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065736","1352065739","1352065724","1352065738","1352065731","1352065734"],"photo_ids_order":["1352065724","1352065731","1352065734","1352065736","1352065738","1352065739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84beb1c6b3935263367fb6bf28cbfae4.jpg","text":"TemporaryFile(/tmp/multipartBody1404624132731270330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129313248,"filename":"image_20042025_04_32_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d958d153bda054186a3c00e7f257f9c7.jpg","text":"TemporaryFile(/tmp/multipartBody2028768095766200017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129313248,"filename":"image_20042025_04_33_16_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43cae044dbc0e834f319ebe83740b0b3.jpg","text":"TemporaryFile(/tmp/multipartBody2797468854211060861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129313248,"filename":"image_20042025_04_32_06_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65c528dd7d0aa03098f3c61ed2db255b.jpg","text":"TemporaryFile(/tmp/multipartBody3873737414830336680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129313248,"filename":"image_20042025_04_33_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8390f291e3df4c731a0247856826bae0.jpg","text":"TemporaryFile(/tmp/multipartBody5476097596633907706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129313248,"filename":"image_20042025_04_32_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cd619536a1e7ebf25a4dc550d018ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8738385469266577275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129313248,"filename":"image_20042025_04_32_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065734","file1":"1352065731","file0":"1352065724","file4":"1352065738","file5":"1352065739","file3":"1352065736"},"map_files_photo_id_array":[{"photo_id":"1352065739","filename":"file5"},{"photo_id":"1352065734","filename":"file2"},{"photo_id":"1352065738","filename":"file4"},{"photo_id":"1352065731","filename":"file1"},{"photo_id":"1352065724","filename":"file0"},{"photo_id":"1352065736","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065736":["hashtag1","hashtag2"]},{"1352065739":["hashtag1","hashtag2"]},{"1352065724":["hashtag1","hashtag2"]},{"1352065738":["hashtag1","hashtag2"]},{"1352065731":["hashtag1","hashtag2"]},{"1352065734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065736, 1352065739, 1352065724, 1352065738, 1352065731, 1352065734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25655698776245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:08:33.022953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/33/image_20042025_04_33_56_10379.jpg', '/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_16_10404.jpg', '/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_27_10375.jpg', '/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_36_9382.jpg', '/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_46_10368.jpg', '/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_57_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/33/image_20042025_04_33_56_10379.jpg
/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_16_10404.jpg
/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_27_10375.jpg
/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_36_9382.jpg
/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_46_10368.jpg
/home/pi/Desktop/images/20042025/04/34/image_20042025_04_34_57_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065760","1352065754","1352065757","1352065751","1352065746","1352065749"],"photo_ids_order":["1352065746","1352065749","1352065751","1352065754","1352065757","1352065760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df813132252ba0863661c7e00ef8e6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6702263313889868171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129373571,"filename":"image_20042025_04_34_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ad673890458497e0891258513b1a503.jpg","text":"TemporaryFile(/tmp/multipartBody1756724520936532781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129373571,"filename":"image_20042025_04_34_36_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03c6567121ab93753b91fea5cb27ca27.jpg","text":"TemporaryFile(/tmp/multipartBody5860305184135209443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129373571,"filename":"image_20042025_04_34_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79b520d1497146152789a86737396538.jpg","text":"TemporaryFile(/tmp/multipartBody2889690393091481288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129373571,"filename":"image_20042025_04_34_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ef1ad168bef43a5264995e28056c03b.jpg","text":"TemporaryFile(/tmp/multipartBody283561723858584998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129373571,"filename":"image_20042025_04_33_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7555564468018c256dc33932a882444f.jpg","text":"TemporaryFile(/tmp/multipartBody7245910011584827103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129373571,"filename":"image_20042025_04_34_16_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065751","file1":"1352065749","file0":"1352065746","file4":"1352065757","file5":"1352065760","file3":"1352065754"},"map_files_photo_id_array":[{"photo_id":"1352065760","filename":"file5"},{"photo_id":"1352065751","filename":"file2"},{"photo_id":"1352065757","filename":"file4"},{"photo_id":"1352065749","filename":"file1"},{"photo_id":"1352065746","filename":"file0"},{"photo_id":"1352065754","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065760":["hashtag1","hashtag2"]},{"1352065754":["hashtag1","hashtag2"]},{"1352065757":["hashtag1","hashtag2"]},{"1352065751":["hashtag1","hashtag2"]},{"1352065746":["hashtag1","hashtag2"]},{"1352065749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065760, 1352065754, 1352065757, 1352065751, 1352065746, 1352065749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49753546714783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:09:32.365964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_17_10376.jpg', '/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_26_9683.jpg', '/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_37_10362.jpg', '/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_46_9498.jpg', '/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_56_10380.jpg', '/home/pi/Desktop/images/20042025/04/35/image_20042025_04_36_06_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_17_10376.jpg
/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_26_9683.jpg
/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_37_10362.jpg
/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_46_9498.jpg
/home/pi/Desktop/images/20042025/04/35/image_20042025_04_35_56_10380.jpg
/home/pi/Desktop/images/20042025/04/35/image_20042025_04_36_06_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065784","1352065781","1352065777","1352065771","1352065774","1352065779"],"photo_ids_order":["1352065771","1352065774","1352065777","1352065779","1352065781","1352065784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c29494e7ad8aae75a6707e77473a958.jpg","text":"TemporaryFile(/tmp/multipartBody6342393397066586049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129432912,"filename":"image_20042025_04_36_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4b2ebeb7d13255cf180329d41f65ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5764008075356153953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129432912,"filename":"image_20042025_04_35_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19cfb880b61c040d7b072c62d3e6b7cc.jpg","text":"TemporaryFile(/tmp/multipartBody2539039340801342008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129432912,"filename":"image_20042025_04_35_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c63727f60dfa8c5a605066789402f52.jpg","text":"TemporaryFile(/tmp/multipartBody6875680317774756466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129432912,"filename":"image_20042025_04_35_17_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc3d3aa7991043aa8e3a465435185887.jpg","text":"TemporaryFile(/tmp/multipartBody5512880858138506398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129432912,"filename":"image_20042025_04_35_26_9683.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e2a2abc20ee751f1b92104566e7894d.jpg","text":"TemporaryFile(/tmp/multipartBody860151117830600193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129432912,"filename":"image_20042025_04_35_46_9498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065777","file1":"1352065774","file0":"1352065771","file4":"1352065781","file5":"1352065784","file3":"1352065779"},"map_files_photo_id_array":[{"photo_id":"1352065784","filename":"file5"},{"photo_id":"1352065777","filename":"file2"},{"photo_id":"1352065781","filename":"file4"},{"photo_id":"1352065774","filename":"file1"},{"photo_id":"1352065771","filename":"file0"},{"photo_id":"1352065779","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065784":["hashtag1","hashtag2"]},{"1352065781":["hashtag1","hashtag2"]},{"1352065777":["hashtag1","hashtag2"]},{"1352065771":["hashtag1","hashtag2"]},{"1352065774":["hashtag1","hashtag2"]},{"1352065779":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065784, 1352065781, 1352065777, 1352065771, 1352065774, 1352065779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.87001395225525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:10:32.565056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_16_10437.jpg', '/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_27_10397.jpg', '/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_36_9404.jpg', '/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_47_10370.jpg', '/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_56_9421.jpg', '/home/pi/Desktop/images/20042025/04/36/image_20042025_04_37_06_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_16_10437.jpg
/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_27_10397.jpg
/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_36_9404.jpg
/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_47_10370.jpg
/home/pi/Desktop/images/20042025/04/36/image_20042025_04_36_56_9421.jpg
/home/pi/Desktop/images/20042025/04/36/image_20042025_04_37_06_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065799","1352065795","1352065792","1352065801","1352065804","1352065797"],"photo_ids_order":["1352065792","1352065795","1352065797","1352065799","1352065801","1352065804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1197bcdf1dd2bdf0c75a8d28b294b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody2740761051660201265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129493110,"filename":"image_20042025_04_36_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06e034db719b36298e48cdd9698afbf8.jpg","text":"TemporaryFile(/tmp/multipartBody4490526205508694635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129493110,"filename":"image_20042025_04_36_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9dd6e38e66da0c409041607a1582f024.jpg","text":"TemporaryFile(/tmp/multipartBody888478991952409261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129493110,"filename":"image_20042025_04_36_16_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6204acc80710fdafc1def15ba87381f.jpg","text":"TemporaryFile(/tmp/multipartBody7397009755861420325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129493110,"filename":"image_20042025_04_36_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e5f2720b982000b3820a0a059d55e61.jpg","text":"TemporaryFile(/tmp/multipartBody3651131418134591394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129493110,"filename":"image_20042025_04_37_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9d4d5b04d60bac91413ddf8df5c3f12.jpg","text":"TemporaryFile(/tmp/multipartBody1076068242478307160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129493110,"filename":"image_20042025_04_36_36_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065797","file1":"1352065795","file0":"1352065792","file4":"1352065801","file5":"1352065804","file3":"1352065799"},"map_files_photo_id_array":[{"photo_id":"1352065804","filename":"file5"},{"photo_id":"1352065797","filename":"file2"},{"photo_id":"1352065801","filename":"file4"},{"photo_id":"1352065795","filename":"file1"},{"photo_id":"1352065792","filename":"file0"},{"photo_id":"1352065799","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065799":["hashtag1","hashtag2"]},{"1352065795":["hashtag1","hashtag2"]},{"1352065792":["hashtag1","hashtag2"]},{"1352065801":["hashtag1","hashtag2"]},{"1352065804":["hashtag1","hashtag2"]},{"1352065797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065799, 1352065795, 1352065792, 1352065801, 1352065804, 1352065797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.940223455429077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:11:32.919476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_17_10335.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_26_9442.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_36_10362.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_47_10355.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_56_9359.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_38_07_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_17_10335.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_26_9442.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_36_10362.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_47_10355.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_56_9359.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_38_07_10457.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.471848726272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 08:11:42.941315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_17_10335.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_26_9442.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_36_10362.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_47_10355.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_56_9359.jpg', '/home/pi/Desktop/images/20042025/04/37/image_20042025_04_38_07_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_17_10335.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_26_9442.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_36_10362.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_47_10355.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_37_56_9359.jpg
/home/pi/Desktop/images/20042025/04/37/image_20042025_04_38_07_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065835","1352065840","1352065837","1352065839","1352065830","1352065833"],"photo_ids_order":["1352065830","1352065833","1352065835","1352065837","1352065839","1352065840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e04c70961d3ea29080ec74ca15a51bd.jpg","text":"TemporaryFile(/tmp/multipartBody6320105735059067928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129563411,"filename":"image_20042025_04_37_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67d41426fa9ab2cb0f4f4b362b349179.jpg","text":"TemporaryFile(/tmp/multipartBody8227482950505015046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129563411,"filename":"image_20042025_04_38_07_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24f9f974af62ea980dadde342bb1e9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8230483562280830312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129563411,"filename":"image_20042025_04_37_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37b1fbce36a036e23555a81812079c54.jpg","text":"TemporaryFile(/tmp/multipartBody8511792052167192130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129563411,"filename":"image_20042025_04_37_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a56576f54c62c8e3427dcccc02c1452f.jpg","text":"TemporaryFile(/tmp/multipartBody3065189759410146832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129563411,"filename":"image_20042025_04_37_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b9ce26fc4e1ad95ac7fa22096332a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6082406301054539658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129563411,"filename":"image_20042025_04_37_26_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065835","file1":"1352065833","file0":"1352065830","file4":"1352065839","file5":"1352065840","file3":"1352065837"},"map_files_photo_id_array":[{"photo_id":"1352065840","filename":"file5"},{"photo_id":"1352065835","filename":"file2"},{"photo_id":"1352065839","filename":"file4"},{"photo_id":"1352065833","filename":"file1"},{"photo_id":"1352065830","filename":"file0"},{"photo_id":"1352065837","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065835":["hashtag1","hashtag2"]},{"1352065840":["hashtag1","hashtag2"]},{"1352065837":["hashtag1","hashtag2"]},{"1352065839":["hashtag1","hashtag2"]},{"1352065830":["hashtag1","hashtag2"]},{"1352065833":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065835, 1352065840, 1352065837, 1352065839, 1352065830, 1352065833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.83431887626648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:12:33.039403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_16_9422.jpg', '/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_26_10367.jpg', '/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_37_10350.jpg', '/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_46_9441.jpg', '/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_57_10370.jpg', '/home/pi/Desktop/images/20042025/04/38/image_20042025_04_39_06_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_16_9422.jpg
/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_26_10367.jpg
/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_37_10350.jpg
/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_46_9441.jpg
/home/pi/Desktop/images/20042025/04/38/image_20042025_04_38_57_10370.jpg
/home/pi/Desktop/images/20042025/04/38/image_20042025_04_39_06_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065859","1352065853","1352065861","1352065855","1352065857","1352065851"],"photo_ids_order":["1352065851","1352065853","1352065855","1352065857","1352065859","1352065861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c26a11a0243a79ca3ca4845d6a90dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6461753257592670394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129613589,"filename":"image_20042025_04_38_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b14d869c49e75f278502a95cfb645f28.jpg","text":"TemporaryFile(/tmp/multipartBody1037215847510503387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129613589,"filename":"image_20042025_04_38_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/761783fcf46bf5ed6ebb16a1d7c8c155.jpg","text":"TemporaryFile(/tmp/multipartBody1483447325170384533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129613589,"filename":"image_20042025_04_39_06_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31f17faa7c80c581f58eed677e1964be.jpg","text":"TemporaryFile(/tmp/multipartBody3731355631843072787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129613589,"filename":"image_20042025_04_38_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f304072ba21138033b6bb56052bd081.jpg","text":"TemporaryFile(/tmp/multipartBody5054116838127025957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129613589,"filename":"image_20042025_04_38_46_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a09ebc85bb5377b079ff691b5cf1775b.jpg","text":"TemporaryFile(/tmp/multipartBody7147324473667364020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129613589,"filename":"image_20042025_04_38_16_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065855","file1":"1352065853","file0":"1352065851","file4":"1352065859","file5":"1352065861","file3":"1352065857"},"map_files_photo_id_array":[{"photo_id":"1352065861","filename":"file5"},{"photo_id":"1352065855","filename":"file2"},{"photo_id":"1352065859","filename":"file4"},{"photo_id":"1352065853","filename":"file1"},{"photo_id":"1352065851","filename":"file0"},{"photo_id":"1352065857","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065859":["hashtag1","hashtag2"]},{"1352065853":["hashtag1","hashtag2"]},{"1352065861":["hashtag1","hashtag2"]},{"1352065855":["hashtag1","hashtag2"]},{"1352065857":["hashtag1","hashtag2"]},{"1352065851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065859, 1352065853, 1352065861, 1352065855, 1352065857, 1352065851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.397038221359253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:13:32.371734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_16_10345.jpg', '/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_27_10402.jpg', '/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_36_9440.jpg', '/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_47_10362.jpg', '/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_56_9455.jpg', '/home/pi/Desktop/images/20042025/04/39/image_20042025_04_40_06_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_16_10345.jpg
/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_27_10402.jpg
/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_36_9440.jpg
/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_47_10362.jpg
/home/pi/Desktop/images/20042025/04/39/image_20042025_04_39_56_9455.jpg
/home/pi/Desktop/images/20042025/04/39/image_20042025_04_40_06_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065883","1352065888","1352065882","1352065876","1352065885","1352065872"],"photo_ids_order":["1352065872","1352065876","1352065882","1352065883","1352065885","1352065888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08d1adb99ee3f81283e521f8679740d6.jpg","text":"TemporaryFile(/tmp/multipartBody843338693253625895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129672916,"filename":"image_20042025_04_39_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/035461ebe68d378685462672fd5247ee.jpg","text":"TemporaryFile(/tmp/multipartBody5492488408672309930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129672916,"filename":"image_20042025_04_40_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/304999d6b897bedf7aaf6b8d8c8087cf.jpg","text":"TemporaryFile(/tmp/multipartBody939732830118700272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129672916,"filename":"image_20042025_04_39_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b17a509cb75f46b5a4a8049ce466b09b.jpg","text":"TemporaryFile(/tmp/multipartBody6225359483669492407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129672916,"filename":"image_20042025_04_39_27_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20ea00c58cb4e4c3dd449dbf850a3296.jpg","text":"TemporaryFile(/tmp/multipartBody5639363423520680379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129672916,"filename":"image_20042025_04_39_56_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/017585c5a93acb0d946eede588db19c9.jpg","text":"TemporaryFile(/tmp/multipartBody1716600783775735115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129672916,"filename":"image_20042025_04_39_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065882","file1":"1352065876","file0":"1352065872","file4":"1352065885","file5":"1352065888","file3":"1352065883"},"map_files_photo_id_array":[{"photo_id":"1352065888","filename":"file5"},{"photo_id":"1352065882","filename":"file2"},{"photo_id":"1352065885","filename":"file4"},{"photo_id":"1352065876","filename":"file1"},{"photo_id":"1352065872","filename":"file0"},{"photo_id":"1352065883","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065883":["hashtag1","hashtag2"]},{"1352065888":["hashtag1","hashtag2"]},{"1352065882":["hashtag1","hashtag2"]},{"1352065876":["hashtag1","hashtag2"]},{"1352065885":["hashtag1","hashtag2"]},{"1352065872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065883, 1352065888, 1352065882, 1352065876, 1352065885, 1352065872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.08325171470642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:14:32.552791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_17_10342.jpg', '/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_26_9448.jpg', '/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_37_10362.jpg', '/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_46_9470.jpg', '/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_56_10373.jpg', '/home/pi/Desktop/images/20042025/04/40/image_20042025_04_41_07_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_17_10342.jpg
/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_26_9448.jpg
/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_37_10362.jpg
/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_46_9470.jpg
/home/pi/Desktop/images/20042025/04/40/image_20042025_04_40_56_10373.jpg
/home/pi/Desktop/images/20042025/04/40/image_20042025_04_41_07_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065898","1352065907","1352065909","1352065900","1352065903","1352065905"],"photo_ids_order":["1352065898","1352065900","1352065903","1352065905","1352065907","1352065909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a068622936b1bcf08a29f0ec37eb6e36.jpg","text":"TemporaryFile(/tmp/multipartBody9053073284534303949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129733113,"filename":"image_20042025_04_40_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65555878aa1cf72b60a4dc567472dd97.jpg","text":"TemporaryFile(/tmp/multipartBody3424225247768899240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129733113,"filename":"image_20042025_04_40_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acbf46d79306db163e2d734e7659e18b.jpg","text":"TemporaryFile(/tmp/multipartBody279861046012966067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129733113,"filename":"image_20042025_04_41_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e86236a55d3536ffac617296d9002aa.jpg","text":"TemporaryFile(/tmp/multipartBody7811207056876468236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129733113,"filename":"image_20042025_04_40_26_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/321d7247bc3d29f0869727b0b622fe23.jpg","text":"TemporaryFile(/tmp/multipartBody6813100646069880412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129733113,"filename":"image_20042025_04_40_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85a5405090b2c64c3d06229252e99d02.jpg","text":"TemporaryFile(/tmp/multipartBody2182307064879341276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129733113,"filename":"image_20042025_04_40_46_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065903","file1":"1352065900","file0":"1352065898","file4":"1352065907","file5":"1352065909","file3":"1352065905"},"map_files_photo_id_array":[{"photo_id":"1352065909","filename":"file5"},{"photo_id":"1352065903","filename":"file2"},{"photo_id":"1352065907","filename":"file4"},{"photo_id":"1352065900","filename":"file1"},{"photo_id":"1352065898","filename":"file0"},{"photo_id":"1352065905","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065898":["hashtag1","hashtag2"]},{"1352065907":["hashtag1","hashtag2"]},{"1352065909":["hashtag1","hashtag2"]},{"1352065900":["hashtag1","hashtag2"]},{"1352065903":["hashtag1","hashtag2"]},{"1352065905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065898, 1352065907, 1352065909, 1352065900, 1352065903, 1352065905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.707979679107666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:15:32.673454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_16_9421.jpg', '/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_36_9394.jpg', '/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_46_10376.jpg', '/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_57_10354.jpg', '/home/pi/Desktop/images/20042025/04/41/image_20042025_04_42_06_9439.jpg', '/home/pi/Desktop/images/20042025/04/42/image_20042025_04_42_17_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_16_9421.jpg
/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_36_9394.jpg
/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_46_10376.jpg
/home/pi/Desktop/images/20042025/04/41/image_20042025_04_41_57_10354.jpg
/home/pi/Desktop/images/20042025/04/41/image_20042025_04_42_06_9439.jpg
/home/pi/Desktop/images/20042025/04/42/image_20042025_04_42_17_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065925","1352065930","1352065927","1352065921","1352065929","1352065923"],"photo_ids_order":["1352065921","1352065923","1352065925","1352065927","1352065929","1352065930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52e41d4b3780dca4cb39457564fac8a8.jpg","text":"TemporaryFile(/tmp/multipartBody1053367795466011951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129793201,"filename":"image_20042025_04_41_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14e5df4647bc5f948baec058b30c7c82.jpg","text":"TemporaryFile(/tmp/multipartBody5501259601021024110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129793201,"filename":"image_20042025_04_42_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74aca23ff7dfce22f0844545a3992195.jpg","text":"TemporaryFile(/tmp/multipartBody9100958327659270838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129793201,"filename":"image_20042025_04_41_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f1c218c877df1d8382dc644ee48c038.jpg","text":"TemporaryFile(/tmp/multipartBody7146345875114222329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129793201,"filename":"image_20042025_04_41_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21190b66b93f629c7aaf2084b1852886.jpg","text":"TemporaryFile(/tmp/multipartBody560314325231420277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129793201,"filename":"image_20042025_04_42_06_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9901fea7a643309f3e12e71e3c2b058d.jpg","text":"TemporaryFile(/tmp/multipartBody2609451439918586836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129793201,"filename":"image_20042025_04_41_36_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065925","file1":"1352065923","file0":"1352065921","file4":"1352065929","file5":"1352065930","file3":"1352065927"},"map_files_photo_id_array":[{"photo_id":"1352065930","filename":"file5"},{"photo_id":"1352065925","filename":"file2"},{"photo_id":"1352065929","filename":"file4"},{"photo_id":"1352065923","filename":"file1"},{"photo_id":"1352065921","filename":"file0"},{"photo_id":"1352065927","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065925":["hashtag1","hashtag2"]},{"1352065930":["hashtag1","hashtag2"]},{"1352065927":["hashtag1","hashtag2"]},{"1352065921":["hashtag1","hashtag2"]},{"1352065929":["hashtag1","hashtag2"]},{"1352065923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065925, 1352065930, 1352065927, 1352065921, 1352065929, 1352065923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46037793159485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:16:33.114892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/42/image_20042025_04_42_26_9419.jpg', '/home/pi/Desktop/images/20042025/04/42/image_20042025_04_42_47_10372.jpg', '/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_17_10358.jpg', '/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_26_9374.jpg', '/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_37_10438.jpg', '/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_46_9504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/42/image_20042025_04_42_26_9419.jpg
/home/pi/Desktop/images/20042025/04/42/image_20042025_04_42_47_10372.jpg
/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_17_10358.jpg
/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_26_9374.jpg
/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_37_10438.jpg
/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_46_9504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065952","1352065942","1352065945","1352065954","1352065953","1352065950"],"photo_ids_order":["1352065942","1352065945","1352065950","1352065952","1352065953","1352065954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/483aed03303b33f7b59b1be4ae2c24eb.jpg","text":"TemporaryFile(/tmp/multipartBody9196364584268083995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129853653,"filename":"image_20042025_04_43_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d01e500568173699d501f14e157604f2.jpg","text":"TemporaryFile(/tmp/multipartBody9010294296294446353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129853653,"filename":"image_20042025_04_42_26_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c2bdf4bdb79b6c113df11d8caca4478.jpg","text":"TemporaryFile(/tmp/multipartBody8054647111688991852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129853653,"filename":"image_20042025_04_42_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4803a9906bef5c05014f6938bc0d6bf1.jpg","text":"TemporaryFile(/tmp/multipartBody387525818275765521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129853653,"filename":"image_20042025_04_43_46_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/411e546638fe15fffdcb382d3affe789.jpg","text":"TemporaryFile(/tmp/multipartBody2406976159299752214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129853653,"filename":"image_20042025_04_43_37_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a01a3334a77a0499533b67b6b4fec3f.jpg","text":"TemporaryFile(/tmp/multipartBody4471969701157021436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129853653,"filename":"image_20042025_04_43_17_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065950","file1":"1352065945","file0":"1352065942","file4":"1352065953","file5":"1352065954","file3":"1352065952"},"map_files_photo_id_array":[{"photo_id":"1352065954","filename":"file5"},{"photo_id":"1352065950","filename":"file2"},{"photo_id":"1352065953","filename":"file4"},{"photo_id":"1352065945","filename":"file1"},{"photo_id":"1352065942","filename":"file0"},{"photo_id":"1352065952","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065952":["hashtag1","hashtag2"]},{"1352065942":["hashtag1","hashtag2"]},{"1352065945":["hashtag1","hashtag2"]},{"1352065954":["hashtag1","hashtag2"]},{"1352065953":["hashtag1","hashtag2"]},{"1352065950":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065952, 1352065942, 1352065945, 1352065954, 1352065953, 1352065950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69142270088196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:17:32.356006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_56_10378.jpg', '/home/pi/Desktop/images/20042025/04/43/image_20042025_04_44_07_10353.jpg', '/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_16_9396.jpg', '/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_27_10366.jpg', '/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_36_9447.jpg', '/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_46_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/43/image_20042025_04_43_56_10378.jpg
/home/pi/Desktop/images/20042025/04/43/image_20042025_04_44_07_10353.jpg
/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_16_9396.jpg
/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_27_10366.jpg
/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_36_9447.jpg
/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_46_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065976","1352065970","1352065978","1352065972","1352065974","1352065968"],"photo_ids_order":["1352065968","1352065970","1352065972","1352065974","1352065976","1352065978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d715c2443f6f2eba550c81c83fbb6d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2288740889679150689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129912884,"filename":"image_20042025_04_44_36_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6384c619053bb24b5cc9fc411688031.jpg","text":"TemporaryFile(/tmp/multipartBody4304110919514615522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129912884,"filename":"image_20042025_04_44_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd6aebff680e3a6439eb1ed7cdd100d5.jpg","text":"TemporaryFile(/tmp/multipartBody6100985380958610449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129912884,"filename":"image_20042025_04_44_46_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cef4eea5f6842444d5d34ab3655b279.jpg","text":"TemporaryFile(/tmp/multipartBody3367761376516478377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129912884,"filename":"image_20042025_04_44_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/907adc4ad1ad44fe61e9dc6ebc2f1449.jpg","text":"TemporaryFile(/tmp/multipartBody1394940028692962619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129912884,"filename":"image_20042025_04_44_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8449b5c0955f0eb34b8f37f72f243da.jpg","text":"TemporaryFile(/tmp/multipartBody1725043065153041410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129912884,"filename":"image_20042025_04_43_56_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065972","file1":"1352065970","file0":"1352065968","file4":"1352065976","file5":"1352065978","file3":"1352065974"},"map_files_photo_id_array":[{"photo_id":"1352065978","filename":"file5"},{"photo_id":"1352065972","filename":"file2"},{"photo_id":"1352065976","filename":"file4"},{"photo_id":"1352065970","filename":"file1"},{"photo_id":"1352065968","filename":"file0"},{"photo_id":"1352065974","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352065976":["hashtag1","hashtag2"]},{"1352065970":["hashtag1","hashtag2"]},{"1352065978":["hashtag1","hashtag2"]},{"1352065972":["hashtag1","hashtag2"]},{"1352065974":["hashtag1","hashtag2"]},{"1352065968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352065976, 1352065970, 1352065978, 1352065972, 1352065974, 1352065968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.63852596282959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:18:32.556253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_56_9508.jpg', '/home/pi/Desktop/images/20042025/04/44/image_20042025_04_45_06_10379.jpg', '/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_17_10373.jpg', '/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_26_9462.jpg', '/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_37_10366.jpg', '/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_46_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/44/image_20042025_04_44_56_9508.jpg
/home/pi/Desktop/images/20042025/04/44/image_20042025_04_45_06_10379.jpg
/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_17_10373.jpg
/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_26_9462.jpg
/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_37_10366.jpg
/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_46_9500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066000","1352065996","1352066002","1352065998","1352065992","1352065994"],"photo_ids_order":["1352065992","1352065994","1352065996","1352065998","1352066000","1352066002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17636ffea19c33502ef3384b64ac9faf.jpg","text":"TemporaryFile(/tmp/multipartBody8043017089132208006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129973103,"filename":"image_20042025_04_45_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2617c2bfaa32e7319193db2dc9f49e98.jpg","text":"TemporaryFile(/tmp/multipartBody7961620322401679867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129973103,"filename":"image_20042025_04_45_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e43541f8100ee50bc9115f22d394176.jpg","text":"TemporaryFile(/tmp/multipartBody8106890952224798542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129973103,"filename":"image_20042025_04_45_46_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dad19fb6ab334badc2b047c611b31bb.jpg","text":"TemporaryFile(/tmp/multipartBody5195213864851106708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129973103,"filename":"image_20042025_04_45_26_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f11916fbaf0bc42e5c1e18474542490.jpg","text":"TemporaryFile(/tmp/multipartBody8187360124907182064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129973103,"filename":"image_20042025_04_44_56_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/200383f790f4ca740fa8f7027a71bc99.jpg","text":"TemporaryFile(/tmp/multipartBody6407809875836406432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745129973103,"filename":"image_20042025_04_45_06_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065996","file1":"1352065994","file0":"1352065992","file4":"1352066000","file5":"1352066002","file3":"1352065998"},"map_files_photo_id_array":[{"photo_id":"1352066002","filename":"file5"},{"photo_id":"1352065996","filename":"file2"},{"photo_id":"1352066000","filename":"file4"},{"photo_id":"1352065994","filename":"file1"},{"photo_id":"1352065992","filename":"file0"},{"photo_id":"1352065998","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066000":["hashtag1","hashtag2"]},{"1352065996":["hashtag1","hashtag2"]},{"1352066002":["hashtag1","hashtag2"]},{"1352065998":["hashtag1","hashtag2"]},{"1352065992":["hashtag1","hashtag2"]},{"1352065994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066000, 1352065996, 1352066002, 1352065998, 1352065992, 1352065994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.60101890563965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:19:32.882440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_56_10379.jpg', '/home/pi/Desktop/images/20042025/04/45/image_20042025_04_46_07_10359.jpg', '/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_16_9360.jpg', '/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_27_10377.jpg', '/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_36_9424.jpg', '/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_57_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/45/image_20042025_04_45_56_10379.jpg
/home/pi/Desktop/images/20042025/04/45/image_20042025_04_46_07_10359.jpg
/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_16_9360.jpg
/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_27_10377.jpg
/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_36_9424.jpg
/home/pi/Desktop/images/20042025/04/46/image_20042025_04_46_57_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066021","1352066015","1352066023","1352066017","1352066019","1352066013"],"photo_ids_order":["1352066013","1352066015","1352066017","1352066019","1352066021","1352066023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/720962db1c0b87ef66e28e60ee3a32a9.jpg","text":"TemporaryFile(/tmp/multipartBody5445682343703496693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130033415,"filename":"image_20042025_04_46_36_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08717801128b9d87754e520e561977ed.jpg","text":"TemporaryFile(/tmp/multipartBody8414946846920830588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130033415,"filename":"image_20042025_04_46_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/624f01f7da8ba45ca8926f3d4c7a2123.jpg","text":"TemporaryFile(/tmp/multipartBody2982029873225698027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130033415,"filename":"image_20042025_04_46_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67e141bb2349397d84a6827e073d1689.jpg","text":"TemporaryFile(/tmp/multipartBody3877490987026012206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130033415,"filename":"image_20042025_04_46_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b94732bf9615d78b0884cbdc25040dd8.jpg","text":"TemporaryFile(/tmp/multipartBody2113977871268292396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130033415,"filename":"image_20042025_04_46_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edb0f54dab75dd69c583e07fa4b5aac3.jpg","text":"TemporaryFile(/tmp/multipartBody6338577104717195821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130033415,"filename":"image_20042025_04_45_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066017","file1":"1352066015","file0":"1352066013","file4":"1352066021","file5":"1352066023","file3":"1352066019"},"map_files_photo_id_array":[{"photo_id":"1352066023","filename":"file5"},{"photo_id":"1352066017","filename":"file2"},{"photo_id":"1352066021","filename":"file4"},{"photo_id":"1352066015","filename":"file1"},{"photo_id":"1352066013","filename":"file0"},{"photo_id":"1352066019","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066021":["hashtag1","hashtag2"]},{"1352066015":["hashtag1","hashtag2"]},{"1352066023":["hashtag1","hashtag2"]},{"1352066017":["hashtag1","hashtag2"]},{"1352066019":["hashtag1","hashtag2"]},{"1352066013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066021, 1352066015, 1352066023, 1352066017, 1352066019, 1352066013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24763822555542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:20:32.991402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/46/image_20042025_04_47_06_9432.jpg', '/home/pi/Desktop/images/20042025/04/47/image_20042025_04_47_36_10354.jpg', '/home/pi/Desktop/images/20042025/04/47/image_20042025_04_47_47_10368.jpg', '/home/pi/Desktop/images/20042025/04/47/image_20042025_04_47_56_9343.jpg', '/home/pi/Desktop/images/20042025/04/47/image_20042025_04_48_06_10346.jpg', '/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_17_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/46/image_20042025_04_47_06_9432.jpg
/home/pi/Desktop/images/20042025/04/47/image_20042025_04_47_36_10354.jpg
/home/pi/Desktop/images/20042025/04/47/image_20042025_04_47_47_10368.jpg
/home/pi/Desktop/images/20042025/04/47/image_20042025_04_47_56_9343.jpg
/home/pi/Desktop/images/20042025/04/47/image_20042025_04_48_06_10346.jpg
/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_17_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066048","1352066038","1352066035","1352066040","1352066043","1352066046"],"photo_ids_order":["1352066035","1352066038","1352066040","1352066043","1352066046","1352066048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6a8d9f32e5024d878fe62edd0bef235.jpg","text":"TemporaryFile(/tmp/multipartBody3135534928466351998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130093522,"filename":"image_20042025_04_48_17_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/068b7bcad672634fb6e013cf8d05996d.jpg","text":"TemporaryFile(/tmp/multipartBody1612246612392456846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130093522,"filename":"image_20042025_04_47_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d59f9326dbdec2f8fadd55733aebeef6.jpg","text":"TemporaryFile(/tmp/multipartBody108291192643118356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130093522,"filename":"image_20042025_04_47_06_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14ef5da1070922161ab192db2c747c47.jpg","text":"TemporaryFile(/tmp/multipartBody2324516672580417123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130093522,"filename":"image_20042025_04_47_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f4fbf6cc98b1fc9d747bbda08976139.jpg","text":"TemporaryFile(/tmp/multipartBody2953748064882069871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130093522,"filename":"image_20042025_04_47_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc6d8737866eb128c8bb3e142f59751c.jpg","text":"TemporaryFile(/tmp/multipartBody2629564892416922486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130093522,"filename":"image_20042025_04_48_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066040","file1":"1352066038","file0":"1352066035","file4":"1352066046","file5":"1352066048","file3":"1352066043"},"map_files_photo_id_array":[{"photo_id":"1352066048","filename":"file5"},{"photo_id":"1352066040","filename":"file2"},{"photo_id":"1352066046","filename":"file4"},{"photo_id":"1352066038","filename":"file1"},{"photo_id":"1352066035","filename":"file0"},{"photo_id":"1352066043","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066048":["hashtag1","hashtag2"]},{"1352066038":["hashtag1","hashtag2"]},{"1352066035":["hashtag1","hashtag2"]},{"1352066040":["hashtag1","hashtag2"]},{"1352066043":["hashtag1","hashtag2"]},{"1352066046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066048, 1352066038, 1352066035, 1352066040, 1352066043, 1352066046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.603894233703613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:21:32.203734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_26_9442.jpg', '/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_37_10354.jpg', '/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_46_9414.jpg', '/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_56_10428.jpg', '/home/pi/Desktop/images/20042025/04/49/image_20042025_04_49_36_9406.jpg', '/home/pi/Desktop/images/20042025/04/49/image_20042025_04_49_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_26_9442.jpg
/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_37_10354.jpg
/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_46_9414.jpg
/home/pi/Desktop/images/20042025/04/48/image_20042025_04_48_56_10428.jpg
/home/pi/Desktop/images/20042025/04/49/image_20042025_04_49_36_9406.jpg
/home/pi/Desktop/images/20042025/04/49/image_20042025_04_49_46_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066066","1352066060","1352066068","1352066062","1352066064","1352066058"],"photo_ids_order":["1352066058","1352066060","1352066062","1352066064","1352066066","1352066068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71048747120f467075213960cba0ce69.jpg","text":"TemporaryFile(/tmp/multipartBody4153363417073393831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130152743,"filename":"image_20042025_04_49_36_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34b97d3f5710b1de16afccb9477441ec.jpg","text":"TemporaryFile(/tmp/multipartBody6244135254672201094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130152743,"filename":"image_20042025_04_48_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f675d3758b49cc014fa4c1425bebc79d.jpg","text":"TemporaryFile(/tmp/multipartBody27351934850353368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130152743,"filename":"image_20042025_04_49_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5478718e0cd5002f9cb3878a99893911.jpg","text":"TemporaryFile(/tmp/multipartBody6655325066966545849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130152743,"filename":"image_20042025_04_48_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40e285b7a3454e08437121fc9abd64ed.jpg","text":"TemporaryFile(/tmp/multipartBody3361257752342714450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130152743,"filename":"image_20042025_04_48_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/571bc2229d707f7ec835ce50531f5ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7873345110672038223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130152743,"filename":"image_20042025_04_48_26_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066062","file1":"1352066060","file0":"1352066058","file4":"1352066066","file5":"1352066068","file3":"1352066064"},"map_files_photo_id_array":[{"photo_id":"1352066068","filename":"file5"},{"photo_id":"1352066062","filename":"file2"},{"photo_id":"1352066066","filename":"file4"},{"photo_id":"1352066060","filename":"file1"},{"photo_id":"1352066058","filename":"file0"},{"photo_id":"1352066064","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066066":["hashtag1","hashtag2"]},{"1352066060":["hashtag1","hashtag2"]},{"1352066068":["hashtag1","hashtag2"]},{"1352066062":["hashtag1","hashtag2"]},{"1352066064":["hashtag1","hashtag2"]},{"1352066058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066066, 1352066060, 1352066068, 1352066062, 1352066064, 1352066058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.169535160064697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:22:32.473865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/49/image_20042025_04_49_57_10364.jpg', '/home/pi/Desktop/images/20042025/04/50/image_20042025_04_50_36_9458.jpg', '/home/pi/Desktop/images/20042025/04/50/image_20042025_04_50_47_10366.jpg', '/home/pi/Desktop/images/20042025/04/50/image_20042025_04_50_56_9376.jpg', '/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_17_10376.jpg', '/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_26_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/49/image_20042025_04_49_57_10364.jpg
/home/pi/Desktop/images/20042025/04/50/image_20042025_04_50_36_9458.jpg
/home/pi/Desktop/images/20042025/04/50/image_20042025_04_50_47_10366.jpg
/home/pi/Desktop/images/20042025/04/50/image_20042025_04_50_56_9376.jpg
/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_17_10376.jpg
/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_26_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066086","1352066089","1352066083","1352066091","1352066094","1352066084"],"photo_ids_order":["1352066083","1352066084","1352066086","1352066089","1352066091","1352066094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/169e16c768fcce469f0fdc94ddef0368.jpg","text":"TemporaryFile(/tmp/multipartBody8486058411209492678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130212989,"filename":"image_20042025_04_50_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01a49f824aff11906ea0c3c104e23840.jpg","text":"TemporaryFile(/tmp/multipartBody3297378590330424142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130212989,"filename":"image_20042025_04_50_56_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcfd70977c7dab423c49675c1dac0317.jpg","text":"TemporaryFile(/tmp/multipartBody4088166959197868943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130212989,"filename":"image_20042025_04_49_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b5d193fbfa0b647ce52b663a4028c39.jpg","text":"TemporaryFile(/tmp/multipartBody2037847730124660748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130212989,"filename":"image_20042025_04_51_17_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/579aa9537f82d6656392f8375d614e52.jpg","text":"TemporaryFile(/tmp/multipartBody1690105115410635360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130212989,"filename":"image_20042025_04_51_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d252346a01df0f237b7f7600b22c9a4.jpg","text":"TemporaryFile(/tmp/multipartBody4881517222187140980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130212989,"filename":"image_20042025_04_50_36_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066086","file1":"1352066084","file0":"1352066083","file4":"1352066091","file5":"1352066094","file3":"1352066089"},"map_files_photo_id_array":[{"photo_id":"1352066094","filename":"file5"},{"photo_id":"1352066086","filename":"file2"},{"photo_id":"1352066091","filename":"file4"},{"photo_id":"1352066084","filename":"file1"},{"photo_id":"1352066083","filename":"file0"},{"photo_id":"1352066089","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066086":["hashtag1","hashtag2"]},{"1352066089":["hashtag1","hashtag2"]},{"1352066083":["hashtag1","hashtag2"]},{"1352066091":["hashtag1","hashtag2"]},{"1352066094":["hashtag1","hashtag2"]},{"1352066084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066086, 1352066089, 1352066083, 1352066091, 1352066094, 1352066084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25411868095398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:23:32.722306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_46_9452.jpg', '/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_56_10381.jpg', '/home/pi/Desktop/images/20042025/04/51/image_20042025_04_52_07_10354.jpg', '/home/pi/Desktop/images/20042025/04/52/image_20042025_04_52_26_10440.jpg', '/home/pi/Desktop/images/20042025/04/53/image_20042025_04_53_36_9380.jpg', '/home/pi/Desktop/images/20042025/04/53/image_20042025_04_53_46_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_46_9452.jpg
/home/pi/Desktop/images/20042025/04/51/image_20042025_04_51_56_10381.jpg
/home/pi/Desktop/images/20042025/04/51/image_20042025_04_52_07_10354.jpg
/home/pi/Desktop/images/20042025/04/52/image_20042025_04_52_26_10440.jpg
/home/pi/Desktop/images/20042025/04/53/image_20042025_04_53_36_9380.jpg
/home/pi/Desktop/images/20042025/04/53/image_20042025_04_53_46_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066114","1352066108","1352066110","1352066116","1352066118","1352066112"],"photo_ids_order":["1352066108","1352066110","1352066112","1352066114","1352066116","1352066118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4bf54c564f8842d75034fc52d4f585f.jpg","text":"TemporaryFile(/tmp/multipartBody1925882323561040370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130273264,"filename":"image_20042025_04_52_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f3a3f8959f1b238d88040af4b784638.jpg","text":"TemporaryFile(/tmp/multipartBody5328453457772441119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130273264,"filename":"image_20042025_04_51_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c70e70a812bf746fafc89b1ce36182f.jpg","text":"TemporaryFile(/tmp/multipartBody4429808806964910293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130273264,"filename":"image_20042025_04_51_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d2932d862307d5eef6d83451ed79b88.jpg","text":"TemporaryFile(/tmp/multipartBody1088160719216864255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130273264,"filename":"image_20042025_04_53_36_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1d7bbd744e89b1f0741080b8d07f38d.jpg","text":"TemporaryFile(/tmp/multipartBody1675536295391112054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130273264,"filename":"image_20042025_04_53_46_9941.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/213703d9e61c6736d2105f8dfcc128cd.jpg","text":"TemporaryFile(/tmp/multipartBody2297506604034373444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130273264,"filename":"image_20042025_04_52_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066112","file1":"1352066110","file0":"1352066108","file4":"1352066116","file5":"1352066118","file3":"1352066114"},"map_files_photo_id_array":[{"photo_id":"1352066118","filename":"file5"},{"photo_id":"1352066112","filename":"file2"},{"photo_id":"1352066116","filename":"file4"},{"photo_id":"1352066110","filename":"file1"},{"photo_id":"1352066108","filename":"file0"},{"photo_id":"1352066114","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066114":["hashtag1","hashtag2"]},{"1352066108":["hashtag1","hashtag2"]},{"1352066110":["hashtag1","hashtag2"]},{"1352066116":["hashtag1","hashtag2"]},{"1352066118":["hashtag1","hashtag2"]},{"1352066112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066114, 1352066108, 1352066110, 1352066116, 1352066118, 1352066112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.55034828186035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:24:32.978838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/53/image_20042025_04_53_56_10366.jpg', '/home/pi/Desktop/images/20042025/04/53/image_20042025_04_54_06_9487.jpg', '/home/pi/Desktop/images/20042025/04/54/image_20042025_04_54_16_10373.jpg', '/home/pi/Desktop/images/20042025/04/54/image_20042025_04_54_47_10351.jpg', '/home/pi/Desktop/images/20042025/04/54/image_20042025_04_54_56_9418.jpg', '/home/pi/Desktop/images/20042025/04/54/image_20042025_04_55_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/53/image_20042025_04_53_56_10366.jpg
/home/pi/Desktop/images/20042025/04/53/image_20042025_04_54_06_9487.jpg
/home/pi/Desktop/images/20042025/04/54/image_20042025_04_54_16_10373.jpg
/home/pi/Desktop/images/20042025/04/54/image_20042025_04_54_47_10351.jpg
/home/pi/Desktop/images/20042025/04/54/image_20042025_04_54_56_9418.jpg
/home/pi/Desktop/images/20042025/04/54/image_20042025_04_55_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066135","1352066129","1352066146","1352066134","1352066142","1352066139"],"photo_ids_order":["1352066129","1352066134","1352066135","1352066139","1352066142","1352066146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2724a4c3b477acf0361869341fecefe1.jpg","text":"TemporaryFile(/tmp/multipartBody8160125873160706790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130333494,"filename":"image_20042025_04_54_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51227356464b081bf1311e85194eb5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3376039484555790878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130333494,"filename":"image_20042025_04_53_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c528519efd4db4e93a63d5f61ed6c1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7626948546403913154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130333494,"filename":"image_20042025_04_55_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fa28ebd4c21439bc5842ac23bf27ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7256387322657689285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130333494,"filename":"image_20042025_04_54_06_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb6b9e92aa7f1c10cbfdb5fe004364a0.jpg","text":"TemporaryFile(/tmp/multipartBody6382316625129277299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130333494,"filename":"image_20042025_04_54_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f96ecc544c144d644c67a4f104c9df57.jpg","text":"TemporaryFile(/tmp/multipartBody6335542558004802118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130333494,"filename":"image_20042025_04_54_47_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066135","file1":"1352066134","file0":"1352066129","file4":"1352066142","file5":"1352066146","file3":"1352066139"},"map_files_photo_id_array":[{"photo_id":"1352066146","filename":"file5"},{"photo_id":"1352066135","filename":"file2"},{"photo_id":"1352066142","filename":"file4"},{"photo_id":"1352066134","filename":"file1"},{"photo_id":"1352066129","filename":"file0"},{"photo_id":"1352066139","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066135":["hashtag1","hashtag2"]},{"1352066129":["hashtag1","hashtag2"]},{"1352066146":["hashtag1","hashtag2"]},{"1352066134":["hashtag1","hashtag2"]},{"1352066142":["hashtag1","hashtag2"]},{"1352066139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066135, 1352066129, 1352066146, 1352066134, 1352066142, 1352066139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63348913192749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:25:33.132036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/55/image_20042025_04_55_17_10431.jpg', '/home/pi/Desktop/images/20042025/04/55/image_20042025_04_55_36_10379.jpg', '/home/pi/Desktop/images/20042025/04/55/image_20042025_04_55_47_10351.jpg', '/home/pi/Desktop/images/20042025/04/55/image_20042025_04_56_07_10360.jpg', '/home/pi/Desktop/images/20042025/04/56/image_20042025_04_56_16_9428.jpg', '/home/pi/Desktop/images/20042025/04/56/image_20042025_04_56_37_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/55/image_20042025_04_55_17_10431.jpg
/home/pi/Desktop/images/20042025/04/55/image_20042025_04_55_36_10379.jpg
/home/pi/Desktop/images/20042025/04/55/image_20042025_04_55_47_10351.jpg
/home/pi/Desktop/images/20042025/04/55/image_20042025_04_56_07_10360.jpg
/home/pi/Desktop/images/20042025/04/56/image_20042025_04_56_16_9428.jpg
/home/pi/Desktop/images/20042025/04/56/image_20042025_04_56_37_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066168","1352066164","1352066163","1352066166","1352066160","1352066157"],"photo_ids_order":["1352066157","1352066160","1352066163","1352066164","1352066166","1352066168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ba7f9b2a9cdb1d69b2b1e642c4ee300.jpg","text":"TemporaryFile(/tmp/multipartBody27395177128981494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130393666,"filename":"image_20042025_04_56_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d020465fec04cc89f9ad67779e03ef21.jpg","text":"TemporaryFile(/tmp/multipartBody1067041143323831378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130393666,"filename":"image_20042025_04_56_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2894695b5bdaafcc8a691755537c9878.jpg","text":"TemporaryFile(/tmp/multipartBody4640019778963487651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130393666,"filename":"image_20042025_04_55_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73f7b0a29cc38b8274066f9193a2072d.jpg","text":"TemporaryFile(/tmp/multipartBody3129339533149077910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130393666,"filename":"image_20042025_04_56_16_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38db73d67e40d50a3418bfa44c51007e.jpg","text":"TemporaryFile(/tmp/multipartBody1472187934010477658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130393666,"filename":"image_20042025_04_55_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8e06274ce01dd82bdf7c14b2f7fc4a7.jpg","text":"TemporaryFile(/tmp/multipartBody1552013154586746686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130393666,"filename":"image_20042025_04_55_17_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066163","file1":"1352066160","file0":"1352066157","file4":"1352066166","file5":"1352066168","file3":"1352066164"},"map_files_photo_id_array":[{"photo_id":"1352066168","filename":"file5"},{"photo_id":"1352066163","filename":"file2"},{"photo_id":"1352066166","filename":"file4"},{"photo_id":"1352066160","filename":"file1"},{"photo_id":"1352066157","filename":"file0"},{"photo_id":"1352066164","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066168":["hashtag1","hashtag2"]},{"1352066164":["hashtag1","hashtag2"]},{"1352066163":["hashtag1","hashtag2"]},{"1352066166":["hashtag1","hashtag2"]},{"1352066160":["hashtag1","hashtag2"]},{"1352066157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066168, 1352066164, 1352066163, 1352066166, 1352066160, 1352066157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.707083225250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:26:32.404187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/56/image_20042025_04_56_46_9421.jpg', '/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_16_10347.jpg', '/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_36_9347.jpg', '/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_46_10364.jpg', '/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_57_10368.jpg', '/home/pi/Desktop/images/20042025/04/57/image_20042025_04_58_06_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/56/image_20042025_04_56_46_9421.jpg
/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_16_10347.jpg
/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_36_9347.jpg
/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_46_10364.jpg
/home/pi/Desktop/images/20042025/04/57/image_20042025_04_57_57_10368.jpg
/home/pi/Desktop/images/20042025/04/57/image_20042025_04_58_06_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066186","1352066191","1352066182","1352066178","1352066175","1352066189"],"photo_ids_order":["1352066175","1352066178","1352066182","1352066186","1352066189","1352066191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/455a15bb428aca966f2b026ed99ac864.jpg","text":"TemporaryFile(/tmp/multipartBody6097020256819979168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130452925,"filename":"image_20042025_04_57_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7044733d4607fd4e2a1f1213bf7213b.jpg","text":"TemporaryFile(/tmp/multipartBody1624817320072812492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130452925,"filename":"image_20042025_04_58_06_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ee5312e870410a15485c6021100e66c.jpg","text":"TemporaryFile(/tmp/multipartBody4446652663031379693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130452925,"filename":"image_20042025_04_57_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a029c0e978575b8952103f56baa2e40.jpg","text":"TemporaryFile(/tmp/multipartBody7282776469576411199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130452925,"filename":"image_20042025_04_57_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ed13fa1d6a6b844862d7616afeb0ad6.jpg","text":"TemporaryFile(/tmp/multipartBody396811879146933690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130452925,"filename":"image_20042025_04_56_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c4c73abd97e513562cdd2e11b7c015b.jpg","text":"TemporaryFile(/tmp/multipartBody4417208011876160150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130452925,"filename":"image_20042025_04_57_57_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066182","file1":"1352066178","file0":"1352066175","file4":"1352066189","file5":"1352066191","file3":"1352066186"},"map_files_photo_id_array":[{"photo_id":"1352066191","filename":"file5"},{"photo_id":"1352066182","filename":"file2"},{"photo_id":"1352066189","filename":"file4"},{"photo_id":"1352066178","filename":"file1"},{"photo_id":"1352066175","filename":"file0"},{"photo_id":"1352066186","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066186":["hashtag1","hashtag2"]},{"1352066191":["hashtag1","hashtag2"]},{"1352066182":["hashtag1","hashtag2"]},{"1352066178":["hashtag1","hashtag2"]},{"1352066175":["hashtag1","hashtag2"]},{"1352066189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066186, 1352066191, 1352066182, 1352066178, 1352066175, 1352066189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.866047859191895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:27:32.680491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/58/image_20042025_04_58_16_10362.jpg', '/home/pi/Desktop/images/20042025/04/58/image_20042025_04_58_36_9356.jpg', '/home/pi/Desktop/images/20042025/04/58/image_20042025_04_58_56_9425.jpg', '/home/pi/Desktop/images/20042025/04/58/image_20042025_04_59_06_10411.jpg', '/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_17_10362.jpg', '/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_26_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/58/image_20042025_04_58_16_10362.jpg
/home/pi/Desktop/images/20042025/04/58/image_20042025_04_58_36_9356.jpg
/home/pi/Desktop/images/20042025/04/58/image_20042025_04_58_56_9425.jpg
/home/pi/Desktop/images/20042025/04/58/image_20042025_04_59_06_10411.jpg
/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_17_10362.jpg
/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_26_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066207","1352066197","1352066203","1352066212","1352066215","1352066199"],"photo_ids_order":["1352066197","1352066199","1352066203","1352066207","1352066212","1352066215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff1be80e54837b94fc269f88f3132a10.jpg","text":"TemporaryFile(/tmp/multipartBody8356972159888420192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130513211,"filename":"image_20042025_04_59_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5ecb2bc4b6dd940f7c4283fa38406a7.jpg","text":"TemporaryFile(/tmp/multipartBody2011720412374002083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130513211,"filename":"image_20042025_04_58_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6d1cb988567922f53d201089887f54f.jpg","text":"TemporaryFile(/tmp/multipartBody503753639930148724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130513211,"filename":"image_20042025_04_58_56_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/687ccda124dc996f440edb925715e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody8427353557227394338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130513211,"filename":"image_20042025_04_59_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcef14790090cb127d7bbe74e397ccf7.jpg","text":"TemporaryFile(/tmp/multipartBody6296433020648080288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130513211,"filename":"image_20042025_04_59_26_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fa42aae97fd67cc6fa15f359767b4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5323930854974310148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130513211,"filename":"image_20042025_04_58_36_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066203","file1":"1352066199","file0":"1352066197","file4":"1352066212","file5":"1352066215","file3":"1352066207"},"map_files_photo_id_array":[{"photo_id":"1352066215","filename":"file5"},{"photo_id":"1352066203","filename":"file2"},{"photo_id":"1352066212","filename":"file4"},{"photo_id":"1352066199","filename":"file1"},{"photo_id":"1352066197","filename":"file0"},{"photo_id":"1352066207","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066207":["hashtag1","hashtag2"]},{"1352066197":["hashtag1","hashtag2"]},{"1352066203":["hashtag1","hashtag2"]},{"1352066212":["hashtag1","hashtag2"]},{"1352066215":["hashtag1","hashtag2"]},{"1352066199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066207, 1352066197, 1352066203, 1352066212, 1352066215, 1352066199)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1352066203 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/20042025/04/58/image_20042025_04_58_56_9425.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 52.437068700790405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:28:32.902662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_37_10371.jpg', '/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_46_9479.jpg', '/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_56_10358.jpg', '/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_16_10078.jpg', '/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_26_10435.jpg', '/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_36_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_37_10371.jpg
/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_46_9479.jpg
/home/pi/Desktop/images/20042025/04/59/image_20042025_04_59_56_10358.jpg
/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_16_10078.jpg
/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_26_10435.jpg
/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_36_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066228","1352066224","1352066232","1352066235","1352066220","1352066238"],"photo_ids_order":["1352066220","1352066224","1352066228","1352066232","1352066235","1352066238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e484d36e8923d8d05a24ab7cd427e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1179777075014386290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130573457,"filename":"image_20042025_04_59_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7385cdae1a916767309c41e7f618c1e3.jpg","text":"TemporaryFile(/tmp/multipartBody5458126289978926741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130573457,"filename":"image_20042025_04_59_46_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1a901b36d1fd05f27669f2ff7d8df22.jpg","text":"TemporaryFile(/tmp/multipartBody1607514354433967783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130573457,"filename":"image_20042025_05_00_16_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83a6c6e3371cafb10199559525f9d34c.jpg","text":"TemporaryFile(/tmp/multipartBody1678798358329411134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130573457,"filename":"image_20042025_05_00_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e95ea279b36ace37ba192e838750a32d.jpg","text":"TemporaryFile(/tmp/multipartBody8430833609092601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130573457,"filename":"image_20042025_04_59_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a19e72b65f0675d44f1f8530c1df38c4.jpg","text":"TemporaryFile(/tmp/multipartBody5398340794418248214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130573457,"filename":"image_20042025_05_00_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066228","file1":"1352066224","file0":"1352066220","file4":"1352066235","file5":"1352066238","file3":"1352066232"},"map_files_photo_id_array":[{"photo_id":"1352066238","filename":"file5"},{"photo_id":"1352066228","filename":"file2"},{"photo_id":"1352066235","filename":"file4"},{"photo_id":"1352066224","filename":"file1"},{"photo_id":"1352066220","filename":"file0"},{"photo_id":"1352066232","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066228":["hashtag1","hashtag2"]},{"1352066224":["hashtag1","hashtag2"]},{"1352066232":["hashtag1","hashtag2"]},{"1352066235":["hashtag1","hashtag2"]},{"1352066220":["hashtag1","hashtag2"]},{"1352066238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066228, 1352066224, 1352066232, 1352066235, 1352066220, 1352066238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65366220474243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:29:33.113980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_46_9363.jpg', '/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_56_10356.jpg', '/home/pi/Desktop/images/20042025/05/00/image_20042025_05_01_06_10352.jpg', '/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_16_9372.jpg', '/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_26_10447.jpg', '/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_46_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_46_9363.jpg
/home/pi/Desktop/images/20042025/05/00/image_20042025_05_00_56_10356.jpg
/home/pi/Desktop/images/20042025/05/00/image_20042025_05_01_06_10352.jpg
/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_16_9372.jpg
/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_26_10447.jpg
/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_46_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066264","1352066251","1352066259","1352066268","1352066247","1352066256"],"photo_ids_order":["1352066247","1352066251","1352066256","1352066259","1352066264","1352066268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b4381be88d6d40c270c100f31ea972d.jpg","text":"TemporaryFile(/tmp/multipartBody980865767636367964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130633663,"filename":"image_20042025_05_01_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e04583f9147e5ca3b659922c8d873d21.jpg","text":"TemporaryFile(/tmp/multipartBody2680494862039106107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130633663,"filename":"image_20042025_05_00_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e9857a0fa76b376acef535076816da9.jpg","text":"TemporaryFile(/tmp/multipartBody2649626290333847670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130633663,"filename":"image_20042025_05_01_16_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a030db1bfb9582b6864f7abf7305649.jpg","text":"TemporaryFile(/tmp/multipartBody5158236749859809438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130633663,"filename":"image_20042025_05_01_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ea18f3906efc47a19caa46ca1a2e434.jpg","text":"TemporaryFile(/tmp/multipartBody7849755953183477207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130633663,"filename":"image_20042025_05_00_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/715cc7f0001ca63c7dc95e1acf31a797.jpg","text":"TemporaryFile(/tmp/multipartBody6438334268865914137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130633663,"filename":"image_20042025_05_01_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066256","file1":"1352066251","file0":"1352066247","file4":"1352066264","file5":"1352066268","file3":"1352066259"},"map_files_photo_id_array":[{"photo_id":"1352066268","filename":"file5"},{"photo_id":"1352066256","filename":"file2"},{"photo_id":"1352066264","filename":"file4"},{"photo_id":"1352066251","filename":"file1"},{"photo_id":"1352066247","filename":"file0"},{"photo_id":"1352066259","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066264":["hashtag1","hashtag2"]},{"1352066251":["hashtag1","hashtag2"]},{"1352066259":["hashtag1","hashtag2"]},{"1352066268":["hashtag1","hashtag2"]},{"1352066247":["hashtag1","hashtag2"]},{"1352066256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066264, 1352066251, 1352066259, 1352066268, 1352066247, 1352066256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.171558380126953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:30:32.274126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_56_10349.jpg', '/home/pi/Desktop/images/20042025/05/01/image_20042025_05_02_06_9352.jpg', '/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_16_10407.jpg', '/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_26_9371.jpg', '/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_36_10414.jpg', '/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/01/image_20042025_05_01_56_10349.jpg
/home/pi/Desktop/images/20042025/05/01/image_20042025_05_02_06_9352.jpg
/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_16_10407.jpg
/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_26_9371.jpg
/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_36_10414.jpg
/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_46_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066284","1352066289","1352066280","1352066292","1352066273","1352066276"],"photo_ids_order":["1352066273","1352066276","1352066280","1352066284","1352066289","1352066292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce6f869536a9b3c4ea76fceecbeca737.jpg","text":"TemporaryFile(/tmp/multipartBody5546858647252611678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130692802,"filename":"image_20042025_05_02_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/566b8c7151b9dffefd8a63cb18250d8f.jpg","text":"TemporaryFile(/tmp/multipartBody9214503431226936405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130692802,"filename":"image_20042025_05_02_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/739843630030fea7565ceb67b7dfde30.jpg","text":"TemporaryFile(/tmp/multipartBody168386752479841760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130692802,"filename":"image_20042025_05_02_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6757de7678089440db868e18c9c6b995.jpg","text":"TemporaryFile(/tmp/multipartBody6880339165825109654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130692802,"filename":"image_20042025_05_02_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90a838f5342465d2ca400a0f5af058b1.jpg","text":"TemporaryFile(/tmp/multipartBody3194768500209222928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130692802,"filename":"image_20042025_05_01_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ea89dd20537c681a390fe034fffa271.jpg","text":"TemporaryFile(/tmp/multipartBody853518290041737395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130692802,"filename":"image_20042025_05_02_06_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066280","file1":"1352066276","file0":"1352066273","file4":"1352066289","file5":"1352066292","file3":"1352066284"},"map_files_photo_id_array":[{"photo_id":"1352066292","filename":"file5"},{"photo_id":"1352066280","filename":"file2"},{"photo_id":"1352066289","filename":"file4"},{"photo_id":"1352066276","filename":"file1"},{"photo_id":"1352066273","filename":"file0"},{"photo_id":"1352066284","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066284":["hashtag1","hashtag2"]},{"1352066289":["hashtag1","hashtag2"]},{"1352066280":["hashtag1","hashtag2"]},{"1352066292":["hashtag1","hashtag2"]},{"1352066273":["hashtag1","hashtag2"]},{"1352066276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066284, 1352066289, 1352066280, 1352066292, 1352066273, 1352066276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32819437980652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:31:32.463615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_56_9475.jpg', '/home/pi/Desktop/images/20042025/05/02/image_20042025_05_03_06_10402.jpg', '/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_16_9352.jpg', '/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_26_10414.jpg', '/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_36_10347.jpg', '/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_46_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/02/image_20042025_05_02_56_9475.jpg
/home/pi/Desktop/images/20042025/05/02/image_20042025_05_03_06_10402.jpg
/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_16_9352.jpg
/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_26_10414.jpg
/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_36_10347.jpg
/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_46_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066309","1352066303","1352066305","1352066298","1352066307","1352066301"],"photo_ids_order":["1352066298","1352066301","1352066303","1352066305","1352066307","1352066309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db52d05bf5cddc34bf8c9726c22c9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5924033831118947605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130753001,"filename":"image_20042025_05_03_46_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65a0efa8c760e9a255cc5d5a40effa26.jpg","text":"TemporaryFile(/tmp/multipartBody5981032292076986854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130753001,"filename":"image_20042025_05_03_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3a205a9e9b3ab3b36789ba3e4df40e3.jpg","text":"TemporaryFile(/tmp/multipartBody7404350145063910621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130753001,"filename":"image_20042025_05_03_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e41edcb33372375ff9b44b6947626d31.jpg","text":"TemporaryFile(/tmp/multipartBody163295492744483331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130753001,"filename":"image_20042025_05_02_56_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f8e83ad7caca3cf62553326a9ded893.jpg","text":"TemporaryFile(/tmp/multipartBody4616428196070133528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130753001,"filename":"image_20042025_05_03_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d62b80499b3398e07989c9932c17fd93.jpg","text":"TemporaryFile(/tmp/multipartBody6459681127096333730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130753001,"filename":"image_20042025_05_03_06_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066303","file1":"1352066301","file0":"1352066298","file4":"1352066307","file5":"1352066309","file3":"1352066305"},"map_files_photo_id_array":[{"photo_id":"1352066309","filename":"file5"},{"photo_id":"1352066303","filename":"file2"},{"photo_id":"1352066307","filename":"file4"},{"photo_id":"1352066301","filename":"file1"},{"photo_id":"1352066298","filename":"file0"},{"photo_id":"1352066305","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066309":["hashtag1","hashtag2"]},{"1352066303":["hashtag1","hashtag2"]},{"1352066305":["hashtag1","hashtag2"]},{"1352066298":["hashtag1","hashtag2"]},{"1352066307":["hashtag1","hashtag2"]},{"1352066301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066309, 1352066303, 1352066305, 1352066298, 1352066307, 1352066301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04988145828247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:32:32.737796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_56_10350.jpg', '/home/pi/Desktop/images/20042025/05/03/image_20042025_05_04_06_10351.jpg', '/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_16_9346.jpg', '/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_26_10429.jpg', '/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_36_9344.jpg', '/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_46_10491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/03/image_20042025_05_03_56_10350.jpg
/home/pi/Desktop/images/20042025/05/03/image_20042025_05_04_06_10351.jpg
/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_16_9346.jpg
/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_26_10429.jpg
/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_36_9344.jpg
/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_46_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066330","1352066324","1352066327","1352066332","1352066320","1352066317"],"photo_ids_order":["1352066317","1352066320","1352066324","1352066327","1352066330","1352066332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bbb7533fafbf8e8428c3809c8ce4223.jpg","text":"TemporaryFile(/tmp/multipartBody9906596248194872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130813281,"filename":"image_20042025_05_04_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/831ded1ba6c8574cce1c461d10009fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8031067694843290489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130813281,"filename":"image_20042025_05_04_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e41861ab3e5050744608beab0cd5d56.jpg","text":"TemporaryFile(/tmp/multipartBody8508103009604591752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130813281,"filename":"image_20042025_05_04_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ba12c982a270b6c2e319a70b200990a.jpg","text":"TemporaryFile(/tmp/multipartBody4779881668157971390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130813281,"filename":"image_20042025_05_04_46_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/953b6cc056ee977a9808783f1108546d.jpg","text":"TemporaryFile(/tmp/multipartBody3818792679773499553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130813281,"filename":"image_20042025_05_04_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd13e62426564fe0435d3d84ea029756.jpg","text":"TemporaryFile(/tmp/multipartBody6649466210119805628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130813281,"filename":"image_20042025_05_03_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066324","file1":"1352066320","file0":"1352066317","file4":"1352066330","file5":"1352066332","file3":"1352066327"},"map_files_photo_id_array":[{"photo_id":"1352066332","filename":"file5"},{"photo_id":"1352066324","filename":"file2"},{"photo_id":"1352066330","filename":"file4"},{"photo_id":"1352066320","filename":"file1"},{"photo_id":"1352066317","filename":"file0"},{"photo_id":"1352066327","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066330":["hashtag1","hashtag2"]},{"1352066324":["hashtag1","hashtag2"]},{"1352066327":["hashtag1","hashtag2"]},{"1352066332":["hashtag1","hashtag2"]},{"1352066320":["hashtag1","hashtag2"]},{"1352066317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066330, 1352066324, 1352066327, 1352066332, 1352066320, 1352066317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.614488124847412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:33:33.040826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_56_10359.jpg', '/home/pi/Desktop/images/20042025/05/04/image_20042025_05_05_06_9383.jpg', '/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_16_10340.jpg', '/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_25_9348.jpg', '/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_36_10363.jpg', '/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_46_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/04/image_20042025_05_04_56_10359.jpg
/home/pi/Desktop/images/20042025/05/04/image_20042025_05_05_06_9383.jpg
/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_16_10340.jpg
/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_25_9348.jpg
/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_36_10363.jpg
/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_46_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066348","1352066350","1352066344","1352066358","1352066355","1352066340"],"photo_ids_order":["1352066340","1352066344","1352066348","1352066350","1352066355","1352066358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af934beab4fd885ee97ed30b042db15c.jpg","text":"TemporaryFile(/tmp/multipartBody5660146772042201222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130873584,"filename":"image_20042025_05_05_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/783e1c60fb2161a09dfa22422e11168f.jpg","text":"TemporaryFile(/tmp/multipartBody6429661037809744588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130873584,"filename":"image_20042025_05_05_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c2f169b45173bb39ad9d1a6eb54b259.jpg","text":"TemporaryFile(/tmp/multipartBody3832275649220795633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130873584,"filename":"image_20042025_05_05_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9718eca2347a3c56c144e8fc4583381.jpg","text":"TemporaryFile(/tmp/multipartBody230576288774504082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130873584,"filename":"image_20042025_05_05_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ec19ce32d172c8069d7d89b6c2aa48b.jpg","text":"TemporaryFile(/tmp/multipartBody5909844964850964807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130873584,"filename":"image_20042025_05_05_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14e782aa534618dbda6ec45d4902f9e5.jpg","text":"TemporaryFile(/tmp/multipartBody6283612927264055864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130873584,"filename":"image_20042025_05_04_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066348","file1":"1352066344","file0":"1352066340","file4":"1352066355","file5":"1352066358","file3":"1352066350"},"map_files_photo_id_array":[{"photo_id":"1352066358","filename":"file5"},{"photo_id":"1352066348","filename":"file2"},{"photo_id":"1352066355","filename":"file4"},{"photo_id":"1352066344","filename":"file1"},{"photo_id":"1352066340","filename":"file0"},{"photo_id":"1352066350","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066348":["hashtag1","hashtag2"]},{"1352066350":["hashtag1","hashtag2"]},{"1352066344":["hashtag1","hashtag2"]},{"1352066358":["hashtag1","hashtag2"]},{"1352066355":["hashtag1","hashtag2"]},{"1352066340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066348, 1352066350, 1352066344, 1352066358, 1352066355, 1352066340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04845190048218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:34:32.160582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_56_9461.jpg', '/home/pi/Desktop/images/20042025/05/05/image_20042025_05_06_06_10375.jpg', '/home/pi/Desktop/images/20042025/05/06/image_20042025_05_06_16_10352.jpg', '/home/pi/Desktop/images/20042025/05/06/image_20042025_05_06_26_9355.jpg', '/home/pi/Desktop/images/20042025/05/06/image_20042025_05_06_36_10350.jpg', '/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_16_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/05/image_20042025_05_05_56_9461.jpg
/home/pi/Desktop/images/20042025/05/05/image_20042025_05_06_06_10375.jpg
/home/pi/Desktop/images/20042025/05/06/image_20042025_05_06_16_10352.jpg
/home/pi/Desktop/images/20042025/05/06/image_20042025_05_06_26_9355.jpg
/home/pi/Desktop/images/20042025/05/06/image_20042025_05_06_36_10350.jpg
/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_16_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066365","1352066382","1352066376","1352066379","1352066373","1352066369"],"photo_ids_order":["1352066365","1352066369","1352066373","1352066376","1352066379","1352066382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dae706ede838f2588f08866dd0899772.jpg","text":"TemporaryFile(/tmp/multipartBody1982257634610724536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130932681,"filename":"image_20042025_05_05_56_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bdd0ef4db98827b8e085674f11e9fa8.jpg","text":"TemporaryFile(/tmp/multipartBody4398999068792900524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130932681,"filename":"image_20042025_05_07_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ca3674180af75b81e5cafd6f952e190.jpg","text":"TemporaryFile(/tmp/multipartBody6572309790242232973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130932681,"filename":"image_20042025_05_06_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce4b4f520b4476f6c4cf09edde0b3070.jpg","text":"TemporaryFile(/tmp/multipartBody4509603874730323669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130932681,"filename":"image_20042025_05_06_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ffc6b28e752114eec238fe5bd973c8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2168550628048266036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130932681,"filename":"image_20042025_05_06_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba5e359632e5fc28090d9e8da610137e.jpg","text":"TemporaryFile(/tmp/multipartBody8582120469848828010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130932681,"filename":"image_20042025_05_06_06_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066373","file1":"1352066369","file0":"1352066365","file4":"1352066379","file5":"1352066382","file3":"1352066376"},"map_files_photo_id_array":[{"photo_id":"1352066382","filename":"file5"},{"photo_id":"1352066373","filename":"file2"},{"photo_id":"1352066379","filename":"file4"},{"photo_id":"1352066369","filename":"file1"},{"photo_id":"1352066365","filename":"file0"},{"photo_id":"1352066376","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066365":["hashtag1","hashtag2"]},{"1352066382":["hashtag1","hashtag2"]},{"1352066376":["hashtag1","hashtag2"]},{"1352066379":["hashtag1","hashtag2"]},{"1352066373":["hashtag1","hashtag2"]},{"1352066369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066365, 1352066382, 1352066376, 1352066379, 1352066373, 1352066369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7853147983551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:35:32.318258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_26_10466.jpg', '/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_36_9337.jpg', '/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_46_10529.jpg', '/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_56_10373.jpg', '/home/pi/Desktop/images/20042025/05/07/image_20042025_05_08_06_9369.jpg', '/home/pi/Desktop/images/20042025/05/08/image_20042025_05_08_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_26_10466.jpg
/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_36_9337.jpg
/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_46_10529.jpg
/home/pi/Desktop/images/20042025/05/07/image_20042025_05_07_56_10373.jpg
/home/pi/Desktop/images/20042025/05/07/image_20042025_05_08_06_9369.jpg
/home/pi/Desktop/images/20042025/05/08/image_20042025_05_08_16_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066398","1352066402","1352066392","1352066394","1352066400","1352066396"],"photo_ids_order":["1352066392","1352066394","1352066396","1352066398","1352066400","1352066402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cf929760f12c9e310c640ce4088d15c.jpg","text":"TemporaryFile(/tmp/multipartBody4636609558316792120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130992865,"filename":"image_20042025_05_07_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0014f054f2c87c303cae69b02baebf1.jpg","text":"TemporaryFile(/tmp/multipartBody2212322689334403885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130992865,"filename":"image_20042025_05_08_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b66df630606e5c9cdf2f432495e454c5.jpg","text":"TemporaryFile(/tmp/multipartBody6018628746609124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130992865,"filename":"image_20042025_05_07_26_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ce7bc3b7f388defe158ab6a07c30db6.jpg","text":"TemporaryFile(/tmp/multipartBody8905241502907088116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130992865,"filename":"image_20042025_05_07_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f45c078a74ab7467aa739aca60f25c1.jpg","text":"TemporaryFile(/tmp/multipartBody7966018699881294169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130992865,"filename":"image_20042025_05_08_06_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/623dce96d71c6a402737bfc5a377bebc.jpg","text":"TemporaryFile(/tmp/multipartBody7972122986124111343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745130992865,"filename":"image_20042025_05_07_46_10529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066396","file1":"1352066394","file0":"1352066392","file4":"1352066400","file5":"1352066402","file3":"1352066398"},"map_files_photo_id_array":[{"photo_id":"1352066402","filename":"file5"},{"photo_id":"1352066396","filename":"file2"},{"photo_id":"1352066400","filename":"file4"},{"photo_id":"1352066394","filename":"file1"},{"photo_id":"1352066392","filename":"file0"},{"photo_id":"1352066398","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066398":["hashtag1","hashtag2"]},{"1352066402":["hashtag1","hashtag2"]},{"1352066392":["hashtag1","hashtag2"]},{"1352066394":["hashtag1","hashtag2"]},{"1352066400":["hashtag1","hashtag2"]},{"1352066396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066398, 1352066402, 1352066392, 1352066394, 1352066400, 1352066396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.406693696975708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:36:32.611527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/08/image_20042025_05_08_26_9356.jpg', '/home/pi/Desktop/images/20042025/05/08/image_20042025_05_09_06_10463.jpg', '/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_16_9349.jpg', '/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_26_10433.jpg', '/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_36_10434.jpg', '/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_46_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/08/image_20042025_05_08_26_9356.jpg
/home/pi/Desktop/images/20042025/05/08/image_20042025_05_09_06_10463.jpg
/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_16_9349.jpg
/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_26_10433.jpg
/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_36_10434.jpg
/home/pi/Desktop/images/20042025/05/09/image_20042025_05_09_46_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066430","1352066424","1352066427","1352066421","1352066415","1352066418"],"photo_ids_order":["1352066415","1352066418","1352066421","1352066424","1352066427","1352066430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7985e8f92aad0c11faa24e3ae016dff2.jpg","text":"TemporaryFile(/tmp/multipartBody3893391345942135090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131053149,"filename":"image_20042025_05_09_46_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07b48a76effa6946362962b0b318799c.jpg","text":"TemporaryFile(/tmp/multipartBody4463575611467429496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131053149,"filename":"image_20042025_05_09_26_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9232bd9827c8c1ea39442c36c781f29.jpg","text":"TemporaryFile(/tmp/multipartBody3801871466886806252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131053149,"filename":"image_20042025_05_09_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77bb80ef7f59fadbe74ffb6b440f5813.jpg","text":"TemporaryFile(/tmp/multipartBody6828760636377016575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131053149,"filename":"image_20042025_05_09_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b72e27f7218d86ba215367d3a6fd6da1.jpg","text":"TemporaryFile(/tmp/multipartBody8878893888388777502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131053149,"filename":"image_20042025_05_08_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de774e51f3ac78751e7c0de002ce10cb.jpg","text":"TemporaryFile(/tmp/multipartBody7489225614262690037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131053149,"filename":"image_20042025_05_09_06_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066421","file1":"1352066418","file0":"1352066415","file4":"1352066427","file5":"1352066430","file3":"1352066424"},"map_files_photo_id_array":[{"photo_id":"1352066430","filename":"file5"},{"photo_id":"1352066421","filename":"file2"},{"photo_id":"1352066427","filename":"file4"},{"photo_id":"1352066418","filename":"file1"},{"photo_id":"1352066415","filename":"file0"},{"photo_id":"1352066424","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066430":["hashtag1","hashtag2"]},{"1352066424":["hashtag1","hashtag2"]},{"1352066427":["hashtag1","hashtag2"]},{"1352066421":["hashtag1","hashtag2"]},{"1352066415":["hashtag1","hashtag2"]},{"1352066418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066430, 1352066424, 1352066427, 1352066421, 1352066415, 1352066418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.739068269729614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:37:32.834491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/09/image_20042025_05_10_06_9344.jpg', '/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_26_10382.jpg', '/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_36_9418.jpg', '/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_46_10385.jpg', '/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_56_9367.jpg', '/home/pi/Desktop/images/20042025/05/10/image_20042025_05_11_06_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/09/image_20042025_05_10_06_9344.jpg
/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_26_10382.jpg
/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_36_9418.jpg
/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_46_10385.jpg
/home/pi/Desktop/images/20042025/05/10/image_20042025_05_10_56_9367.jpg
/home/pi/Desktop/images/20042025/05/10/image_20042025_05_11_06_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066456","1352066450","1352066452","1352066446","1352066454","1352066448"],"photo_ids_order":["1352066446","1352066448","1352066450","1352066452","1352066454","1352066456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a72f15665870dbbae9a2218934b2d019.jpg","text":"TemporaryFile(/tmp/multipartBody4956675037537657671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131113374,"filename":"image_20042025_05_11_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f56e9b43a3f70944c47ddcbb88a6ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3793462162681433765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131113374,"filename":"image_20042025_05_10_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e3e68efdf5b00e917a5b592e0216c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8783816849458502206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131113374,"filename":"image_20042025_05_10_46_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf22adfff001010fa19d4e1071755e88.jpg","text":"TemporaryFile(/tmp/multipartBody356624337880370534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131113374,"filename":"image_20042025_05_10_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fecba20a654288122f6420f1fa679024.jpg","text":"TemporaryFile(/tmp/multipartBody8621799720614464446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131113374,"filename":"image_20042025_05_10_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b5ef1799fa534a3aba4439bca092fd3.jpg","text":"TemporaryFile(/tmp/multipartBody9091190585224136656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131113374,"filename":"image_20042025_05_10_26_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066450","file1":"1352066448","file0":"1352066446","file4":"1352066454","file5":"1352066456","file3":"1352066452"},"map_files_photo_id_array":[{"photo_id":"1352066456","filename":"file5"},{"photo_id":"1352066450","filename":"file2"},{"photo_id":"1352066454","filename":"file4"},{"photo_id":"1352066448","filename":"file1"},{"photo_id":"1352066446","filename":"file0"},{"photo_id":"1352066452","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066456":["hashtag1","hashtag2"]},{"1352066450":["hashtag1","hashtag2"]},{"1352066452":["hashtag1","hashtag2"]},{"1352066446":["hashtag1","hashtag2"]},{"1352066454":["hashtag1","hashtag2"]},{"1352066448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066456, 1352066450, 1352066452, 1352066446, 1352066454, 1352066448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63433361053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:38:33.117904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_16_9401.jpg', '/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_26_10410.jpg', '/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_36_10363.jpg', '/home/pi/Desktop/images/20042025/05/12/image_20042025_05_13_06_9333.jpg', '/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_16_10446.jpg', '/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_36_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_16_9401.jpg
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_26_10410.jpg
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_36_10363.jpg
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_13_06_9333.jpg
/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_16_10446.jpg
/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_36_9404.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4536881446838379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 08:38:43.057347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_16_9401.jpg', '/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_26_10410.jpg', '/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_36_10363.jpg', '/home/pi/Desktop/images/20042025/05/12/image_20042025_05_13_06_9333.jpg', '/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_16_10446.jpg', '/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_36_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_16_9401.jpg
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_26_10410.jpg
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_12_36_10363.jpg
/home/pi/Desktop/images/20042025/05/12/image_20042025_05_13_06_9333.jpg
/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_16_10446.jpg
/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_36_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066477","1352066479","1352066475","1352066466","1352066471","1352066468"],"photo_ids_order":["1352066466","1352066468","1352066471","1352066475","1352066477","1352066479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2ba5b5d0a1f6b524cf7c91f8e715bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1002577522556093285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131183519,"filename":"image_20042025_05_13_16_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e6f56b0a1a52b66bdae2334cb0640b9.jpg","text":"TemporaryFile(/tmp/multipartBody2479981588936177897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131183519,"filename":"image_20042025_05_13_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de9961c84a8ad698ad8523b53d1028d9.jpg","text":"TemporaryFile(/tmp/multipartBody8613321679539495207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131183519,"filename":"image_20042025_05_13_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/710488c7a1ba3f6c6f4546ae87387087.jpg","text":"TemporaryFile(/tmp/multipartBody799477611843188024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131183519,"filename":"image_20042025_05_12_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0b2db4ac153663653a5a37babba5a5f.jpg","text":"TemporaryFile(/tmp/multipartBody8588275348336648296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131183519,"filename":"image_20042025_05_12_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/668cc21f7cc79c61ab74a0c807c6cdf7.jpg","text":"TemporaryFile(/tmp/multipartBody7261342813426834448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131183519,"filename":"image_20042025_05_12_26_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066471","file1":"1352066468","file0":"1352066466","file4":"1352066477","file5":"1352066479","file3":"1352066475"},"map_files_photo_id_array":[{"photo_id":"1352066479","filename":"file5"},{"photo_id":"1352066471","filename":"file2"},{"photo_id":"1352066477","filename":"file4"},{"photo_id":"1352066468","filename":"file1"},{"photo_id":"1352066466","filename":"file0"},{"photo_id":"1352066475","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066477":["hashtag1","hashtag2"]},{"1352066479":["hashtag1","hashtag2"]},{"1352066475":["hashtag1","hashtag2"]},{"1352066466":["hashtag1","hashtag2"]},{"1352066471":["hashtag1","hashtag2"]},{"1352066468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066477, 1352066479, 1352066475, 1352066466, 1352066471, 1352066468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81030225753784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:39:32.209290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_46_10414.jpg', '/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_56_9355.jpg', '/home/pi/Desktop/images/20042025/05/13/image_20042025_05_14_06_10455.jpg', '/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_16_10356.jpg', '/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_26_9365.jpg', '/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_36_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_46_10414.jpg
/home/pi/Desktop/images/20042025/05/13/image_20042025_05_13_56_9355.jpg
/home/pi/Desktop/images/20042025/05/13/image_20042025_05_14_06_10455.jpg
/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_16_10356.jpg
/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_26_9365.jpg
/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_36_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066491","1352066485","1352066493","1352066484","1352066486","1352066489"],"photo_ids_order":["1352066484","1352066485","1352066486","1352066489","1352066491","1352066493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1afc10c6e88394c716dfb1e91e5b4ac.jpg","text":"TemporaryFile(/tmp/multipartBody1547723016230624545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131232745,"filename":"image_20042025_05_14_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22c6a81e3d71a9c122507c7a3c556988.jpg","text":"TemporaryFile(/tmp/multipartBody1205724029153276228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131232745,"filename":"image_20042025_05_13_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed20d66fd86c1970f5346f9b73555f7c.jpg","text":"TemporaryFile(/tmp/multipartBody708631579757679120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131232745,"filename":"image_20042025_05_14_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27e4790db93bac21463df0a6c75feb2d.jpg","text":"TemporaryFile(/tmp/multipartBody720220904258613945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131232745,"filename":"image_20042025_05_13_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/840abf4969d4f739b70780eaa07efaf2.jpg","text":"TemporaryFile(/tmp/multipartBody7078782290453558786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131232745,"filename":"image_20042025_05_14_06_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96eef754a3cc3adb48aaaf8367eb4319.jpg","text":"TemporaryFile(/tmp/multipartBody8540662515538713226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131232745,"filename":"image_20042025_05_14_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066486","file1":"1352066485","file0":"1352066484","file4":"1352066491","file5":"1352066493","file3":"1352066489"},"map_files_photo_id_array":[{"photo_id":"1352066493","filename":"file5"},{"photo_id":"1352066486","filename":"file2"},{"photo_id":"1352066491","filename":"file4"},{"photo_id":"1352066485","filename":"file1"},{"photo_id":"1352066484","filename":"file0"},{"photo_id":"1352066489","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066491":["hashtag1","hashtag2"]},{"1352066485":["hashtag1","hashtag2"]},{"1352066493":["hashtag1","hashtag2"]},{"1352066484":["hashtag1","hashtag2"]},{"1352066486":["hashtag1","hashtag2"]},{"1352066489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066491, 1352066485, 1352066493, 1352066484, 1352066486, 1352066489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.998098611831665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:40:32.412335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_46_9427.jpg', '/home/pi/Desktop/images/20042025/05/15/image_20042025_05_15_16_9358.jpg', '/home/pi/Desktop/images/20042025/05/15/image_20042025_05_15_26_10439.jpg', '/home/pi/Desktop/images/20042025/05/15/image_20042025_05_15_46_10415.jpg', '/home/pi/Desktop/images/20042025/05/15/image_20042025_05_16_06_9337.jpg', '/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_16_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/14/image_20042025_05_14_46_9427.jpg
/home/pi/Desktop/images/20042025/05/15/image_20042025_05_15_16_9358.jpg
/home/pi/Desktop/images/20042025/05/15/image_20042025_05_15_26_10439.jpg
/home/pi/Desktop/images/20042025/05/15/image_20042025_05_15_46_10415.jpg
/home/pi/Desktop/images/20042025/05/15/image_20042025_05_16_06_9337.jpg
/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_16_10488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066504","1352066501","1352066503","1352066496","1352066498","1352066502"],"photo_ids_order":["1352066496","1352066498","1352066501","1352066502","1352066503","1352066504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4df19caadeaac102551ad96ff85727af.jpg","text":"TemporaryFile(/tmp/multipartBody6219764158839426088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131292928,"filename":"image_20042025_05_16_16_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5d58c0d10d19b149604fd2feb20f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody4980598184187109674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131292928,"filename":"image_20042025_05_15_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e82841e9c79a18899b2aeefc809750e.jpg","text":"TemporaryFile(/tmp/multipartBody3938429550024949286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131292928,"filename":"image_20042025_05_16_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cf1b93a0ad7faa2c7b7da5c7d0a795a.jpg","text":"TemporaryFile(/tmp/multipartBody3429943308640319038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131292928,"filename":"image_20042025_05_14_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f761b7732758fe6c3d53d72be10d8af.jpg","text":"TemporaryFile(/tmp/multipartBody6000278518168875966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131292928,"filename":"image_20042025_05_15_16_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b169b539d79410d1f0f91150c238c495.jpg","text":"TemporaryFile(/tmp/multipartBody4972713878906946495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131292928,"filename":"image_20042025_05_15_46_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066501","file1":"1352066498","file0":"1352066496","file4":"1352066503","file5":"1352066504","file3":"1352066502"},"map_files_photo_id_array":[{"photo_id":"1352066504","filename":"file5"},{"photo_id":"1352066501","filename":"file2"},{"photo_id":"1352066503","filename":"file4"},{"photo_id":"1352066498","filename":"file1"},{"photo_id":"1352066496","filename":"file0"},{"photo_id":"1352066502","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066504":["hashtag1","hashtag2"]},{"1352066501":["hashtag1","hashtag2"]},{"1352066503":["hashtag1","hashtag2"]},{"1352066496":["hashtag1","hashtag2"]},{"1352066498":["hashtag1","hashtag2"]},{"1352066502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066504, 1352066501, 1352066503, 1352066496, 1352066498, 1352066502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.766491174697876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:41:32.649546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_26_9360.jpg', '/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_36_10413.jpg', '/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_46_10363.jpg', '/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_56_9354.jpg', '/home/pi/Desktop/images/20042025/05/16/image_20042025_05_17_06_10369.jpg', '/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_16_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_26_9360.jpg
/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_36_10413.jpg
/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_46_10363.jpg
/home/pi/Desktop/images/20042025/05/16/image_20042025_05_16_56_9354.jpg
/home/pi/Desktop/images/20042025/05/16/image_20042025_05_17_06_10369.jpg
/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_16_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066522","1352066525","1352066527","1352066523","1352066529","1352066520"],"photo_ids_order":["1352066520","1352066522","1352066523","1352066525","1352066527","1352066529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1068a9ab13a08bd24a94db1a3d418e4.jpg","text":"TemporaryFile(/tmp/multipartBody1431548596415096404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131353184,"filename":"image_20042025_05_16_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2758146de27197b731ef9a9ab10ed1aa.jpg","text":"TemporaryFile(/tmp/multipartBody3440873647660594749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131353184,"filename":"image_20042025_05_16_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ec0085fe404134abc2b76f43e8a5760.jpg","text":"TemporaryFile(/tmp/multipartBody7941308001152775901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131353184,"filename":"image_20042025_05_17_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e20cf97c814a1adefcbb710359d1db5.jpg","text":"TemporaryFile(/tmp/multipartBody6199018454566336050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131353184,"filename":"image_20042025_05_16_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47a4bee27d6387fb007ba3485e7199ab.jpg","text":"TemporaryFile(/tmp/multipartBody2861500474752270039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131353184,"filename":"image_20042025_05_17_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34d6f675ff8368aa57562bd0b5e0415d.jpg","text":"TemporaryFile(/tmp/multipartBody6797606692383767351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131353184,"filename":"image_20042025_05_16_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066523","file1":"1352066522","file0":"1352066520","file4":"1352066527","file5":"1352066529","file3":"1352066525"},"map_files_photo_id_array":[{"photo_id":"1352066529","filename":"file5"},{"photo_id":"1352066523","filename":"file2"},{"photo_id":"1352066527","filename":"file4"},{"photo_id":"1352066522","filename":"file1"},{"photo_id":"1352066520","filename":"file0"},{"photo_id":"1352066525","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066522":["hashtag1","hashtag2"]},{"1352066525":["hashtag1","hashtag2"]},{"1352066527":["hashtag1","hashtag2"]},{"1352066523":["hashtag1","hashtag2"]},{"1352066529":["hashtag1","hashtag2"]},{"1352066520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066522, 1352066525, 1352066527, 1352066523, 1352066529, 1352066520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.132622718811035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:42:32.916046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_26_9377.jpg', '/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_36_10417.jpg', '/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_46_9370.jpg', '/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_56_10473.jpg', '/home/pi/Desktop/images/20042025/05/17/image_20042025_05_18_05_9467.jpg', '/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_16_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_26_9377.jpg
/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_36_10417.jpg
/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_46_9370.jpg
/home/pi/Desktop/images/20042025/05/17/image_20042025_05_17_56_10473.jpg
/home/pi/Desktop/images/20042025/05/17/image_20042025_05_18_05_9467.jpg
/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_16_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066557","1352066545","1352066554","1352066542","1352066550","1352066538"],"photo_ids_order":["1352066538","1352066542","1352066545","1352066550","1352066554","1352066557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1eb7d485490c3fdf753d126777462dd7.jpg","text":"TemporaryFile(/tmp/multipartBody3175400479746242581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131413462,"filename":"image_20042025_05_18_16_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67407a6c800bd045b77084b30c9daf7b.jpg","text":"TemporaryFile(/tmp/multipartBody3141803118561363984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131413462,"filename":"image_20042025_05_17_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b492f9fb34e88714f7c49448f411b2d.jpg","text":"TemporaryFile(/tmp/multipartBody3744025967767759114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131413462,"filename":"image_20042025_05_18_05_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fe0318d1400eeca1c8a36062a5de33c.jpg","text":"TemporaryFile(/tmp/multipartBody5322232274373123750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131413462,"filename":"image_20042025_05_17_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ad2d70262cef86719c895a21d0242a8.jpg","text":"TemporaryFile(/tmp/multipartBody7868484975617223730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131413462,"filename":"image_20042025_05_17_56_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/408aea8e52225ae9bb4243deebe356fc.jpg","text":"TemporaryFile(/tmp/multipartBody2814299320804828796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131413462,"filename":"image_20042025_05_17_26_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066545","file1":"1352066542","file0":"1352066538","file4":"1352066554","file5":"1352066557","file3":"1352066550"},"map_files_photo_id_array":[{"photo_id":"1352066557","filename":"file5"},{"photo_id":"1352066545","filename":"file2"},{"photo_id":"1352066554","filename":"file4"},{"photo_id":"1352066542","filename":"file1"},{"photo_id":"1352066538","filename":"file0"},{"photo_id":"1352066550","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066557":["hashtag1","hashtag2"]},{"1352066545":["hashtag1","hashtag2"]},{"1352066554":["hashtag1","hashtag2"]},{"1352066542":["hashtag1","hashtag2"]},{"1352066550":["hashtag1","hashtag2"]},{"1352066538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066557, 1352066545, 1352066554, 1352066542, 1352066550, 1352066538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.50243616104126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:43:33.194071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_26_10351.jpg', '/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_36_9345.jpg', '/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_46_10375.jpg', '/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_56_10371.jpg', '/home/pi/Desktop/images/20042025/05/18/image_20042025_05_19_06_9351.jpg', '/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_26_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_26_10351.jpg
/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_36_9345.jpg
/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_46_10375.jpg
/home/pi/Desktop/images/20042025/05/18/image_20042025_05_18_56_10371.jpg
/home/pi/Desktop/images/20042025/05/18/image_20042025_05_19_06_9351.jpg
/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_26_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066575","1352066574","1352066568","1352066577","1352066571","1352066565"],"photo_ids_order":["1352066565","1352066568","1352066571","1352066574","1352066575","1352066577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c693d3578ebf78c77941c11c0932f88e.jpg","text":"TemporaryFile(/tmp/multipartBody3407177350554247585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131473728,"filename":"image_20042025_05_19_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e3613b8495cd9940db08f07b055f72b.jpg","text":"TemporaryFile(/tmp/multipartBody3312954398760770471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131473728,"filename":"image_20042025_05_18_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f831bc0d2f16afe218a607b5ed6caa27.jpg","text":"TemporaryFile(/tmp/multipartBody8010854662011389669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131473728,"filename":"image_20042025_05_18_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8c6af1347bb3f080d86f79ea6ea62c6.jpg","text":"TemporaryFile(/tmp/multipartBody5771551113953381457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131473728,"filename":"image_20042025_05_19_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de78470f8965c28a5f483c98b94c7aaa.jpg","text":"TemporaryFile(/tmp/multipartBody9095127271635895825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131473728,"filename":"image_20042025_05_18_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe3c3a6f42d298a6b3231f14773e5848.jpg","text":"TemporaryFile(/tmp/multipartBody1313749144817429790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131473728,"filename":"image_20042025_05_18_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066571","file1":"1352066568","file0":"1352066565","file4":"1352066575","file5":"1352066577","file3":"1352066574"},"map_files_photo_id_array":[{"photo_id":"1352066577","filename":"file5"},{"photo_id":"1352066571","filename":"file2"},{"photo_id":"1352066575","filename":"file4"},{"photo_id":"1352066568","filename":"file1"},{"photo_id":"1352066565","filename":"file0"},{"photo_id":"1352066574","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066575":["hashtag1","hashtag2"]},{"1352066574":["hashtag1","hashtag2"]},{"1352066568":["hashtag1","hashtag2"]},{"1352066577":["hashtag1","hashtag2"]},{"1352066571":["hashtag1","hashtag2"]},{"1352066565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066575, 1352066574, 1352066568, 1352066577, 1352066571, 1352066565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04318690299988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:44:32.359525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_36_10420.jpg', '/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_46_10370.jpg', '/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_56_9366.jpg', '/home/pi/Desktop/images/20042025/05/19/image_20042025_05_20_06_10401.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_16_9348.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_26_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_36_10420.jpg
/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_46_10370.jpg
/home/pi/Desktop/images/20042025/05/19/image_20042025_05_19_56_9366.jpg
/home/pi/Desktop/images/20042025/05/19/image_20042025_05_20_06_10401.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_16_9348.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_26_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066600","1352066603","1352066596","1352066602","1352066589","1352066591"],"photo_ids_order":["1352066589","1352066591","1352066596","1352066600","1352066602","1352066603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48d5caac4197b6e21ac30a1de9314ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6399406232675219581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131532890,"filename":"image_20042025_05_20_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8667b98131fddde420c49669c8bf49ad.jpg","text":"TemporaryFile(/tmp/multipartBody7235808849055816329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131532890,"filename":"image_20042025_05_20_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06e47c3852b0e67c5ab5fc65a1933490.jpg","text":"TemporaryFile(/tmp/multipartBody2633147722079040324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131532890,"filename":"image_20042025_05_19_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fc39927fc836b5794de313563d9c41e.jpg","text":"TemporaryFile(/tmp/multipartBody8035524346732382273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131532890,"filename":"image_20042025_05_20_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e8bbd4a1e8dc446262db979e9d23bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2806485051418407985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131532890,"filename":"image_20042025_05_19_36_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3fcbf8495bb31e0cdb080a576dff6ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8486214612966957762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131532890,"filename":"image_20042025_05_19_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066596","file1":"1352066591","file0":"1352066589","file4":"1352066602","file5":"1352066603","file3":"1352066600"},"map_files_photo_id_array":[{"photo_id":"1352066603","filename":"file5"},{"photo_id":"1352066596","filename":"file2"},{"photo_id":"1352066602","filename":"file4"},{"photo_id":"1352066591","filename":"file1"},{"photo_id":"1352066589","filename":"file0"},{"photo_id":"1352066600","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066600":["hashtag1","hashtag2"]},{"1352066603":["hashtag1","hashtag2"]},{"1352066596":["hashtag1","hashtag2"]},{"1352066602":["hashtag1","hashtag2"]},{"1352066589":["hashtag1","hashtag2"]},{"1352066591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066600, 1352066603, 1352066596, 1352066602, 1352066589, 1352066591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.080827474594116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:45:32.735456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_36_10354.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_46_9342.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_56_10398.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_21_06_10360.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_16_9355.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_26_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_36_10354.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_46_9342.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_56_10398.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_21_06_10360.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_16_9355.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_26_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066615","1352066618","1352066626","1352066620","1352066623","1352066628"],"photo_ids_order":["1352066615","1352066618","1352066620","1352066623","1352066626","1352066628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66728064d076dda39663a37b6f741009.jpg","text":"TemporaryFile(/tmp/multipartBody7511478402373526773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131593269,"filename":"image_20042025_05_20_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8a0b97efeca8d0c1a94ab2a9a205658.jpg","text":"TemporaryFile(/tmp/multipartBody3692308108561133550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131593269,"filename":"image_20042025_05_20_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d47b9eaac8297aef92095ce78b6d7403.jpg","text":"TemporaryFile(/tmp/multipartBody4759115522692753730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131593269,"filename":"image_20042025_05_21_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa4aa7a7c69cd705980fc5eb9f516d23.jpg","text":"TemporaryFile(/tmp/multipartBody7940944498873367769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131593269,"filename":"image_20042025_05_20_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4baf7876ed9b3bcc67fa777441fc5bea.jpg","text":"TemporaryFile(/tmp/multipartBody5520489632689767998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131593269,"filename":"image_20042025_05_21_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6dd875da19464a44321dff3ffea90293.jpg","text":"TemporaryFile(/tmp/multipartBody5666431123620329577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131593269,"filename":"image_20042025_05_21_26_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066620","file1":"1352066618","file0":"1352066615","file4":"1352066626","file5":"1352066628","file3":"1352066623"},"map_files_photo_id_array":[{"photo_id":"1352066628","filename":"file5"},{"photo_id":"1352066620","filename":"file2"},{"photo_id":"1352066626","filename":"file4"},{"photo_id":"1352066618","filename":"file1"},{"photo_id":"1352066615","filename":"file0"},{"photo_id":"1352066623","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066615":["hashtag1","hashtag2"]},{"1352066618":["hashtag1","hashtag2"]},{"1352066626":["hashtag1","hashtag2"]},{"1352066620":["hashtag1","hashtag2"]},{"1352066623":["hashtag1","hashtag2"]},{"1352066628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066615, 1352066618, 1352066626, 1352066620, 1352066623, 1352066628)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1352066620 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_56_10398.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1352066620 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_56_10398.jpg";
uploaded 6 photos
time to upload: 60.70240545272827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 08:46:42.928524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 08:47:06.885296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_36_10354.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_46_9342.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_56_10398.jpg', '/home/pi/Desktop/images/20042025/05/20/image_20042025_05_21_06_10360.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_16_9355.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_26_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_36_10354.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_46_9342.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_20_56_10398.jpg
/home/pi/Desktop/images/20042025/05/20/image_20042025_05_21_06_10360.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_16_9355.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_26_10464.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066660","1352066662","1352066656","1352066665","1352066667","1352066670"],"photo_ids_order":["1352066656","1352066660","1352066662","1352066665","1352066667","1352066670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9134d314c884a943ed60b4c043f53265.jpg","text":"TemporaryFile(/tmp/multipartBody3095795637865107190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131687546,"filename":"image_20042025_05_20_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/251a8e1e9a1667af445178453271f760.jpg","text":"TemporaryFile(/tmp/multipartBody5847901508040201072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131687546,"filename":"image_20042025_05_20_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ae19ab856c64c321e4991c33f4a16e1.jpg","text":"TemporaryFile(/tmp/multipartBody6702619748585195213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131687546,"filename":"image_20042025_05_20_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0e75017f483953984d40ae85d121270.jpg","text":"TemporaryFile(/tmp/multipartBody7669049928809929130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131687546,"filename":"image_20042025_05_21_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec2f2b58ac916196e9e6a05ac2b556a3.jpg","text":"TemporaryFile(/tmp/multipartBody5734689957711879643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131687546,"filename":"image_20042025_05_21_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2582e40283d263384e4f6ecffd843030.jpg","text":"TemporaryFile(/tmp/multipartBody15474357335169665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131687546,"filename":"image_20042025_05_21_26_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066662","file1":"1352066660","file0":"1352066656","file4":"1352066667","file5":"1352066670","file3":"1352066665"},"map_files_photo_id_array":[{"photo_id":"1352066670","filename":"file5"},{"photo_id":"1352066662","filename":"file2"},{"photo_id":"1352066667","filename":"file4"},{"photo_id":"1352066660","filename":"file1"},{"photo_id":"1352066656","filename":"file0"},{"photo_id":"1352066665","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066660":["hashtag1","hashtag2"]},{"1352066662":["hashtag1","hashtag2"]},{"1352066656":["hashtag1","hashtag2"]},{"1352066665":["hashtag1","hashtag2"]},{"1352066667":["hashtag1","hashtag2"]},{"1352066670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066660, 1352066662, 1352066656, 1352066665, 1352066667, 1352066670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.726364850997925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 08:47:45.214143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_36_9419.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_46_10497.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_56_10366.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_22_06_9351.jpg', '/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_16_10346.jpg', '/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_25_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_36_9419.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_46_10497.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_56_10366.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_22_06_9351.jpg
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_16_10346.jpg
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_25_9356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46021223068237305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:47:55.177446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_36_9419.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_46_10497.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_56_10366.jpg', '/home/pi/Desktop/images/20042025/05/21/image_20042025_05_22_06_9351.jpg', '/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_16_10346.jpg', '/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_25_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_36_9419.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_46_10497.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_21_56_10366.jpg
/home/pi/Desktop/images/20042025/05/21/image_20042025_05_22_06_9351.jpg
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_16_10346.jpg
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_25_9356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066692","1352066695","1352066689","1352066686","1352066694","1352066684"],"photo_ids_order":["1352066684","1352066686","1352066689","1352066692","1352066694","1352066695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a37f7a05f7053b960d4308f02c4c6a25.jpg","text":"TemporaryFile(/tmp/multipartBody5313250823870376898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131735640,"filename":"image_20042025_05_22_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/299ff6edd7d7fc31b7af18100832e13c.jpg","text":"TemporaryFile(/tmp/multipartBody2042930972144329035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131735640,"filename":"image_20042025_05_22_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f017b3f679a929e73794a1dce8e5e95.jpg","text":"TemporaryFile(/tmp/multipartBody1012288801644557024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131735640,"filename":"image_20042025_05_21_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4749de7682246363160fb97a4adc90f.jpg","text":"TemporaryFile(/tmp/multipartBody1629363269772514129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131735640,"filename":"image_20042025_05_21_46_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e4a5fa744376b7b3522e065695d048c.jpg","text":"TemporaryFile(/tmp/multipartBody116039394402376131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131735640,"filename":"image_20042025_05_22_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45e596de8c3bf71f9166765aaaf83ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3954032978142021118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131735640,"filename":"image_20042025_05_21_36_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066689","file1":"1352066686","file0":"1352066684","file4":"1352066694","file5":"1352066695","file3":"1352066692"},"map_files_photo_id_array":[{"photo_id":"1352066695","filename":"file5"},{"photo_id":"1352066689","filename":"file2"},{"photo_id":"1352066694","filename":"file4"},{"photo_id":"1352066686","filename":"file1"},{"photo_id":"1352066684","filename":"file0"},{"photo_id":"1352066692","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066692":["hashtag1","hashtag2"]},{"1352066695":["hashtag1","hashtag2"]},{"1352066689":["hashtag1","hashtag2"]},{"1352066686":["hashtag1","hashtag2"]},{"1352066694":["hashtag1","hashtag2"]},{"1352066684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066692, 1352066695, 1352066689, 1352066686, 1352066694, 1352066684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.378243684768677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:48:32.376655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_36_10511.jpg', '/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_46_10365.jpg', '/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_56_9367.jpg', '/home/pi/Desktop/images/20042025/05/22/image_20042025_05_23_06_10429.jpg', '/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_16_9337.jpg', '/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_26_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_36_10511.jpg
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_46_10365.jpg
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_22_56_9367.jpg
/home/pi/Desktop/images/20042025/05/22/image_20042025_05_23_06_10429.jpg
/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_16_9337.jpg
/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_26_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066708","1352066702","1352066711","1352066710","1352066712","1352066706"],"photo_ids_order":["1352066702","1352066706","1352066708","1352066710","1352066711","1352066712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87882d5e3ed75a7a6a535036e0ddd392.jpg","text":"TemporaryFile(/tmp/multipartBody7094937140697550630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131772913,"filename":"image_20042025_05_22_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aee478314c72f08c40f2fdafae8c6346.jpg","text":"TemporaryFile(/tmp/multipartBody2834751540039868394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131772913,"filename":"image_20042025_05_22_36_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e5c9351e2f1ef920c55586a8734e2f3.jpg","text":"TemporaryFile(/tmp/multipartBody7620426079136132634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131772913,"filename":"image_20042025_05_23_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0240d660f8e11fa9bdeb72e6160233c.jpg","text":"TemporaryFile(/tmp/multipartBody8843261537704876095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131772913,"filename":"image_20042025_05_23_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd663915ea3c43bc8cc3ff45570b6233.jpg","text":"TemporaryFile(/tmp/multipartBody3072840590968559065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131772913,"filename":"image_20042025_05_23_26_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c7cf1fa79f29ece6ac3551c61d1355f.jpg","text":"TemporaryFile(/tmp/multipartBody814768767090676880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131772913,"filename":"image_20042025_05_22_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066708","file1":"1352066706","file0":"1352066702","file4":"1352066711","file5":"1352066712","file3":"1352066710"},"map_files_photo_id_array":[{"photo_id":"1352066712","filename":"file5"},{"photo_id":"1352066708","filename":"file2"},{"photo_id":"1352066711","filename":"file4"},{"photo_id":"1352066706","filename":"file1"},{"photo_id":"1352066702","filename":"file0"},{"photo_id":"1352066710","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066708":["hashtag1","hashtag2"]},{"1352066702":["hashtag1","hashtag2"]},{"1352066711":["hashtag1","hashtag2"]},{"1352066710":["hashtag1","hashtag2"]},{"1352066712":["hashtag1","hashtag2"]},{"1352066706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066708, 1352066702, 1352066711, 1352066710, 1352066712, 1352066706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44813895225525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:49:32.599077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_36_10365.jpg', '/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_46_9413.jpg', '/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_56_10347.jpg', '/home/pi/Desktop/images/20042025/05/23/image_20042025_05_24_05_9384.jpg', '/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_16_10476.jpg', '/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_26_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_36_10365.jpg
/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_46_9413.jpg
/home/pi/Desktop/images/20042025/05/23/image_20042025_05_23_56_10347.jpg
/home/pi/Desktop/images/20042025/05/23/image_20042025_05_24_05_9384.jpg
/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_16_10476.jpg
/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_26_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066732","1352066729","1352066731","1352066725","1352066734","1352066727"],"photo_ids_order":["1352066725","1352066727","1352066729","1352066731","1352066732","1352066734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71c22d584d6ce79c83c35aae4c3f320d.jpg","text":"TemporaryFile(/tmp/multipartBody1744013579515350964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131833130,"filename":"image_20042025_05_24_16_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2f3d1a12cd995e39faef7e28f1a3cce.jpg","text":"TemporaryFile(/tmp/multipartBody4860577976549819229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131833130,"filename":"image_20042025_05_23_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/953de3d94e1295dcc59fba5ea8e0e5e2.jpg","text":"TemporaryFile(/tmp/multipartBody8189751388929382292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131833130,"filename":"image_20042025_05_24_05_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edce90928927c4172c4b1306b40b8bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3228755374100750825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131833130,"filename":"image_20042025_05_23_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7fff23a517aa3cde139903333e777c6.jpg","text":"TemporaryFile(/tmp/multipartBody2994212782283559611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131833130,"filename":"image_20042025_05_24_26_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b471cf082c7a300fc92b328270821c21.jpg","text":"TemporaryFile(/tmp/multipartBody925528223435204352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131833130,"filename":"image_20042025_05_23_46_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066729","file1":"1352066727","file0":"1352066725","file4":"1352066732","file5":"1352066734","file3":"1352066731"},"map_files_photo_id_array":[{"photo_id":"1352066734","filename":"file5"},{"photo_id":"1352066729","filename":"file2"},{"photo_id":"1352066732","filename":"file4"},{"photo_id":"1352066727","filename":"file1"},{"photo_id":"1352066725","filename":"file0"},{"photo_id":"1352066731","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066732":["hashtag1","hashtag2"]},{"1352066729":["hashtag1","hashtag2"]},{"1352066731":["hashtag1","hashtag2"]},{"1352066725":["hashtag1","hashtag2"]},{"1352066734":["hashtag1","hashtag2"]},{"1352066727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066732, 1352066729, 1352066731, 1352066725, 1352066734, 1352066727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.60189700126648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:50:32.850759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_36_9331.jpg', '/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_46_10462.jpg', '/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_55_9348.jpg', '/home/pi/Desktop/images/20042025/05/24/image_20042025_05_25_06_10473.jpg', '/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_16_10420.jpg', '/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_26_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_36_9331.jpg
/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_46_10462.jpg
/home/pi/Desktop/images/20042025/05/24/image_20042025_05_24_55_9348.jpg
/home/pi/Desktop/images/20042025/05/24/image_20042025_05_25_06_10473.jpg
/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_16_10420.jpg
/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_26_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066755","1352066764","1352066758","1352066766","1352066760","1352066762"],"photo_ids_order":["1352066755","1352066758","1352066760","1352066762","1352066764","1352066766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3683ef7d673dd8ea5d739e9358f6d67.jpg","text":"TemporaryFile(/tmp/multipartBody4876409231786726295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131893642,"filename":"image_20042025_05_24_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3fb479c40fe7f0b689721fde913f07f.jpg","text":"TemporaryFile(/tmp/multipartBody6643644830351362147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131893642,"filename":"image_20042025_05_25_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/040b8cea3f1d61af5466ec950ab3c12d.jpg","text":"TemporaryFile(/tmp/multipartBody317731095574358477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131893642,"filename":"image_20042025_05_24_46_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/530514c0f37d1045fb4185750e56d4d5.jpg","text":"TemporaryFile(/tmp/multipartBody7493263317271052452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131893642,"filename":"image_20042025_05_25_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6665987add235bb9667c93f533984be.jpg","text":"TemporaryFile(/tmp/multipartBody4082102033819987901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131893642,"filename":"image_20042025_05_24_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b49ff3474c37a4e55fede685f0f55c1.jpg","text":"TemporaryFile(/tmp/multipartBody1378008384176422097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131893642,"filename":"image_20042025_05_25_06_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066760","file1":"1352066758","file0":"1352066755","file4":"1352066764","file5":"1352066766","file3":"1352066762"},"map_files_photo_id_array":[{"photo_id":"1352066766","filename":"file5"},{"photo_id":"1352066760","filename":"file2"},{"photo_id":"1352066764","filename":"file4"},{"photo_id":"1352066758","filename":"file1"},{"photo_id":"1352066755","filename":"file0"},{"photo_id":"1352066762","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066755":["hashtag1","hashtag2"]},{"1352066764":["hashtag1","hashtag2"]},{"1352066758":["hashtag1","hashtag2"]},{"1352066766":["hashtag1","hashtag2"]},{"1352066760":["hashtag1","hashtag2"]},{"1352066762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066755, 1352066764, 1352066758, 1352066766, 1352066760, 1352066762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86557102203369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:51:32.197857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_36_10343.jpg', '/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_45_9351.jpg', '/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_56_10483.jpg', '/home/pi/Desktop/images/20042025/05/25/image_20042025_05_26_06_10360.jpg', '/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_16_9338.jpg', '/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_26_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_36_10343.jpg
/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_45_9351.jpg
/home/pi/Desktop/images/20042025/05/25/image_20042025_05_25_56_10483.jpg
/home/pi/Desktop/images/20042025/05/25/image_20042025_05_26_06_10360.jpg
/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_16_9338.jpg
/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_26_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066791","1352066785","1352066788","1352066790","1352066778","1352066781"],"photo_ids_order":["1352066778","1352066781","1352066785","1352066788","1352066790","1352066791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75c82bd29b5e146e7dcdfb1162161381.jpg","text":"TemporaryFile(/tmp/multipartBody8182440055233352033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131952738,"filename":"image_20042025_05_26_26_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00267655b5af06d16267ad8e27741b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3204698186962939675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131952738,"filename":"image_20042025_05_25_56_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d0f8ff8cba7fec2ab4235ef8478af1f.jpg","text":"TemporaryFile(/tmp/multipartBody7013836840292044352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131952738,"filename":"image_20042025_05_26_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/807b0729b2c960b3df0a907601e62ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1479009121311277177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131952738,"filename":"image_20042025_05_26_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/426476e949f9aff4c8cb8ef0843b294c.jpg","text":"TemporaryFile(/tmp/multipartBody8021701990211766749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131952738,"filename":"image_20042025_05_25_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa52e363f992763fdc9073af11ecf893.jpg","text":"TemporaryFile(/tmp/multipartBody3221418919953106422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745131952738,"filename":"image_20042025_05_25_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066785","file1":"1352066781","file0":"1352066778","file4":"1352066790","file5":"1352066791","file3":"1352066788"},"map_files_photo_id_array":[{"photo_id":"1352066791","filename":"file5"},{"photo_id":"1352066785","filename":"file2"},{"photo_id":"1352066790","filename":"file4"},{"photo_id":"1352066781","filename":"file1"},{"photo_id":"1352066778","filename":"file0"},{"photo_id":"1352066788","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066791":["hashtag1","hashtag2"]},{"1352066785":["hashtag1","hashtag2"]},{"1352066788":["hashtag1","hashtag2"]},{"1352066790":["hashtag1","hashtag2"]},{"1352066778":["hashtag1","hashtag2"]},{"1352066781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066791, 1352066785, 1352066788, 1352066790, 1352066778, 1352066781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88432955741882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:52:32.429691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_36_10363.jpg', '/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_46_9364.jpg', '/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_56_10368.jpg', '/home/pi/Desktop/images/20042025/05/26/image_20042025_05_27_06_9448.jpg', '/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_16_10375.jpg', '/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_26_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_36_10363.jpg
/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_46_9364.jpg
/home/pi/Desktop/images/20042025/05/26/image_20042025_05_26_56_10368.jpg
/home/pi/Desktop/images/20042025/05/26/image_20042025_05_27_06_9448.jpg
/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_16_10375.jpg
/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_26_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066915","1352067048","1352067234","1352067194","1352067254","1352067119"],"photo_ids_order":["1352066915","1352067048","1352067119","1352067194","1352067234","1352067254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ec4dfee806218aa79d175e191feceb7.jpg","text":"TemporaryFile(/tmp/multipartBody4737868304247404989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132012955,"filename":"image_20042025_05_26_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b91ca9963bb1933bb678794059fac5db.jpg","text":"TemporaryFile(/tmp/multipartBody3096692050710302429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132012955,"filename":"image_20042025_05_26_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a33347e218a243ca4afa558b6accde29.jpg","text":"TemporaryFile(/tmp/multipartBody3198548166094208660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132012955,"filename":"image_20042025_05_27_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8704d897b2707e4d2f1ad441a3fd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7463625699779500625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132012955,"filename":"image_20042025_05_27_06_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea4c8f2fcab825063b15c892d0e12ed1.jpg","text":"TemporaryFile(/tmp/multipartBody9166571842124358245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132012955,"filename":"image_20042025_05_27_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/904c4f63af947baa824854e000341957.jpg","text":"TemporaryFile(/tmp/multipartBody2141432429217412681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132012955,"filename":"image_20042025_05_26_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352067119","file1":"1352067048","file0":"1352066915","file4":"1352067234","file5":"1352067254","file3":"1352067194"},"map_files_photo_id_array":[{"photo_id":"1352067254","filename":"file5"},{"photo_id":"1352067119","filename":"file2"},{"photo_id":"1352067234","filename":"file4"},{"photo_id":"1352067048","filename":"file1"},{"photo_id":"1352066915","filename":"file0"},{"photo_id":"1352067194","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352066915":["hashtag1","hashtag2"]},{"1352067048":["hashtag1","hashtag2"]},{"1352067234":["hashtag1","hashtag2"]},{"1352067194":["hashtag1","hashtag2"]},{"1352067254":["hashtag1","hashtag2"]},{"1352067119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352066915, 1352067048, 1352067234, 1352067194, 1352067254, 1352067119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7086079120636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:53:32.720852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_36_9359.jpg', '/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_46_10463.jpg', '/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_56_9354.jpg', '/home/pi/Desktop/images/20042025/05/27/image_20042025_05_28_06_10402.jpg', '/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_16_10363.jpg', '/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_26_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_36_9359.jpg
/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_46_10463.jpg
/home/pi/Desktop/images/20042025/05/27/image_20042025_05_27_56_9354.jpg
/home/pi/Desktop/images/20042025/05/27/image_20042025_05_28_06_10402.jpg
/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_16_10363.jpg
/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_26_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352067574","1352067637","1352067604","1352067532","1352067508","1352067697"],"photo_ids_order":["1352067508","1352067532","1352067574","1352067604","1352067637","1352067697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a27c9a9c6e8bf90b707b8c0e3f998de2.jpg","text":"TemporaryFile(/tmp/multipartBody7523963741543473107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132073258,"filename":"image_20042025_05_27_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51e6983f397a09ad9218d63340f6cfa8.jpg","text":"TemporaryFile(/tmp/multipartBody3424626796659504095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132073258,"filename":"image_20042025_05_28_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9890b384e27d84c185e70fbc4b766a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7539496932675626179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132073258,"filename":"image_20042025_05_28_06_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bddc6aa9b18bdb36833fc43fce34ef19.jpg","text":"TemporaryFile(/tmp/multipartBody4214909613220130867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132073258,"filename":"image_20042025_05_27_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de6a0e2d18c54a86369cd5f8636c8b12.jpg","text":"TemporaryFile(/tmp/multipartBody6267188940264966414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132073258,"filename":"image_20042025_05_27_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/918e2a2c4b0b941c8f361278fa8f014a.jpg","text":"TemporaryFile(/tmp/multipartBody1028201822567521053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132073258,"filename":"image_20042025_05_28_26_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352067574","file1":"1352067532","file0":"1352067508","file4":"1352067637","file5":"1352067697","file3":"1352067604"},"map_files_photo_id_array":[{"photo_id":"1352067697","filename":"file5"},{"photo_id":"1352067574","filename":"file2"},{"photo_id":"1352067637","filename":"file4"},{"photo_id":"1352067532","filename":"file1"},{"photo_id":"1352067508","filename":"file0"},{"photo_id":"1352067604","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352067574":["hashtag1","hashtag2"]},{"1352067637":["hashtag1","hashtag2"]},{"1352067604":["hashtag1","hashtag2"]},{"1352067532":["hashtag1","hashtag2"]},{"1352067508":["hashtag1","hashtag2"]},{"1352067697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352067574, 1352067637, 1352067604, 1352067532, 1352067508, 1352067697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.354398012161255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:54:32.931996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_36_10463.jpg', '/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_56_10490.jpg', '/home/pi/Desktop/images/20042025/05/28/image_20042025_05_29_06_10446.jpg', '/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_16_9355.jpg', '/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_26_10484.jpg', '/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_36_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_36_10463.jpg
/home/pi/Desktop/images/20042025/05/28/image_20042025_05_28_56_10490.jpg
/home/pi/Desktop/images/20042025/05/28/image_20042025_05_29_06_10446.jpg
/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_16_9355.jpg
/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_26_10484.jpg
/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_36_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352067835","1352067795","1352067837","1352067839","1352067833","1352067812"],"photo_ids_order":["1352067795","1352067812","1352067833","1352067835","1352067837","1352067839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6f8b11e8e20c71cf4e5a751e0cdf6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5274347275639919740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132133460,"filename":"image_20042025_05_29_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d8571843a89297cd775cf2e692252f0.jpg","text":"TemporaryFile(/tmp/multipartBody7223843245837444020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132133460,"filename":"image_20042025_05_28_36_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e09974ff733321bf33edfa0628ab61cb.jpg","text":"TemporaryFile(/tmp/multipartBody2726927692846510365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132133460,"filename":"image_20042025_05_29_26_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26df81c938bc0d7f263fde500128dcea.jpg","text":"TemporaryFile(/tmp/multipartBody7896454812878648286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132133460,"filename":"image_20042025_05_29_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de2cd94d4ca7c1f837bdd92519f99a6.jpg","text":"TemporaryFile(/tmp/multipartBody4338768953536215772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132133460,"filename":"image_20042025_05_29_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a396f1cfbff9ee6359ab0dd4469f4e52.jpg","text":"TemporaryFile(/tmp/multipartBody1744847149503290298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132133460,"filename":"image_20042025_05_28_56_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352067833","file1":"1352067812","file0":"1352067795","file4":"1352067837","file5":"1352067839","file3":"1352067835"},"map_files_photo_id_array":[{"photo_id":"1352067839","filename":"file5"},{"photo_id":"1352067833","filename":"file2"},{"photo_id":"1352067837","filename":"file4"},{"photo_id":"1352067812","filename":"file1"},{"photo_id":"1352067795","filename":"file0"},{"photo_id":"1352067835","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352067835":["hashtag1","hashtag2"]},{"1352067795":["hashtag1","hashtag2"]},{"1352067837":["hashtag1","hashtag2"]},{"1352067839":["hashtag1","hashtag2"]},{"1352067833":["hashtag1","hashtag2"]},{"1352067812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352067835, 1352067795, 1352067837, 1352067839, 1352067833, 1352067812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.968388080596924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:55:32.163633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_46_10378.jpg', '/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_56_10372.jpg', '/home/pi/Desktop/images/20042025/05/29/image_20042025_05_30_06_9450.jpg', '/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_16_10407.jpg', '/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_26_9368.jpg', '/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_36_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_46_10378.jpg
/home/pi/Desktop/images/20042025/05/29/image_20042025_05_29_56_10372.jpg
/home/pi/Desktop/images/20042025/05/29/image_20042025_05_30_06_9450.jpg
/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_16_10407.jpg
/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_26_9368.jpg
/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_36_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352068074","1352068077","1352068116","1352068038","1352068070","1352068090"],"photo_ids_order":["1352068038","1352068070","1352068074","1352068077","1352068090","1352068116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4e967c5937c791e721c93bcda82acc1.jpg","text":"TemporaryFile(/tmp/multipartBody254454377484703119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132192695,"filename":"image_20042025_05_30_06_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b75859ddf8a87d9dadb79ffbb81b8a65.jpg","text":"TemporaryFile(/tmp/multipartBody5999366714455294124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132192695,"filename":"image_20042025_05_30_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c2d0b575e93ce040e1a880a5812287d.jpg","text":"TemporaryFile(/tmp/multipartBody3874966676233740642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132192695,"filename":"image_20042025_05_30_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a64fc29d28267919c8117489bd90f6ce.jpg","text":"TemporaryFile(/tmp/multipartBody840505592199013609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132192695,"filename":"image_20042025_05_29_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce42bca799fe1f085464b30fd4395a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2170717932487133341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132192695,"filename":"image_20042025_05_29_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4713e5b03a6210b3ce54ae4f4947db2a.jpg","text":"TemporaryFile(/tmp/multipartBody6210569928894117090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132192695,"filename":"image_20042025_05_30_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352068074","file1":"1352068070","file0":"1352068038","file4":"1352068090","file5":"1352068116","file3":"1352068077"},"map_files_photo_id_array":[{"photo_id":"1352068116","filename":"file5"},{"photo_id":"1352068074","filename":"file2"},{"photo_id":"1352068090","filename":"file4"},{"photo_id":"1352068070","filename":"file1"},{"photo_id":"1352068038","filename":"file0"},{"photo_id":"1352068077","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352068074":["hashtag1","hashtag2"]},{"1352068077":["hashtag1","hashtag2"]},{"1352068116":["hashtag1","hashtag2"]},{"1352068038":["hashtag1","hashtag2"]},{"1352068070":["hashtag1","hashtag2"]},{"1352068090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352068074, 1352068077, 1352068116, 1352068038, 1352068070, 1352068090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.021307945251465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:56:32.398456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_46_10381.jpg', '/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_56_9348.jpg', '/home/pi/Desktop/images/20042025/05/30/image_20042025_05_31_06_10413.jpg', '/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_16_9356.jpg', '/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_26_10422.jpg', '/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_46_10381.jpg
/home/pi/Desktop/images/20042025/05/30/image_20042025_05_30_56_9348.jpg
/home/pi/Desktop/images/20042025/05/30/image_20042025_05_31_06_10413.jpg
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_16_9356.jpg
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_26_10422.jpg
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352068191","1352068194","1352068196","1352068199","1352068189","1352068198"],"photo_ids_order":["1352068189","1352068191","1352068194","1352068196","1352068198","1352068199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f64942405372ddcf40ec5c4041ee6b0.jpg","text":"TemporaryFile(/tmp/multipartBody4413263775872373077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132252942,"filename":"image_20042025_05_30_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96e8f476ac57671a7e408c6c76434a10.jpg","text":"TemporaryFile(/tmp/multipartBody4516882992629240891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132252942,"filename":"image_20042025_05_31_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68cbf3b4d015d2b3c3546cf628870197.jpg","text":"TemporaryFile(/tmp/multipartBody2400565566440644015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132252942,"filename":"image_20042025_05_31_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1658265bae28f46a5039ca46d3d9c5d2.jpg","text":"TemporaryFile(/tmp/multipartBody8263606418742486524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132252942,"filename":"image_20042025_05_31_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/140d6b87bd181a78138cb07349127dec.jpg","text":"TemporaryFile(/tmp/multipartBody1187275804309213597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132252942,"filename":"image_20042025_05_30_46_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfc0636194101c9888481f8fc36fb3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1479676434491467414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132252942,"filename":"image_20042025_05_31_26_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352068194","file1":"1352068191","file0":"1352068189","file4":"1352068198","file5":"1352068199","file3":"1352068196"},"map_files_photo_id_array":[{"photo_id":"1352068199","filename":"file5"},{"photo_id":"1352068194","filename":"file2"},{"photo_id":"1352068198","filename":"file4"},{"photo_id":"1352068191","filename":"file1"},{"photo_id":"1352068189","filename":"file0"},{"photo_id":"1352068196","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352068191":["hashtag1","hashtag2"]},{"1352068194":["hashtag1","hashtag2"]},{"1352068196":["hashtag1","hashtag2"]},{"1352068199":["hashtag1","hashtag2"]},{"1352068189":["hashtag1","hashtag2"]},{"1352068198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352068191, 1352068194, 1352068196, 1352068199, 1352068189, 1352068198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.582715034484863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:57:32.568431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_46_9369.jpg', '/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_56_10426.jpg', '/home/pi/Desktop/images/20042025/05/31/image_20042025_05_32_06_10350.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_16_9347.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_26_10364.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_35_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_46_9369.jpg
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_56_10426.jpg
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_32_06_10350.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_16_9347.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_26_10364.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_35_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 08:59:03.615390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_46_9369.jpg', '/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_56_10426.jpg', '/home/pi/Desktop/images/20042025/05/31/image_20042025_05_32_06_10350.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_16_9347.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_26_10364.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_35_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_46_9369.jpg
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_31_56_10426.jpg
/home/pi/Desktop/images/20042025/05/31/image_20042025_05_32_06_10350.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_16_9347.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_26_10364.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_35_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352068561","1352068555","1352068551","1352068545","1352068538","1352068567"],"photo_ids_order":["1352068538","1352068545","1352068551","1352068555","1352068561","1352068567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba7b69dda170f2890c9e5ec5b6ce1666.jpg","text":"TemporaryFile(/tmp/multipartBody3605045556498150596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132404208,"filename":"image_20042025_05_32_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38219a4d7075445647a0f96502bd11b7.jpg","text":"TemporaryFile(/tmp/multipartBody5282645944993520633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132404208,"filename":"image_20042025_05_32_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecb94d13a572c9834fe9338e88864860.jpg","text":"TemporaryFile(/tmp/multipartBody5602652616858915638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132404208,"filename":"image_20042025_05_32_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1b705acf30259259ea636e7fc5ab6ea.jpg","text":"TemporaryFile(/tmp/multipartBody8515672205163801768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132404208,"filename":"image_20042025_05_31_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8e8b891694aed83b6cb76073444e394.jpg","text":"TemporaryFile(/tmp/multipartBody8888753839924777820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132404208,"filename":"image_20042025_05_31_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/955d54bcd62abd17b262c1dbea57da37.jpg","text":"TemporaryFile(/tmp/multipartBody4670967387581101654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132404208,"filename":"image_20042025_05_32_35_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352068551","file1":"1352068545","file0":"1352068538","file4":"1352068561","file5":"1352068567","file3":"1352068555"},"map_files_photo_id_array":[{"photo_id":"1352068567","filename":"file5"},{"photo_id":"1352068551","filename":"file2"},{"photo_id":"1352068561","filename":"file4"},{"photo_id":"1352068545","filename":"file1"},{"photo_id":"1352068538","filename":"file0"},{"photo_id":"1352068555","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352068561":["hashtag1","hashtag2"]},{"1352068555":["hashtag1","hashtag2"]},{"1352068551":["hashtag1","hashtag2"]},{"1352068545":["hashtag1","hashtag2"]},{"1352068538":["hashtag1","hashtag2"]},{"1352068567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352068561, 1352068555, 1352068551, 1352068545, 1352068538, 1352068567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35935592651367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 08:59:52.452213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_46_10414.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_56_10474.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_33_06_9347.jpg', '/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_16_10361.jpg', '/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_36_10466.jpg', '/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_46_10414.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_56_10474.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_33_06_9347.jpg
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_16_10361.jpg
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_36_10466.jpg
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_46_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4767310619354248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 09:00:03.179364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_46_10414.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_56_10474.jpg', '/home/pi/Desktop/images/20042025/05/32/image_20042025_05_33_06_9347.jpg', '/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_16_10361.jpg', '/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_36_10466.jpg', '/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_46_10414.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_32_56_10474.jpg
/home/pi/Desktop/images/20042025/05/32/image_20042025_05_33_06_9347.jpg
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_16_10361.jpg
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_36_10466.jpg
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_46_10363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352069002","1352069156","1352069327","1352068874","1352069248","1352069083"],"photo_ids_order":["1352068874","1352069002","1352069083","1352069156","1352069248","1352069327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd36da255b5909fb70215a86e860e3f4.jpg","text":"TemporaryFile(/tmp/multipartBody4853292208189634989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132463689,"filename":"image_20042025_05_32_56_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da28fd0d2c84e25c6fa661e277e3e470.jpg","text":"TemporaryFile(/tmp/multipartBody41618274555171935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132463689,"filename":"image_20042025_05_33_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43a55e7efd0190817afc6c2f08cd826d.jpg","text":"TemporaryFile(/tmp/multipartBody4222910843952028237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132463689,"filename":"image_20042025_05_33_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b26ea51291ba94a3a235418b661d4951.jpg","text":"TemporaryFile(/tmp/multipartBody3204119726838268437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132463689,"filename":"image_20042025_05_32_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1746c1a7ac05ff1298c6bf64ebc6b549.jpg","text":"TemporaryFile(/tmp/multipartBody3945292945688360581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132463689,"filename":"image_20042025_05_33_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54a5d184176a18f7fdaf156a13efa9dd.jpg","text":"TemporaryFile(/tmp/multipartBody7553778014464382926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132463689,"filename":"image_20042025_05_33_06_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352069083","file1":"1352069002","file0":"1352068874","file4":"1352069248","file5":"1352069327","file3":"1352069156"},"map_files_photo_id_array":[{"photo_id":"1352069327","filename":"file5"},{"photo_id":"1352069083","filename":"file2"},{"photo_id":"1352069248","filename":"file4"},{"photo_id":"1352069002","filename":"file1"},{"photo_id":"1352068874","filename":"file0"},{"photo_id":"1352069156","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352069002":["hashtag1","hashtag2"]},{"1352069156":["hashtag1","hashtag2"]},{"1352069327":["hashtag1","hashtag2"]},{"1352068874":["hashtag1","hashtag2"]},{"1352069248":["hashtag1","hashtag2"]},{"1352069083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352069002, 1352069156, 1352069327, 1352068874, 1352069248, 1352069083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46722412109375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 09:00:42.663300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_56_9353.jpg', '/home/pi/Desktop/images/20042025/05/33/image_20042025_05_34_06_10414.jpg', '/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_16_10343.jpg', '/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_26_9118.jpg', '/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_36_10474.jpg', '/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_33_56_9353.jpg
/home/pi/Desktop/images/20042025/05/33/image_20042025_05_34_06_10414.jpg
/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_16_10343.jpg
/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_26_9118.jpg
/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_36_10474.jpg
/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070156","1352069621","1352069983","1352070239","1352069848","1352070079"],"photo_ids_order":["1352069621","1352069848","1352069983","1352070079","1352070156","1352070239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6f19acbb3c703c9682d1871b43f431e.jpg","text":"TemporaryFile(/tmp/multipartBody422475944657981243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132503186,"filename":"image_20042025_05_34_36_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/288c513f8a3706e0f947df7e7196a8be.jpg","text":"TemporaryFile(/tmp/multipartBody4628546614236372233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132503186,"filename":"image_20042025_05_33_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebf95cebb122469537990a9be059346d.jpg","text":"TemporaryFile(/tmp/multipartBody6807728031569300913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132503186,"filename":"image_20042025_05_34_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abfac8fe54d551b4ff9d74deb13315eb.jpg","text":"TemporaryFile(/tmp/multipartBody3548800543043400657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132503186,"filename":"image_20042025_05_34_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e59c141ae404b330ab85c42313703bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6097856337739270358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132503186,"filename":"image_20042025_05_34_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c30b3fd22bd5613dd76cd9e57df3753.jpg","text":"TemporaryFile(/tmp/multipartBody8274935958537116738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132503186,"filename":"image_20042025_05_34_26_9118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352069983","file1":"1352069848","file0":"1352069621","file4":"1352070156","file5":"1352070239","file3":"1352070079"},"map_files_photo_id_array":[{"photo_id":"1352070239","filename":"file5"},{"photo_id":"1352069983","filename":"file2"},{"photo_id":"1352070156","filename":"file4"},{"photo_id":"1352069848","filename":"file1"},{"photo_id":"1352069621","filename":"file0"},{"photo_id":"1352070079","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352070156":["hashtag1","hashtag2"]},{"1352069621":["hashtag1","hashtag2"]},{"1352069983":["hashtag1","hashtag2"]},{"1352070239":["hashtag1","hashtag2"]},{"1352069848":["hashtag1","hashtag2"]},{"1352070079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352070156, 1352069621, 1352069983, 1352070239, 1352069848, 1352070079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84218072891235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:01:32.967920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_56_9505.jpg', '/home/pi/Desktop/images/20042025/05/34/image_20042025_05_35_06_10334.jpg', '/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_16_9349.jpg', '/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_26_10375.jpg', '/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_36_10355.jpg', '/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_46_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/34/image_20042025_05_34_56_9505.jpg
/home/pi/Desktop/images/20042025/05/34/image_20042025_05_35_06_10334.jpg
/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_16_9349.jpg
/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_26_10375.jpg
/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_36_10355.jpg
/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_46_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070891","1352071014","1352070941","1352071159","1352071087","1352071246"],"photo_ids_order":["1352070891","1352070941","1352071014","1352071087","1352071159","1352071246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d4b29b33f46440de602216eb3e0d712.jpg","text":"TemporaryFile(/tmp/multipartBody6065489813573483397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132553496,"filename":"image_20042025_05_34_56_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22d12c48e6b5841061ef708b1d21a610.jpg","text":"TemporaryFile(/tmp/multipartBody7828458831192488824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132553496,"filename":"image_20042025_05_35_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71f12c398cae8269cb3418b4f136e975.jpg","text":"TemporaryFile(/tmp/multipartBody2149596842637811486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132553496,"filename":"image_20042025_05_35_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a454a70760bf2e309b1ae6955a83e29.jpg","text":"TemporaryFile(/tmp/multipartBody5673739711837829829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132553496,"filename":"image_20042025_05_35_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71c57ea2ccefb9d1eb3c17bcef22e5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2904467191667310190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132553496,"filename":"image_20042025_05_35_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e6c57261d9f4f32e7cbff92e40e145f.jpg","text":"TemporaryFile(/tmp/multipartBody8815427986402574490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132553496,"filename":"image_20042025_05_35_46_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352071014","file1":"1352070941","file0":"1352070891","file4":"1352071159","file5":"1352071246","file3":"1352071087"},"map_files_photo_id_array":[{"photo_id":"1352071246","filename":"file5"},{"photo_id":"1352071014","filename":"file2"},{"photo_id":"1352071159","filename":"file4"},{"photo_id":"1352070941","filename":"file1"},{"photo_id":"1352070891","filename":"file0"},{"photo_id":"1352071087","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352070891":["hashtag1","hashtag2"]},{"1352071014":["hashtag1","hashtag2"]},{"1352070941":["hashtag1","hashtag2"]},{"1352071159":["hashtag1","hashtag2"]},{"1352071087":["hashtag1","hashtag2"]},{"1352071246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352070891, 1352071014, 1352070941, 1352071159, 1352071087, 1352071246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.392850160598755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:02:32.171474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_56_10443.jpg', '/home/pi/Desktop/images/20042025/05/35/image_20042025_05_36_05_9346.jpg', '/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_16_10331.jpg', '/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_26_10440.jpg', '/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_36_9341.jpg', '/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_46_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/35/image_20042025_05_35_56_10443.jpg
/home/pi/Desktop/images/20042025/05/35/image_20042025_05_36_05_9346.jpg
/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_16_10331.jpg
/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_26_10440.jpg
/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_36_9341.jpg
/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_46_10486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352071985","1352072167","1352072215","1352072047","1352072101","1352071927"],"photo_ids_order":["1352071927","1352071985","1352072047","1352072101","1352072167","1352072215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f955ed021cf02bd2bf987a99ebdf62b.jpg","text":"TemporaryFile(/tmp/multipartBody5816831239483043421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132612724,"filename":"image_20042025_05_36_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e9fc0e473f1546d785712fafb35e90d.jpg","text":"TemporaryFile(/tmp/multipartBody1866675573116273820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132612724,"filename":"image_20042025_05_36_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a71f165f938fbc41e8f786b969a7296.jpg","text":"TemporaryFile(/tmp/multipartBody6793016547306904084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132612724,"filename":"image_20042025_05_36_46_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2025fbffe43ed237f123cda73606c5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8019530220941865585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132612724,"filename":"image_20042025_05_36_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f3ee6e0bd68f94e36b45c0fa60e4dee.jpg","text":"TemporaryFile(/tmp/multipartBody8092652670427880224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132612724,"filename":"image_20042025_05_36_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a387f1492859d5fff976b0fad8b6dc4d.jpg","text":"TemporaryFile(/tmp/multipartBody3129312186493223515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132612724,"filename":"image_20042025_05_35_56_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352072047","file1":"1352071985","file0":"1352071927","file4":"1352072167","file5":"1352072215","file3":"1352072101"},"map_files_photo_id_array":[{"photo_id":"1352072215","filename":"file5"},{"photo_id":"1352072047","filename":"file2"},{"photo_id":"1352072167","filename":"file4"},{"photo_id":"1352071985","filename":"file1"},{"photo_id":"1352071927","filename":"file0"},{"photo_id":"1352072101","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352071985":["hashtag1","hashtag2"]},{"1352072167":["hashtag1","hashtag2"]},{"1352072215":["hashtag1","hashtag2"]},{"1352072047":["hashtag1","hashtag2"]},{"1352072101":["hashtag1","hashtag2"]},{"1352071927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352071985, 1352072167, 1352072215, 1352072047, 1352072101, 1352071927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.328912019729614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:03:32.400666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_56_10391.jpg', '/home/pi/Desktop/images/20042025/05/36/image_20042025_05_37_06_9348.jpg', '/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_16_10404.jpg', '/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_26_9348.jpg', '/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_36_10486.jpg', '/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/36/image_20042025_05_36_56_10391.jpg
/home/pi/Desktop/images/20042025/05/36/image_20042025_05_37_06_9348.jpg
/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_16_10404.jpg
/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_26_9348.jpg
/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_36_10486.jpg
/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352072817","1352073134","1352072783","1352072962","1352072842","1352073296"],"photo_ids_order":["1352072783","1352072817","1352072842","1352072962","1352073134","1352073296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2176720ae2886d2f19f16f6528595fb7.jpg","text":"TemporaryFile(/tmp/multipartBody2136958193777971410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132672927,"filename":"image_20042025_05_37_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/264666b257d368c1ea2df5546920f5db.jpg","text":"TemporaryFile(/tmp/multipartBody6113285449246771055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132672927,"filename":"image_20042025_05_37_36_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5daa19386583778386e705ff2b4ffb58.jpg","text":"TemporaryFile(/tmp/multipartBody2737499338516624299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132672927,"filename":"image_20042025_05_36_56_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/449fce32c4497456fc429632abfb6030.jpg","text":"TemporaryFile(/tmp/multipartBody3771529002946199405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132672927,"filename":"image_20042025_05_37_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c182862e147c85fc13d063af26ad58be.jpg","text":"TemporaryFile(/tmp/multipartBody210925072061728564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132672927,"filename":"image_20042025_05_37_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a65ec1b38df06fc84cfae4c122ef3dc.jpg","text":"TemporaryFile(/tmp/multipartBody9059312683561796054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132672927,"filename":"image_20042025_05_37_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352072842","file1":"1352072817","file0":"1352072783","file4":"1352073134","file5":"1352073296","file3":"1352072962"},"map_files_photo_id_array":[{"photo_id":"1352073296","filename":"file5"},{"photo_id":"1352072842","filename":"file2"},{"photo_id":"1352073134","filename":"file4"},{"photo_id":"1352072817","filename":"file1"},{"photo_id":"1352072783","filename":"file0"},{"photo_id":"1352072962","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352072817":["hashtag1","hashtag2"]},{"1352073134":["hashtag1","hashtag2"]},{"1352072783":["hashtag1","hashtag2"]},{"1352072962":["hashtag1","hashtag2"]},{"1352072842":["hashtag1","hashtag2"]},{"1352073296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352072817, 1352073134, 1352072783, 1352072962, 1352072842, 1352073296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.613011121749878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:04:32.599579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_56_9348.jpg', '/home/pi/Desktop/images/20042025/05/37/image_20042025_05_38_06_10426.jpg', '/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_15_9327.jpg', '/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_26_10527.jpg', '/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_35_9467.jpg', '/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_46_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/37/image_20042025_05_37_56_9348.jpg
/home/pi/Desktop/images/20042025/05/37/image_20042025_05_38_06_10426.jpg
/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_15_9327.jpg
/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_26_10527.jpg
/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_35_9467.jpg
/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_46_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352073710","1352073796","1352073676","1352073823","1352073762","1352073918"],"photo_ids_order":["1352073676","1352073710","1352073762","1352073796","1352073823","1352073918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b01ff3a531831aeaa29fab0c8131ea7a.jpg","text":"TemporaryFile(/tmp/multipartBody6346493116138540139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132733125,"filename":"image_20042025_05_38_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4ad07e7479b78bd31c88fc9df35bee9.jpg","text":"TemporaryFile(/tmp/multipartBody6834215928090758691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132733125,"filename":"image_20042025_05_38_26_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2f139cff8d75d3b233f2b95814610af.jpg","text":"TemporaryFile(/tmp/multipartBody3750555251402911999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132733125,"filename":"image_20042025_05_37_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa3405a376d1b6528eae8647d5a11547.jpg","text":"TemporaryFile(/tmp/multipartBody4975078334052734223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132733125,"filename":"image_20042025_05_38_35_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b66de023509bcdda99c786939d993a8.jpg","text":"TemporaryFile(/tmp/multipartBody5668063479647069518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132733125,"filename":"image_20042025_05_38_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f019370961892b28657572d7b36ffe49.jpg","text":"TemporaryFile(/tmp/multipartBody4952246422770924878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132733125,"filename":"image_20042025_05_38_46_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352073762","file1":"1352073710","file0":"1352073676","file4":"1352073823","file5":"1352073918","file3":"1352073796"},"map_files_photo_id_array":[{"photo_id":"1352073918","filename":"file5"},{"photo_id":"1352073762","filename":"file2"},{"photo_id":"1352073823","filename":"file4"},{"photo_id":"1352073710","filename":"file1"},{"photo_id":"1352073676","filename":"file0"},{"photo_id":"1352073796","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352073710":["hashtag1","hashtag2"]},{"1352073796":["hashtag1","hashtag2"]},{"1352073676":["hashtag1","hashtag2"]},{"1352073823":["hashtag1","hashtag2"]},{"1352073762":["hashtag1","hashtag2"]},{"1352073918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352073710, 1352073796, 1352073676, 1352073823, 1352073762, 1352073918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.313092947006226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:05:32.737060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_56_10398.jpg', '/home/pi/Desktop/images/20042025/05/38/image_20042025_05_39_06_9333.jpg', '/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_16_10436.jpg', '/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_26_9415.jpg', '/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_36_10513.jpg', '/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_45_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/38/image_20042025_05_38_56_10398.jpg
/home/pi/Desktop/images/20042025/05/38/image_20042025_05_39_06_9333.jpg
/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_16_10436.jpg
/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_26_9415.jpg
/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_36_10513.jpg
/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_45_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352074891","1352074588","1352074813","1352074698","1352075084","1352074964"],"photo_ids_order":["1352074588","1352074698","1352074813","1352074891","1352074964","1352075084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/209530bd46be4e3959bb4d160b843fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4856926735251418174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132793295,"filename":"image_20042025_05_39_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59f92a1e492063b6173e854ba0087e78.jpg","text":"TemporaryFile(/tmp/multipartBody7977802056195095257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132793295,"filename":"image_20042025_05_38_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ef64f7132d84cdef403b4c03e79f157.jpg","text":"TemporaryFile(/tmp/multipartBody6708255879080429891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132793295,"filename":"image_20042025_05_39_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f54686913ea3b54d153e90cc1022846a.jpg","text":"TemporaryFile(/tmp/multipartBody3411632833420004255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132793295,"filename":"image_20042025_05_39_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c691c7db9af10bf887f51576e3774870.jpg","text":"TemporaryFile(/tmp/multipartBody7069576523050098159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132793295,"filename":"image_20042025_05_39_45_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/233852ff7097bcfa59ae5ac8a78ad58e.jpg","text":"TemporaryFile(/tmp/multipartBody354665785368110607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132793295,"filename":"image_20042025_05_39_36_10513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352074813","file1":"1352074698","file0":"1352074588","file4":"1352074964","file5":"1352075084","file3":"1352074891"},"map_files_photo_id_array":[{"photo_id":"1352075084","filename":"file5"},{"photo_id":"1352074813","filename":"file2"},{"photo_id":"1352074964","filename":"file4"},{"photo_id":"1352074698","filename":"file1"},{"photo_id":"1352074588","filename":"file0"},{"photo_id":"1352074891","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352074891":["hashtag1","hashtag2"]},{"1352074588":["hashtag1","hashtag2"]},{"1352074813":["hashtag1","hashtag2"]},{"1352074698":["hashtag1","hashtag2"]},{"1352075084":["hashtag1","hashtag2"]},{"1352074964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352074891, 1352074588, 1352074813, 1352074698, 1352075084, 1352074964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04216718673706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:06:33.055117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_56_10475.jpg', '/home/pi/Desktop/images/20042025/05/39/image_20042025_05_40_06_10408.jpg', '/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_16_9518.jpg', '/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_26_10356.jpg', '/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_36_9386.jpg', '/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/39/image_20042025_05_39_56_10475.jpg
/home/pi/Desktop/images/20042025/05/39/image_20042025_05_40_06_10408.jpg
/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_16_9518.jpg
/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_26_10356.jpg
/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_36_9386.jpg
/home/pi/Desktop/images/20042025/05/40/image_20042025_05_40_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352076028","1352076276","1352076183","1352075888","1352075948","1352076110"],"photo_ids_order":["1352075888","1352075948","1352076028","1352076110","1352076183","1352076276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ef50d90fc9ac33219524c85d9de9d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7349823992711948793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132853573,"filename":"image_20042025_05_40_16_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc15e455807a7f3c2967ceca0f1cabd0.jpg","text":"TemporaryFile(/tmp/multipartBody5652838882554583701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132853573,"filename":"image_20042025_05_40_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25e1f79c52b6818f9aaa39d951656c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2863463533762451192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132853573,"filename":"image_20042025_05_40_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95d19597ce894a0a2e495e3cb2759f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3480473781570293656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132853573,"filename":"image_20042025_05_39_56_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1335b3cd66bb6ef00a19db9f50f59bd.jpg","text":"TemporaryFile(/tmp/multipartBody8884099035389260897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132853573,"filename":"image_20042025_05_40_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef77b12abfc5d2f7c561576077d7e622.jpg","text":"TemporaryFile(/tmp/multipartBody8597654358054726964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132853573,"filename":"image_20042025_05_40_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352076028","file1":"1352075948","file0":"1352075888","file4":"1352076183","file5":"1352076276","file3":"1352076110"},"map_files_photo_id_array":[{"photo_id":"1352076276","filename":"file5"},{"photo_id":"1352076028","filename":"file2"},{"photo_id":"1352076183","filename":"file4"},{"photo_id":"1352075948","filename":"file1"},{"photo_id":"1352075888","filename":"file0"},{"photo_id":"1352076110","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352076028":["hashtag1","hashtag2"]},{"1352076276":["hashtag1","hashtag2"]},{"1352076183":["hashtag1","hashtag2"]},{"1352075888":["hashtag1","hashtag2"]},{"1352075948":["hashtag1","hashtag2"]},{"1352076110":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352076028, 1352076276, 1352076183, 1352075888, 1352075948, 1352076110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.350691080093384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:07:32.288657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/40/image_20042025_05_41_06_9465.jpg', '/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_16_10387.jpg', '/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_26_9370.jpg', '/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_36_10382.jpg', '/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_46_10368.jpg', '/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_56_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/40/image_20042025_05_41_06_9465.jpg
/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_16_10387.jpg
/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_26_9370.jpg
/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_36_10382.jpg
/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_46_10368.jpg
/home/pi/Desktop/images/20042025/05/41/image_20042025_05_41_56_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352077644","1352077298","1352077163","1352077520","1352077406","1352077765"],"photo_ids_order":["1352077163","1352077298","1352077406","1352077520","1352077644","1352077765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bff5135ed86d5137de2f84699c134d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1405701376177439179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132912836,"filename":"image_20042025_05_41_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87b0d5c07ec0da17dbdef3e490208fae.jpg","text":"TemporaryFile(/tmp/multipartBody2315352532876303943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132912836,"filename":"image_20042025_05_41_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/117382a882e855b43839ce237ca3b33e.jpg","text":"TemporaryFile(/tmp/multipartBody8457531093848485744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132912836,"filename":"image_20042025_05_41_06_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9168b7804b6fd854b0d6a8866a65365.jpg","text":"TemporaryFile(/tmp/multipartBody1436699608798894646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132912836,"filename":"image_20042025_05_41_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa28d31db531e2f33c4d93e4e62e2664.jpg","text":"TemporaryFile(/tmp/multipartBody5830961404968615058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132912836,"filename":"image_20042025_05_41_26_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/780cb92cb334b49726745829b4ad794e.jpg","text":"TemporaryFile(/tmp/multipartBody3824016692324392868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132912836,"filename":"image_20042025_05_41_56_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352077406","file1":"1352077298","file0":"1352077163","file4":"1352077644","file5":"1352077765","file3":"1352077520"},"map_files_photo_id_array":[{"photo_id":"1352077765","filename":"file5"},{"photo_id":"1352077406","filename":"file2"},{"photo_id":"1352077644","filename":"file4"},{"photo_id":"1352077298","filename":"file1"},{"photo_id":"1352077163","filename":"file0"},{"photo_id":"1352077520","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352077644":["hashtag1","hashtag2"]},{"1352077298":["hashtag1","hashtag2"]},{"1352077163":["hashtag1","hashtag2"]},{"1352077520":["hashtag1","hashtag2"]},{"1352077406":["hashtag1","hashtag2"]},{"1352077765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352077644, 1352077298, 1352077163, 1352077520, 1352077406, 1352077765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.648371934890747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:08:32.446988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/41/image_20042025_05_42_06_10354.jpg', '/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_15_9360.jpg', '/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_26_10419.jpg', '/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_36_10360.jpg', '/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_46_9364.jpg', '/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_56_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/41/image_20042025_05_42_06_10354.jpg
/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_15_9360.jpg
/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_26_10419.jpg
/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_36_10360.jpg
/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_46_9364.jpg
/home/pi/Desktop/images/20042025/05/42/image_20042025_05_42_56_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352079109","1352078827","1352078707","1352079039","1352079213","1352078967"],"photo_ids_order":["1352078707","1352078827","1352078967","1352079039","1352079109","1352079213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08b68aa755279df24dd199e358285977.jpg","text":"TemporaryFile(/tmp/multipartBody455897558100139820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132972996,"filename":"image_20042025_05_42_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e38d215a1f4a73852bdd91a890926d69.jpg","text":"TemporaryFile(/tmp/multipartBody7384501312786398814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132972996,"filename":"image_20042025_05_42_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2fb8fe7b09956f95cfe034ee83aa895.jpg","text":"TemporaryFile(/tmp/multipartBody5503788842605930675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132972996,"filename":"image_20042025_05_42_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b32ac82278ed4769bed92377c7bda140.jpg","text":"TemporaryFile(/tmp/multipartBody4492436717246533484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132972996,"filename":"image_20042025_05_42_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb3c318223c42c952200098669c15425.jpg","text":"TemporaryFile(/tmp/multipartBody3892848716219184581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132972996,"filename":"image_20042025_05_42_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b219c6cb3d1260e7958a609b87c04dc.jpg","text":"TemporaryFile(/tmp/multipartBody1992340676132109039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745132972996,"filename":"image_20042025_05_42_26_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352078967","file1":"1352078827","file0":"1352078707","file4":"1352079109","file5":"1352079213","file3":"1352079039"},"map_files_photo_id_array":[{"photo_id":"1352079213","filename":"file5"},{"photo_id":"1352078967","filename":"file2"},{"photo_id":"1352079109","filename":"file4"},{"photo_id":"1352078827","filename":"file1"},{"photo_id":"1352078707","filename":"file0"},{"photo_id":"1352079039","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352079109":["hashtag1","hashtag2"]},{"1352078827":["hashtag1","hashtag2"]},{"1352078707":["hashtag1","hashtag2"]},{"1352079039":["hashtag1","hashtag2"]},{"1352079213":["hashtag1","hashtag2"]},{"1352078967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352079109, 1352078827, 1352078707, 1352079039, 1352079213, 1352078967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76074266433716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:09:32.756107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/42/image_20042025_05_43_06_10345.jpg', '/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_16_9394.jpg', '/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_26_10458.jpg', '/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_36_9353.jpg', '/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_46_10485.jpg', '/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_56_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/42/image_20042025_05_43_06_10345.jpg
/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_16_9394.jpg
/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_26_10458.jpg
/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_36_9353.jpg
/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_46_10485.jpg
/home/pi/Desktop/images/20042025/05/43/image_20042025_05_43_56_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352080496","1352081014","1352080912","1352080714","1352080615","1352080816"],"photo_ids_order":["1352080496","1352080615","1352080714","1352080816","1352080912","1352081014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e35e67d29b4e03f44a90897dc767579.jpg","text":"TemporaryFile(/tmp/multipartBody832513970821434402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133033313,"filename":"image_20042025_05_43_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b752dc998dd9a491f0f373b730ae5232.jpg","text":"TemporaryFile(/tmp/multipartBody9157635367520479249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133033313,"filename":"image_20042025_05_43_56_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/909afb72e7ee5007f97f185cee54e3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4786519079141790037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133033313,"filename":"image_20042025_05_43_46_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0b0758ef998301d2d2be200afbfdebe.jpg","text":"TemporaryFile(/tmp/multipartBody2096468576116702345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133033313,"filename":"image_20042025_05_43_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcc22a6faf36186a1d728ba568c2c3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6614037648307143217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133033313,"filename":"image_20042025_05_43_16_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ad60581140fda056a228c0828a41afc.jpg","text":"TemporaryFile(/tmp/multipartBody4153160933382293204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133033313,"filename":"image_20042025_05_43_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352080714","file1":"1352080615","file0":"1352080496","file4":"1352080912","file5":"1352081014","file3":"1352080816"},"map_files_photo_id_array":[{"photo_id":"1352081014","filename":"file5"},{"photo_id":"1352080714","filename":"file2"},{"photo_id":"1352080912","filename":"file4"},{"photo_id":"1352080615","filename":"file1"},{"photo_id":"1352080496","filename":"file0"},{"photo_id":"1352080816","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352080496":["hashtag1","hashtag2"]},{"1352081014":["hashtag1","hashtag2"]},{"1352080912":["hashtag1","hashtag2"]},{"1352080714":["hashtag1","hashtag2"]},{"1352080615":["hashtag1","hashtag2"]},{"1352080816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352080496, 1352081014, 1352080912, 1352080714, 1352080615, 1352080816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.419031143188477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:10:32.871332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/43/image_20042025_05_44_06_9343.jpg', '/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_16_10402.jpg', '/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_26_9359.jpg', '/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_36_10411.jpg', '/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_46_10372.jpg', '/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_56_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/43/image_20042025_05_44_06_9343.jpg
/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_16_10402.jpg
/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_26_9359.jpg
/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_36_10411.jpg
/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_46_10372.jpg
/home/pi/Desktop/images/20042025/05/44/image_20042025_05_44_56_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352082127","1352082444","1352082942","1352082275","1352082662","1352081978"],"photo_ids_order":["1352081978","1352082127","1352082275","1352082444","1352082662","1352082942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f0ca1da80ac0bdee5fb401ab1caef38.jpg","text":"TemporaryFile(/tmp/multipartBody479543337214617976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133093403,"filename":"image_20042025_05_44_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96be359d5c5a45ee914a9ed17e37d6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6781816175796560549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133093403,"filename":"image_20042025_05_44_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fde2c6cb3b4445b0dec464fae0007b9c.jpg","text":"TemporaryFile(/tmp/multipartBody4901342192187225262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133093403,"filename":"image_20042025_05_44_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d776f5c5c3e6fc843c70bc0378eccffc.jpg","text":"TemporaryFile(/tmp/multipartBody2377374101974561845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133093403,"filename":"image_20042025_05_44_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dc1790f7694692ef679929a74820d34.jpg","text":"TemporaryFile(/tmp/multipartBody1945754082799087946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133093403,"filename":"image_20042025_05_44_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e66229983017c0972cd54936934148f.jpg","text":"TemporaryFile(/tmp/multipartBody5290707078585288736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133093403,"filename":"image_20042025_05_44_06_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352082275","file1":"1352082127","file0":"1352081978","file4":"1352082662","file5":"1352082942","file3":"1352082444"},"map_files_photo_id_array":[{"photo_id":"1352082942","filename":"file5"},{"photo_id":"1352082275","filename":"file2"},{"photo_id":"1352082662","filename":"file4"},{"photo_id":"1352082127","filename":"file1"},{"photo_id":"1352081978","filename":"file0"},{"photo_id":"1352082444","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352082127":["hashtag1","hashtag2"]},{"1352082444":["hashtag1","hashtag2"]},{"1352082942":["hashtag1","hashtag2"]},{"1352082275":["hashtag1","hashtag2"]},{"1352082662":["hashtag1","hashtag2"]},{"1352081978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352082127, 1352082444, 1352082942, 1352082275, 1352082662, 1352081978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46957755088806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:11:33.144148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/44/image_20042025_05_45_06_10441.jpg', '/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_15_9360.jpg', '/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_26_10440.jpg', '/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_36_10358.jpg', '/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_46_9391.jpg', '/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_56_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/44/image_20042025_05_45_06_10441.jpg
/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_15_9360.jpg
/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_26_10440.jpg
/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_36_10358.jpg
/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_46_9391.jpg
/home/pi/Desktop/images/20042025/05/45/image_20042025_05_45_56_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352084812","1352085138","1352084367","1352084645","1352084513","1352084977"],"photo_ids_order":["1352084367","1352084513","1352084645","1352084812","1352084977","1352085138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/875888275867698631c14c0ea0de4723.jpg","text":"TemporaryFile(/tmp/multipartBody3160675937882285323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133153680,"filename":"image_20042025_05_45_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edf7bf8850541bded7610ee74628d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5541242628927584376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133153680,"filename":"image_20042025_05_45_56_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b7cea9e8761ffe9e5d5aae487dc1bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4495381562739258929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133153680,"filename":"image_20042025_05_45_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d03d6c74c233750f02bfd28ba525ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6893353288097342387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133153680,"filename":"image_20042025_05_45_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92b45a8f976385efc29a557f44bb4d68.jpg","text":"TemporaryFile(/tmp/multipartBody4100885249319874104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133153680,"filename":"image_20042025_05_45_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac8af23a7acfaf1bdd2178758f95c5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2069129201790698505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133153680,"filename":"image_20042025_05_45_46_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352084645","file1":"1352084513","file0":"1352084367","file4":"1352084977","file5":"1352085138","file3":"1352084812"},"map_files_photo_id_array":[{"photo_id":"1352085138","filename":"file5"},{"photo_id":"1352084645","filename":"file2"},{"photo_id":"1352084977","filename":"file4"},{"photo_id":"1352084513","filename":"file1"},{"photo_id":"1352084367","filename":"file0"},{"photo_id":"1352084812","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352084812":["hashtag1","hashtag2"]},{"1352085138":["hashtag1","hashtag2"]},{"1352084367":["hashtag1","hashtag2"]},{"1352084645":["hashtag1","hashtag2"]},{"1352084513":["hashtag1","hashtag2"]},{"1352084977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352084812, 1352085138, 1352084367, 1352084645, 1352084513, 1352084977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.071054220199585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:12:32.325406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/45/image_20042025_05_46_05_9353.jpg', '/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_16_10474.jpg', '/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_26_10393.jpg', '/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_36_9364.jpg', '/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_56_9355.jpg', '/home/pi/Desktop/images/20042025/05/46/image_20042025_05_47_06_10491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/45/image_20042025_05_46_05_9353.jpg
/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_16_10474.jpg
/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_26_10393.jpg
/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_36_9364.jpg
/home/pi/Desktop/images/20042025/05/46/image_20042025_05_46_56_9355.jpg
/home/pi/Desktop/images/20042025/05/46/image_20042025_05_47_06_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352087095","1352086613","1352086445","1352087274","1352086903","1352086764"],"photo_ids_order":["1352086445","1352086613","1352086764","1352086903","1352087095","1352087274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7af88037b22c11475106394ed42943e7.jpg","text":"TemporaryFile(/tmp/multipartBody8387413689320802432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133212862,"filename":"image_20042025_05_46_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2b14da29f7bcd1195ca5b275a3f2cb9.jpg","text":"TemporaryFile(/tmp/multipartBody6923765286040174020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133212862,"filename":"image_20042025_05_46_16_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5615c83524e50dd5e2d0eaf0170eed8.jpg","text":"TemporaryFile(/tmp/multipartBody8368935455923741712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133212862,"filename":"image_20042025_05_46_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d888dc92463e3bbafbceb1c92790f60a.jpg","text":"TemporaryFile(/tmp/multipartBody2566193469981296762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133212862,"filename":"image_20042025_05_47_06_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a34d0a8178c15466135c3017775ceaec.jpg","text":"TemporaryFile(/tmp/multipartBody2826669439051574356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133212862,"filename":"image_20042025_05_46_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c9c9da6051b0ee4a392a5ee77581377.jpg","text":"TemporaryFile(/tmp/multipartBody4444434127701466560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133212862,"filename":"image_20042025_05_46_26_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352086764","file1":"1352086613","file0":"1352086445","file4":"1352087095","file5":"1352087274","file3":"1352086903"},"map_files_photo_id_array":[{"photo_id":"1352087274","filename":"file5"},{"photo_id":"1352086764","filename":"file2"},{"photo_id":"1352087095","filename":"file4"},{"photo_id":"1352086613","filename":"file1"},{"photo_id":"1352086445","filename":"file0"},{"photo_id":"1352086903","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352087095":["hashtag1","hashtag2"]},{"1352086613":["hashtag1","hashtag2"]},{"1352086445":["hashtag1","hashtag2"]},{"1352087274":["hashtag1","hashtag2"]},{"1352086903":["hashtag1","hashtag2"]},{"1352086764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352087095, 1352086613, 1352086445, 1352087274, 1352086903, 1352086764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.857345581054688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:13:32.527841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_16_10357.jpg', '/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_26_9363.jpg', '/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_36_10438.jpg', '/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_46_9447.jpg', '/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_56_10439.jpg', '/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_26_10505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_16_10357.jpg
/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_26_9363.jpg
/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_36_10438.jpg
/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_46_9447.jpg
/home/pi/Desktop/images/20042025/05/47/image_20042025_05_47_56_10439.jpg
/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_26_10505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089717","1352089362","1352089988","1352089877","1352089112","1352089483"],"photo_ids_order":["1352089112","1352089362","1352089483","1352089717","1352089877","1352089988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50f1821d6d6dc8cbf02cfc2b3d58c3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3300142231583101185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133273063,"filename":"image_20042025_05_47_46_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1be6c425bcde053088c900e81ba4673.jpg","text":"TemporaryFile(/tmp/multipartBody4643027866333905789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133273063,"filename":"image_20042025_05_47_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/beb3c8f056826e4d98628c098ea10d5f.jpg","text":"TemporaryFile(/tmp/multipartBody875994956651807222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133273063,"filename":"image_20042025_05_48_26_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca88e5d8d51d57a19a39b7d903db128e.jpg","text":"TemporaryFile(/tmp/multipartBody4623678142505488858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133273063,"filename":"image_20042025_05_47_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/563622c91f3d4032b28c6809a21479a7.jpg","text":"TemporaryFile(/tmp/multipartBody4032146563383983627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133273063,"filename":"image_20042025_05_47_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42cb3bc96f1b53d215b18ecc76e919ea.jpg","text":"TemporaryFile(/tmp/multipartBody4983372296504238494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133273063,"filename":"image_20042025_05_47_36_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089483","file1":"1352089362","file0":"1352089112","file4":"1352089877","file5":"1352089988","file3":"1352089717"},"map_files_photo_id_array":[{"photo_id":"1352089988","filename":"file5"},{"photo_id":"1352089483","filename":"file2"},{"photo_id":"1352089877","filename":"file4"},{"photo_id":"1352089362","filename":"file1"},{"photo_id":"1352089112","filename":"file0"},{"photo_id":"1352089717","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352089717":["hashtag1","hashtag2"]},{"1352089362":["hashtag1","hashtag2"]},{"1352089988":["hashtag1","hashtag2"]},{"1352089877":["hashtag1","hashtag2"]},{"1352089112":["hashtag1","hashtag2"]},{"1352089483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352089717, 1352089362, 1352089988, 1352089877, 1352089112, 1352089483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6145601272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:14:32.876215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_36_9382.jpg', '/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_46_10352.jpg', '/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_56_10377.jpg', '/home/pi/Desktop/images/20042025/05/48/image_20042025_05_49_06_9354.jpg', '/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_16_10362.jpg', '/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_25_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_36_9382.jpg
/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_46_10352.jpg
/home/pi/Desktop/images/20042025/05/48/image_20042025_05_48_56_10377.jpg
/home/pi/Desktop/images/20042025/05/48/image_20042025_05_49_06_9354.jpg
/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_16_10362.jpg
/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_25_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352090911","1352091510","1352091689","1352091125","1352091914","1352091311"],"photo_ids_order":["1352090911","1352091125","1352091311","1352091510","1352091689","1352091914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c4e4417137f47beaefea3369b227c95.jpg","text":"TemporaryFile(/tmp/multipartBody8454436321910372495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133333416,"filename":"image_20042025_05_48_36_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3657a9264758cde911532c5370319cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3137425412195371173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133333416,"filename":"image_20042025_05_49_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72e573cfe3f56c095961c11226d6f0af.jpg","text":"TemporaryFile(/tmp/multipartBody6010956325784449566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133333416,"filename":"image_20042025_05_49_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3db3c7732fffb9dbec373d10129e75f.jpg","text":"TemporaryFile(/tmp/multipartBody5510066965218532239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133333416,"filename":"image_20042025_05_48_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3937e72663eb3509b32046e643924648.jpg","text":"TemporaryFile(/tmp/multipartBody455079270449756685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133333416,"filename":"image_20042025_05_49_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2c791c7b48aaba1b3e87aa62f401699.jpg","text":"TemporaryFile(/tmp/multipartBody1350880896735131790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133333416,"filename":"image_20042025_05_48_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352091311","file1":"1352091125","file0":"1352090911","file4":"1352091689","file5":"1352091914","file3":"1352091510"},"map_files_photo_id_array":[{"photo_id":"1352091914","filename":"file5"},{"photo_id":"1352091311","filename":"file2"},{"photo_id":"1352091689","filename":"file4"},{"photo_id":"1352091125","filename":"file1"},{"photo_id":"1352090911","filename":"file0"},{"photo_id":"1352091510","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352090911":["hashtag1","hashtag2"]},{"1352091510":["hashtag1","hashtag2"]},{"1352091689":["hashtag1","hashtag2"]},{"1352091125":["hashtag1","hashtag2"]},{"1352091914":["hashtag1","hashtag2"]},{"1352091311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352090911, 1352091510, 1352091689, 1352091125, 1352091914, 1352091311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.225022792816162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:15:32.934131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_36_10434.jpg', '/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_46_10374.jpg', '/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_56_9366.jpg', '/home/pi/Desktop/images/20042025/05/49/image_20042025_05_50_06_10459.jpg', '/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_26_10504.jpg', '/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_36_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_36_10434.jpg
/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_46_10374.jpg
/home/pi/Desktop/images/20042025/05/49/image_20042025_05_49_56_9366.jpg
/home/pi/Desktop/images/20042025/05/49/image_20042025_05_50_06_10459.jpg
/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_26_10504.jpg
/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_36_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352095168","1352094880","1352094679","1352094487","1352094151","1352094315"],"photo_ids_order":["1352094151","1352094315","1352094487","1352094679","1352094880","1352095168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a04f92cbe4cc7f2c86f0bfa2b3943621.jpg","text":"TemporaryFile(/tmp/multipartBody5815109378013364175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133393465,"filename":"image_20042025_05_50_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b38afc39463d999f6693336ba00dcf8c.jpg","text":"TemporaryFile(/tmp/multipartBody9101305301157925432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133393465,"filename":"image_20042025_05_50_26_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61f1769876d1c22052e0154e54aa63c1.jpg","text":"TemporaryFile(/tmp/multipartBody4113182044223950157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133393465,"filename":"image_20042025_05_50_06_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21eb2d423dd3d0f19c0412ec5301c81c.jpg","text":"TemporaryFile(/tmp/multipartBody6551423203584471117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133393465,"filename":"image_20042025_05_49_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c67487c7eee96a8e860a5405cd4a6c3.jpg","text":"TemporaryFile(/tmp/multipartBody2163204785557044868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133393465,"filename":"image_20042025_05_49_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d154234f3e77edd22e45f543416e9cd.jpg","text":"TemporaryFile(/tmp/multipartBody762120174001663209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133393465,"filename":"image_20042025_05_49_46_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352094487","file1":"1352094315","file0":"1352094151","file4":"1352094880","file5":"1352095168","file3":"1352094679"},"map_files_photo_id_array":[{"photo_id":"1352095168","filename":"file5"},{"photo_id":"1352094487","filename":"file2"},{"photo_id":"1352094880","filename":"file4"},{"photo_id":"1352094315","filename":"file1"},{"photo_id":"1352094151","filename":"file0"},{"photo_id":"1352094679","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352095168":["hashtag1","hashtag2"]},{"1352094880":["hashtag1","hashtag2"]},{"1352094679":["hashtag1","hashtag2"]},{"1352094487":["hashtag1","hashtag2"]},{"1352094151":["hashtag1","hashtag2"]},{"1352094315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352095168, 1352094880, 1352094679, 1352094487, 1352094151, 1352094315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01543951034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:16:32.264392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_46_9353.jpg', '/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_56_10536.jpg', '/home/pi/Desktop/images/20042025/05/50/image_20042025_05_51_06_9343.jpg', '/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_16_10372.jpg', '/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_26_10403.jpg', '/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_36_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_46_9353.jpg
/home/pi/Desktop/images/20042025/05/50/image_20042025_05_50_56_10536.jpg
/home/pi/Desktop/images/20042025/05/50/image_20042025_05_51_06_9343.jpg
/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_16_10372.jpg
/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_26_10403.jpg
/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_36_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352096980","1352097324","1352097785","1352097950","1352097647","1352097499"],"photo_ids_order":["1352096980","1352097324","1352097499","1352097647","1352097785","1352097950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fa5612f4e1f4b1e2049e1d6669bd4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2423041800430595613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133452792,"filename":"image_20042025_05_50_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f076dfd83791f3649e5ceacf9bac0fa.jpg","text":"TemporaryFile(/tmp/multipartBody1742229547583361055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133452792,"filename":"image_20042025_05_50_56_10536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7264b4f124c48e9cfc629592ee3d2788.jpg","text":"TemporaryFile(/tmp/multipartBody3883984458177618107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133452792,"filename":"image_20042025_05_51_26_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5281be3b20ebbc079ef1852d415e30fe.jpg","text":"TemporaryFile(/tmp/multipartBody4858983239507030423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133452792,"filename":"image_20042025_05_51_36_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/747fc6fe1a0393d0ccc1db82996b85b7.jpg","text":"TemporaryFile(/tmp/multipartBody7701897599389446391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133452792,"filename":"image_20042025_05_51_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b1cd9a0a67046462c60183e22e57434.jpg","text":"TemporaryFile(/tmp/multipartBody5599704892224358961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133452792,"filename":"image_20042025_05_51_06_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352097499","file1":"1352097324","file0":"1352096980","file4":"1352097785","file5":"1352097950","file3":"1352097647"},"map_files_photo_id_array":[{"photo_id":"1352097950","filename":"file5"},{"photo_id":"1352097499","filename":"file2"},{"photo_id":"1352097785","filename":"file4"},{"photo_id":"1352097324","filename":"file1"},{"photo_id":"1352096980","filename":"file0"},{"photo_id":"1352097647","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352096980":["hashtag1","hashtag2"]},{"1352097324":["hashtag1","hashtag2"]},{"1352097785":["hashtag1","hashtag2"]},{"1352097950":["hashtag1","hashtag2"]},{"1352097647":["hashtag1","hashtag2"]},{"1352097499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352096980, 1352097324, 1352097785, 1352097950, 1352097647, 1352097499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35039472579956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:17:32.496660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_46_10436.jpg', '/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_56_9370.jpg', '/home/pi/Desktop/images/20042025/05/51/image_20042025_05_52_06_10488.jpg', '/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_16_10365.jpg', '/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_26_9378.jpg', '/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_36_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_46_10436.jpg
/home/pi/Desktop/images/20042025/05/51/image_20042025_05_51_56_9370.jpg
/home/pi/Desktop/images/20042025/05/51/image_20042025_05_52_06_10488.jpg
/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_16_10365.jpg
/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_26_9378.jpg
/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_36_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352100944","1352100317","1352100026","1352099601","1352100599","1352099787"],"photo_ids_order":["1352099601","1352099787","1352100026","1352100317","1352100599","1352100944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/950c06540abd429ae283957cc501905b.jpg","text":"TemporaryFile(/tmp/multipartBody4814795631796296394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133513047,"filename":"image_20042025_05_52_36_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f265af04c8ec3f73e68dd995b2d34ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3040703326495926563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133513047,"filename":"image_20042025_05_52_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be30540a050d9c9cf55b94e5f6e6b142.jpg","text":"TemporaryFile(/tmp/multipartBody3944494974874752528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133513047,"filename":"image_20042025_05_52_06_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b86bb6b1c131c38e23768d7fa6958be7.jpg","text":"TemporaryFile(/tmp/multipartBody7296510052777198032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133513047,"filename":"image_20042025_05_51_46_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/787e468264156f7ea24ece6baf77288d.jpg","text":"TemporaryFile(/tmp/multipartBody8351235508352404129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133513047,"filename":"image_20042025_05_52_26_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/364d1be90064ae46fea9c5f707bce16e.jpg","text":"TemporaryFile(/tmp/multipartBody7622397065165279486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133513047,"filename":"image_20042025_05_51_56_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352100026","file1":"1352099787","file0":"1352099601","file4":"1352100599","file5":"1352100944","file3":"1352100317"},"map_files_photo_id_array":[{"photo_id":"1352100944","filename":"file5"},{"photo_id":"1352100026","filename":"file2"},{"photo_id":"1352100599","filename":"file4"},{"photo_id":"1352099787","filename":"file1"},{"photo_id":"1352099601","filename":"file0"},{"photo_id":"1352100317","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352100944":["hashtag1","hashtag2"]},{"1352100317":["hashtag1","hashtag2"]},{"1352100026":["hashtag1","hashtag2"]},{"1352099601":["hashtag1","hashtag2"]},{"1352100599":["hashtag1","hashtag2"]},{"1352099787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352100944, 1352100317, 1352100026, 1352099601, 1352100599, 1352099787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66571283340454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:18:32.708862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_46_9424.jpg', '/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_56_10449.jpg', '/home/pi/Desktop/images/20042025/05/52/image_20042025_05_53_06_10368.jpg', '/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_16_9399.jpg', '/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_26_10409.jpg', '/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_36_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_46_9424.jpg
/home/pi/Desktop/images/20042025/05/52/image_20042025_05_52_56_10449.jpg
/home/pi/Desktop/images/20042025/05/52/image_20042025_05_53_06_10368.jpg
/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_16_9399.jpg
/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_26_10409.jpg
/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_36_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352103039","1352103593","1352103482","1352103743","1352103667","1352103277"],"photo_ids_order":["1352103039","1352103277","1352103482","1352103593","1352103667","1352103743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac5acb69f7649de6408b3ede1878d04c.jpg","text":"TemporaryFile(/tmp/multipartBody5833894339421143132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133573248,"filename":"image_20042025_05_52_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/641581dec1dc404bdd416d8bfe22e579.jpg","text":"TemporaryFile(/tmp/multipartBody6237764442626294104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133573248,"filename":"image_20042025_05_53_16_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/deaf2e4510a8bbf49bc5d83f819d3379.jpg","text":"TemporaryFile(/tmp/multipartBody7531826299052868263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133573248,"filename":"image_20042025_05_53_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1965dd8dfd027de1c69b50ad5892a217.jpg","text":"TemporaryFile(/tmp/multipartBody5314412679192854656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133573248,"filename":"image_20042025_05_53_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b79f947c7cb1bfe6f2201071aa409e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3832454157536680190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133573248,"filename":"image_20042025_05_53_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73ba9071c8c11391de53b5a5f9831f58.jpg","text":"TemporaryFile(/tmp/multipartBody6489832982246875167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133573248,"filename":"image_20042025_05_52_56_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352103482","file1":"1352103277","file0":"1352103039","file4":"1352103667","file5":"1352103743","file3":"1352103593"},"map_files_photo_id_array":[{"photo_id":"1352103743","filename":"file5"},{"photo_id":"1352103482","filename":"file2"},{"photo_id":"1352103667","filename":"file4"},{"photo_id":"1352103277","filename":"file1"},{"photo_id":"1352103039","filename":"file0"},{"photo_id":"1352103593","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352103039":["hashtag1","hashtag2"]},{"1352103593":["hashtag1","hashtag2"]},{"1352103482":["hashtag1","hashtag2"]},{"1352103743":["hashtag1","hashtag2"]},{"1352103667":["hashtag1","hashtag2"]},{"1352103277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352103039, 1352103593, 1352103482, 1352103743, 1352103667, 1352103277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.459304332733154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:19:32.994258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_46_10468.jpg', '/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_56_10359.jpg', '/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_16_10355.jpg', '/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_26_10378.jpg', '/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_36_9362.jpg', '/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_46_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_46_10468.jpg
/home/pi/Desktop/images/20042025/05/53/image_20042025_05_53_56_10359.jpg
/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_16_10355.jpg
/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_26_10378.jpg
/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_36_9362.jpg
/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_46_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352105522","1352106166","1352104975","1352105911","1352105295","1352105715"],"photo_ids_order":["1352104975","1352105295","1352105522","1352105715","1352105911","1352106166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79feda2d4b98d1fe87ab67e754d74174.jpg","text":"TemporaryFile(/tmp/multipartBody1582821494047274253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133633542,"filename":"image_20042025_05_54_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa3ddb6b0f4b7eb3e5371b1d20760fbe.jpg","text":"TemporaryFile(/tmp/multipartBody2545070857128205407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133633542,"filename":"image_20042025_05_54_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38c23456091c2d5e53dcf462dcc4b3dd.jpg","text":"TemporaryFile(/tmp/multipartBody8086046458683294386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133633542,"filename":"image_20042025_05_53_46_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b14c87286747214dd7745f37abbe960.jpg","text":"TemporaryFile(/tmp/multipartBody9063843670297606375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133633542,"filename":"image_20042025_05_54_36_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b1c25af6d6add2936c69429be9fcd98.jpg","text":"TemporaryFile(/tmp/multipartBody6037383012413242592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133633542,"filename":"image_20042025_05_53_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04431d8ac3ae1c94d4159851539717af.jpg","text":"TemporaryFile(/tmp/multipartBody2611480401638011989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133633542,"filename":"image_20042025_05_54_26_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352105522","file1":"1352105295","file0":"1352104975","file4":"1352105911","file5":"1352106166","file3":"1352105715"},"map_files_photo_id_array":[{"photo_id":"1352106166","filename":"file5"},{"photo_id":"1352105522","filename":"file2"},{"photo_id":"1352105911","filename":"file4"},{"photo_id":"1352105295","filename":"file1"},{"photo_id":"1352104975","filename":"file0"},{"photo_id":"1352105715","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352105522":["hashtag1","hashtag2"]},{"1352106166":["hashtag1","hashtag2"]},{"1352104975":["hashtag1","hashtag2"]},{"1352105911":["hashtag1","hashtag2"]},{"1352105295":["hashtag1","hashtag2"]},{"1352105715":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352105522, 1352106166, 1352104975, 1352105911, 1352105295, 1352105715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.022433042526245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:20:32.321655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_56_9448.jpg', '/home/pi/Desktop/images/20042025/05/54/image_20042025_05_55_06_10447.jpg', '/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_16_9362.jpg', '/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_26_10450.jpg', '/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_36_10361.jpg', '/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_46_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/54/image_20042025_05_54_56_9448.jpg
/home/pi/Desktop/images/20042025/05/54/image_20042025_05_55_06_10447.jpg
/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_16_9362.jpg
/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_26_10450.jpg
/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_36_10361.jpg
/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352109372","1352108697","1352109117","1352108523","1352108916","1352108285"],"photo_ids_order":["1352108285","1352108523","1352108697","1352108916","1352109117","1352109372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3517d524976b470187d142c8fadfa7a.jpg","text":"TemporaryFile(/tmp/multipartBody4936311655338251165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133692850,"filename":"image_20042025_05_55_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7c923f3070f914543f6a67cf4789fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4552484731541211318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133692850,"filename":"image_20042025_05_55_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1cbe6092d776eca1bdacaf56544ed30.jpg","text":"TemporaryFile(/tmp/multipartBody8386865817027458259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133692850,"filename":"image_20042025_05_55_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/628c3675ae347b45333b0f01db63e35e.jpg","text":"TemporaryFile(/tmp/multipartBody2904478034441003966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133692850,"filename":"image_20042025_05_55_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/174230942bf534fbd6e9cfb5da24d818.jpg","text":"TemporaryFile(/tmp/multipartBody7368085717125914567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133692850,"filename":"image_20042025_05_55_26_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c635b32b2d8e1390316222802441f184.jpg","text":"TemporaryFile(/tmp/multipartBody2763412981202617870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133692850,"filename":"image_20042025_05_54_56_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352108697","file1":"1352108523","file0":"1352108285","file4":"1352109117","file5":"1352109372","file3":"1352108916"},"map_files_photo_id_array":[{"photo_id":"1352109372","filename":"file5"},{"photo_id":"1352108697","filename":"file2"},{"photo_id":"1352109117","filename":"file4"},{"photo_id":"1352108523","filename":"file1"},{"photo_id":"1352108285","filename":"file0"},{"photo_id":"1352108916","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352109372":["hashtag1","hashtag2"]},{"1352108697":["hashtag1","hashtag2"]},{"1352109117":["hashtag1","hashtag2"]},{"1352108523":["hashtag1","hashtag2"]},{"1352108916":["hashtag1","hashtag2"]},{"1352108285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352109372, 1352108697, 1352109117, 1352108523, 1352108916, 1352108285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.312495708465576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:21:32.529732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_56_10361.jpg', '/home/pi/Desktop/images/20042025/05/55/image_20042025_05_56_05_9428.jpg', '/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_16_10463.jpg', '/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_26_10374.jpg', '/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_36_9360.jpg', '/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_46_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/55/image_20042025_05_55_56_10361.jpg
/home/pi/Desktop/images/20042025/05/55/image_20042025_05_56_05_9428.jpg
/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_16_10463.jpg
/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_26_10374.jpg
/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_36_9360.jpg
/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_46_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352111685","1352111465","1352111135","1352111944","1352110951","1352112228"],"photo_ids_order":["1352110951","1352111135","1352111465","1352111685","1352111944","1352112228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0aa632590d8f7c50c5c65f1a3cd7d78d.jpg","text":"TemporaryFile(/tmp/multipartBody3396124010112456362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133753056,"filename":"image_20042025_05_56_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e66508d0bd8931368dd30a416280d457.jpg","text":"TemporaryFile(/tmp/multipartBody4278330247489762207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133753056,"filename":"image_20042025_05_56_16_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3d444bb00cf7f8aa8b075999426a23f.jpg","text":"TemporaryFile(/tmp/multipartBody7694711718949222504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133753056,"filename":"image_20042025_05_56_05_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dd99003550b5a25a82ae8434b914c85.jpg","text":"TemporaryFile(/tmp/multipartBody8032342516910061672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133753056,"filename":"image_20042025_05_56_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cae16cf93028b00e97f2e14a7128ae81.jpg","text":"TemporaryFile(/tmp/multipartBody4968584186742028646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133753056,"filename":"image_20042025_05_55_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31addfa7b8143f6e0268c2bbfcd83b79.jpg","text":"TemporaryFile(/tmp/multipartBody5750899363222179515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133753056,"filename":"image_20042025_05_56_46_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352111465","file1":"1352111135","file0":"1352110951","file4":"1352111944","file5":"1352112228","file3":"1352111685"},"map_files_photo_id_array":[{"photo_id":"1352112228","filename":"file5"},{"photo_id":"1352111465","filename":"file2"},{"photo_id":"1352111944","filename":"file4"},{"photo_id":"1352111135","filename":"file1"},{"photo_id":"1352110951","filename":"file0"},{"photo_id":"1352111685","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352111685":["hashtag1","hashtag2"]},{"1352111465":["hashtag1","hashtag2"]},{"1352111135":["hashtag1","hashtag2"]},{"1352111944":["hashtag1","hashtag2"]},{"1352110951":["hashtag1","hashtag2"]},{"1352112228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352111685, 1352111465, 1352111135, 1352111944, 1352110951, 1352112228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00683808326721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:22:32.772446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_55_9369.jpg', '/home/pi/Desktop/images/20042025/05/56/image_20042025_05_57_06_10341.jpg', '/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_16_10409.jpg', '/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_26_9350.jpg', '/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_36_10474.jpg', '/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_46_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/56/image_20042025_05_56_55_9369.jpg
/home/pi/Desktop/images/20042025/05/56/image_20042025_05_57_06_10341.jpg
/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_16_10409.jpg
/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_26_9350.jpg
/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_36_10474.jpg
/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_46_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352113856","1352114536","1352113972","1352114122","1352114370","1352114267"],"photo_ids_order":["1352113856","1352113972","1352114122","1352114267","1352114370","1352114536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b99ef57529d792f735abb418aa5e1594.jpg","text":"TemporaryFile(/tmp/multipartBody7359733347205887804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133813302,"filename":"image_20042025_05_56_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26d16e8df8bdfc4b1104efcbb737f0de.jpg","text":"TemporaryFile(/tmp/multipartBody6924678907022227692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133813302,"filename":"image_20042025_05_57_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7579f8b244ccdc99bcc5744bc8b9a431.jpg","text":"TemporaryFile(/tmp/multipartBody790610131384455960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133813302,"filename":"image_20042025_05_57_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e73e4db4a591075a6037f684e1c9233.jpg","text":"TemporaryFile(/tmp/multipartBody8930302950746178035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133813302,"filename":"image_20042025_05_57_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60bb146275e7ff85df283ccc24ea6146.jpg","text":"TemporaryFile(/tmp/multipartBody8323755353311827077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133813302,"filename":"image_20042025_05_57_36_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8362e9091a54eb24cd3859ece1523717.jpg","text":"TemporaryFile(/tmp/multipartBody912845460750350317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133813302,"filename":"image_20042025_05_57_26_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352114122","file1":"1352113972","file0":"1352113856","file4":"1352114370","file5":"1352114536","file3":"1352114267"},"map_files_photo_id_array":[{"photo_id":"1352114536","filename":"file5"},{"photo_id":"1352114122","filename":"file2"},{"photo_id":"1352114370","filename":"file4"},{"photo_id":"1352113972","filename":"file1"},{"photo_id":"1352113856","filename":"file0"},{"photo_id":"1352114267","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352113856":["hashtag1","hashtag2"]},{"1352114536":["hashtag1","hashtag2"]},{"1352113972":["hashtag1","hashtag2"]},{"1352114122":["hashtag1","hashtag2"]},{"1352114370":["hashtag1","hashtag2"]},{"1352114267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352113856, 1352114536, 1352113972, 1352114122, 1352114370, 1352114267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96911358833313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:23:33.120838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_56_9474.jpg', '/home/pi/Desktop/images/20042025/05/57/image_20042025_05_58_06_10349.jpg', '/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_16_9354.jpg', '/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_26_10444.jpg', '/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_36_10361.jpg', '/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_46_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/57/image_20042025_05_57_56_9474.jpg
/home/pi/Desktop/images/20042025/05/57/image_20042025_05_58_06_10349.jpg
/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_16_9354.jpg
/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_26_10444.jpg
/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_36_10361.jpg
/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_46_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352117175","1352116239","1352116970","1352116376","1352117374","1352116505"],"photo_ids_order":["1352116239","1352116376","1352116505","1352116970","1352117175","1352117374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/155853956c78d2bcbd09e8d1552bd4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3717833788961094311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133873652,"filename":"image_20042025_05_58_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/deea6fec50fced02b2360050b3686350.jpg","text":"TemporaryFile(/tmp/multipartBody3779662793622343683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133873652,"filename":"image_20042025_05_57_56_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6237a78164a237d294976e3dcc19bfe2.jpg","text":"TemporaryFile(/tmp/multipartBody2190205621118062481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133873652,"filename":"image_20042025_05_58_26_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b22c8bf59a426603485f216443ec42a1.jpg","text":"TemporaryFile(/tmp/multipartBody8524609170845166013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133873652,"filename":"image_20042025_05_58_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b5807cc71c5fb3945e60f774d575111.jpg","text":"TemporaryFile(/tmp/multipartBody1187792535305921409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133873652,"filename":"image_20042025_05_58_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/164b4e68ba2fd9efd997f9d19cee0339.jpg","text":"TemporaryFile(/tmp/multipartBody5517741865506398705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133873652,"filename":"image_20042025_05_58_16_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352116505","file1":"1352116376","file0":"1352116239","file4":"1352117175","file5":"1352117374","file3":"1352116970"},"map_files_photo_id_array":[{"photo_id":"1352117374","filename":"file5"},{"photo_id":"1352116505","filename":"file2"},{"photo_id":"1352117175","filename":"file4"},{"photo_id":"1352116376","filename":"file1"},{"photo_id":"1352116239","filename":"file0"},{"photo_id":"1352116970","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352117175":["hashtag1","hashtag2"]},{"1352116239":["hashtag1","hashtag2"]},{"1352116970":["hashtag1","hashtag2"]},{"1352116376":["hashtag1","hashtag2"]},{"1352117374":["hashtag1","hashtag2"]},{"1352116505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352117175, 1352116239, 1352116970, 1352116376, 1352117374, 1352116505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80060410499573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:24:32.216711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_56_10514.jpg', '/home/pi/Desktop/images/20042025/05/58/image_20042025_05_59_06_9357.jpg', '/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_16_10379.jpg', '/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_26_10377.jpg', '/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_36_9367.jpg', '/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/05/58/image_20042025_05_58_56_10514.jpg
/home/pi/Desktop/images/20042025/05/58/image_20042025_05_59_06_9357.jpg
/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_16_10379.jpg
/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_26_10377.jpg
/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_36_9367.jpg
/home/pi/Desktop/images/20042025/05/59/image_20042025_05_59_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352118584","1352118784","1352119989","1352119650","1352118975","1352119172"],"photo_ids_order":["1352118584","1352118784","1352118975","1352119172","1352119650","1352119989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c2ed76aa2d56bfb5a7b9bd35a5d40a0.jpg","text":"TemporaryFile(/tmp/multipartBody6909000516433511846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133932745,"filename":"image_20042025_05_58_56_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/845a2f3e41d7acb196e815a52003f0d7.jpg","text":"TemporaryFile(/tmp/multipartBody2380220199120944219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133932745,"filename":"image_20042025_05_59_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/639d2d7eaa686b05e718d7ec9f71b6f2.jpg","text":"TemporaryFile(/tmp/multipartBody8903706146749014128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133932745,"filename":"image_20042025_05_59_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f95ed5d1922ab54c7f3b430646d9581.jpg","text":"TemporaryFile(/tmp/multipartBody3557069909042486852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133932745,"filename":"image_20042025_05_59_36_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/416a93749963e137c892f6bb2f0836d6.jpg","text":"TemporaryFile(/tmp/multipartBody4986139590773973755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133932745,"filename":"image_20042025_05_59_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fb720e0e1fe036a5bd19dc4df2bce65.jpg","text":"TemporaryFile(/tmp/multipartBody8587044319417171847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745133932745,"filename":"image_20042025_05_59_26_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352118975","file1":"1352118784","file0":"1352118584","file4":"1352119650","file5":"1352119989","file3":"1352119172"},"map_files_photo_id_array":[{"photo_id":"1352119989","filename":"file5"},{"photo_id":"1352118975","filename":"file2"},{"photo_id":"1352119650","filename":"file4"},{"photo_id":"1352118784","filename":"file1"},{"photo_id":"1352118584","filename":"file0"},{"photo_id":"1352119172","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352118584":["hashtag1","hashtag2"]},{"1352118784":["hashtag1","hashtag2"]},{"1352119989":["hashtag1","hashtag2"]},{"1352119650":["hashtag1","hashtag2"]},{"1352118975":["hashtag1","hashtag2"]},{"1352119172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352118584, 1352118784, 1352119989, 1352119650, 1352118975, 1352119172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98230957984924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:25:32.497130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_14_10075.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_25_10458.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_45_9395.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_55_10410.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_02_04_9368.jpg', '/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_14_10075.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_25_10458.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_45_9395.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_55_10410.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_02_04_9368.jpg
/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_15_10357.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46469950675964355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 09:25:42.570327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_14_10075.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_25_10458.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_45_9395.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_55_10410.jpg', '/home/pi/Desktop/images/20042025/06/01/image_20042025_06_02_04_9368.jpg', '/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_14_10075.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_25_10458.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_45_9395.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_01_55_10410.jpg
/home/pi/Desktop/images/20042025/06/01/image_20042025_06_02_04_9368.jpg
/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123338","1352122596","1352123159","1352123522","1352122934","1352122313"],"photo_ids_order":["1352122313","1352122596","1352122934","1352123159","1352123338","1352123522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9dfb01e179fa0d9ac115aa7d246a2768.jpg","text":"TemporaryFile(/tmp/multipartBody8064568800351821498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134003112,"filename":"image_20042025_06_02_04_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2fea96dd52bbf6dc218183801709bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3092416088955146839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134003112,"filename":"image_20042025_06_01_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f49695e29a7a7f31c30fd4983a580393.jpg","text":"TemporaryFile(/tmp/multipartBody8269624758715843325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134003112,"filename":"image_20042025_06_01_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/271e786ddee41361993d9a3bf9e0977f.jpg","text":"TemporaryFile(/tmp/multipartBody8614340820021183128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134003112,"filename":"image_20042025_06_02_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c50d9160ac54b20c137f49d08fbef8f.jpg","text":"TemporaryFile(/tmp/multipartBody172653851493773307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134003112,"filename":"image_20042025_06_01_45_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5798c8fe97c790807eb8345e86212cd.jpg","text":"TemporaryFile(/tmp/multipartBody2823645157901675821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134003112,"filename":"image_20042025_06_01_14_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352122934","file1":"1352122596","file0":"1352122313","file4":"1352123338","file5":"1352123522","file3":"1352123159"},"map_files_photo_id_array":[{"photo_id":"1352123522","filename":"file5"},{"photo_id":"1352122934","filename":"file2"},{"photo_id":"1352123338","filename":"file4"},{"photo_id":"1352122596","filename":"file1"},{"photo_id":"1352122313","filename":"file0"},{"photo_id":"1352123159","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352123338":["hashtag1","hashtag2"]},{"1352122596":["hashtag1","hashtag2"]},{"1352123159":["hashtag1","hashtag2"]},{"1352123522":["hashtag1","hashtag2"]},{"1352122934":["hashtag1","hashtag2"]},{"1352122313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352123338, 1352122596, 1352123159, 1352123522, 1352122934, 1352122313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.588886499404907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:26:32.599596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_25_10381.jpg', '/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_35_9421.jpg', '/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_45_10355.jpg', '/home/pi/Desktop/images/20042025/06/02/image_20042025_06_03_05_9335.jpg', '/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_15_10434.jpg', '/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_25_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_25_10381.jpg
/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_35_9421.jpg
/home/pi/Desktop/images/20042025/06/02/image_20042025_06_02_45_10355.jpg
/home/pi/Desktop/images/20042025/06/02/image_20042025_06_03_05_9335.jpg
/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_15_10434.jpg
/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_25_9470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352124747","1352125178","1352125045","1352125432","1352125287","1352124888"],"photo_ids_order":["1352124747","1352124888","1352125045","1352125178","1352125287","1352125432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6116d5265610397c97820cd186500538.jpg","text":"TemporaryFile(/tmp/multipartBody5011018262345669522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134053131,"filename":"image_20042025_06_02_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59aac6532ea3fe5cd4fa66a393363a24.jpg","text":"TemporaryFile(/tmp/multipartBody500138216700777981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134053131,"filename":"image_20042025_06_03_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21a82255b5450c54916c2414050a36bb.jpg","text":"TemporaryFile(/tmp/multipartBody6393264693175951830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134053131,"filename":"image_20042025_06_02_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/304473ee77d05af6e5dbe55299afb53e.jpg","text":"TemporaryFile(/tmp/multipartBody8893848038892782503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134053131,"filename":"image_20042025_06_03_25_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/febf92adaa224afa9917cdabc0fc9176.jpg","text":"TemporaryFile(/tmp/multipartBody7478839653141460193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134053131,"filename":"image_20042025_06_03_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcab6ae68eddc08fb307a0e95cf6f054.jpg","text":"TemporaryFile(/tmp/multipartBody5819560068987589547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134053131,"filename":"image_20042025_06_02_35_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352125045","file1":"1352124888","file0":"1352124747","file4":"1352125287","file5":"1352125432","file3":"1352125178"},"map_files_photo_id_array":[{"photo_id":"1352125432","filename":"file5"},{"photo_id":"1352125045","filename":"file2"},{"photo_id":"1352125287","filename":"file4"},{"photo_id":"1352124888","filename":"file1"},{"photo_id":"1352124747","filename":"file0"},{"photo_id":"1352125178","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352124747":["hashtag1","hashtag2"]},{"1352125178":["hashtag1","hashtag2"]},{"1352125045":["hashtag1","hashtag2"]},{"1352125432":["hashtag1","hashtag2"]},{"1352125287":["hashtag1","hashtag2"]},{"1352124888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352124747, 1352125178, 1352125045, 1352125432, 1352125287, 1352124888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91805672645569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:27:32.862889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_35_10374.jpg', '/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_45_10365.jpg', '/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_55_9372.jpg', '/home/pi/Desktop/images/20042025/06/03/image_20042025_06_04_05_10386.jpg', '/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_14_9373.jpg', '/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_25_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_35_10374.jpg
/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_45_10365.jpg
/home/pi/Desktop/images/20042025/06/03/image_20042025_06_03_55_9372.jpg
/home/pi/Desktop/images/20042025/06/03/image_20042025_06_04_05_10386.jpg
/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_14_9373.jpg
/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_25_10492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352126942","1352127190","1352127358","1352127076","1352126784","1352127501"],"photo_ids_order":["1352126784","1352126942","1352127076","1352127190","1352127358","1352127501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8e2e1b91a91dc9a35dafcb2474352db.jpg","text":"TemporaryFile(/tmp/multipartBody4886234555122625908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134113460,"filename":"image_20042025_06_03_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60549b350e2dd73e057be974e261da27.jpg","text":"TemporaryFile(/tmp/multipartBody7216583349469505378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134113460,"filename":"image_20042025_06_04_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10f2437fa3f347322e0c8563a1d7a832.jpg","text":"TemporaryFile(/tmp/multipartBody9106215002428316300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134113460,"filename":"image_20042025_06_04_14_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/092dde511faceac93235a4c175c29c82.jpg","text":"TemporaryFile(/tmp/multipartBody4650918825415003798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134113460,"filename":"image_20042025_06_03_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/601d466ecf38416ae7e99bc48a0e4a10.jpg","text":"TemporaryFile(/tmp/multipartBody7636457067238121782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134113460,"filename":"image_20042025_06_03_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a38dfb4033c3161ff4ce6745232dc79a.jpg","text":"TemporaryFile(/tmp/multipartBody4475351033147019616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134113460,"filename":"image_20042025_06_04_25_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352127076","file1":"1352126942","file0":"1352126784","file4":"1352127358","file5":"1352127501","file3":"1352127190"},"map_files_photo_id_array":[{"photo_id":"1352127501","filename":"file5"},{"photo_id":"1352127076","filename":"file2"},{"photo_id":"1352127358","filename":"file4"},{"photo_id":"1352126942","filename":"file1"},{"photo_id":"1352126784","filename":"file0"},{"photo_id":"1352127190","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352126942":["hashtag1","hashtag2"]},{"1352127190":["hashtag1","hashtag2"]},{"1352127358":["hashtag1","hashtag2"]},{"1352127076":["hashtag1","hashtag2"]},{"1352126784":["hashtag1","hashtag2"]},{"1352127501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352126942, 1352127190, 1352127358, 1352127076, 1352126784, 1352127501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.663375854492188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:28:33.057448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_35_10373.jpg', '/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_45_9384.jpg', '/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_55_10469.jpg', '/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_15_10385.jpg', '/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_25_10364.jpg', '/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_35_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_35_10373.jpg
/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_45_9384.jpg
/home/pi/Desktop/images/20042025/06/04/image_20042025_06_04_55_10469.jpg
/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_15_10385.jpg
/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_25_10364.jpg
/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_35_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352128516","1352128324","1352128410","1352128634","1352128271","1352128217"],"photo_ids_order":["1352128217","1352128271","1352128324","1352128410","1352128516","1352128634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90df9a143f3c13dd6cc08ede19e14181.jpg","text":"TemporaryFile(/tmp/multipartBody6407604088065630686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134173591,"filename":"image_20042025_06_05_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc45186625b579b581691a96c0008d76.jpg","text":"TemporaryFile(/tmp/multipartBody2081290342856896536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134173591,"filename":"image_20042025_06_04_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d7ca186a417e359fd115c77ea9fc81e.jpg","text":"TemporaryFile(/tmp/multipartBody6076246920138510154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134173591,"filename":"image_20042025_06_05_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee62794c1ffc9c0363aafb73c22ca3aa.jpg","text":"TemporaryFile(/tmp/multipartBody5965137849943778323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134173591,"filename":"image_20042025_06_05_35_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4534b3309c55154cff7a6656abb98922.jpg","text":"TemporaryFile(/tmp/multipartBody2887251750416656565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134173591,"filename":"image_20042025_06_04_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb696f850b1361b9988537429ec01859.jpg","text":"TemporaryFile(/tmp/multipartBody299351471962681746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134173591,"filename":"image_20042025_06_04_35_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352128324","file1":"1352128271","file0":"1352128217","file4":"1352128516","file5":"1352128634","file3":"1352128410"},"map_files_photo_id_array":[{"photo_id":"1352128634","filename":"file5"},{"photo_id":"1352128324","filename":"file2"},{"photo_id":"1352128516","filename":"file4"},{"photo_id":"1352128271","filename":"file1"},{"photo_id":"1352128217","filename":"file0"},{"photo_id":"1352128410","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352128516":["hashtag1","hashtag2"]},{"1352128324":["hashtag1","hashtag2"]},{"1352128410":["hashtag1","hashtag2"]},{"1352128634":["hashtag1","hashtag2"]},{"1352128271":["hashtag1","hashtag2"]},{"1352128217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352128516, 1352128324, 1352128410, 1352128634, 1352128271, 1352128217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37225294113159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:29:32.279593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_45_10435.jpg', '/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_55_9348.jpg', '/home/pi/Desktop/images/20042025/06/05/image_20042025_06_06_05_10423.jpg', '/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_15_10401.jpg', '/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_25_9370.jpg', '/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_35_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_45_10435.jpg
/home/pi/Desktop/images/20042025/06/05/image_20042025_06_05_55_9348.jpg
/home/pi/Desktop/images/20042025/06/05/image_20042025_06_06_05_10423.jpg
/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_15_10401.jpg
/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_25_9370.jpg
/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_35_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352131213","1352130157","1352130508","1352130261","1352130384","1352130914"],"photo_ids_order":["1352130157","1352130261","1352130384","1352130508","1352130914","1352131213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb25776afe1af44ed04675c7986feb2f.jpg","text":"TemporaryFile(/tmp/multipartBody3876017620717932143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134232826,"filename":"image_20042025_06_06_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c77e2e7ee6dce456c18ef46101a116db.jpg","text":"TemporaryFile(/tmp/multipartBody2970975801653640203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134232826,"filename":"image_20042025_06_05_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2e1191c5bbc94e42b431fa53310e198.jpg","text":"TemporaryFile(/tmp/multipartBody1392714083633579668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134232826,"filename":"image_20042025_06_06_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25e6f966209d863ced5baabbfdf3b4eb.jpg","text":"TemporaryFile(/tmp/multipartBody785007396519838386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134232826,"filename":"image_20042025_06_05_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/044c42ece136e4159c69abf62108dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody1448198904627515189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134232826,"filename":"image_20042025_06_06_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f5c87ca48d0925f22774e852c09e427.jpg","text":"TemporaryFile(/tmp/multipartBody1035504639704744097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134232826,"filename":"image_20042025_06_06_25_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352130384","file1":"1352130261","file0":"1352130157","file4":"1352130914","file5":"1352131213","file3":"1352130508"},"map_files_photo_id_array":[{"photo_id":"1352131213","filename":"file5"},{"photo_id":"1352130384","filename":"file2"},{"photo_id":"1352130914","filename":"file4"},{"photo_id":"1352130261","filename":"file1"},{"photo_id":"1352130157","filename":"file0"},{"photo_id":"1352130508","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352131213":["hashtag1","hashtag2"]},{"1352130157":["hashtag1","hashtag2"]},{"1352130508":["hashtag1","hashtag2"]},{"1352130261":["hashtag1","hashtag2"]},{"1352130384":["hashtag1","hashtag2"]},{"1352130914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352131213, 1352130157, 1352130508, 1352130261, 1352130384, 1352130914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.50668501853943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:30:32.476642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_45_9365.jpg', '/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_25_10370.jpg', '/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_35_9361.jpg', '/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_45_10429.jpg', '/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_55_10383.jpg', '/home/pi/Desktop/images/20042025/06/07/image_20042025_06_08_05_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/06/image_20042025_06_06_45_9365.jpg
/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_25_10370.jpg
/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_35_9361.jpg
/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_45_10429.jpg
/home/pi/Desktop/images/20042025/06/07/image_20042025_06_07_55_10383.jpg
/home/pi/Desktop/images/20042025/06/07/image_20042025_06_08_05_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352132785","1352132432","1352132098","1352132557","1352132685","1352132289"],"photo_ids_order":["1352132098","1352132289","1352132432","1352132557","1352132685","1352132785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4892d21715901cdf32468e2d3b63138e.jpg","text":"TemporaryFile(/tmp/multipartBody6890652112910001634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134292998,"filename":"image_20042025_06_08_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26db63d57b93a20a5fc74c3f8cfda51e.jpg","text":"TemporaryFile(/tmp/multipartBody1246082015173036087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134292998,"filename":"image_20042025_06_07_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b3800372ee4edde60087403984821cf.jpg","text":"TemporaryFile(/tmp/multipartBody6598716326791272875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134292998,"filename":"image_20042025_06_06_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb906154b4a7a32b52adbe8e82cbae3a.jpg","text":"TemporaryFile(/tmp/multipartBody5033845126059008635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134292998,"filename":"image_20042025_06_07_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ac78cc8ebf9e421b656edde709ee504.jpg","text":"TemporaryFile(/tmp/multipartBody7937474792480275656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134292998,"filename":"image_20042025_06_07_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21adb770e960762afc6f7e0ef604f1db.jpg","text":"TemporaryFile(/tmp/multipartBody5128754316957402146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134292998,"filename":"image_20042025_06_07_25_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352132432","file1":"1352132289","file0":"1352132098","file4":"1352132685","file5":"1352132785","file3":"1352132557"},"map_files_photo_id_array":[{"photo_id":"1352132785","filename":"file5"},{"photo_id":"1352132432","filename":"file2"},{"photo_id":"1352132685","filename":"file4"},{"photo_id":"1352132289","filename":"file1"},{"photo_id":"1352132098","filename":"file0"},{"photo_id":"1352132557","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352132785":["hashtag1","hashtag2"]},{"1352132432":["hashtag1","hashtag2"]},{"1352132098":["hashtag1","hashtag2"]},{"1352132557":["hashtag1","hashtag2"]},{"1352132685":["hashtag1","hashtag2"]},{"1352132289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352132785, 1352132432, 1352132098, 1352132557, 1352132685, 1352132289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29024887084961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:31:32.705548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/08/image_20042025_06_08_15_10354.jpg', '/home/pi/Desktop/images/20042025/06/08/image_20042025_06_08_25_10352.jpg', '/home/pi/Desktop/images/20042025/06/08/image_20042025_06_08_45_10373.jpg', '/home/pi/Desktop/images/20042025/06/08/image_20042025_06_09_05_10403.jpg', '/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_15_10376.jpg', '/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_25_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/08/image_20042025_06_08_15_10354.jpg
/home/pi/Desktop/images/20042025/06/08/image_20042025_06_08_25_10352.jpg
/home/pi/Desktop/images/20042025/06/08/image_20042025_06_08_45_10373.jpg
/home/pi/Desktop/images/20042025/06/08/image_20042025_06_09_05_10403.jpg
/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_15_10376.jpg
/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_25_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352134954","1352134666","1352134534","1352133931","1352134866","1352134767"],"photo_ids_order":["1352133931","1352134534","1352134666","1352134767","1352134866","1352134954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b752819d527599a89c5b8137d19d4251.jpg","text":"TemporaryFile(/tmp/multipartBody4856711238172266923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134353239,"filename":"image_20042025_06_09_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56a4651482d7830803dbab5f356b82df.jpg","text":"TemporaryFile(/tmp/multipartBody3245652873618296147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134353239,"filename":"image_20042025_06_08_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a19bb243a4944d9a78e111211c652921.jpg","text":"TemporaryFile(/tmp/multipartBody889600468098455489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134353239,"filename":"image_20042025_06_08_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bdf701245479f9796a01b0324be4b648.jpg","text":"TemporaryFile(/tmp/multipartBody3280875899540181841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134353239,"filename":"image_20042025_06_08_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6f4ced2856c7389cfbf32189ba9dfe9.jpg","text":"TemporaryFile(/tmp/multipartBody4280805368783128183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134353239,"filename":"image_20042025_06_09_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb1c0827839cb57905b4805e1b34a723.jpg","text":"TemporaryFile(/tmp/multipartBody961642147154635165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134353239,"filename":"image_20042025_06_09_05_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352134666","file1":"1352134534","file0":"1352133931","file4":"1352134866","file5":"1352134954","file3":"1352134767"},"map_files_photo_id_array":[{"photo_id":"1352134954","filename":"file5"},{"photo_id":"1352134666","filename":"file2"},{"photo_id":"1352134866","filename":"file4"},{"photo_id":"1352134534","filename":"file1"},{"photo_id":"1352133931","filename":"file0"},{"photo_id":"1352134767","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352134954":["hashtag1","hashtag2"]},{"1352134666":["hashtag1","hashtag2"]},{"1352134534":["hashtag1","hashtag2"]},{"1352133931":["hashtag1","hashtag2"]},{"1352134866":["hashtag1","hashtag2"]},{"1352134767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352134954, 1352134666, 1352134534, 1352133931, 1352134866, 1352134767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97566485404968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:32:32.950818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_35_10374.jpg', '/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_45_10349.jpg', '/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_15_9365.jpg', '/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_25_10461.jpg', '/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_35_10349.jpg', '/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_35_10374.jpg
/home/pi/Desktop/images/20042025/06/09/image_20042025_06_09_45_10349.jpg
/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_15_9365.jpg
/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_25_10461.jpg
/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_35_10349.jpg
/home/pi/Desktop/images/20042025/06/10/image_20042025_06_10_55_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352135377","1352135800","1352135679","1352135478","1352135576","1352135918"],"photo_ids_order":["1352135377","1352135478","1352135576","1352135679","1352135800","1352135918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6404efd24e408b74f85f10c8c7113cab.jpg","text":"TemporaryFile(/tmp/multipartBody438241089919588161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134413473,"filename":"image_20042025_06_09_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b2d94a9973e76e0cf34f074cc42c176.jpg","text":"TemporaryFile(/tmp/multipartBody8860596175458851050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134413473,"filename":"image_20042025_06_10_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6721caca638af8603aa86211c6624a7.jpg","text":"TemporaryFile(/tmp/multipartBody15464318317661347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134413473,"filename":"image_20042025_06_10_25_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9656bcc88c08de37472f035ced2b71a7.jpg","text":"TemporaryFile(/tmp/multipartBody4948660143484320096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134413473,"filename":"image_20042025_06_09_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8587716bb0d83c15b18e20e065b3f3a6.jpg","text":"TemporaryFile(/tmp/multipartBody768054687044622586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134413473,"filename":"image_20042025_06_10_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/414ecd975e54df33757fd160613b9c16.jpg","text":"TemporaryFile(/tmp/multipartBody5746949566717752955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134413473,"filename":"image_20042025_06_10_55_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352135576","file1":"1352135478","file0":"1352135377","file4":"1352135800","file5":"1352135918","file3":"1352135679"},"map_files_photo_id_array":[{"photo_id":"1352135918","filename":"file5"},{"photo_id":"1352135576","filename":"file2"},{"photo_id":"1352135800","filename":"file4"},{"photo_id":"1352135478","filename":"file1"},{"photo_id":"1352135377","filename":"file0"},{"photo_id":"1352135679","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352135377":["hashtag1","hashtag2"]},{"1352135800":["hashtag1","hashtag2"]},{"1352135679":["hashtag1","hashtag2"]},{"1352135478":["hashtag1","hashtag2"]},{"1352135576":["hashtag1","hashtag2"]},{"1352135918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352135377, 1352135800, 1352135679, 1352135478, 1352135576, 1352135918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.944222450256348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:33:33.132616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/10/image_20042025_06_11_04_9353.jpg', '/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_15_10449.jpg', '/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_25_10399.jpg', '/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_35_9373.jpg', '/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_45_10474.jpg', '/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_54_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/10/image_20042025_06_11_04_9353.jpg
/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_15_10449.jpg
/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_25_10399.jpg
/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_35_9373.jpg
/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_45_10474.jpg
/home/pi/Desktop/images/20042025/06/11/image_20042025_06_11_54_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138253","1352138154","1352137971","1352137701","1352138068","1352137861"],"photo_ids_order":["1352137701","1352137861","1352137971","1352138068","1352138154","1352138253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/efff19dc70402ab555396687ebf99097.jpg","text":"TemporaryFile(/tmp/multipartBody7689906742566867927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134473668,"filename":"image_20042025_06_11_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc7cb7c445e16532c5018ba902ff6c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6985917316032057843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134473668,"filename":"image_20042025_06_11_45_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71fb98716785679d1a1300467f348cad.jpg","text":"TemporaryFile(/tmp/multipartBody8495084498837278003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134473668,"filename":"image_20042025_06_11_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db6aa1b0f80a6770a57e2437fd992ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1238951303063330354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134473668,"filename":"image_20042025_06_11_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f4721ceba801a5265bd5f7c3fd4f725.jpg","text":"TemporaryFile(/tmp/multipartBody3557051978731046157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134473668,"filename":"image_20042025_06_11_35_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22e5a85040f1f19491dfa801d2bef006.jpg","text":"TemporaryFile(/tmp/multipartBody7501963813859877009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134473668,"filename":"image_20042025_06_11_15_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352137971","file1":"1352137861","file0":"1352137701","file4":"1352138154","file5":"1352138253","file3":"1352138068"},"map_files_photo_id_array":[{"photo_id":"1352138253","filename":"file5"},{"photo_id":"1352137971","filename":"file2"},{"photo_id":"1352138154","filename":"file4"},{"photo_id":"1352137861","filename":"file1"},{"photo_id":"1352137701","filename":"file0"},{"photo_id":"1352138068","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352138253":["hashtag1","hashtag2"]},{"1352138154":["hashtag1","hashtag2"]},{"1352137971":["hashtag1","hashtag2"]},{"1352137701":["hashtag1","hashtag2"]},{"1352138068":["hashtag1","hashtag2"]},{"1352137861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352138253, 1352138154, 1352137971, 1352137701, 1352138068, 1352137861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26646685600281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:34:32.374927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/11/image_20042025_06_12_05_10519.jpg', '/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_14_9416.jpg', '/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_25_10377.jpg', '/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_35_10413.jpg', '/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_45_9372.jpg', '/home/pi/Desktop/images/20042025/06/12/image_20042025_06_13_05_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/11/image_20042025_06_12_05_10519.jpg
/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_14_9416.jpg
/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_25_10377.jpg
/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_35_10413.jpg
/home/pi/Desktop/images/20042025/06/12/image_20042025_06_12_45_9372.jpg
/home/pi/Desktop/images/20042025/06/12/image_20042025_06_13_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139302","1352139107","1352139928","1352140255","1352139498","1352139744"],"photo_ids_order":["1352139107","1352139302","1352139498","1352139744","1352139928","1352140255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab755e4622df050b534629cbdaf981fc.jpg","text":"TemporaryFile(/tmp/multipartBody972722479492564419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134532906,"filename":"image_20042025_06_12_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07901b54b51dd7a89c70759d82a20623.jpg","text":"TemporaryFile(/tmp/multipartBody2388987981481677216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134532906,"filename":"image_20042025_06_12_05_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fab9ac137d037ac980472168077110c.jpg","text":"TemporaryFile(/tmp/multipartBody7282496469707945496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134532906,"filename":"image_20042025_06_12_45_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73d23dea456bfe5b32d171c1527f7946.jpg","text":"TemporaryFile(/tmp/multipartBody8822567351897605263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134532906,"filename":"image_20042025_06_13_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53b44221700920e1062a14c201c5d093.jpg","text":"TemporaryFile(/tmp/multipartBody3367919211213086768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134532906,"filename":"image_20042025_06_12_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2674e66439f91c3a2ad1fa6a8cab4a22.jpg","text":"TemporaryFile(/tmp/multipartBody8914394207722949976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134532906,"filename":"image_20042025_06_12_35_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139498","file1":"1352139302","file0":"1352139107","file4":"1352139928","file5":"1352140255","file3":"1352139744"},"map_files_photo_id_array":[{"photo_id":"1352140255","filename":"file5"},{"photo_id":"1352139498","filename":"file2"},{"photo_id":"1352139928","filename":"file4"},{"photo_id":"1352139302","filename":"file1"},{"photo_id":"1352139107","filename":"file0"},{"photo_id":"1352139744","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352139302":["hashtag1","hashtag2"]},{"1352139107":["hashtag1","hashtag2"]},{"1352139928":["hashtag1","hashtag2"]},{"1352140255":["hashtag1","hashtag2"]},{"1352139498":["hashtag1","hashtag2"]},{"1352139744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352139302, 1352139107, 1352139928, 1352140255, 1352139498, 1352139744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.541155099868774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:35:32.506857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/13/image_20042025_06_13_15_9356.jpg', '/home/pi/Desktop/images/20042025/06/13/image_20042025_06_13_35_9346.jpg', '/home/pi/Desktop/images/20042025/06/13/image_20042025_06_13_55_10368.jpg', '/home/pi/Desktop/images/20042025/06/14/image_20042025_06_14_25_9365.jpg', '/home/pi/Desktop/images/20042025/06/14/image_20042025_06_14_45_10384.jpg', '/home/pi/Desktop/images/20042025/06/14/image_20042025_06_15_05_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/13/image_20042025_06_13_15_9356.jpg
/home/pi/Desktop/images/20042025/06/13/image_20042025_06_13_35_9346.jpg
/home/pi/Desktop/images/20042025/06/13/image_20042025_06_13_55_10368.jpg
/home/pi/Desktop/images/20042025/06/14/image_20042025_06_14_25_9365.jpg
/home/pi/Desktop/images/20042025/06/14/image_20042025_06_14_45_10384.jpg
/home/pi/Desktop/images/20042025/06/14/image_20042025_06_15_05_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141625","1352142056","1352142337","1352141801","1352142494","1352142569"],"photo_ids_order":["1352141625","1352141801","1352142056","1352142337","1352142494","1352142569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c89e93d4525378618ea4c275a019cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1343023591690993212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134593055,"filename":"image_20042025_06_13_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c38dc2e7499d419635dc98c23cae5917.jpg","text":"TemporaryFile(/tmp/multipartBody3479610295657203314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134593055,"filename":"image_20042025_06_13_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6205be266ac99de74932a476877d8f5f.jpg","text":"TemporaryFile(/tmp/multipartBody1060510506277278855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134593055,"filename":"image_20042025_06_14_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96eb3bb414c4aaa2d1ceea9961a544e9.jpg","text":"TemporaryFile(/tmp/multipartBody1100513791491341655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134593055,"filename":"image_20042025_06_13_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ace8be0fdb0f69ffc7eb04d5d4e169b.jpg","text":"TemporaryFile(/tmp/multipartBody5437094437485293327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134593055,"filename":"image_20042025_06_14_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3389b1e6eb49c95a9746f0b9b05eaf8f.jpg","text":"TemporaryFile(/tmp/multipartBody4069748230225664333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134593055,"filename":"image_20042025_06_15_05_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142056","file1":"1352141801","file0":"1352141625","file4":"1352142494","file5":"1352142569","file3":"1352142337"},"map_files_photo_id_array":[{"photo_id":"1352142569","filename":"file5"},{"photo_id":"1352142056","filename":"file2"},{"photo_id":"1352142494","filename":"file4"},{"photo_id":"1352141801","filename":"file1"},{"photo_id":"1352141625","filename":"file0"},{"photo_id":"1352142337","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352141625":["hashtag1","hashtag2"]},{"1352142056":["hashtag1","hashtag2"]},{"1352142337":["hashtag1","hashtag2"]},{"1352141801":["hashtag1","hashtag2"]},{"1352142494":["hashtag1","hashtag2"]},{"1352142569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352141625, 1352142056, 1352142337, 1352141801, 1352142494, 1352142569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95918869972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:36:32.754830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_15_9348.jpg', '/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_25_10571.jpg', '/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_34_9355.jpg', '/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_45_10449.jpg', '/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_55_10359.jpg', '/home/pi/Desktop/images/20042025/06/15/image_20042025_06_16_05_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_15_9348.jpg
/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_25_10571.jpg
/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_34_9355.jpg
/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_45_10449.jpg
/home/pi/Desktop/images/20042025/06/15/image_20042025_06_15_55_10359.jpg
/home/pi/Desktop/images/20042025/06/15/image_20042025_06_16_05_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352143498","1352143414","1352143728","1352143946","1352143613","1352143829"],"photo_ids_order":["1352143414","1352143498","1352143613","1352143728","1352143829","1352143946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78f314c6416c17bf6f4b00eaaa33e8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1182866585540533571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134653306,"filename":"image_20042025_06_15_25_10571.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9684081c8d7915965cf5c5b186ad1eb3.jpg","text":"TemporaryFile(/tmp/multipartBody5470149067826112535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134653306,"filename":"image_20042025_06_15_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a72da7e85752f3d7f94c05555cec545.jpg","text":"TemporaryFile(/tmp/multipartBody7100026455185051524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134653306,"filename":"image_20042025_06_15_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2259b71a84a21a6888642e32231d6df.jpg","text":"TemporaryFile(/tmp/multipartBody3690910910411625308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134653306,"filename":"image_20042025_06_16_05_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9773b1e89e1d89fd577ddedd9b9a224c.jpg","text":"TemporaryFile(/tmp/multipartBody4868255073943231171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134653306,"filename":"image_20042025_06_15_34_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11ed813855344abad78253149532bd32.jpg","text":"TemporaryFile(/tmp/multipartBody5331896006158881726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134653306,"filename":"image_20042025_06_15_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352143613","file1":"1352143498","file0":"1352143414","file4":"1352143829","file5":"1352143946","file3":"1352143728"},"map_files_photo_id_array":[{"photo_id":"1352143946","filename":"file5"},{"photo_id":"1352143613","filename":"file2"},{"photo_id":"1352143829","filename":"file4"},{"photo_id":"1352143498","filename":"file1"},{"photo_id":"1352143414","filename":"file0"},{"photo_id":"1352143728","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352143498":["hashtag1","hashtag2"]},{"1352143414":["hashtag1","hashtag2"]},{"1352143728":["hashtag1","hashtag2"]},{"1352143946":["hashtag1","hashtag2"]},{"1352143613":["hashtag1","hashtag2"]},{"1352143829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352143498, 1352143414, 1352143728, 1352143946, 1352143613, 1352143829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33064365386963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:37:33.117859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/16/image_20042025_06_16_15_10425.jpg', '/home/pi/Desktop/images/20042025/06/16/image_20042025_06_16_44_9363.jpg', '/home/pi/Desktop/images/20042025/06/16/image_20042025_06_16_55_10462.jpg', '/home/pi/Desktop/images/20042025/06/16/image_20042025_06_17_05_10365.jpg', '/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_15_9400.jpg', '/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_25_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/16/image_20042025_06_16_15_10425.jpg
/home/pi/Desktop/images/20042025/06/16/image_20042025_06_16_44_9363.jpg
/home/pi/Desktop/images/20042025/06/16/image_20042025_06_16_55_10462.jpg
/home/pi/Desktop/images/20042025/06/16/image_20042025_06_17_05_10365.jpg
/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_15_9400.jpg
/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_25_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352144855","1352144690","1352144963","1352145064","1352144636","1352144764"],"photo_ids_order":["1352144636","1352144690","1352144764","1352144855","1352144963","1352145064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/654907ca93f7056e72a65d840f915ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4554568786873999318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134713653,"filename":"image_20042025_06_17_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/436a1920ec9ba006ceafac38f691e802.jpg","text":"TemporaryFile(/tmp/multipartBody1738757894905445611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134713653,"filename":"image_20042025_06_16_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e609a0a2b11fd2fee60e935d6cdd457b.jpg","text":"TemporaryFile(/tmp/multipartBody8698429651372064521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134713653,"filename":"image_20042025_06_17_15_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/baf8cd04e52f85a54c3ccedd4d220d42.jpg","text":"TemporaryFile(/tmp/multipartBody2694544928195020529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134713653,"filename":"image_20042025_06_17_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22cebfa4b5d51dc872ccc46d31d8d7d8.jpg","text":"TemporaryFile(/tmp/multipartBody3236662762698486387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134713653,"filename":"image_20042025_06_16_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9216bfa09b6f940b398bb95fb6df97bd.jpg","text":"TemporaryFile(/tmp/multipartBody5504150476034547474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134713653,"filename":"image_20042025_06_16_55_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352144764","file1":"1352144690","file0":"1352144636","file4":"1352144963","file5":"1352145064","file3":"1352144855"},"map_files_photo_id_array":[{"photo_id":"1352145064","filename":"file5"},{"photo_id":"1352144764","filename":"file2"},{"photo_id":"1352144963","filename":"file4"},{"photo_id":"1352144690","filename":"file1"},{"photo_id":"1352144636","filename":"file0"},{"photo_id":"1352144855","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352144855":["hashtag1","hashtag2"]},{"1352144690":["hashtag1","hashtag2"]},{"1352144963":["hashtag1","hashtag2"]},{"1352145064":["hashtag1","hashtag2"]},{"1352144636":["hashtag1","hashtag2"]},{"1352144764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352144855, 1352144690, 1352144963, 1352145064, 1352144636, 1352144764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26778244972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:38:32.328761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_45_10422.jpg', '/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_55_10361.jpg', '/home/pi/Desktop/images/20042025/06/17/image_20042025_06_18_05_9387.jpg', '/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_15_10364.jpg', '/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_24_9367.jpg', '/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_35_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_45_10422.jpg
/home/pi/Desktop/images/20042025/06/17/image_20042025_06_17_55_10361.jpg
/home/pi/Desktop/images/20042025/06/17/image_20042025_06_18_05_9387.jpg
/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_15_10364.jpg
/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_24_9367.jpg
/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_35_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352146755","1352146412","1352146642","1352146288","1352146525","1352146831"],"photo_ids_order":["1352146288","1352146412","1352146525","1352146642","1352146755","1352146831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ae549bc89c375162b8cdd8cc6d69ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3208462130195516134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134772856,"filename":"image_20042025_06_18_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c06a06a8b0d70631d36577109bb9036d.jpg","text":"TemporaryFile(/tmp/multipartBody3035942358688034924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134772856,"filename":"image_20042025_06_17_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff3eb5a34ff2ecd50740f986010b5581.jpg","text":"TemporaryFile(/tmp/multipartBody7124251216494232036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134772856,"filename":"image_20042025_06_18_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be480f80cdb10615f8559bb5bc4dde19.jpg","text":"TemporaryFile(/tmp/multipartBody5772518674856561248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134772856,"filename":"image_20042025_06_17_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20c6f695f7c8583688b4da4549d71309.jpg","text":"TemporaryFile(/tmp/multipartBody7110473043646433565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134772856,"filename":"image_20042025_06_18_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c25cc5f48da3332c079e4e7207ed72f.jpg","text":"TemporaryFile(/tmp/multipartBody4069203685285660056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134772856,"filename":"image_20042025_06_18_35_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352146525","file1":"1352146412","file0":"1352146288","file4":"1352146755","file5":"1352146831","file3":"1352146642"},"map_files_photo_id_array":[{"photo_id":"1352146831","filename":"file5"},{"photo_id":"1352146525","filename":"file2"},{"photo_id":"1352146755","filename":"file4"},{"photo_id":"1352146412","filename":"file1"},{"photo_id":"1352146288","filename":"file0"},{"photo_id":"1352146642","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352146755":["hashtag1","hashtag2"]},{"1352146412":["hashtag1","hashtag2"]},{"1352146642":["hashtag1","hashtag2"]},{"1352146288":["hashtag1","hashtag2"]},{"1352146525":["hashtag1","hashtag2"]},{"1352146831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352146755, 1352146412, 1352146642, 1352146288, 1352146525, 1352146831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.06097650527954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:39:32.509959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_45_10419.jpg', '/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_55_9365.jpg', '/home/pi/Desktop/images/20042025/06/18/image_20042025_06_19_05_10393.jpg', '/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_15_10365.jpg', '/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_35_10362.jpg', '/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_45_10419.jpg
/home/pi/Desktop/images/20042025/06/18/image_20042025_06_18_55_9365.jpg
/home/pi/Desktop/images/20042025/06/18/image_20042025_06_19_05_10393.jpg
/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_15_10365.jpg
/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_35_10362.jpg
/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_44_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352147977","1352147603","1352147701","1352148051","1352147904","1352147811"],"photo_ids_order":["1352147603","1352147701","1352147811","1352147904","1352147977","1352148051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/627ee40d3be5ab9cb3b915f589204799.jpg","text":"TemporaryFile(/tmp/multipartBody5980457295397280450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134833040,"filename":"image_20042025_06_19_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5be5672c1e7544b221ab7489ad85d7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5943833247837347631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134833040,"filename":"image_20042025_06_18_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f3f18ac852d6c5028a9ae444efd9764.jpg","text":"TemporaryFile(/tmp/multipartBody4927539099221433263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134833040,"filename":"image_20042025_06_18_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76c58a19f322df1abf908b88229d5d32.jpg","text":"TemporaryFile(/tmp/multipartBody1646964959811375481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134833040,"filename":"image_20042025_06_19_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/363faa9a083f2f30234d549df85743c0.jpg","text":"TemporaryFile(/tmp/multipartBody2767708763976210370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134833040,"filename":"image_20042025_06_19_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2b6722d6692862bf64dc6551876f9c4.jpg","text":"TemporaryFile(/tmp/multipartBody8566844235327165331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134833040,"filename":"image_20042025_06_19_05_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352147811","file1":"1352147701","file0":"1352147603","file4":"1352147977","file5":"1352148051","file3":"1352147904"},"map_files_photo_id_array":[{"photo_id":"1352148051","filename":"file5"},{"photo_id":"1352147811","filename":"file2"},{"photo_id":"1352147977","filename":"file4"},{"photo_id":"1352147701","filename":"file1"},{"photo_id":"1352147603","filename":"file0"},{"photo_id":"1352147904","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352147977":["hashtag1","hashtag2"]},{"1352147603":["hashtag1","hashtag2"]},{"1352147701":["hashtag1","hashtag2"]},{"1352148051":["hashtag1","hashtag2"]},{"1352147904":["hashtag1","hashtag2"]},{"1352147811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352147977, 1352147603, 1352147701, 1352148051, 1352147904, 1352147811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.84215784072876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:40:32.842318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_55_10486.jpg', '/home/pi/Desktop/images/20042025/06/19/image_20042025_06_20_05_10435.jpg', '/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_15_9368.jpg', '/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_25_10442.jpg', '/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_35_9461.jpg', '/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/19/image_20042025_06_19_55_10486.jpg
/home/pi/Desktop/images/20042025/06/19/image_20042025_06_20_05_10435.jpg
/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_15_9368.jpg
/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_25_10442.jpg
/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_35_9461.jpg
/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352149972","1352150377","1352150190","1352149730","1352149508","1352150570"],"photo_ids_order":["1352149508","1352149730","1352149972","1352150190","1352150377","1352150570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2bc200e7451d995d027f8c90d710839.jpg","text":"TemporaryFile(/tmp/multipartBody3609005600081956038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134893376,"filename":"image_20042025_06_20_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/671f62a8bafbc65a7e7760056194d035.jpg","text":"TemporaryFile(/tmp/multipartBody3158431540049759525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134893376,"filename":"image_20042025_06_20_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4b2efaae703535aa71115fb91accf33.jpg","text":"TemporaryFile(/tmp/multipartBody49258410961034315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134893376,"filename":"image_20042025_06_20_25_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8578427e451c0377845f66474beca710.jpg","text":"TemporaryFile(/tmp/multipartBody3801104432998640648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134893376,"filename":"image_20042025_06_20_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf10361ab597d2d6705dbe5273acf114.jpg","text":"TemporaryFile(/tmp/multipartBody3123004063909832158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134893376,"filename":"image_20042025_06_19_55_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6aa1b9e9036a30067a99a1341a80c604.jpg","text":"TemporaryFile(/tmp/multipartBody6542789572041188769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134893376,"filename":"image_20042025_06_20_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352149972","file1":"1352149730","file0":"1352149508","file4":"1352150377","file5":"1352150570","file3":"1352150190"},"map_files_photo_id_array":[{"photo_id":"1352150570","filename":"file5"},{"photo_id":"1352149972","filename":"file2"},{"photo_id":"1352150377","filename":"file4"},{"photo_id":"1352149730","filename":"file1"},{"photo_id":"1352149508","filename":"file0"},{"photo_id":"1352150190","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352149972":["hashtag1","hashtag2"]},{"1352150377":["hashtag1","hashtag2"]},{"1352150190":["hashtag1","hashtag2"]},{"1352149730":["hashtag1","hashtag2"]},{"1352149508":["hashtag1","hashtag2"]},{"1352150570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352149972, 1352150377, 1352150190, 1352149730, 1352149508, 1352150570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34899950027466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:41:32.986686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_55_10386.jpg', '/home/pi/Desktop/images/20042025/06/20/image_20042025_06_21_05_9403.jpg', '/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_15_10450.jpg', '/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_25_9387.jpg', '/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_35_10359.jpg', '/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_55_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/20/image_20042025_06_20_55_10386.jpg
/home/pi/Desktop/images/20042025/06/20/image_20042025_06_21_05_9403.jpg
/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_15_10450.jpg
/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_25_9387.jpg
/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_35_10359.jpg
/home/pi/Desktop/images/20042025/06/21/image_20042025_06_21_55_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151859","1352151736","1352151966","1352151639","1352152130","1352152054"],"photo_ids_order":["1352151639","1352151736","1352151859","1352151966","1352152054","1352152130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d56325fce2904e6c039871c711d04478.jpg","text":"TemporaryFile(/tmp/multipartBody8127347184063882298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134953521,"filename":"image_20042025_06_21_15_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86ed433bc50614d44b97f9197de4823e.jpg","text":"TemporaryFile(/tmp/multipartBody1574958513226516440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134953521,"filename":"image_20042025_06_21_05_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6be5c97049d7294e50779f857f75075f.jpg","text":"TemporaryFile(/tmp/multipartBody3987380074401932827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134953521,"filename":"image_20042025_06_21_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d19e490b3929c3ace89043fdec885a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7174397173963402595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134953521,"filename":"image_20042025_06_20_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36a54d1c49d50aa0faee1fe5735ae2ea.jpg","text":"TemporaryFile(/tmp/multipartBody542237191160948541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134953521,"filename":"image_20042025_06_21_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29e931f8ee5407766d200a51b08b044e.jpg","text":"TemporaryFile(/tmp/multipartBody3616464467157710900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745134953521,"filename":"image_20042025_06_21_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151859","file1":"1352151736","file0":"1352151639","file4":"1352152054","file5":"1352152130","file3":"1352151966"},"map_files_photo_id_array":[{"photo_id":"1352152130","filename":"file5"},{"photo_id":"1352151859","filename":"file2"},{"photo_id":"1352152054","filename":"file4"},{"photo_id":"1352151736","filename":"file1"},{"photo_id":"1352151639","filename":"file0"},{"photo_id":"1352151966","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352151859":["hashtag1","hashtag2"]},{"1352151736":["hashtag1","hashtag2"]},{"1352151966":["hashtag1","hashtag2"]},{"1352151639":["hashtag1","hashtag2"]},{"1352152130":["hashtag1","hashtag2"]},{"1352152054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352151859, 1352151736, 1352151966, 1352151639, 1352152130, 1352152054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94510626792908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:42:32.223870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/21/image_20042025_06_22_05_10400.jpg', '/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_15_9452.jpg', '/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_25_10483.jpg', '/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_35_9429.jpg', '/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_45_10373.jpg', '/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_54_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/21/image_20042025_06_22_05_10400.jpg
/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_15_9452.jpg
/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_25_10483.jpg
/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_35_9429.jpg
/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_45_10373.jpg
/home/pi/Desktop/images/20042025/06/22/image_20042025_06_22_54_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152776","1352152659","1352152869","1352152737","1352152766","1352152706"],"photo_ids_order":["1352152659","1352152706","1352152737","1352152766","1352152776","1352152869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ca7674689929c826b2fdf22ac32f82d.jpg","text":"TemporaryFile(/tmp/multipartBody7384283812674135462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135012768,"filename":"image_20042025_06_22_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64ca6d73d1cdfbdcb11e6e712a5ba640.jpg","text":"TemporaryFile(/tmp/multipartBody6823007083451567562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135012768,"filename":"image_20042025_06_22_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ad9755407cd4413dce09d0d93cd07f8.jpg","text":"TemporaryFile(/tmp/multipartBody7215634838731029857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135012768,"filename":"image_20042025_06_22_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a1f56ee7e426ab99cfadc22ef5e9cb3.jpg","text":"TemporaryFile(/tmp/multipartBody1419781150592325399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135012768,"filename":"image_20042025_06_22_25_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a84459e5c7a2f8ff1b404c4e7107a002.jpg","text":"TemporaryFile(/tmp/multipartBody2111056467513190715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135012768,"filename":"image_20042025_06_22_35_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cc5ee8f47140fc9712d41faad5381db.jpg","text":"TemporaryFile(/tmp/multipartBody8841742127266286279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135012768,"filename":"image_20042025_06_22_15_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152737","file1":"1352152706","file0":"1352152659","file4":"1352152776","file5":"1352152869","file3":"1352152766"},"map_files_photo_id_array":[{"photo_id":"1352152869","filename":"file5"},{"photo_id":"1352152737","filename":"file2"},{"photo_id":"1352152776","filename":"file4"},{"photo_id":"1352152706","filename":"file1"},{"photo_id":"1352152659","filename":"file0"},{"photo_id":"1352152766","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352152776":["hashtag1","hashtag2"]},{"1352152659":["hashtag1","hashtag2"]},{"1352152869":["hashtag1","hashtag2"]},{"1352152737":["hashtag1","hashtag2"]},{"1352152766":["hashtag1","hashtag2"]},{"1352152706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352152776, 1352152659, 1352152869, 1352152737, 1352152766, 1352152706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.26732087135315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:43:32.560883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/22/image_20042025_06_23_05_10374.jpg', '/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_15_10454.jpg', '/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_25_9357.jpg', '/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_35_10403.jpg', '/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_44_9477.jpg', '/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/22/image_20042025_06_23_05_10374.jpg
/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_15_10454.jpg
/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_25_9357.jpg
/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_35_10403.jpg
/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_44_9477.jpg
/home/pi/Desktop/images/20042025/06/23/image_20042025_06_23_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352153631","1352153489","1352153570","1352153459","1352153656","1352153542"],"photo_ids_order":["1352153459","1352153489","1352153542","1352153570","1352153631","1352153656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5a4009ebee3ec8cfd48523e71652f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3868561304821289039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135073098,"filename":"image_20042025_06_23_44_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03762113b6aa668526aa0aa88486b215.jpg","text":"TemporaryFile(/tmp/multipartBody450594804084805983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135073098,"filename":"image_20042025_06_23_15_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/180b084fd19a961f7301e4366619a67c.jpg","text":"TemporaryFile(/tmp/multipartBody6323309482230738104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135073098,"filename":"image_20042025_06_23_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/570fa2dd886d87d9353af60540de84e0.jpg","text":"TemporaryFile(/tmp/multipartBody5626771658313552235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135073098,"filename":"image_20042025_06_23_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/442a25fa150eb0135376989b44da6487.jpg","text":"TemporaryFile(/tmp/multipartBody2062376858272112546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135073098,"filename":"image_20042025_06_23_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16dc147ac48339a5050ede229d6bd792.jpg","text":"TemporaryFile(/tmp/multipartBody5273003742286883249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135073098,"filename":"image_20042025_06_23_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352153542","file1":"1352153489","file0":"1352153459","file4":"1352153631","file5":"1352153656","file3":"1352153570"},"map_files_photo_id_array":[{"photo_id":"1352153656","filename":"file5"},{"photo_id":"1352153542","filename":"file2"},{"photo_id":"1352153631","filename":"file4"},{"photo_id":"1352153489","filename":"file1"},{"photo_id":"1352153459","filename":"file0"},{"photo_id":"1352153570","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352153631":["hashtag1","hashtag2"]},{"1352153489":["hashtag1","hashtag2"]},{"1352153570":["hashtag1","hashtag2"]},{"1352153459":["hashtag1","hashtag2"]},{"1352153656":["hashtag1","hashtag2"]},{"1352153542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352153631, 1352153489, 1352153570, 1352153459, 1352153656, 1352153542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.201502084732056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:44:32.773164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/23/image_20042025_06_24_05_10383.jpg', '/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_15_9350.jpg', '/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_25_10496.jpg', '/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_34_9425.jpg', '/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_45_10502.jpg', '/home/pi/Desktop/images/20042025/06/24/image_20042025_06_25_05_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/23/image_20042025_06_24_05_10383.jpg
/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_15_9350.jpg
/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_25_10496.jpg
/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_34_9425.jpg
/home/pi/Desktop/images/20042025/06/24/image_20042025_06_24_45_10502.jpg
/home/pi/Desktop/images/20042025/06/24/image_20042025_06_25_05_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352154476","1352154071","1352153993","1352154229","1352154133","1352154357"],"photo_ids_order":["1352153993","1352154071","1352154133","1352154229","1352154357","1352154476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44d4a856e7e2f4b12b7477e256abe59f.jpg","text":"TemporaryFile(/tmp/multipartBody241933959814640346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135133305,"filename":"image_20042025_06_25_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/081d0f9938c5bb7ec549711e9d094887.jpg","text":"TemporaryFile(/tmp/multipartBody381040719283334992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135133305,"filename":"image_20042025_06_24_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93de38cbee8d44fa683cd52187cc78b7.jpg","text":"TemporaryFile(/tmp/multipartBody5293856508308142615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135133305,"filename":"image_20042025_06_24_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/575a1bad2bd5cbd560f096d8cbc19d64.jpg","text":"TemporaryFile(/tmp/multipartBody8518896456947698733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135133305,"filename":"image_20042025_06_24_34_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5eba70e077f5a1265d70202302e92a87.jpg","text":"TemporaryFile(/tmp/multipartBody9181887400190286908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135133305,"filename":"image_20042025_06_24_25_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9514e6f47b5b601cd0767552e9af71b0.jpg","text":"TemporaryFile(/tmp/multipartBody6599690551070219669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135133305,"filename":"image_20042025_06_24_45_10502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352154133","file1":"1352154071","file0":"1352153993","file4":"1352154357","file5":"1352154476","file3":"1352154229"},"map_files_photo_id_array":[{"photo_id":"1352154476","filename":"file5"},{"photo_id":"1352154133","filename":"file2"},{"photo_id":"1352154357","filename":"file4"},{"photo_id":"1352154071","filename":"file1"},{"photo_id":"1352153993","filename":"file0"},{"photo_id":"1352154229","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352154476":["hashtag1","hashtag2"]},{"1352154071":["hashtag1","hashtag2"]},{"1352153993":["hashtag1","hashtag2"]},{"1352154229":["hashtag1","hashtag2"]},{"1352154133":["hashtag1","hashtag2"]},{"1352154357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352154476, 1352154071, 1352153993, 1352154229, 1352154133, 1352154357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00749635696411 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:45:32.963933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_15_10429.jpg', '/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_25_9416.jpg', '/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_35_10538.jpg', '/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_45_9376.jpg', '/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_15_10391.jpg', '/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_25_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_15_10429.jpg
/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_25_9416.jpg
/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_35_10538.jpg
/home/pi/Desktop/images/20042025/06/25/image_20042025_06_25_45_9376.jpg
/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_15_10391.jpg
/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_25_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352155556","1352155187","1352155282","1352155368","1352155656","1352155464"],"photo_ids_order":["1352155187","1352155282","1352155368","1352155464","1352155556","1352155656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5316d1cbe1ef048db7e04c603dfae0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6448021115732063417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135193497,"filename":"image_20042025_06_26_15_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5388ff91d05862fd72d9fd21036c162a.jpg","text":"TemporaryFile(/tmp/multipartBody1168759799949597139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135193497,"filename":"image_20042025_06_25_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ff5cfb86d0b89bef442684441222bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3491504604293427459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135193497,"filename":"image_20042025_06_25_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/229f5862f4780ddb489dd61db98a14dd.jpg","text":"TemporaryFile(/tmp/multipartBody6864604094512134215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135193497,"filename":"image_20042025_06_25_35_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f32586e79517d0e872ade141e2a3d52.jpg","text":"TemporaryFile(/tmp/multipartBody2837286544937566551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135193497,"filename":"image_20042025_06_26_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d1f3c84f14117c177bff7db206f98f8.jpg","text":"TemporaryFile(/tmp/multipartBody7706732771330686325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135193497,"filename":"image_20042025_06_25_45_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352155368","file1":"1352155282","file0":"1352155187","file4":"1352155556","file5":"1352155656","file3":"1352155464"},"map_files_photo_id_array":[{"photo_id":"1352155656","filename":"file5"},{"photo_id":"1352155368","filename":"file2"},{"photo_id":"1352155556","filename":"file4"},{"photo_id":"1352155282","filename":"file1"},{"photo_id":"1352155187","filename":"file0"},{"photo_id":"1352155464","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352155556":["hashtag1","hashtag2"]},{"1352155187":["hashtag1","hashtag2"]},{"1352155282":["hashtag1","hashtag2"]},{"1352155368":["hashtag1","hashtag2"]},{"1352155656":["hashtag1","hashtag2"]},{"1352155464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352155556, 1352155187, 1352155282, 1352155368, 1352155656, 1352155464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.808822870254517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:46:33.145918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_45_10405.jpg', '/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_54_9370.jpg', '/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_15_10404.jpg', '/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_25_9380.jpg', '/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_45_10420.jpg', '/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_55_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_45_10405.jpg
/home/pi/Desktop/images/20042025/06/26/image_20042025_06_26_54_9370.jpg
/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_15_10404.jpg
/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_25_9380.jpg
/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_45_10420.jpg
/home/pi/Desktop/images/20042025/06/27/image_20042025_06_27_55_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352156563","1352156743","1352156691","1352156850","1352156634","1352156798"],"photo_ids_order":["1352156563","1352156634","1352156691","1352156743","1352156798","1352156850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de50b0b31739de0a0534e689a322e8ea.jpg","text":"TemporaryFile(/tmp/multipartBody386731895963777993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135253665,"filename":"image_20042025_06_26_45_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f25407f11b81ddee88a217eb94b41768.jpg","text":"TemporaryFile(/tmp/multipartBody1632083907231829998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135253665,"filename":"image_20042025_06_27_25_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/973bcf20da054c3f5e587333a7eaf933.jpg","text":"TemporaryFile(/tmp/multipartBody8902080732056507195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135253665,"filename":"image_20042025_06_27_15_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c930f4cafbd757f564dfffdeeafbfb5.jpg","text":"TemporaryFile(/tmp/multipartBody6422416097254311368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135253665,"filename":"image_20042025_06_27_55_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/241458acb26b35aeafffd3ba56bb0756.jpg","text":"TemporaryFile(/tmp/multipartBody4754505842225118559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135253665,"filename":"image_20042025_06_26_54_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d45fdff45eca6a41552e15490c1aa5d.jpg","text":"TemporaryFile(/tmp/multipartBody6641487226537263940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135253665,"filename":"image_20042025_06_27_45_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352156691","file1":"1352156634","file0":"1352156563","file4":"1352156798","file5":"1352156850","file3":"1352156743"},"map_files_photo_id_array":[{"photo_id":"1352156850","filename":"file5"},{"photo_id":"1352156691","filename":"file2"},{"photo_id":"1352156798","filename":"file4"},{"photo_id":"1352156634","filename":"file1"},{"photo_id":"1352156563","filename":"file0"},{"photo_id":"1352156743","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352156563":["hashtag1","hashtag2"]},{"1352156743":["hashtag1","hashtag2"]},{"1352156691":["hashtag1","hashtag2"]},{"1352156850":["hashtag1","hashtag2"]},{"1352156634":["hashtag1","hashtag2"]},{"1352156798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352156563, 1352156743, 1352156691, 1352156850, 1352156634, 1352156798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.403019905090332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:47:32.453091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/27/image_20042025_06_28_05_10381.jpg', '/home/pi/Desktop/images/20042025/06/28/image_20042025_06_28_34_9449.jpg', '/home/pi/Desktop/images/20042025/06/28/image_20042025_06_28_45_10376.jpg', '/home/pi/Desktop/images/20042025/06/28/image_20042025_06_28_55_10457.jpg', '/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_15_10399.jpg', '/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/27/image_20042025_06_28_05_10381.jpg
/home/pi/Desktop/images/20042025/06/28/image_20042025_06_28_34_9449.jpg
/home/pi/Desktop/images/20042025/06/28/image_20042025_06_28_45_10376.jpg
/home/pi/Desktop/images/20042025/06/28/image_20042025_06_28_55_10457.jpg
/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_15_10399.jpg
/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352157385","1352157508","1352157436","1352157324","1352157618","1352157560"],"photo_ids_order":["1352157324","1352157385","1352157436","1352157508","1352157560","1352157618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/229471385df21eb8e848e4553ca0b2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5388530635646633416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135312928,"filename":"image_20042025_06_28_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/475ac02a1a88c7c6567bf108d06c79c2.jpg","text":"TemporaryFile(/tmp/multipartBody4047975657862568648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135312928,"filename":"image_20042025_06_28_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4673dde4bc108501af011eacb7d1f58.jpg","text":"TemporaryFile(/tmp/multipartBody7561211592349622630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135312928,"filename":"image_20042025_06_28_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99229dc0b1564acc696f30ea43367001.jpg","text":"TemporaryFile(/tmp/multipartBody7566708244444218154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135312928,"filename":"image_20042025_06_28_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dac1a871eff866ad24f2413c05c5785e.jpg","text":"TemporaryFile(/tmp/multipartBody2166806991058666684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135312928,"filename":"image_20042025_06_29_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/810216afe249edbb2868a565384186dc.jpg","text":"TemporaryFile(/tmp/multipartBody6111395061805482764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135312928,"filename":"image_20042025_06_29_15_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352157436","file1":"1352157385","file0":"1352157324","file4":"1352157560","file5":"1352157618","file3":"1352157508"},"map_files_photo_id_array":[{"photo_id":"1352157618","filename":"file5"},{"photo_id":"1352157436","filename":"file2"},{"photo_id":"1352157560","filename":"file4"},{"photo_id":"1352157385","filename":"file1"},{"photo_id":"1352157324","filename":"file0"},{"photo_id":"1352157508","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352157385":["hashtag1","hashtag2"]},{"1352157508":["hashtag1","hashtag2"]},{"1352157436":["hashtag1","hashtag2"]},{"1352157324":["hashtag1","hashtag2"]},{"1352157618":["hashtag1","hashtag2"]},{"1352157560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352157385, 1352157508, 1352157436, 1352157324, 1352157618, 1352157560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44446659088135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:48:32.556300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_45_10387.jpg', '/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_55_9394.jpg', '/home/pi/Desktop/images/20042025/06/29/image_20042025_06_30_05_10455.jpg', '/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_14_9360.jpg', '/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_25_10380.jpg', '/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_35_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_45_10387.jpg
/home/pi/Desktop/images/20042025/06/29/image_20042025_06_29_55_9394.jpg
/home/pi/Desktop/images/20042025/06/29/image_20042025_06_30_05_10455.jpg
/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_14_9360.jpg
/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_25_10380.jpg
/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_35_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352158584","1352158402","1352158560","1352158500","1352158586","1352158621"],"photo_ids_order":["1352158402","1352158500","1352158560","1352158584","1352158586","1352158621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44daa1b2b6df635c05c1d54c83876ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4371791279825074327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135373015,"filename":"image_20042025_06_30_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba259eb6e2f62422bf44e7355bffe754.jpg","text":"TemporaryFile(/tmp/multipartBody1943905395452344889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135373015,"filename":"image_20042025_06_29_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44e3e5bfe43471419418ba3c3fa8e763.jpg","text":"TemporaryFile(/tmp/multipartBody5740082057980353576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135373015,"filename":"image_20042025_06_30_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c75ec879bcc0bff139ee40119a98a177.jpg","text":"TemporaryFile(/tmp/multipartBody5994642623977483929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135373015,"filename":"image_20042025_06_29_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c3bdab6a1ee959746226f29bbee07f0.jpg","text":"TemporaryFile(/tmp/multipartBody2212301160176941720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135373015,"filename":"image_20042025_06_30_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcdcaf86ffb72d8ef514151fbfedbea0.jpg","text":"TemporaryFile(/tmp/multipartBody3969272707183325069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135373015,"filename":"image_20042025_06_30_35_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352158560","file1":"1352158500","file0":"1352158402","file4":"1352158586","file5":"1352158621","file3":"1352158584"},"map_files_photo_id_array":[{"photo_id":"1352158621","filename":"file5"},{"photo_id":"1352158560","filename":"file2"},{"photo_id":"1352158586","filename":"file4"},{"photo_id":"1352158500","filename":"file1"},{"photo_id":"1352158402","filename":"file0"},{"photo_id":"1352158584","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352158584":["hashtag1","hashtag2"]},{"1352158402":["hashtag1","hashtag2"]},{"1352158560":["hashtag1","hashtag2"]},{"1352158500":["hashtag1","hashtag2"]},{"1352158586":["hashtag1","hashtag2"]},{"1352158621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352158584, 1352158402, 1352158560, 1352158500, 1352158586, 1352158621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13920068740845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:49:32.817700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_45_9402.jpg', '/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_55_10403.jpg', '/home/pi/Desktop/images/20042025/06/30/image_20042025_06_31_05_10376.jpg', '/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_15_9398.jpg', '/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_25_10467.jpg', '/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_35_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_45_9402.jpg
/home/pi/Desktop/images/20042025/06/30/image_20042025_06_30_55_10403.jpg
/home/pi/Desktop/images/20042025/06/30/image_20042025_06_31_05_10376.jpg
/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_15_9398.jpg
/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_25_10467.jpg
/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_35_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352160474","1352160471","1352159813","1352160422","1352160227","1352160022"],"photo_ids_order":["1352159813","1352160022","1352160227","1352160422","1352160471","1352160474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1088211acaf6c0fd1115c13720a0bbbf.jpg","text":"TemporaryFile(/tmp/multipartBody5203353387565998936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135433299,"filename":"image_20042025_06_31_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/462849cd26b106f1daa1dd0b99bf2257.jpg","text":"TemporaryFile(/tmp/multipartBody1637388474030719237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135433299,"filename":"image_20042025_06_31_25_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6141bfa6ba9f7e94138148234ae2513.jpg","text":"TemporaryFile(/tmp/multipartBody1341122556280530803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135433299,"filename":"image_20042025_06_30_45_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f300a0ee89be598d1e822c259ad12a19.jpg","text":"TemporaryFile(/tmp/multipartBody7196683103009082952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135433299,"filename":"image_20042025_06_31_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c8e9a620c48cbd38168712a196fda0b.jpg","text":"TemporaryFile(/tmp/multipartBody7622012885600485387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135433299,"filename":"image_20042025_06_31_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53ec55a12a2119a54dec42f1b20545b0.jpg","text":"TemporaryFile(/tmp/multipartBody3417021050371045761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135433299,"filename":"image_20042025_06_30_55_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352160227","file1":"1352160022","file0":"1352159813","file4":"1352160471","file5":"1352160474","file3":"1352160422"},"map_files_photo_id_array":[{"photo_id":"1352160474","filename":"file5"},{"photo_id":"1352160227","filename":"file2"},{"photo_id":"1352160471","filename":"file4"},{"photo_id":"1352160022","filename":"file1"},{"photo_id":"1352159813","filename":"file0"},{"photo_id":"1352160422","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352160474":["hashtag1","hashtag2"]},{"1352160471":["hashtag1","hashtag2"]},{"1352159813":["hashtag1","hashtag2"]},{"1352160422":["hashtag1","hashtag2"]},{"1352160227":["hashtag1","hashtag2"]},{"1352160022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352160474, 1352160471, 1352159813, 1352160422, 1352160227, 1352160022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.55557918548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:50:33.036702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_45_10473.jpg', '/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_54_9369.jpg', '/home/pi/Desktop/images/20042025/06/31/image_20042025_06_32_05_10488.jpg', '/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_15_10359.jpg', '/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_25_9383.jpg', '/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_35_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_45_10473.jpg
/home/pi/Desktop/images/20042025/06/31/image_20042025_06_31_54_9369.jpg
/home/pi/Desktop/images/20042025/06/31/image_20042025_06_32_05_10488.jpg
/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_15_10359.jpg
/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_25_9383.jpg
/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_35_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161269","1352161370","1352161331","1352161409","1352161168","1352161435"],"photo_ids_order":["1352161168","1352161269","1352161331","1352161370","1352161409","1352161435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21aa9979eed7e96ff725b4b536502c91.jpg","text":"TemporaryFile(/tmp/multipartBody7968247430492869794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135493506,"filename":"image_20042025_06_31_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64034dea2e5dd63aac9ec9d2768b7cca.jpg","text":"TemporaryFile(/tmp/multipartBody6026069700488123906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135493506,"filename":"image_20042025_06_32_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c6dd97661242a211b27cfa9cab90abb.jpg","text":"TemporaryFile(/tmp/multipartBody4991584749702327142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135493506,"filename":"image_20042025_06_32_05_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38dc893a076757e71977469bba0fcace.jpg","text":"TemporaryFile(/tmp/multipartBody6161076310468234980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135493506,"filename":"image_20042025_06_32_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/888d24b0c732f17a62ac0997fbd9d63a.jpg","text":"TemporaryFile(/tmp/multipartBody3831146752599350984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135493506,"filename":"image_20042025_06_31_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6febf525c0ea3707728cf47aa83690f.jpg","text":"TemporaryFile(/tmp/multipartBody886909486550266277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135493506,"filename":"image_20042025_06_32_35_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161331","file1":"1352161269","file0":"1352161168","file4":"1352161409","file5":"1352161435","file3":"1352161370"},"map_files_photo_id_array":[{"photo_id":"1352161435","filename":"file5"},{"photo_id":"1352161331","filename":"file2"},{"photo_id":"1352161409","filename":"file4"},{"photo_id":"1352161269","filename":"file1"},{"photo_id":"1352161168","filename":"file0"},{"photo_id":"1352161370","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352161269":["hashtag1","hashtag2"]},{"1352161370":["hashtag1","hashtag2"]},{"1352161331":["hashtag1","hashtag2"]},{"1352161409":["hashtag1","hashtag2"]},{"1352161168":["hashtag1","hashtag2"]},{"1352161435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352161269, 1352161370, 1352161331, 1352161409, 1352161168, 1352161435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.486695289611816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:51:32.306372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_45_9355.jpg', '/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_55_10453.jpg', '/home/pi/Desktop/images/20042025/06/32/image_20042025_06_33_05_10411.jpg', '/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_15_9380.jpg', '/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_25_10421.jpg', '/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_35_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_45_9355.jpg
/home/pi/Desktop/images/20042025/06/32/image_20042025_06_32_55_10453.jpg
/home/pi/Desktop/images/20042025/06/32/image_20042025_06_33_05_10411.jpg
/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_15_9380.jpg
/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_25_10421.jpg
/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_35_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161611","1352161595","1352161640","1352161591","1352161600","1352161584"],"photo_ids_order":["1352161584","1352161591","1352161595","1352161600","1352161611","1352161640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e3a0fc9686fbe484ff60ed202645db5.jpg","text":"TemporaryFile(/tmp/multipartBody3032199086184138138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135552771,"filename":"image_20042025_06_33_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/151dd39a02c9e2d4dc7a7c43e3d2eca8.jpg","text":"TemporaryFile(/tmp/multipartBody508670237430000950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135552771,"filename":"image_20042025_06_33_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7ccaca0e1666588307b6617dd79d008.jpg","text":"TemporaryFile(/tmp/multipartBody731153541237401564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135552771,"filename":"image_20042025_06_33_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac3a7198d918bf2c36c22f29999fefc4.jpg","text":"TemporaryFile(/tmp/multipartBody446766170788088608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135552771,"filename":"image_20042025_06_32_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66a4fc4ea6a938707d43941b130a31b5.jpg","text":"TemporaryFile(/tmp/multipartBody7648929036323158142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135552771,"filename":"image_20042025_06_33_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acc5abcf2c98df22bd78c823793fa7a3.jpg","text":"TemporaryFile(/tmp/multipartBody824764082621212036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135552771,"filename":"image_20042025_06_32_45_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161595","file1":"1352161591","file0":"1352161584","file4":"1352161611","file5":"1352161640","file3":"1352161600"},"map_files_photo_id_array":[{"photo_id":"1352161640","filename":"file5"},{"photo_id":"1352161595","filename":"file2"},{"photo_id":"1352161611","filename":"file4"},{"photo_id":"1352161591","filename":"file1"},{"photo_id":"1352161584","filename":"file0"},{"photo_id":"1352161600","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352161611":["hashtag1","hashtag2"]},{"1352161595":["hashtag1","hashtag2"]},{"1352161640":["hashtag1","hashtag2"]},{"1352161591":["hashtag1","hashtag2"]},{"1352161600":["hashtag1","hashtag2"]},{"1352161584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352161611, 1352161595, 1352161640, 1352161591, 1352161600, 1352161584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00097417831421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:52:32.506723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_45_10467.jpg', '/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_54_9440.jpg', '/home/pi/Desktop/images/20042025/06/33/image_20042025_06_34_05_10431.jpg', '/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_15_10410.jpg', '/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_25_9440.jpg', '/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_35_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_45_10467.jpg
/home/pi/Desktop/images/20042025/06/33/image_20042025_06_33_54_9440.jpg
/home/pi/Desktop/images/20042025/06/33/image_20042025_06_34_05_10431.jpg
/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_15_10410.jpg
/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_25_9440.jpg
/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_35_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352162899","1352162843","1352162956","1352162926","1352162871","1352162803"],"photo_ids_order":["1352162803","1352162843","1352162871","1352162899","1352162926","1352162956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c03db05536f05f8c04b50195ceaa0a49.jpg","text":"TemporaryFile(/tmp/multipartBody2941124479856668560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135612970,"filename":"image_20042025_06_34_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/666b5a28e328fec6f7073366cfce3ba5.jpg","text":"TemporaryFile(/tmp/multipartBody1337832680473034799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135612970,"filename":"image_20042025_06_33_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d48b370173dd449bec64f0750c27f708.jpg","text":"TemporaryFile(/tmp/multipartBody3543168824128793639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135612970,"filename":"image_20042025_06_34_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df2d67f279c6fee4738816e0b2580555.jpg","text":"TemporaryFile(/tmp/multipartBody3452537937891394161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135612970,"filename":"image_20042025_06_34_25_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc90abfe392bd62da4a02a3b16eced78.jpg","text":"TemporaryFile(/tmp/multipartBody5245763442441960361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135612970,"filename":"image_20042025_06_34_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7478c0a4118a1a71f9753bc0cfaa6f88.jpg","text":"TemporaryFile(/tmp/multipartBody4665943520893540370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135612970,"filename":"image_20042025_06_33_45_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352162871","file1":"1352162843","file0":"1352162803","file4":"1352162926","file5":"1352162956","file3":"1352162899"},"map_files_photo_id_array":[{"photo_id":"1352162956","filename":"file5"},{"photo_id":"1352162871","filename":"file2"},{"photo_id":"1352162926","filename":"file4"},{"photo_id":"1352162843","filename":"file1"},{"photo_id":"1352162803","filename":"file0"},{"photo_id":"1352162899","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352162899":["hashtag1","hashtag2"]},{"1352162843":["hashtag1","hashtag2"]},{"1352162956":["hashtag1","hashtag2"]},{"1352162926":["hashtag1","hashtag2"]},{"1352162871":["hashtag1","hashtag2"]},{"1352162803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352162899, 1352162843, 1352162956, 1352162926, 1352162871, 1352162803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.265662670135498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:53:32.719157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_45_9376.jpg', '/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_55_10485.jpg', '/home/pi/Desktop/images/20042025/06/34/image_20042025_06_35_04_9468.jpg', '/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_15_10462.jpg', '/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_25_10363.jpg', '/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_45_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_45_9376.jpg
/home/pi/Desktop/images/20042025/06/34/image_20042025_06_34_55_10485.jpg
/home/pi/Desktop/images/20042025/06/34/image_20042025_06_35_04_9468.jpg
/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_15_10462.jpg
/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_25_10363.jpg
/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_45_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352164039","1352164459","1352164915","1352164624","1352164773","1352164245"],"photo_ids_order":["1352164039","1352164245","1352164459","1352164624","1352164773","1352164915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/257bfb827c48d31c8a75a2e583cdc3e3.jpg","text":"TemporaryFile(/tmp/multipartBody4387990289616760158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135673188,"filename":"image_20042025_06_34_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1ac6efc322298efaa23f74fb46ef545.jpg","text":"TemporaryFile(/tmp/multipartBody8343747004801317628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135673188,"filename":"image_20042025_06_35_04_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/657e49e6306451c9ee8c3f93a46668b5.jpg","text":"TemporaryFile(/tmp/multipartBody7430079200421854753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135673188,"filename":"image_20042025_06_35_45_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47009309b57ae5bb7db66b48e482e021.jpg","text":"TemporaryFile(/tmp/multipartBody1709117531885212109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135673188,"filename":"image_20042025_06_35_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad9cac8ac275651e1047a60da1e4b812.jpg","text":"TemporaryFile(/tmp/multipartBody9079089088266737527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135673188,"filename":"image_20042025_06_35_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9810c68a38e18d49edac15c509000370.jpg","text":"TemporaryFile(/tmp/multipartBody4975605303213950334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135673188,"filename":"image_20042025_06_34_55_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352164459","file1":"1352164245","file0":"1352164039","file4":"1352164773","file5":"1352164915","file3":"1352164624"},"map_files_photo_id_array":[{"photo_id":"1352164915","filename":"file5"},{"photo_id":"1352164459","filename":"file2"},{"photo_id":"1352164773","filename":"file4"},{"photo_id":"1352164245","filename":"file1"},{"photo_id":"1352164039","filename":"file0"},{"photo_id":"1352164624","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352164039":["hashtag1","hashtag2"]},{"1352164459":["hashtag1","hashtag2"]},{"1352164915":["hashtag1","hashtag2"]},{"1352164624":["hashtag1","hashtag2"]},{"1352164773":["hashtag1","hashtag2"]},{"1352164245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352164039, 1352164459, 1352164915, 1352164624, 1352164773, 1352164245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.15376305580139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:54:32.856353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_55_9380.jpg', '/home/pi/Desktop/images/20042025/06/35/image_20042025_06_36_05_10472.jpg', '/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_14_9412.jpg', '/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_25_10392.jpg', '/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_35_10426.jpg', '/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_55_10502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/35/image_20042025_06_35_55_9380.jpg
/home/pi/Desktop/images/20042025/06/35/image_20042025_06_36_05_10472.jpg
/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_14_9412.jpg
/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_25_10392.jpg
/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_35_10426.jpg
/home/pi/Desktop/images/20042025/06/36/image_20042025_06_36_55_10502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166529","1352166421","1352166312","1352166368","1352166269","1352166475"],"photo_ids_order":["1352166269","1352166312","1352166368","1352166421","1352166475","1352166529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddb98ab611e8c9af1fd4aef4546e1537.jpg","text":"TemporaryFile(/tmp/multipartBody708058028117456811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135733323,"filename":"image_20042025_06_36_55_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa6cabd24c6f940fd8ac07c78d2f5ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3184035480604306969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135733323,"filename":"image_20042025_06_36_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d8fecbd39a125f8a4884c5941a1a800.jpg","text":"TemporaryFile(/tmp/multipartBody126898704071463141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135733323,"filename":"image_20042025_06_36_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1bbec049a13dac6e6dd044caf4af91a.jpg","text":"TemporaryFile(/tmp/multipartBody2178496943282721898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135733323,"filename":"image_20042025_06_36_14_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b79ef55b5eae6b99b7bb6406e3dc1850.jpg","text":"TemporaryFile(/tmp/multipartBody710098493308663985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135733323,"filename":"image_20042025_06_35_55_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea90465341c0fe0dbdfdd6b78ea1c2ca.jpg","text":"TemporaryFile(/tmp/multipartBody2663919338177653295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135733323,"filename":"image_20042025_06_36_35_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166368","file1":"1352166312","file0":"1352166269","file4":"1352166475","file5":"1352166529","file3":"1352166421"},"map_files_photo_id_array":[{"photo_id":"1352166529","filename":"file5"},{"photo_id":"1352166368","filename":"file2"},{"photo_id":"1352166475","filename":"file4"},{"photo_id":"1352166312","filename":"file1"},{"photo_id":"1352166269","filename":"file0"},{"photo_id":"1352166421","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352166529":["hashtag1","hashtag2"]},{"1352166421":["hashtag1","hashtag2"]},{"1352166312":["hashtag1","hashtag2"]},{"1352166368":["hashtag1","hashtag2"]},{"1352166269":["hashtag1","hashtag2"]},{"1352166475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352166529, 1352166421, 1352166312, 1352166368, 1352166269, 1352166475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.19789743423462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:55:33.034862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/36/image_20042025_06_37_04_9361.jpg', '/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_15_10377.jpg', '/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_25_10370.jpg', '/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_35_9359.jpg', '/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_45_10545.jpg', '/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_54_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/36/image_20042025_06_37_04_9361.jpg
/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_15_10377.jpg
/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_25_10370.jpg
/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_35_9359.jpg
/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_45_10545.jpg
/home/pi/Desktop/images/20042025/06/37/image_20042025_06_37_54_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352167245","1352167305","1352167337","1352167396","1352167365","1352167272"],"photo_ids_order":["1352167245","1352167272","1352167305","1352167337","1352167365","1352167396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57549f9162be208bb694b165c3810b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8622888291120758642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135793502,"filename":"image_20042025_06_37_04_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7403e7ec23336c2dd38f4ba12cb36f05.jpg","text":"TemporaryFile(/tmp/multipartBody2404086106968594955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135793502,"filename":"image_20042025_06_37_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9499321a9f5cdc32e1473d1ce03f3789.jpg","text":"TemporaryFile(/tmp/multipartBody5549891737430002241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135793502,"filename":"image_20042025_06_37_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b719a6c5ab953eb4b7bafb8ae20ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody6038915889775054909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135793502,"filename":"image_20042025_06_37_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4add125003abe1f977c5d9ceb1421bf.jpg","text":"TemporaryFile(/tmp/multipartBody6308403942829468130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135793502,"filename":"image_20042025_06_37_45_10545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df2c06e2e0586904b91ac74f13c71bef.jpg","text":"TemporaryFile(/tmp/multipartBody4525509548102477350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135793502,"filename":"image_20042025_06_37_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352167305","file1":"1352167272","file0":"1352167245","file4":"1352167365","file5":"1352167396","file3":"1352167337"},"map_files_photo_id_array":[{"photo_id":"1352167396","filename":"file5"},{"photo_id":"1352167305","filename":"file2"},{"photo_id":"1352167365","filename":"file4"},{"photo_id":"1352167272","filename":"file1"},{"photo_id":"1352167245","filename":"file0"},{"photo_id":"1352167337","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352167245":["hashtag1","hashtag2"]},{"1352167305":["hashtag1","hashtag2"]},{"1352167337":["hashtag1","hashtag2"]},{"1352167396":["hashtag1","hashtag2"]},{"1352167365":["hashtag1","hashtag2"]},{"1352167272":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352167245, 1352167305, 1352167337, 1352167396, 1352167365, 1352167272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.25760507583618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:56:32.247116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/37/image_20042025_06_38_05_10512.jpg', '/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_14_9469.jpg', '/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_25_10441.jpg', '/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_35_10441.jpg', '/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_45_9374.jpg', '/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_55_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/37/image_20042025_06_38_05_10512.jpg
/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_14_9469.jpg
/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_25_10441.jpg
/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_35_10441.jpg
/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_45_9374.jpg
/home/pi/Desktop/images/20042025/06/38/image_20042025_06_38_55_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352168462","1352168563","1352168269","1352168215","1352168460","1352168209"],"photo_ids_order":["1352168209","1352168215","1352168269","1352168460","1352168462","1352168563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d448c710ecaab468836ec6305ae621b1.jpg","text":"TemporaryFile(/tmp/multipartBody1918955458730552281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135852713,"filename":"image_20042025_06_38_45_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e30e6f77d84aa8489d181f2acb0392b8.jpg","text":"TemporaryFile(/tmp/multipartBody9146630894706922094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135852713,"filename":"image_20042025_06_38_55_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cea8ff911ef7e094408e8c1b0af572c.jpg","text":"TemporaryFile(/tmp/multipartBody3363688864535715823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135852713,"filename":"image_20042025_06_38_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b263980ea42dcd0be4562b542e6b8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2943092643767053552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135852713,"filename":"image_20042025_06_38_14_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4a0f352e03340d3eb35da8ae8fe0b27.jpg","text":"TemporaryFile(/tmp/multipartBody5343271827723722204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135852713,"filename":"image_20042025_06_38_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a448ab37bc89e0a14880cdb425bc7c7.jpg","text":"TemporaryFile(/tmp/multipartBody8668988282158466618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745135852713,"filename":"image_20042025_06_38_05_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352168269","file1":"1352168215","file0":"1352168209","file4":"1352168462","file5":"1352168563","file3":"1352168460"},"map_files_photo_id_array":[{"photo_id":"1352168563","filename":"file5"},{"photo_id":"1352168269","filename":"file2"},{"photo_id":"1352168462","filename":"file4"},{"photo_id":"1352168215","filename":"file1"},{"photo_id":"1352168209","filename":"file0"},{"photo_id":"1352168460","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352168462":["hashtag1","hashtag2"]},{"1352168563":["hashtag1","hashtag2"]},{"1352168269":["hashtag1","hashtag2"]},{"1352168215":["hashtag1","hashtag2"]},{"1352168460":["hashtag1","hashtag2"]},{"1352168209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352168462, 1352168563, 1352168269, 1352168215, 1352168460, 1352168209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.64745545387268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 09:57:32.466027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/38/image_20042025_06_39_04_9355.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_15_10417.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_35_9382.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_45_10473.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_55_9378.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_40_05_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/38/image_20042025_06_39_04_9355.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_15_10417.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_35_9382.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_45_10473.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_55_9378.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_40_05_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 09:59:04.267746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/38/image_20042025_06_39_04_9355.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_15_10417.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_35_9382.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_45_10473.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_55_9378.jpg', '/home/pi/Desktop/images/20042025/06/39/image_20042025_06_40_05_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/38/image_20042025_06_39_04_9355.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_15_10417.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_35_9382.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_45_10473.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_39_55_9378.jpg
/home/pi/Desktop/images/20042025/06/39/image_20042025_06_40_05_10455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352169764","1352169752","1352169512","1352169760","1352169658","1352169756"],"photo_ids_order":["1352169512","1352169658","1352169752","1352169756","1352169760","1352169764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93357022c7344fa26788c1e51de6805c.jpg","text":"TemporaryFile(/tmp/multipartBody7587564840627892023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136004831,"filename":"image_20042025_06_40_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed397afdbcb201ac0bf5e0ba3f492353.jpg","text":"TemporaryFile(/tmp/multipartBody5404424595346612473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136004831,"filename":"image_20042025_06_39_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c1373ef298d8d127b9cf000280c3f33.jpg","text":"TemporaryFile(/tmp/multipartBody597108043233329666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136004831,"filename":"image_20042025_06_39_04_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fa699f564e3a9ad03de864ff2b32a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7643523935171523769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136004831,"filename":"image_20042025_06_39_55_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48a98bfe1332edd159e58f301d74a76b.jpg","text":"TemporaryFile(/tmp/multipartBody7352341973478034650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136004831,"filename":"image_20042025_06_39_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e64af56c62c9debc58046b85498ed2d.jpg","text":"TemporaryFile(/tmp/multipartBody5717290132970892752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136004831,"filename":"image_20042025_06_39_45_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352169752","file1":"1352169658","file0":"1352169512","file4":"1352169760","file5":"1352169764","file3":"1352169756"},"map_files_photo_id_array":[{"photo_id":"1352169764","filename":"file5"},{"photo_id":"1352169752","filename":"file2"},{"photo_id":"1352169760","filename":"file4"},{"photo_id":"1352169658","filename":"file1"},{"photo_id":"1352169512","filename":"file0"},{"photo_id":"1352169756","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352169764":["hashtag1","hashtag2"]},{"1352169752":["hashtag1","hashtag2"]},{"1352169512":["hashtag1","hashtag2"]},{"1352169760":["hashtag1","hashtag2"]},{"1352169658":["hashtag1","hashtag2"]},{"1352169756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352169764, 1352169752, 1352169512, 1352169760, 1352169658, 1352169756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.619581699371338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 09:59:43.019611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/40/image_20042025_06_40_15_10367.jpg', '/home/pi/Desktop/images/20042025/06/40/image_20042025_06_40_25_9380.jpg', '/home/pi/Desktop/images/20042025/06/40/image_20042025_06_40_35_10380.jpg', '/home/pi/Desktop/images/20042025/06/40/image_20042025_06_41_05_10387.jpg', '/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_15_9432.jpg', '/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_25_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/40/image_20042025_06_40_15_10367.jpg
/home/pi/Desktop/images/20042025/06/40/image_20042025_06_40_25_9380.jpg
/home/pi/Desktop/images/20042025/06/40/image_20042025_06_40_35_10380.jpg
/home/pi/Desktop/images/20042025/06/40/image_20042025_06_41_05_10387.jpg
/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_15_9432.jpg
/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_25_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352169920","1352169815","1352170022","1352169772","1352169867","1352169971"],"photo_ids_order":["1352169772","1352169815","1352169867","1352169920","1352169971","1352170022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62a42702347b6e13582e5e20f375fee8.jpg","text":"TemporaryFile(/tmp/multipartBody6422593560391094477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136043498,"filename":"image_20042025_06_41_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64cfcee2ede8b7791a1a90dfaca67a3a.jpg","text":"TemporaryFile(/tmp/multipartBody790585411965776074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136043498,"filename":"image_20042025_06_40_25_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89a168090758cc9b08e5222f5059382d.jpg","text":"TemporaryFile(/tmp/multipartBody641012293524919676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136043498,"filename":"image_20042025_06_41_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce91bbf5d3e94bcfb66f0b66259bd206.jpg","text":"TemporaryFile(/tmp/multipartBody970374005224399770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136043498,"filename":"image_20042025_06_40_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4529fc7d6949bd5c0a623c44ac1ec91.jpg","text":"TemporaryFile(/tmp/multipartBody9150742154708336794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136043498,"filename":"image_20042025_06_40_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/697cc802025eca2a6b1dd0170677fa45.jpg","text":"TemporaryFile(/tmp/multipartBody113601128305754947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136043498,"filename":"image_20042025_06_41_15_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352169867","file1":"1352169815","file0":"1352169772","file4":"1352169971","file5":"1352170022","file3":"1352169920"},"map_files_photo_id_array":[{"photo_id":"1352170022","filename":"file5"},{"photo_id":"1352169867","filename":"file2"},{"photo_id":"1352169971","filename":"file4"},{"photo_id":"1352169815","filename":"file1"},{"photo_id":"1352169772","filename":"file0"},{"photo_id":"1352169920","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352169920":["hashtag1","hashtag2"]},{"1352169815":["hashtag1","hashtag2"]},{"1352170022":["hashtag1","hashtag2"]},{"1352169772":["hashtag1","hashtag2"]},{"1352169867":["hashtag1","hashtag2"]},{"1352169971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352169920, 1352169815, 1352170022, 1352169772, 1352169867, 1352169971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.495737314224243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:00:33.191946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_45_10534.jpg', '/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_54_9390.jpg', '/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_15_10427.jpg', '/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_25_9393.jpg', '/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_35_10419.jpg', '/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_45_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_45_10534.jpg
/home/pi/Desktop/images/20042025/06/41/image_20042025_06_41_54_9390.jpg
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_15_10427.jpg
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_25_9393.jpg
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_35_10419.jpg
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_45_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352170265","1352170291","1352170375","1352170348","1352170237","1352170318"],"photo_ids_order":["1352170237","1352170265","1352170291","1352170318","1352170348","1352170375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/187c7f183fd23906581ff6ce69b22f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7350213055990843810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136093661,"filename":"image_20042025_06_41_54_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/312d980fb532fc772d1cb5af743b3a88.jpg","text":"TemporaryFile(/tmp/multipartBody2290317801259946946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136093661,"filename":"image_20042025_06_42_15_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/205ded6e3d822ebedc038046ed99eebe.jpg","text":"TemporaryFile(/tmp/multipartBody5140994376927304771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136093661,"filename":"image_20042025_06_42_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d33b168bd82ab90f625fae4abe5d0fb6.jpg","text":"TemporaryFile(/tmp/multipartBody891434411532089774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136093661,"filename":"image_20042025_06_42_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dac184ec9bb5f74a356946e214f332a.jpg","text":"TemporaryFile(/tmp/multipartBody360192086620624425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136093661,"filename":"image_20042025_06_41_45_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f8943e26e7294f15ae87a76ced1e976.jpg","text":"TemporaryFile(/tmp/multipartBody5073204292460058720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136093661,"filename":"image_20042025_06_42_25_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352170291","file1":"1352170265","file0":"1352170237","file4":"1352170348","file5":"1352170375","file3":"1352170318"},"map_files_photo_id_array":[{"photo_id":"1352170375","filename":"file5"},{"photo_id":"1352170291","filename":"file2"},{"photo_id":"1352170348","filename":"file4"},{"photo_id":"1352170265","filename":"file1"},{"photo_id":"1352170237","filename":"file0"},{"photo_id":"1352170318","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352170265":["hashtag1","hashtag2"]},{"1352170291":["hashtag1","hashtag2"]},{"1352170375":["hashtag1","hashtag2"]},{"1352170348":["hashtag1","hashtag2"]},{"1352170237":["hashtag1","hashtag2"]},{"1352170318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352170265, 1352170291, 1352170375, 1352170348, 1352170237, 1352170318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.541231632232666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:01:32.446917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_55_10451.jpg', '/home/pi/Desktop/images/20042025/06/42/image_20042025_06_43_04_9480.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_15_10494.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_35_9363.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_45_10455.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_55_10451.jpg
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_43_04_9480.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_15_10494.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_35_9363.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_45_10455.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_55_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38599228858947754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:01:42.409149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_55_10451.jpg', '/home/pi/Desktop/images/20042025/06/42/image_20042025_06_43_04_9480.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_15_10494.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_35_9363.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_45_10455.jpg', '/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_42_55_10451.jpg
/home/pi/Desktop/images/20042025/06/42/image_20042025_06_43_04_9480.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_15_10494.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_35_9363.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_45_10455.jpg
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_43_55_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352171104","1352171011","1352170903","1352171142","1352170959","1352171063"],"photo_ids_order":["1352170903","1352170959","1352171011","1352171063","1352171104","1352171142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a42c5d80b45bb9594fbfd9e4e6ab4045.jpg","text":"TemporaryFile(/tmp/multipartBody5944980099869499338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136162925,"filename":"image_20042025_06_43_45_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba855630fdc34b8c0c70475e5674aaa6.jpg","text":"TemporaryFile(/tmp/multipartBody8899259397640568946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136162925,"filename":"image_20042025_06_43_15_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26da81180821f7638ef12512ac0ceb8b.jpg","text":"TemporaryFile(/tmp/multipartBody4983472581000523855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136162925,"filename":"image_20042025_06_42_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bf8c9861920d0de9c178f80bfed278c.jpg","text":"TemporaryFile(/tmp/multipartBody1365684209439780604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136162925,"filename":"image_20042025_06_43_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75217d0490d5f16de6cc1f8864a6bf2c.jpg","text":"TemporaryFile(/tmp/multipartBody75447230122765631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136162925,"filename":"image_20042025_06_43_04_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fae374d720e30c5f8c9c101f98a94188.jpg","text":"TemporaryFile(/tmp/multipartBody5906325749782155046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136162925,"filename":"image_20042025_06_43_35_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352171011","file1":"1352170959","file0":"1352170903","file4":"1352171104","file5":"1352171142","file3":"1352171063"},"map_files_photo_id_array":[{"photo_id":"1352171142","filename":"file5"},{"photo_id":"1352171011","filename":"file2"},{"photo_id":"1352171104","filename":"file4"},{"photo_id":"1352170959","filename":"file1"},{"photo_id":"1352170903","filename":"file0"},{"photo_id":"1352171063","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352171104":["hashtag1","hashtag2"]},{"1352171011":["hashtag1","hashtag2"]},{"1352170903":["hashtag1","hashtag2"]},{"1352171142":["hashtag1","hashtag2"]},{"1352170959":["hashtag1","hashtag2"]},{"1352171063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352171104, 1352171011, 1352170903, 1352171142, 1352170959, 1352171063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.008111715316772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:02:32.733506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/43/image_20042025_06_44_05_10424.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_14_9419.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_25_10379.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_35_10386.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_45_9350.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_55_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_44_05_10424.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_14_9419.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_25_10379.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_35_10386.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_45_9350.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_55_10445.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.383408784866333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:02:42.729696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/43/image_20042025_06_44_05_10424.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_14_9419.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_25_10379.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_35_10386.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_45_9350.jpg', '/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_55_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/43/image_20042025_06_44_05_10424.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_14_9419.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_25_10379.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_35_10386.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_45_9350.jpg
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_44_55_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352171537","1352171411","1352171563","1352171512","1352171484","1352171439"],"photo_ids_order":["1352171411","1352171439","1352171484","1352171512","1352171537","1352171563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36b1b745e94a988923bbfcf680fddd44.jpg","text":"TemporaryFile(/tmp/multipartBody4204006605735686441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136223193,"filename":"image_20042025_06_44_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/49ff2fbab40cec8beebc39cd03dcc612.jpg","text":"TemporaryFile(/tmp/multipartBody6464740084938294422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136223193,"filename":"image_20042025_06_44_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c286af895749975f13d3697c81f744be.jpg","text":"TemporaryFile(/tmp/multipartBody6428266225754086009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136223193,"filename":"image_20042025_06_44_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de48fd9e0eb3c8b13b49b5701cc39c5.jpg","text":"TemporaryFile(/tmp/multipartBody7727013732638968141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136223193,"filename":"image_20042025_06_44_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f286b993037d3027522db85b247b0bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2205373550280803783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136223193,"filename":"image_20042025_06_44_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6555b76683b6843da6fd593c741e0e72.jpg","text":"TemporaryFile(/tmp/multipartBody2413379653737702939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136223193,"filename":"image_20042025_06_44_14_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352171484","file1":"1352171439","file0":"1352171411","file4":"1352171537","file5":"1352171563","file3":"1352171512"},"map_files_photo_id_array":[{"photo_id":"1352171563","filename":"file5"},{"photo_id":"1352171484","filename":"file2"},{"photo_id":"1352171537","filename":"file4"},{"photo_id":"1352171439","filename":"file1"},{"photo_id":"1352171411","filename":"file0"},{"photo_id":"1352171512","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352171537":["hashtag1","hashtag2"]},{"1352171411":["hashtag1","hashtag2"]},{"1352171563":["hashtag1","hashtag2"]},{"1352171512":["hashtag1","hashtag2"]},{"1352171484":["hashtag1","hashtag2"]},{"1352171439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352171537, 1352171411, 1352171563, 1352171512, 1352171484, 1352171439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.973791360855103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:03:33.050291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/44/image_20042025_06_45_05_10391.jpg', '/home/pi/Desktop/images/20042025/06/45/image_20042025_06_45_15_9402.jpg', '/home/pi/Desktop/images/20042025/06/45/image_20042025_06_45_25_10368.jpg', '/home/pi/Desktop/images/20042025/06/45/image_20042025_06_45_34_9372.jpg', '/home/pi/Desktop/images/20042025/06/45/image_20042025_06_46_05_9453.jpg', '/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/44/image_20042025_06_45_05_10391.jpg
/home/pi/Desktop/images/20042025/06/45/image_20042025_06_45_15_9402.jpg
/home/pi/Desktop/images/20042025/06/45/image_20042025_06_45_25_10368.jpg
/home/pi/Desktop/images/20042025/06/45/image_20042025_06_45_34_9372.jpg
/home/pi/Desktop/images/20042025/06/45/image_20042025_06_46_05_9453.jpg
/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352171633","1352171642","1352171644","1352171629","1352171640","1352171637"],"photo_ids_order":["1352171629","1352171633","1352171637","1352171640","1352171642","1352171644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44dc30eb97e1e842de86d1424a272bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8040425514151192544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136273526,"filename":"image_20042025_06_45_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d76492f0ae4812197716e70762b2ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4379923108730218955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136273526,"filename":"image_20042025_06_46_05_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4ff579de81593c28c56d3835897fea2.jpg","text":"TemporaryFile(/tmp/multipartBody4450701975214795354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136273526,"filename":"image_20042025_06_46_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf84d903264d9633e06e63eb6c68f924.jpg","text":"TemporaryFile(/tmp/multipartBody2675517059125439695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136273526,"filename":"image_20042025_06_45_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46135d45380128faa61b124802597ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7821831560016242162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136273526,"filename":"image_20042025_06_45_34_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2de26fc57c2e6f0c537cb210ded52561.jpg","text":"TemporaryFile(/tmp/multipartBody8132768270627293222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136273526,"filename":"image_20042025_06_45_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352171637","file1":"1352171633","file0":"1352171629","file4":"1352171642","file5":"1352171644","file3":"1352171640"},"map_files_photo_id_array":[{"photo_id":"1352171644","filename":"file5"},{"photo_id":"1352171637","filename":"file2"},{"photo_id":"1352171642","filename":"file4"},{"photo_id":"1352171633","filename":"file1"},{"photo_id":"1352171629","filename":"file0"},{"photo_id":"1352171640","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352171633":["hashtag1","hashtag2"]},{"1352171642":["hashtag1","hashtag2"]},{"1352171644":["hashtag1","hashtag2"]},{"1352171629":["hashtag1","hashtag2"]},{"1352171640":["hashtag1","hashtag2"]},{"1352171637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352171633, 1352171642, 1352171644, 1352171629, 1352171640, 1352171637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.712053537368774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:04:32.251453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_25_9367.jpg', '/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_35_10426.jpg', '/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_45_10406.jpg', '/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_55_9376.jpg', '/home/pi/Desktop/images/20042025/06/46/image_20042025_06_47_05_10361.jpg', '/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_15_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_25_9367.jpg
/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_35_10426.jpg
/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_45_10406.jpg
/home/pi/Desktop/images/20042025/06/46/image_20042025_06_46_55_9376.jpg
/home/pi/Desktop/images/20042025/06/46/image_20042025_06_47_05_10361.jpg
/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_15_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352171660","1352171791","1352171656","1352171818","1352171731","1352171763"],"photo_ids_order":["1352171656","1352171660","1352171731","1352171763","1352171791","1352171818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41297d39104e17d8087e2e7537c1e79a.jpg","text":"TemporaryFile(/tmp/multipartBody8491392159273765075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136332735,"filename":"image_20042025_06_46_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a06958995be88057dfff4bc7171acbd7.jpg","text":"TemporaryFile(/tmp/multipartBody1988531277857851015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136332735,"filename":"image_20042025_06_47_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ab039c73747bc90426c47345a42f0c6.jpg","text":"TemporaryFile(/tmp/multipartBody5404305255406724097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136332735,"filename":"image_20042025_06_46_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52c75c57021ac384c3d9a8088b465a12.jpg","text":"TemporaryFile(/tmp/multipartBody8991521165645855888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136332735,"filename":"image_20042025_06_47_15_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6f82fcbdb255c1541a39d9d4043c2df.jpg","text":"TemporaryFile(/tmp/multipartBody8496363109688861246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136332735,"filename":"image_20042025_06_46_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee7e51eef3671fccdf34c056e6784615.jpg","text":"TemporaryFile(/tmp/multipartBody8260414250832485999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136332735,"filename":"image_20042025_06_46_55_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352171731","file1":"1352171660","file0":"1352171656","file4":"1352171791","file5":"1352171818","file3":"1352171763"},"map_files_photo_id_array":[{"photo_id":"1352171818","filename":"file5"},{"photo_id":"1352171731","filename":"file2"},{"photo_id":"1352171791","filename":"file4"},{"photo_id":"1352171660","filename":"file1"},{"photo_id":"1352171656","filename":"file0"},{"photo_id":"1352171763","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352171660":["hashtag1","hashtag2"]},{"1352171791":["hashtag1","hashtag2"]},{"1352171656":["hashtag1","hashtag2"]},{"1352171818":["hashtag1","hashtag2"]},{"1352171731":["hashtag1","hashtag2"]},{"1352171763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352171660, 1352171791, 1352171656, 1352171818, 1352171731, 1352171763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24482297897339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:05:32.486068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_25_10550.jpg', '/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_34_9360.jpg', '/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_45_10484.jpg', '/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_54_9489.jpg', '/home/pi/Desktop/images/20042025/06/47/image_20042025_06_48_05_10374.jpg', '/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_15_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_25_10550.jpg
/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_34_9360.jpg
/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_45_10484.jpg
/home/pi/Desktop/images/20042025/06/47/image_20042025_06_47_54_9489.jpg
/home/pi/Desktop/images/20042025/06/47/image_20042025_06_48_05_10374.jpg
/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_15_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172008","1352171947","1352172015","1352171943","1352171972","1352171996"],"photo_ids_order":["1352171943","1352171947","1352171972","1352171996","1352172008","1352172015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12e22d2c2a42bbd72248b23ef07cccfa.jpg","text":"TemporaryFile(/tmp/multipartBody6650380279087757137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136392952,"filename":"image_20042025_06_48_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d6d08bd378c592868276806a843cbfd.jpg","text":"TemporaryFile(/tmp/multipartBody4422245036111099353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136392952,"filename":"image_20042025_06_47_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3c837e9ec02aa0992b3a1de9de234e7.jpg","text":"TemporaryFile(/tmp/multipartBody75876421777494296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136392952,"filename":"image_20042025_06_48_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e447a9abc6d9e9a8366fecb26883fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4303210375390851115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136392952,"filename":"image_20042025_06_47_25_10550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f1f18c585f172319afdc6645e6c7524.jpg","text":"TemporaryFile(/tmp/multipartBody8789249289050506026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136392952,"filename":"image_20042025_06_47_45_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f006fa703d0a77931cd5932c5704df4f.jpg","text":"TemporaryFile(/tmp/multipartBody2863825640453092140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136392952,"filename":"image_20042025_06_47_54_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352171972","file1":"1352171947","file0":"1352171943","file4":"1352172008","file5":"1352172015","file3":"1352171996"},"map_files_photo_id_array":[{"photo_id":"1352172015","filename":"file5"},{"photo_id":"1352171972","filename":"file2"},{"photo_id":"1352172008","filename":"file4"},{"photo_id":"1352171947","filename":"file1"},{"photo_id":"1352171943","filename":"file0"},{"photo_id":"1352171996","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352172008":["hashtag1","hashtag2"]},{"1352171947":["hashtag1","hashtag2"]},{"1352172015":["hashtag1","hashtag2"]},{"1352171943":["hashtag1","hashtag2"]},{"1352171972":["hashtag1","hashtag2"]},{"1352171996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352172008, 1352171947, 1352172015, 1352171943, 1352171972, 1352171996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11432695388794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:06:32.787018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_25_9383.jpg', '/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_35_10370.jpg', '/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_45_10365.jpg', '/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_55_9353.jpg', '/home/pi/Desktop/images/20042025/06/48/image_20042025_06_49_05_10364.jpg', '/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_14_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_25_9383.jpg
/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_35_10370.jpg
/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_45_10365.jpg
/home/pi/Desktop/images/20042025/06/48/image_20042025_06_48_55_9353.jpg
/home/pi/Desktop/images/20042025/06/48/image_20042025_06_49_05_10364.jpg
/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_14_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172212","1352172172","1352172170","1352172188","1352172167","1352172164"],"photo_ids_order":["1352172164","1352172167","1352172170","1352172172","1352172188","1352172212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b0245901039f628f62fce0e22d7d401.jpg","text":"TemporaryFile(/tmp/multipartBody776579235494566803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136453251,"filename":"image_20042025_06_49_14_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9bc87bcd702c461a03ea5a88b5efbb19.jpg","text":"TemporaryFile(/tmp/multipartBody911327487609427903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136453251,"filename":"image_20042025_06_48_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc01dd6e2d400786d5578b64b7693d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5325412350487563537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136453251,"filename":"image_20042025_06_48_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7281909824145e6854449988daf5ff11.jpg","text":"TemporaryFile(/tmp/multipartBody396354104660112004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136453251,"filename":"image_20042025_06_49_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08f63623c5f888eb681b5b100b8752df.jpg","text":"TemporaryFile(/tmp/multipartBody8234844423760861933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136453251,"filename":"image_20042025_06_48_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/165a4bbc5a88d80bf35d5b945646ca11.jpg","text":"TemporaryFile(/tmp/multipartBody2680569782654973284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136453251,"filename":"image_20042025_06_48_25_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172170","file1":"1352172167","file0":"1352172164","file4":"1352172188","file5":"1352172212","file3":"1352172172"},"map_files_photo_id_array":[{"photo_id":"1352172212","filename":"file5"},{"photo_id":"1352172170","filename":"file2"},{"photo_id":"1352172188","filename":"file4"},{"photo_id":"1352172167","filename":"file1"},{"photo_id":"1352172164","filename":"file0"},{"photo_id":"1352172172","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352172212":["hashtag1","hashtag2"]},{"1352172172":["hashtag1","hashtag2"]},{"1352172170":["hashtag1","hashtag2"]},{"1352172188":["hashtag1","hashtag2"]},{"1352172167":["hashtag1","hashtag2"]},{"1352172164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352172212, 1352172172, 1352172170, 1352172188, 1352172167, 1352172164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.722126245498657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:07:33.089297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_25_10453.jpg', '/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_35_10372.jpg', '/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_45_9373.jpg', '/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_55_10457.jpg', '/home/pi/Desktop/images/20042025/06/49/image_20042025_06_50_05_9382.jpg', '/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_15_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_25_10453.jpg
/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_35_10372.jpg
/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_45_9373.jpg
/home/pi/Desktop/images/20042025/06/49/image_20042025_06_49_55_10457.jpg
/home/pi/Desktop/images/20042025/06/49/image_20042025_06_50_05_9382.jpg
/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_15_10555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172305","1352172303","1352172296","1352172299","1352172290","1352172302"],"photo_ids_order":["1352172290","1352172296","1352172299","1352172302","1352172303","1352172305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7614a91b0a8b924db165b531c134b07b.jpg","text":"TemporaryFile(/tmp/multipartBody7849750462440371504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136513563,"filename":"image_20042025_06_50_15_10555.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcc1b8135c1fd43ef850835f4a5d96a4.jpg","text":"TemporaryFile(/tmp/multipartBody1574001583817626479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136513563,"filename":"image_20042025_06_50_05_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78a012479089cfd2f4d499adfdb90572.jpg","text":"TemporaryFile(/tmp/multipartBody7572325737496064717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136513563,"filename":"image_20042025_06_49_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1078d0828768535f1e7ffb8a28cd58d8.jpg","text":"TemporaryFile(/tmp/multipartBody4390995897443816502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136513563,"filename":"image_20042025_06_49_45_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f1bf57c8f5ec73814cac422ab153cd4.jpg","text":"TemporaryFile(/tmp/multipartBody6726569260286253453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136513563,"filename":"image_20042025_06_49_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/051063a7b1bffb48a3c12e911e17e189.jpg","text":"TemporaryFile(/tmp/multipartBody3161781663124558221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136513563,"filename":"image_20042025_06_49_55_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172299","file1":"1352172296","file0":"1352172290","file4":"1352172303","file5":"1352172305","file3":"1352172302"},"map_files_photo_id_array":[{"photo_id":"1352172305","filename":"file5"},{"photo_id":"1352172299","filename":"file2"},{"photo_id":"1352172303","filename":"file4"},{"photo_id":"1352172296","filename":"file1"},{"photo_id":"1352172290","filename":"file0"},{"photo_id":"1352172302","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352172305":["hashtag1","hashtag2"]},{"1352172303":["hashtag1","hashtag2"]},{"1352172296":["hashtag1","hashtag2"]},{"1352172299":["hashtag1","hashtag2"]},{"1352172290":["hashtag1","hashtag2"]},{"1352172302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352172305, 1352172303, 1352172296, 1352172299, 1352172290, 1352172302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91235542297363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:08:32.362216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_25_9442.jpg', '/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_35_10449.jpg', '/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_45_10367.jpg', '/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_55_9394.jpg', '/home/pi/Desktop/images/20042025/06/50/image_20042025_06_51_05_10431.jpg', '/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_15_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_25_9442.jpg
/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_35_10449.jpg
/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_45_10367.jpg
/home/pi/Desktop/images/20042025/06/50/image_20042025_06_50_55_9394.jpg
/home/pi/Desktop/images/20042025/06/50/image_20042025_06_51_05_10431.jpg
/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_15_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172325","1352172319","1352172321","1352172327","1352172315","1352172323"],"photo_ids_order":["1352172315","1352172319","1352172321","1352172323","1352172325","1352172327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74e2d88611dad19726e21bd5ec01bce8.jpg","text":"TemporaryFile(/tmp/multipartBody9157320588334811462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136572819,"filename":"image_20042025_06_51_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69731acc4fbcc95137918999867f7127.jpg","text":"TemporaryFile(/tmp/multipartBody6050599346713743215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136572819,"filename":"image_20042025_06_50_35_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4349a2ef4c18be88262348b440f0833.jpg","text":"TemporaryFile(/tmp/multipartBody6515661966157510556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136572819,"filename":"image_20042025_06_50_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09fd45e85be6cdfdc604e2795c3210e0.jpg","text":"TemporaryFile(/tmp/multipartBody1628231641974839756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136572819,"filename":"image_20042025_06_51_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09192f142f16484e64336b541992fea5.jpg","text":"TemporaryFile(/tmp/multipartBody3013537704401589304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136572819,"filename":"image_20042025_06_50_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0cb7c92e94173140a34add56b2fb02f.jpg","text":"TemporaryFile(/tmp/multipartBody4945339304387504328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136572819,"filename":"image_20042025_06_50_55_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172321","file1":"1352172319","file0":"1352172315","file4":"1352172325","file5":"1352172327","file3":"1352172323"},"map_files_photo_id_array":[{"photo_id":"1352172327","filename":"file5"},{"photo_id":"1352172321","filename":"file2"},{"photo_id":"1352172325","filename":"file4"},{"photo_id":"1352172319","filename":"file1"},{"photo_id":"1352172315","filename":"file0"},{"photo_id":"1352172323","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352172325":["hashtag1","hashtag2"]},{"1352172319":["hashtag1","hashtag2"]},{"1352172321":["hashtag1","hashtag2"]},{"1352172327":["hashtag1","hashtag2"]},{"1352172315":["hashtag1","hashtag2"]},{"1352172323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352172325, 1352172319, 1352172321, 1352172327, 1352172315, 1352172323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.740978002548218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:09:32.556210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_25_10434.jpg', '/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_34_9456.jpg', '/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_45_10367.jpg', '/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_55_10387.jpg', '/home/pi/Desktop/images/20042025/06/51/image_20042025_06_52_05_9373.jpg', '/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_15_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_25_10434.jpg
/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_34_9456.jpg
/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_45_10367.jpg
/home/pi/Desktop/images/20042025/06/51/image_20042025_06_51_55_10387.jpg
/home/pi/Desktop/images/20042025/06/51/image_20042025_06_52_05_9373.jpg
/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_15_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172355","1352172357","1352172342","1352172345","1352172350","1352172353"],"photo_ids_order":["1352172342","1352172345","1352172350","1352172353","1352172355","1352172357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df5bd92ab581cf6f7c8110e4cca47015.jpg","text":"TemporaryFile(/tmp/multipartBody7486365247145979777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136633022,"filename":"image_20042025_06_52_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21ec41b8b89884c259b57e6fcb3a42ec.jpg","text":"TemporaryFile(/tmp/multipartBody8220927582465906298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136633022,"filename":"image_20042025_06_52_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ff60484fff1cb26e101ddd5e60c1524.jpg","text":"TemporaryFile(/tmp/multipartBody2405957852748543329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136633022,"filename":"image_20042025_06_51_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10dcd5e536e364cbac1cc6f1e66376ae.jpg","text":"TemporaryFile(/tmp/multipartBody3000421264929505917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136633022,"filename":"image_20042025_06_51_34_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ac232bd9eb88d7f336b930b5e25b257.jpg","text":"TemporaryFile(/tmp/multipartBody4209220408178929973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136633022,"filename":"image_20042025_06_51_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/935d90d9a3cb5c130d483e513ae1eb73.jpg","text":"TemporaryFile(/tmp/multipartBody8611641514634887785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136633022,"filename":"image_20042025_06_51_55_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172350","file1":"1352172345","file0":"1352172342","file4":"1352172355","file5":"1352172357","file3":"1352172353"},"map_files_photo_id_array":[{"photo_id":"1352172357","filename":"file5"},{"photo_id":"1352172350","filename":"file2"},{"photo_id":"1352172355","filename":"file4"},{"photo_id":"1352172345","filename":"file1"},{"photo_id":"1352172342","filename":"file0"},{"photo_id":"1352172353","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352172355":["hashtag1","hashtag2"]},{"1352172357":["hashtag1","hashtag2"]},{"1352172342":["hashtag1","hashtag2"]},{"1352172345":["hashtag1","hashtag2"]},{"1352172350":["hashtag1","hashtag2"]},{"1352172353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352172355, 1352172357, 1352172342, 1352172345, 1352172350, 1352172353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96771764755249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:10:32.695738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_25_10378.jpg', '/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_35_9427.jpg', '/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_45_10450.jpg', '/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_55_9434.jpg', '/home/pi/Desktop/images/20042025/06/52/image_20042025_06_53_05_10494.jpg', '/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_15_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_25_10378.jpg
/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_35_9427.jpg
/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_45_10450.jpg
/home/pi/Desktop/images/20042025/06/52/image_20042025_06_52_55_9434.jpg
/home/pi/Desktop/images/20042025/06/52/image_20042025_06_53_05_10494.jpg
/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_15_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172625","1352172696","1352172573","1352172669","1352172600","1352172723"],"photo_ids_order":["1352172573","1352172600","1352172625","1352172669","1352172696","1352172723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/448d3bcd094073f8ee4fa922b428d3c5.jpg","text":"TemporaryFile(/tmp/multipartBody5520831439231872602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136693160,"filename":"image_20042025_06_52_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d2c8088e3e014b94033811fc6b08dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4669707599034148123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136693160,"filename":"image_20042025_06_53_05_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5755993a1d41e09217087109c3050ef.jpg","text":"TemporaryFile(/tmp/multipartBody2758960044972781655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136693160,"filename":"image_20042025_06_52_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a7a88868f32259b798d2231978b7d62.jpg","text":"TemporaryFile(/tmp/multipartBody5220364552686341613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136693160,"filename":"image_20042025_06_52_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e80823c0dc00f0833d8c8ef10d0e1b02.jpg","text":"TemporaryFile(/tmp/multipartBody8007385434986206591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136693160,"filename":"image_20042025_06_52_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/822ddb20c2aa5dcbfa7921658e539633.jpg","text":"TemporaryFile(/tmp/multipartBody7490560649830301365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136693160,"filename":"image_20042025_06_53_15_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172625","file1":"1352172600","file0":"1352172573","file4":"1352172696","file5":"1352172723","file3":"1352172669"},"map_files_photo_id_array":[{"photo_id":"1352172723","filename":"file5"},{"photo_id":"1352172625","filename":"file2"},{"photo_id":"1352172696","filename":"file4"},{"photo_id":"1352172600","filename":"file1"},{"photo_id":"1352172573","filename":"file0"},{"photo_id":"1352172669","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352172625":["hashtag1","hashtag2"]},{"1352172696":["hashtag1","hashtag2"]},{"1352172573":["hashtag1","hashtag2"]},{"1352172669":["hashtag1","hashtag2"]},{"1352172600":["hashtag1","hashtag2"]},{"1352172723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352172625, 1352172696, 1352172573, 1352172669, 1352172600, 1352172723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.215747356414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:11:32.885065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_25_10503.jpg', '/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_35_10372.jpg', '/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_45_9344.jpg', '/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_55_10466.jpg', '/home/pi/Desktop/images/20042025/06/53/image_20042025_06_54_05_9374.jpg', '/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_15_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_25_10503.jpg
/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_35_10372.jpg
/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_45_9344.jpg
/home/pi/Desktop/images/20042025/06/53/image_20042025_06_53_55_10466.jpg
/home/pi/Desktop/images/20042025/06/53/image_20042025_06_54_05_9374.jpg
/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_15_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352173066","1352173035","1352173008","1352172977","1352173121","1352173093"],"photo_ids_order":["1352172977","1352173008","1352173035","1352173066","1352173093","1352173121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a17f26e6429f7f95bd3ff82e66b0779f.jpg","text":"TemporaryFile(/tmp/multipartBody5544313175571039763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136753342,"filename":"image_20042025_06_53_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d76886029425b14da2cf6fdc7847aac.jpg","text":"TemporaryFile(/tmp/multipartBody8220721505809119797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136753342,"filename":"image_20042025_06_53_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/728b0595595b4598d1fc3a3ab5ac987f.jpg","text":"TemporaryFile(/tmp/multipartBody5000721559464085429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136753342,"filename":"image_20042025_06_53_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6c7fd25412e81634af20a43c5e291b8.jpg","text":"TemporaryFile(/tmp/multipartBody3959549995444209764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136753342,"filename":"image_20042025_06_53_25_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/433c839e87bb82dfaae3d9cf90faa52e.jpg","text":"TemporaryFile(/tmp/multipartBody1396756819346320556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136753342,"filename":"image_20042025_06_54_15_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/faf2f56c51fbd885c73c215cf3eeb081.jpg","text":"TemporaryFile(/tmp/multipartBody7096831906514122245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136753342,"filename":"image_20042025_06_54_05_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352173035","file1":"1352173008","file0":"1352172977","file4":"1352173093","file5":"1352173121","file3":"1352173066"},"map_files_photo_id_array":[{"photo_id":"1352173121","filename":"file5"},{"photo_id":"1352173035","filename":"file2"},{"photo_id":"1352173093","filename":"file4"},{"photo_id":"1352173008","filename":"file1"},{"photo_id":"1352172977","filename":"file0"},{"photo_id":"1352173066","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352173066":["hashtag1","hashtag2"]},{"1352173035":["hashtag1","hashtag2"]},{"1352173008":["hashtag1","hashtag2"]},{"1352172977":["hashtag1","hashtag2"]},{"1352173121":["hashtag1","hashtag2"]},{"1352173093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352173066, 1352173035, 1352173008, 1352172977, 1352173121, 1352173093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.374582290649414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:12:33.159393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_25_10374.jpg', '/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_35_9419.jpg', '/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_45_9769.jpg', '/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_55_10496.jpg', '/home/pi/Desktop/images/20042025/06/54/image_20042025_06_55_04_9372.jpg', '/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_15_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_25_10374.jpg
/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_35_9419.jpg
/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_45_9769.jpg
/home/pi/Desktop/images/20042025/06/54/image_20042025_06_54_55_10496.jpg
/home/pi/Desktop/images/20042025/06/54/image_20042025_06_55_04_9372.jpg
/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_15_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352173654","1352173417","1352173527","1352173586","1352173481","1352173376"],"photo_ids_order":["1352173376","1352173417","1352173481","1352173527","1352173586","1352173654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/500c4641de68321e459a3150c646f6f1.jpg","text":"TemporaryFile(/tmp/multipartBody811975016357863613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136813624,"filename":"image_20042025_06_55_15_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a325b119c42774914d44aa931f7c9d9.jpg","text":"TemporaryFile(/tmp/multipartBody8409025067629060212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136813624,"filename":"image_20042025_06_54_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/471f0f15f3712fd1b54ecda94106a78b.jpg","text":"TemporaryFile(/tmp/multipartBody2638181958839480553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136813624,"filename":"image_20042025_06_54_55_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c93afda9ef177c50bae827507fc4abae.jpg","text":"TemporaryFile(/tmp/multipartBody6655582663224784994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136813624,"filename":"image_20042025_06_55_04_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/934b5c26d3d6e1694d39b25e5610c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody7180080920789154495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136813624,"filename":"image_20042025_06_54_45_9769.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6feb1e0d4ec88b7b779ad78504fdb506.jpg","text":"TemporaryFile(/tmp/multipartBody1090323992027541624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136813624,"filename":"image_20042025_06_54_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352173481","file1":"1352173417","file0":"1352173376","file4":"1352173586","file5":"1352173654","file3":"1352173527"},"map_files_photo_id_array":[{"photo_id":"1352173654","filename":"file5"},{"photo_id":"1352173481","filename":"file2"},{"photo_id":"1352173586","filename":"file4"},{"photo_id":"1352173417","filename":"file1"},{"photo_id":"1352173376","filename":"file0"},{"photo_id":"1352173527","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352173654":["hashtag1","hashtag2"]},{"1352173417":["hashtag1","hashtag2"]},{"1352173527":["hashtag1","hashtag2"]},{"1352173586":["hashtag1","hashtag2"]},{"1352173481":["hashtag1","hashtag2"]},{"1352173376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352173654, 1352173417, 1352173527, 1352173586, 1352173481, 1352173376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.55066680908203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:13:32.458181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_25_10382.jpg', '/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_35_9358.jpg', '/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_55_10371.jpg', '/home/pi/Desktop/images/20042025/06/55/image_20042025_06_56_05_9348.jpg', '/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_15_10354.jpg', '/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_24_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_25_10382.jpg
/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_35_9358.jpg
/home/pi/Desktop/images/20042025/06/55/image_20042025_06_55_55_10371.jpg
/home/pi/Desktop/images/20042025/06/55/image_20042025_06_56_05_9348.jpg
/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_15_10354.jpg
/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_24_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352173995","1352173779","1352173941","1352173839","1352173812","1352173871"],"photo_ids_order":["1352173779","1352173812","1352173839","1352173871","1352173941","1352173995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/faaa15beb9f1d8f310a55e5cdd9edca7.jpg","text":"TemporaryFile(/tmp/multipartBody7030364342783199977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136872918,"filename":"image_20042025_06_56_24_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f75131520bfc501c961f217534221e1.jpg","text":"TemporaryFile(/tmp/multipartBody628310781943745665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136872918,"filename":"image_20042025_06_55_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d11b4c1103c443d8a378336d95cacd03.jpg","text":"TemporaryFile(/tmp/multipartBody6351494570471343009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136872918,"filename":"image_20042025_06_56_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74d2f57c44b1c78a49a52ded49fdbc40.jpg","text":"TemporaryFile(/tmp/multipartBody7211274127187558726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136872918,"filename":"image_20042025_06_55_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24cdf17e36ad9e058ceb7ab1697d8d21.jpg","text":"TemporaryFile(/tmp/multipartBody6321510287892065524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136872918,"filename":"image_20042025_06_55_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d53f0783cf83498f3cd53a9a7f95eb0.jpg","text":"TemporaryFile(/tmp/multipartBody4536581953504476393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136872918,"filename":"image_20042025_06_56_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352173839","file1":"1352173812","file0":"1352173779","file4":"1352173941","file5":"1352173995","file3":"1352173871"},"map_files_photo_id_array":[{"photo_id":"1352173995","filename":"file5"},{"photo_id":"1352173839","filename":"file2"},{"photo_id":"1352173941","filename":"file4"},{"photo_id":"1352173812","filename":"file1"},{"photo_id":"1352173779","filename":"file0"},{"photo_id":"1352173871","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352173995":["hashtag1","hashtag2"]},{"1352173779":["hashtag1","hashtag2"]},{"1352173941":["hashtag1","hashtag2"]},{"1352173839":["hashtag1","hashtag2"]},{"1352173812":["hashtag1","hashtag2"]},{"1352173871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352173995, 1352173779, 1352173941, 1352173839, 1352173812, 1352173871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.041526794433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:14:32.697167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_35_10435.jpg', '/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_45_10367.jpg', '/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_55_9388.jpg', '/home/pi/Desktop/images/20042025/06/56/image_20042025_06_57_05_10489.jpg', '/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_15_9360.jpg', '/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_25_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_35_10435.jpg
/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_45_10367.jpg
/home/pi/Desktop/images/20042025/06/56/image_20042025_06_56_55_9388.jpg
/home/pi/Desktop/images/20042025/06/56/image_20042025_06_57_05_10489.jpg
/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_15_9360.jpg
/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_25_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352174280","1352174291","1352174294","1352174288","1352174249","1352174219"],"photo_ids_order":["1352174219","1352174249","1352174280","1352174288","1352174291","1352174294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6bf8bcc52aed92736fd3477031b3337c.jpg","text":"TemporaryFile(/tmp/multipartBody8270881717661661724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136933156,"filename":"image_20042025_06_56_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c21b9c196d540ee5c167f9af24f75e22.jpg","text":"TemporaryFile(/tmp/multipartBody7738213164765273434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136933156,"filename":"image_20042025_06_57_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e671bf3a5b7daacb210418978cf11a9f.jpg","text":"TemporaryFile(/tmp/multipartBody2098872065957306654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136933156,"filename":"image_20042025_06_57_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4518ced80bc5a87d413be0dfe1e45c47.jpg","text":"TemporaryFile(/tmp/multipartBody4774434056818665708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136933156,"filename":"image_20042025_06_57_05_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df8288f95da7fad22e96b98d97179f0a.jpg","text":"TemporaryFile(/tmp/multipartBody8680401536357606170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136933156,"filename":"image_20042025_06_56_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aabf3aac5acc08fb310959100797b454.jpg","text":"TemporaryFile(/tmp/multipartBody463168970565638054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136933156,"filename":"image_20042025_06_56_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352174280","file1":"1352174249","file0":"1352174219","file4":"1352174291","file5":"1352174294","file3":"1352174288"},"map_files_photo_id_array":[{"photo_id":"1352174294","filename":"file5"},{"photo_id":"1352174280","filename":"file2"},{"photo_id":"1352174291","filename":"file4"},{"photo_id":"1352174249","filename":"file1"},{"photo_id":"1352174219","filename":"file0"},{"photo_id":"1352174288","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352174280":["hashtag1","hashtag2"]},{"1352174291":["hashtag1","hashtag2"]},{"1352174294":["hashtag1","hashtag2"]},{"1352174288":["hashtag1","hashtag2"]},{"1352174249":["hashtag1","hashtag2"]},{"1352174219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352174280, 1352174291, 1352174294, 1352174288, 1352174249, 1352174219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74691128730774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:15:33.017197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_35_10383.jpg', '/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_45_9386.jpg', '/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_55_10376.jpg', '/home/pi/Desktop/images/20042025/06/57/image_20042025_06_58_04_9357.jpg', '/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_25_10447.jpg', '/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_35_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_35_10383.jpg
/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_45_9386.jpg
/home/pi/Desktop/images/20042025/06/57/image_20042025_06_57_55_10376.jpg
/home/pi/Desktop/images/20042025/06/57/image_20042025_06_58_04_9357.jpg
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_25_10447.jpg
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_35_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352174316","1352174318","1352174312","1352174309","1352174314","1352174317"],"photo_ids_order":["1352174309","1352174312","1352174314","1352174316","1352174317","1352174318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3176675698e95997a4862f2df1a1060.jpg","text":"TemporaryFile(/tmp/multipartBody4239837187218796039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136993484,"filename":"image_20042025_06_58_04_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ffbf37d495fe7ba4816bb11bc628754.jpg","text":"TemporaryFile(/tmp/multipartBody4817379149432786104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136993484,"filename":"image_20042025_06_58_35_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/444e16786366a845496ad83abc7f7b48.jpg","text":"TemporaryFile(/tmp/multipartBody2218088276875094180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136993484,"filename":"image_20042025_06_57_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92d68912e65e28d1788c24829ec1efc8.jpg","text":"TemporaryFile(/tmp/multipartBody7764917202220801430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136993484,"filename":"image_20042025_06_57_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4635a7f147cb4501fac8c6ffa55b20b1.jpg","text":"TemporaryFile(/tmp/multipartBody6515154651177939051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136993484,"filename":"image_20042025_06_57_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ce6b46b179b7471f7ffeb7ec3addfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5537128087739191809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745136993484,"filename":"image_20042025_06_58_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352174314","file1":"1352174312","file0":"1352174309","file4":"1352174317","file5":"1352174318","file3":"1352174316"},"map_files_photo_id_array":[{"photo_id":"1352174318","filename":"file5"},{"photo_id":"1352174314","filename":"file2"},{"photo_id":"1352174317","filename":"file4"},{"photo_id":"1352174312","filename":"file1"},{"photo_id":"1352174309","filename":"file0"},{"photo_id":"1352174316","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352174316":["hashtag1","hashtag2"]},{"1352174318":["hashtag1","hashtag2"]},{"1352174312":["hashtag1","hashtag2"]},{"1352174309":["hashtag1","hashtag2"]},{"1352174314":["hashtag1","hashtag2"]},{"1352174317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352174316, 1352174318, 1352174312, 1352174309, 1352174314, 1352174317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.410704612731934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:16:32.307975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_45_10458.jpg', '/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_54_9374.jpg', '/home/pi/Desktop/images/20042025/06/58/image_20042025_06_59_05_10465.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_15_10376.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_25_9380.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_35_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_45_10458.jpg
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_54_9374.jpg
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_59_05_10465.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_15_10376.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_25_9380.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_35_10447.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3998558521270752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:16:42.154750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_45_10458.jpg', '/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_54_9374.jpg', '/home/pi/Desktop/images/20042025/06/58/image_20042025_06_59_05_10465.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_15_10376.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_25_9380.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_35_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_45_10458.jpg
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_58_54_9374.jpg
/home/pi/Desktop/images/20042025/06/58/image_20042025_06_59_05_10465.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_15_10376.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_25_9380.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_35_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352175030","1352174832","1352174927","1352174983","1352175090","1352174781"],"photo_ids_order":["1352174781","1352174832","1352174927","1352174983","1352175030","1352175090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dc213d5898a2724ae1150258b99ce5c.jpg","text":"TemporaryFile(/tmp/multipartBody5100724904959569986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137062623,"filename":"image_20042025_06_59_25_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73bfdf6cab4ff0222588ddbfa8188c54.jpg","text":"TemporaryFile(/tmp/multipartBody6344989008895508347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137062623,"filename":"image_20042025_06_58_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d88ec02d54a6a2e9c857e3fe456be32.jpg","text":"TemporaryFile(/tmp/multipartBody7098064237162069857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137062623,"filename":"image_20042025_06_59_05_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb7cff471405b52b084df0256a4cc039.jpg","text":"TemporaryFile(/tmp/multipartBody3324038958638186518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137062623,"filename":"image_20042025_06_59_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc7066307ecc88b6b2db697ae0469e47.jpg","text":"TemporaryFile(/tmp/multipartBody8786789671077395927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137062623,"filename":"image_20042025_06_59_35_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b448cec74f498bf139e94403b121c8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7879939325838187485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137062623,"filename":"image_20042025_06_58_45_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352174927","file1":"1352174832","file0":"1352174781","file4":"1352175030","file5":"1352175090","file3":"1352174983"},"map_files_photo_id_array":[{"photo_id":"1352175090","filename":"file5"},{"photo_id":"1352174927","filename":"file2"},{"photo_id":"1352175030","filename":"file4"},{"photo_id":"1352174832","filename":"file1"},{"photo_id":"1352174781","filename":"file0"},{"photo_id":"1352174983","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352175030":["hashtag1","hashtag2"]},{"1352174832":["hashtag1","hashtag2"]},{"1352174927":["hashtag1","hashtag2"]},{"1352174983":["hashtag1","hashtag2"]},{"1352175090":["hashtag1","hashtag2"]},{"1352174781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352175030, 1352174832, 1352174927, 1352174983, 1352175090, 1352174781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.708388805389404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:17:32.493972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_45_9351.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_55_10453.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_16_10077.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_26_10401.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_37_10376.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_46_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_45_9351.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_55_10453.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_16_10077.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_26_10401.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_37_10376.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_46_9498.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37876105308532715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:17:42.434498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_45_9351.jpg', '/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_55_10453.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_16_10077.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_26_10401.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_37_10376.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_46_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_45_9351.jpg
/home/pi/Desktop/images/20042025/06/59/image_20042025_06_59_55_10453.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_16_10077.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_26_10401.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_37_10376.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_46_9498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352175810","1352175813","1352175816","1352175827","1352175817","1352175792"],"photo_ids_order":["1352175792","1352175810","1352175813","1352175816","1352175817","1352175827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cde7906fa37bceca059e06f089a08117.jpg","text":"TemporaryFile(/tmp/multipartBody1033111224906169464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137122899,"filename":"image_20042025_06_59_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb2ea4e4c816021ca0d90564d506e9e0.jpg","text":"TemporaryFile(/tmp/multipartBody2851482189159865107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137122899,"filename":"image_20042025_07_00_16_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ceb14869bfc7f3288c5bb6060244ed11.jpg","text":"TemporaryFile(/tmp/multipartBody6983521334083531305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137122899,"filename":"image_20042025_07_00_26_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d57f88434e7caf61e344e8d3fb14e490.jpg","text":"TemporaryFile(/tmp/multipartBody8713761750273355123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137122899,"filename":"image_20042025_07_00_46_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d66481fd355c30527875b2d670fe4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6491837388295104775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137122899,"filename":"image_20042025_07_00_37_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7ab4a2063cdcdeb5c7b5fd31c481508.jpg","text":"TemporaryFile(/tmp/multipartBody1513675831574842745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137122899,"filename":"image_20042025_06_59_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352175813","file1":"1352175810","file0":"1352175792","file4":"1352175817","file5":"1352175827","file3":"1352175816"},"map_files_photo_id_array":[{"photo_id":"1352175827","filename":"file5"},{"photo_id":"1352175813","filename":"file2"},{"photo_id":"1352175817","filename":"file4"},{"photo_id":"1352175810","filename":"file1"},{"photo_id":"1352175792","filename":"file0"},{"photo_id":"1352175816","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352175810":["hashtag1","hashtag2"]},{"1352175813":["hashtag1","hashtag2"]},{"1352175816":["hashtag1","hashtag2"]},{"1352175827":["hashtag1","hashtag2"]},{"1352175817":["hashtag1","hashtag2"]},{"1352175792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352175810, 1352175813, 1352175816, 1352175827, 1352175817, 1352175792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.547434329986572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:18:32.902792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_56_10372.jpg', '/home/pi/Desktop/images/20042025/07/00/image_20042025_07_01_06_9430.jpg', '/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_16_10380.jpg', '/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_27_10378.jpg', '/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_36_9443.jpg', '/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_47_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_00_56_10372.jpg
/home/pi/Desktop/images/20042025/07/00/image_20042025_07_01_06_9430.jpg
/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_16_10380.jpg
/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_27_10378.jpg
/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_36_9443.jpg
/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_47_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352176091","1352176106","1352176342","1352176326","1352176158","1352176104"],"photo_ids_order":["1352176091","1352176104","1352176106","1352176158","1352176326","1352176342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68bd05b0d9493c983fb3ef96c5bbba91.jpg","text":"TemporaryFile(/tmp/multipartBody2241370072644060069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137173367,"filename":"image_20042025_07_00_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c75641fdd3365d2d3adcc0b066cb44b.jpg","text":"TemporaryFile(/tmp/multipartBody4318754330394399112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137173367,"filename":"image_20042025_07_01_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5cf6b49b0e1af2a1f1e0371a2fc6f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1154644027092518991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137173367,"filename":"image_20042025_07_01_47_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b04c40ca7453a1dfa4bc7edd7397febf.jpg","text":"TemporaryFile(/tmp/multipartBody4473133800999356758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137173367,"filename":"image_20042025_07_01_36_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64ea649fd3a08c0846fec1400763bdeb.jpg","text":"TemporaryFile(/tmp/multipartBody3751063777527545631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137173367,"filename":"image_20042025_07_01_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68787f6f12dd958b523c9f3968b3ea82.jpg","text":"TemporaryFile(/tmp/multipartBody2158388770347246896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137173367,"filename":"image_20042025_07_01_06_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352176106","file1":"1352176104","file0":"1352176091","file4":"1352176326","file5":"1352176342","file3":"1352176158"},"map_files_photo_id_array":[{"photo_id":"1352176342","filename":"file5"},{"photo_id":"1352176106","filename":"file2"},{"photo_id":"1352176326","filename":"file4"},{"photo_id":"1352176104","filename":"file1"},{"photo_id":"1352176091","filename":"file0"},{"photo_id":"1352176158","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352176091":["hashtag1","hashtag2"]},{"1352176106":["hashtag1","hashtag2"]},{"1352176342":["hashtag1","hashtag2"]},{"1352176326":["hashtag1","hashtag2"]},{"1352176158":["hashtag1","hashtag2"]},{"1352176104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352176091, 1352176106, 1352176342, 1352176326, 1352176158, 1352176104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67279839515686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:19:33.158955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_56_9409.jpg', '/home/pi/Desktop/images/20042025/07/01/image_20042025_07_02_06_10375.jpg', '/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_17_10424.jpg', '/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_26_9472.jpg', '/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_37_10458.jpg', '/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_46_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/01/image_20042025_07_01_56_9409.jpg
/home/pi/Desktop/images/20042025/07/01/image_20042025_07_02_06_10375.jpg
/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_17_10424.jpg
/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_26_9472.jpg
/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_37_10458.jpg
/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_46_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352176547","1352176397","1352176399","1352176558","1352176561","1352176551"],"photo_ids_order":["1352176397","1352176399","1352176547","1352176551","1352176558","1352176561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d3a26d9e1a594ef6b28ddc2b2ab356b.jpg","text":"TemporaryFile(/tmp/multipartBody5303219849029849858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137233625,"filename":"image_20042025_07_02_17_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d9f66b40ed28d1412978933a4cce164.jpg","text":"TemporaryFile(/tmp/multipartBody1941622790729701421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137233625,"filename":"image_20042025_07_01_56_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf78341166cf28fed4d8e51bdc3c7d66.jpg","text":"TemporaryFile(/tmp/multipartBody8548376776557314501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137233625,"filename":"image_20042025_07_02_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7df648a3cfbef0b85e4e4644411caccb.jpg","text":"TemporaryFile(/tmp/multipartBody260947961185100139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137233625,"filename":"image_20042025_07_02_37_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ca06eb1431f958be5ca33f2ec8dc65a.jpg","text":"TemporaryFile(/tmp/multipartBody6190177636261443065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137233625,"filename":"image_20042025_07_02_46_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5247815e11abe9582417965cb7d7de8.jpg","text":"TemporaryFile(/tmp/multipartBody4803250606040229684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137233625,"filename":"image_20042025_07_02_26_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352176547","file1":"1352176399","file0":"1352176397","file4":"1352176558","file5":"1352176561","file3":"1352176551"},"map_files_photo_id_array":[{"photo_id":"1352176561","filename":"file5"},{"photo_id":"1352176547","filename":"file2"},{"photo_id":"1352176558","filename":"file4"},{"photo_id":"1352176399","filename":"file1"},{"photo_id":"1352176397","filename":"file0"},{"photo_id":"1352176551","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352176547":["hashtag1","hashtag2"]},{"1352176397":["hashtag1","hashtag2"]},{"1352176399":["hashtag1","hashtag2"]},{"1352176558":["hashtag1","hashtag2"]},{"1352176561":["hashtag1","hashtag2"]},{"1352176551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352176547, 1352176397, 1352176399, 1352176558, 1352176561, 1352176551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.56470537185669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:20:32.308167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_56_10383.jpg', '/home/pi/Desktop/images/20042025/07/02/image_20042025_07_03_06_9440.jpg', '/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_16_10386.jpg', '/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_27_10365.jpg', '/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_36_9434.jpg', '/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_46_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/02/image_20042025_07_02_56_10383.jpg
/home/pi/Desktop/images/20042025/07/02/image_20042025_07_03_06_9440.jpg
/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_16_10386.jpg
/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_27_10365.jpg
/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_36_9434.jpg
/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_46_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352176760","1352176703","1352176795","1352176732","1352176677","1352176650"],"photo_ids_order":["1352176650","1352176677","1352176703","1352176732","1352176760","1352176795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d83702f23630e33a630b28388e38638b.jpg","text":"TemporaryFile(/tmp/multipartBody6685830406804934276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137292786,"filename":"image_20042025_07_03_36_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e22f1ebe3f8675eeb3a263f6d8d0c062.jpg","text":"TemporaryFile(/tmp/multipartBody362125045709029932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137292786,"filename":"image_20042025_07_03_16_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa98e5f4a331328dbd5883cda482a5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1135966924323989226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137292786,"filename":"image_20042025_07_03_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aba78628e2e5c77597c8549cff4ce3ea.jpg","text":"TemporaryFile(/tmp/multipartBody2412993562524372408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137292786,"filename":"image_20042025_07_03_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aef1417cec88cb00aa8f1d314e3e487f.jpg","text":"TemporaryFile(/tmp/multipartBody7386154516367354054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137292786,"filename":"image_20042025_07_03_06_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d714eca90ec6b5056805754d30324109.jpg","text":"TemporaryFile(/tmp/multipartBody1360191485758994015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137292786,"filename":"image_20042025_07_02_56_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352176703","file1":"1352176677","file0":"1352176650","file4":"1352176760","file5":"1352176795","file3":"1352176732"},"map_files_photo_id_array":[{"photo_id":"1352176795","filename":"file5"},{"photo_id":"1352176703","filename":"file2"},{"photo_id":"1352176760","filename":"file4"},{"photo_id":"1352176677","filename":"file1"},{"photo_id":"1352176650","filename":"file0"},{"photo_id":"1352176732","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352176760":["hashtag1","hashtag2"]},{"1352176703":["hashtag1","hashtag2"]},{"1352176795":["hashtag1","hashtag2"]},{"1352176732":["hashtag1","hashtag2"]},{"1352176677":["hashtag1","hashtag2"]},{"1352176650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352176760, 1352176703, 1352176795, 1352176732, 1352176677, 1352176650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45576524734497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:21:32.580522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_56_9415.jpg', '/home/pi/Desktop/images/20042025/07/03/image_20042025_07_04_06_10371.jpg', '/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_17_10358.jpg', '/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_26_9384.jpg', '/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_36_10381.jpg', '/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_46_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/03/image_20042025_07_03_56_9415.jpg
/home/pi/Desktop/images/20042025/07/03/image_20042025_07_04_06_10371.jpg
/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_17_10358.jpg
/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_26_9384.jpg
/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_36_10381.jpg
/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_46_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352176937","1352176946","1352176940","1352176948","1352176942","1352176944"],"photo_ids_order":["1352176937","1352176940","1352176942","1352176944","1352176946","1352176948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71b1f3b2776204888059396772558c1b.jpg","text":"TemporaryFile(/tmp/multipartBody4735199284787308650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137353058,"filename":"image_20042025_07_03_56_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e471f2a4eaac3a4be1de761093bdd5f1.jpg","text":"TemporaryFile(/tmp/multipartBody3268443237151321775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137353058,"filename":"image_20042025_07_04_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa111871075db1c6190bd0df35e80ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1052995134183019382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137353058,"filename":"image_20042025_07_04_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/813c094fee61c1a66eb8e3c7d831b31b.jpg","text":"TemporaryFile(/tmp/multipartBody6909774854246219084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137353058,"filename":"image_20042025_07_04_46_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6346de6607af0b1f9b76dc745740287c.jpg","text":"TemporaryFile(/tmp/multipartBody788700787603818018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137353058,"filename":"image_20042025_07_04_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f1ef968586bfff94ecf3432918b315d.jpg","text":"TemporaryFile(/tmp/multipartBody2703902590503164923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137353058,"filename":"image_20042025_07_04_26_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352176942","file1":"1352176940","file0":"1352176937","file4":"1352176946","file5":"1352176948","file3":"1352176944"},"map_files_photo_id_array":[{"photo_id":"1352176948","filename":"file5"},{"photo_id":"1352176942","filename":"file2"},{"photo_id":"1352176946","filename":"file4"},{"photo_id":"1352176940","filename":"file1"},{"photo_id":"1352176937","filename":"file0"},{"photo_id":"1352176944","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352176937":["hashtag1","hashtag2"]},{"1352176946":["hashtag1","hashtag2"]},{"1352176940":["hashtag1","hashtag2"]},{"1352176948":["hashtag1","hashtag2"]},{"1352176942":["hashtag1","hashtag2"]},{"1352176944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352176937, 1352176946, 1352176940, 1352176948, 1352176942, 1352176944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.330421924591064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:22:32.743891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_56_10397.jpg', '/home/pi/Desktop/images/20042025/07/04/image_20042025_07_05_07_10360.jpg', '/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_16_9461.jpg', '/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_26_10384.jpg', '/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_36_9508.jpg', '/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_46_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/04/image_20042025_07_04_56_10397.jpg
/home/pi/Desktop/images/20042025/07/04/image_20042025_07_05_07_10360.jpg
/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_16_9461.jpg
/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_26_10384.jpg
/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_36_9508.jpg
/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_46_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352176970","1352176964","1352176967","1352176972","1352176974","1352176968"],"photo_ids_order":["1352176964","1352176967","1352176968","1352176970","1352176972","1352176974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a88f07895c1e6997af230817260f082a.jpg","text":"TemporaryFile(/tmp/multipartBody7586216286355040892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137413204,"filename":"image_20042025_07_05_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0829baae52160999cfd4cd0892d5c262.jpg","text":"TemporaryFile(/tmp/multipartBody1789848432036118118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137413204,"filename":"image_20042025_07_04_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06911b1b9fe10775e88a71e8cee76552.jpg","text":"TemporaryFile(/tmp/multipartBody5711452453939808148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137413204,"filename":"image_20042025_07_05_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5388fded88c6c79e66b2772529e2737e.jpg","text":"TemporaryFile(/tmp/multipartBody2111237533976038687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137413204,"filename":"image_20042025_07_05_36_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb41a936227f653aefef724868fcacc5.jpg","text":"TemporaryFile(/tmp/multipartBody6720247867501888304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137413204,"filename":"image_20042025_07_05_46_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64f4d963ba4b52254547fd839c04a9da.jpg","text":"TemporaryFile(/tmp/multipartBody8624367982952231717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137413204,"filename":"image_20042025_07_05_16_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352176968","file1":"1352176967","file0":"1352176964","file4":"1352176972","file5":"1352176974","file3":"1352176970"},"map_files_photo_id_array":[{"photo_id":"1352176974","filename":"file5"},{"photo_id":"1352176968","filename":"file2"},{"photo_id":"1352176972","filename":"file4"},{"photo_id":"1352176967","filename":"file1"},{"photo_id":"1352176964","filename":"file0"},{"photo_id":"1352176970","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352176970":["hashtag1","hashtag2"]},{"1352176964":["hashtag1","hashtag2"]},{"1352176967":["hashtag1","hashtag2"]},{"1352176972":["hashtag1","hashtag2"]},{"1352176974":["hashtag1","hashtag2"]},{"1352176968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352176970, 1352176964, 1352176967, 1352176972, 1352176974, 1352176968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.855701684951782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:23:33.017497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_57_10387.jpg', '/home/pi/Desktop/images/20042025/07/05/image_20042025_07_06_06_9367.jpg', '/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_16_10356.jpg', '/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_26_9374.jpg', '/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_36_10417.jpg', '/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_47_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/05/image_20042025_07_05_57_10387.jpg
/home/pi/Desktop/images/20042025/07/05/image_20042025_07_06_06_9367.jpg
/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_16_10356.jpg
/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_26_9374.jpg
/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_36_10417.jpg
/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_47_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352177264","1352177237","1352177210","1352177327","1352177182","1352177292"],"photo_ids_order":["1352177182","1352177210","1352177237","1352177264","1352177292","1352177327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9628d720bbdd06b63d86678cc15c04e2.jpg","text":"TemporaryFile(/tmp/multipartBody4083703484833614022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137473492,"filename":"image_20042025_07_06_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7770a4faca71c3569d0e28d1a41a805c.jpg","text":"TemporaryFile(/tmp/multipartBody8095550294437304914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137473492,"filename":"image_20042025_07_06_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91be1f99b99bec903a50387d4754e136.jpg","text":"TemporaryFile(/tmp/multipartBody758631231927068031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137473492,"filename":"image_20042025_07_06_06_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9508d50de199e2665e603e9896527e24.jpg","text":"TemporaryFile(/tmp/multipartBody3339674810321405764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137473492,"filename":"image_20042025_07_06_47_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79e8181185312fe09688b4e5f55a4be6.jpg","text":"TemporaryFile(/tmp/multipartBody4218898889730354206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137473492,"filename":"image_20042025_07_05_57_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77c928d1b6415b5fc45cb4bb2549b72c.jpg","text":"TemporaryFile(/tmp/multipartBody152562107767384212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137473492,"filename":"image_20042025_07_06_36_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352177237","file1":"1352177210","file0":"1352177182","file4":"1352177292","file5":"1352177327","file3":"1352177264"},"map_files_photo_id_array":[{"photo_id":"1352177327","filename":"file5"},{"photo_id":"1352177237","filename":"file2"},{"photo_id":"1352177292","filename":"file4"},{"photo_id":"1352177210","filename":"file1"},{"photo_id":"1352177182","filename":"file0"},{"photo_id":"1352177264","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352177264":["hashtag1","hashtag2"]},{"1352177237":["hashtag1","hashtag2"]},{"1352177210":["hashtag1","hashtag2"]},{"1352177327":["hashtag1","hashtag2"]},{"1352177182":["hashtag1","hashtag2"]},{"1352177292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352177264, 1352177237, 1352177210, 1352177327, 1352177182, 1352177292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.866831302642822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:24:33.148548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_57_9870.jpg', '/home/pi/Desktop/images/20042025/07/06/image_20042025_07_07_06_9426.jpg', '/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_16_10371.jpg', '/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_27_10411.jpg', '/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_36_9441.jpg', '/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_47_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/06/image_20042025_07_06_57_9870.jpg
/home/pi/Desktop/images/20042025/07/06/image_20042025_07_07_06_9426.jpg
/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_16_10371.jpg
/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_27_10411.jpg
/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_36_9441.jpg
/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_47_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352177734","1352177707","1352177787","1352177649","1352177762","1352177678"],"photo_ids_order":["1352177649","1352177678","1352177707","1352177734","1352177762","1352177787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8c3490403133ffc1bca6b7286b28761.jpg","text":"TemporaryFile(/tmp/multipartBody6377187373636548100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137533613,"filename":"image_20042025_07_07_27_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef826d3b5d4063213664bc8769113f7b.jpg","text":"TemporaryFile(/tmp/multipartBody2395456515518378534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137533613,"filename":"image_20042025_07_07_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1683412d3aad5d29c33ad35298ff71e7.jpg","text":"TemporaryFile(/tmp/multipartBody5057732488934686094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137533613,"filename":"image_20042025_07_07_47_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2a00fb7edf61511da79a1d42783fde8.jpg","text":"TemporaryFile(/tmp/multipartBody800644865575964163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137533613,"filename":"image_20042025_07_06_57_9870.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e195a17472202424a3b943df7e3dbc5c.jpg","text":"TemporaryFile(/tmp/multipartBody1511153301407536595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137533613,"filename":"image_20042025_07_07_36_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13b39763fd8e191506003757e1ededb5.jpg","text":"TemporaryFile(/tmp/multipartBody361237305155578902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137533613,"filename":"image_20042025_07_07_06_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352177707","file1":"1352177678","file0":"1352177649","file4":"1352177762","file5":"1352177787","file3":"1352177734"},"map_files_photo_id_array":[{"photo_id":"1352177787","filename":"file5"},{"photo_id":"1352177707","filename":"file2"},{"photo_id":"1352177762","filename":"file4"},{"photo_id":"1352177678","filename":"file1"},{"photo_id":"1352177649","filename":"file0"},{"photo_id":"1352177734","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352177734":["hashtag1","hashtag2"]},{"1352177707":["hashtag1","hashtag2"]},{"1352177787":["hashtag1","hashtag2"]},{"1352177649":["hashtag1","hashtag2"]},{"1352177762":["hashtag1","hashtag2"]},{"1352177678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352177734, 1352177707, 1352177787, 1352177649, 1352177762, 1352177678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23166823387146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:25:32.355340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_56_9439.jpg', '/home/pi/Desktop/images/20042025/07/07/image_20042025_07_08_06_10377.jpg', '/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_17_10362.jpg', '/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_26_9396.jpg', '/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_37_10478.jpg', '/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_46_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/07/image_20042025_07_07_56_9439.jpg
/home/pi/Desktop/images/20042025/07/07/image_20042025_07_08_06_10377.jpg
/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_17_10362.jpg
/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_26_9396.jpg
/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_37_10478.jpg
/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_46_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178305","1352178232","1352178270","1352178393","1352178185","1352178464"],"photo_ids_order":["1352178185","1352178232","1352178270","1352178305","1352178393","1352178464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aeeffc4dc5fc677e8319c7c05c579820.jpg","text":"TemporaryFile(/tmp/multipartBody3039926577015348379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137592820,"filename":"image_20042025_07_08_26_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0b3212ee56cff6410d64a20b64f3d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2307445321199085492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137592820,"filename":"image_20042025_07_08_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/745986793f675e9e682b7f80095ca809.jpg","text":"TemporaryFile(/tmp/multipartBody5815203051422980353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137592820,"filename":"image_20042025_07_08_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f9a5895e95b14880ec1021badaf6884.jpg","text":"TemporaryFile(/tmp/multipartBody2239498787000202295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137592820,"filename":"image_20042025_07_08_37_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d25c5962d2659f28d3a80e23a297b834.jpg","text":"TemporaryFile(/tmp/multipartBody2508746965181140747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137592820,"filename":"image_20042025_07_07_56_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45060e5026d9ee74483a746b3623fd4a.jpg","text":"TemporaryFile(/tmp/multipartBody6758749790163168417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137592820,"filename":"image_20042025_07_08_46_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178270","file1":"1352178232","file0":"1352178185","file4":"1352178393","file5":"1352178464","file3":"1352178305"},"map_files_photo_id_array":[{"photo_id":"1352178464","filename":"file5"},{"photo_id":"1352178270","filename":"file2"},{"photo_id":"1352178393","filename":"file4"},{"photo_id":"1352178232","filename":"file1"},{"photo_id":"1352178185","filename":"file0"},{"photo_id":"1352178305","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352178305":["hashtag1","hashtag2"]},{"1352178232":["hashtag1","hashtag2"]},{"1352178270":["hashtag1","hashtag2"]},{"1352178393":["hashtag1","hashtag2"]},{"1352178185":["hashtag1","hashtag2"]},{"1352178464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352178305, 1352178232, 1352178270, 1352178393, 1352178185, 1352178464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.50995993614197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:26:33.069874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_56_10426.jpg', '/home/pi/Desktop/images/20042025/07/08/image_20042025_07_09_06_9361.jpg', '/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_16_10371.jpg', '/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_27_10372.jpg', '/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_36_9455.jpg', '/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_46_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/08/image_20042025_07_08_56_10426.jpg
/home/pi/Desktop/images/20042025/07/08/image_20042025_07_09_06_9361.jpg
/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_16_10371.jpg
/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_27_10372.jpg
/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_36_9455.jpg
/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_46_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178990","1352178901","1352178822","1352179073","1352179046","1352178717"],"photo_ids_order":["1352178717","1352178822","1352178901","1352178990","1352179046","1352179073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b63898a5c7f20f2c8edb4bfb676e7a8a.jpg","text":"TemporaryFile(/tmp/multipartBody6661255289882300472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137653545,"filename":"image_20042025_07_09_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83bc4562685404a68d5abddde5e573fb.jpg","text":"TemporaryFile(/tmp/multipartBody536820031437068186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137653545,"filename":"image_20042025_07_09_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d916e6c998c4bae72dd4621239eef75a.jpg","text":"TemporaryFile(/tmp/multipartBody6179857384940545523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137653545,"filename":"image_20042025_07_09_06_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53a67de92fec351d3145bc3ba004dca4.jpg","text":"TemporaryFile(/tmp/multipartBody2846491683792334162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137653545,"filename":"image_20042025_07_09_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fde45d00a819700c0b0e996ea66abf4.jpg","text":"TemporaryFile(/tmp/multipartBody1153802063093415726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137653545,"filename":"image_20042025_07_09_36_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37069f3059f7f51bb252d67a6b4b2f62.jpg","text":"TemporaryFile(/tmp/multipartBody127627258589422633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137653545,"filename":"image_20042025_07_08_56_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178901","file1":"1352178822","file0":"1352178717","file4":"1352179046","file5":"1352179073","file3":"1352178990"},"map_files_photo_id_array":[{"photo_id":"1352179073","filename":"file5"},{"photo_id":"1352178901","filename":"file2"},{"photo_id":"1352179046","filename":"file4"},{"photo_id":"1352178822","filename":"file1"},{"photo_id":"1352178717","filename":"file0"},{"photo_id":"1352178990","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352178990":["hashtag1","hashtag2"]},{"1352178901":["hashtag1","hashtag2"]},{"1352178822":["hashtag1","hashtag2"]},{"1352179073":["hashtag1","hashtag2"]},{"1352179046":["hashtag1","hashtag2"]},{"1352178717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352178990, 1352178901, 1352178822, 1352179073, 1352179046, 1352178717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.270939111709595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:27:32.185032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_57_10390.jpg', '/home/pi/Desktop/images/20042025/07/09/image_20042025_07_10_06_9419.jpg', '/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_17_10365.jpg', '/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_26_9434.jpg', '/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_36_10382.jpg', '/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_47_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/09/image_20042025_07_09_57_10390.jpg
/home/pi/Desktop/images/20042025/07/09/image_20042025_07_10_06_9419.jpg
/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_17_10365.jpg
/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_26_9434.jpg
/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_36_10382.jpg
/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_47_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179293","1352179266","1352179173","1352179320","1352179235","1352179202"],"photo_ids_order":["1352179173","1352179202","1352179235","1352179266","1352179293","1352179320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f93fb77184a1b8125a41dd6f2a72e588.jpg","text":"TemporaryFile(/tmp/multipartBody4017374357325249735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137712662,"filename":"image_20042025_07_10_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f09989a8ddf868f548e1cb4ac2443d68.jpg","text":"TemporaryFile(/tmp/multipartBody6643952526716960268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137712662,"filename":"image_20042025_07_10_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc9107f22f18b82fe79218c59a15f47b.jpg","text":"TemporaryFile(/tmp/multipartBody7102415131101626170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137712662,"filename":"image_20042025_07_09_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78ab0f20dd6c2d78c5de9834ca12e120.jpg","text":"TemporaryFile(/tmp/multipartBody9025217624878446034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137712662,"filename":"image_20042025_07_10_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27c07e30ca8a88daaa12448cf000c403.jpg","text":"TemporaryFile(/tmp/multipartBody4203325763135067874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137712662,"filename":"image_20042025_07_10_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6876bcbb0a8cf79506ff3c0dcb7a06a.jpg","text":"TemporaryFile(/tmp/multipartBody6607574062174455635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137712662,"filename":"image_20042025_07_10_06_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179235","file1":"1352179202","file0":"1352179173","file4":"1352179293","file5":"1352179320","file3":"1352179266"},"map_files_photo_id_array":[{"photo_id":"1352179320","filename":"file5"},{"photo_id":"1352179235","filename":"file2"},{"photo_id":"1352179293","filename":"file4"},{"photo_id":"1352179202","filename":"file1"},{"photo_id":"1352179173","filename":"file0"},{"photo_id":"1352179266","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352179293":["hashtag1","hashtag2"]},{"1352179266":["hashtag1","hashtag2"]},{"1352179173":["hashtag1","hashtag2"]},{"1352179320":["hashtag1","hashtag2"]},{"1352179235":["hashtag1","hashtag2"]},{"1352179202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352179293, 1352179266, 1352179173, 1352179320, 1352179235, 1352179202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.370250940322876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:28:32.524044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_56_9377.jpg', '/home/pi/Desktop/images/20042025/07/10/image_20042025_07_11_06_10361.jpg', '/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_16_9363.jpg', '/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_26_10471.jpg', '/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_37_10364.jpg', '/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_46_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/10/image_20042025_07_10_56_9377.jpg
/home/pi/Desktop/images/20042025/07/10/image_20042025_07_11_06_10361.jpg
/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_16_9363.jpg
/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_26_10471.jpg
/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_37_10364.jpg
/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_46_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179566","1352179569","1352179571","1352179574","1352179562","1352179564"],"photo_ids_order":["1352179562","1352179564","1352179566","1352179569","1352179571","1352179574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f00f27b6e8d702668a811b4793beaf6.jpg","text":"TemporaryFile(/tmp/multipartBody2180885051754927939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137772989,"filename":"image_20042025_07_11_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85977972e31c55503b08bf81a39cd5fd.jpg","text":"TemporaryFile(/tmp/multipartBody489222061452165864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137772989,"filename":"image_20042025_07_11_26_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef26246bebd4c821ea96f465531d6e07.jpg","text":"TemporaryFile(/tmp/multipartBody8788037219865822858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137772989,"filename":"image_20042025_07_11_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a703d3938ac67f8ec22ba136c3353ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2461782014534851838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137772989,"filename":"image_20042025_07_11_46_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3bbc8b43c78e0d9d138190e44b573c47.jpg","text":"TemporaryFile(/tmp/multipartBody709550353142092206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137772989,"filename":"image_20042025_07_10_56_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6bf22405fcf8bdf6746f7ee7b671bd0b.jpg","text":"TemporaryFile(/tmp/multipartBody6528056330668305258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137772989,"filename":"image_20042025_07_11_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179566","file1":"1352179564","file0":"1352179562","file4":"1352179571","file5":"1352179574","file3":"1352179569"},"map_files_photo_id_array":[{"photo_id":"1352179574","filename":"file5"},{"photo_id":"1352179566","filename":"file2"},{"photo_id":"1352179571","filename":"file4"},{"photo_id":"1352179564","filename":"file1"},{"photo_id":"1352179562","filename":"file0"},{"photo_id":"1352179569","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352179566":["hashtag1","hashtag2"]},{"1352179569":["hashtag1","hashtag2"]},{"1352179571":["hashtag1","hashtag2"]},{"1352179574":["hashtag1","hashtag2"]},{"1352179562":["hashtag1","hashtag2"]},{"1352179564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352179566, 1352179569, 1352179571, 1352179574, 1352179562, 1352179564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.848490238189697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:29:32.799492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_56_10368.jpg', '/home/pi/Desktop/images/20042025/07/11/image_20042025_07_12_06_9412.jpg', '/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_16_10391.jpg', '/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_27_10406.jpg', '/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_36_9441.jpg', '/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_46_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/11/image_20042025_07_11_56_10368.jpg
/home/pi/Desktop/images/20042025/07/11/image_20042025_07_12_06_9412.jpg
/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_16_10391.jpg
/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_27_10406.jpg
/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_36_9441.jpg
/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_46_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179590","1352179593","1352179601","1352179604","1352179588","1352179597"],"photo_ids_order":["1352179588","1352179590","1352179593","1352179597","1352179601","1352179604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/585c5389bff9c83b28a3fab12393523b.jpg","text":"TemporaryFile(/tmp/multipartBody339778496850089256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137833282,"filename":"image_20042025_07_12_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f03b39b081ae68b06823e6635a92b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody3920667247251262766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137833282,"filename":"image_20042025_07_12_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d852d157c73cd5ffbaaa9922bba24a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4582538920637740819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137833282,"filename":"image_20042025_07_12_36_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da685c984f40340ed10d2e046e96fcf4.jpg","text":"TemporaryFile(/tmp/multipartBody8841883498825019864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137833282,"filename":"image_20042025_07_12_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b55923fbe8f80c2a10b8b0a2a6080fb1.jpg","text":"TemporaryFile(/tmp/multipartBody7495103541174933124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137833282,"filename":"image_20042025_07_11_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dec8efe82430f390b000023274c6bb2.jpg","text":"TemporaryFile(/tmp/multipartBody7184358914325762959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137833282,"filename":"image_20042025_07_12_27_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179593","file1":"1352179590","file0":"1352179588","file4":"1352179601","file5":"1352179604","file3":"1352179597"},"map_files_photo_id_array":[{"photo_id":"1352179604","filename":"file5"},{"photo_id":"1352179593","filename":"file2"},{"photo_id":"1352179601","filename":"file4"},{"photo_id":"1352179590","filename":"file1"},{"photo_id":"1352179588","filename":"file0"},{"photo_id":"1352179597","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352179590":["hashtag1","hashtag2"]},{"1352179593":["hashtag1","hashtag2"]},{"1352179601":["hashtag1","hashtag2"]},{"1352179604":["hashtag1","hashtag2"]},{"1352179588":["hashtag1","hashtag2"]},{"1352179597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352179590, 1352179593, 1352179601, 1352179604, 1352179588, 1352179597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.650250911712646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:30:33.103955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_56_9437.jpg', '/home/pi/Desktop/images/20042025/07/12/image_20042025_07_13_06_10396.jpg', '/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_17_10379.jpg', '/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_37_10358.jpg', '/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_46_9501.jpg', '/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_56_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/12/image_20042025_07_12_56_9437.jpg
/home/pi/Desktop/images/20042025/07/12/image_20042025_07_13_06_10396.jpg
/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_17_10379.jpg
/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_37_10358.jpg
/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_46_9501.jpg
/home/pi/Desktop/images/20042025/07/13/image_20042025_07_13_56_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179621","1352179632","1352179626","1352179628","1352179630","1352179624"],"photo_ids_order":["1352179621","1352179624","1352179626","1352179628","1352179630","1352179632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aab6d0c7ef1b7d9a5cb87a7e870a7768.jpg","text":"TemporaryFile(/tmp/multipartBody2646788424271874409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137893569,"filename":"image_20042025_07_12_56_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bb5253bf99832308641351f8363ec86.jpg","text":"TemporaryFile(/tmp/multipartBody255410521395353616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137893569,"filename":"image_20042025_07_13_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8962e37714c8664d750c85929b59ad5b.jpg","text":"TemporaryFile(/tmp/multipartBody3760937929368974771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137893569,"filename":"image_20042025_07_13_17_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10f0f3e2c3764d5cca6d02f55533386e.jpg","text":"TemporaryFile(/tmp/multipartBody7030595353381226133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137893569,"filename":"image_20042025_07_13_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42267afe147396a5283ad191aa0b6890.jpg","text":"TemporaryFile(/tmp/multipartBody2325417595979539325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137893569,"filename":"image_20042025_07_13_46_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/399fa12e483803e2bf29e0ad77ca27c2.jpg","text":"TemporaryFile(/tmp/multipartBody4552653074243725569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137893569,"filename":"image_20042025_07_13_06_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179626","file1":"1352179624","file0":"1352179621","file4":"1352179630","file5":"1352179632","file3":"1352179628"},"map_files_photo_id_array":[{"photo_id":"1352179632","filename":"file5"},{"photo_id":"1352179626","filename":"file2"},{"photo_id":"1352179630","filename":"file4"},{"photo_id":"1352179624","filename":"file1"},{"photo_id":"1352179621","filename":"file0"},{"photo_id":"1352179628","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352179621":["hashtag1","hashtag2"]},{"1352179632":["hashtag1","hashtag2"]},{"1352179626":["hashtag1","hashtag2"]},{"1352179628":["hashtag1","hashtag2"]},{"1352179630":["hashtag1","hashtag2"]},{"1352179624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352179621, 1352179632, 1352179626, 1352179628, 1352179630, 1352179624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.007994174957275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:31:32.374529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/13/image_20042025_07_14_06_9362.jpg', '/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_16_10360.jpg', '/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_27_10467.jpg', '/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_36_9390.jpg', '/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_46_10375.jpg', '/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_57_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/13/image_20042025_07_14_06_9362.jpg
/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_16_10360.jpg
/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_27_10467.jpg
/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_36_9390.jpg
/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_46_10375.jpg
/home/pi/Desktop/images/20042025/07/14/image_20042025_07_14_57_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179906","1352179932","1352180024","1352179987","1352179960","1352179849"],"photo_ids_order":["1352179849","1352179906","1352179932","1352179960","1352179987","1352180024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31ba948a6f9427c7cae94933f2779774.jpg","text":"TemporaryFile(/tmp/multipartBody2282211647251871064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137952852,"filename":"image_20042025_07_14_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67a26ba481d449f657217ef7143c247d.jpg","text":"TemporaryFile(/tmp/multipartBody2655822262555454228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137952852,"filename":"image_20042025_07_14_27_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8ebc98952e49ec721e7b7da15b0b303.jpg","text":"TemporaryFile(/tmp/multipartBody5919391354972041095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137952852,"filename":"image_20042025_07_14_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cece9a75fde7653cb3837627253526ae.jpg","text":"TemporaryFile(/tmp/multipartBody7873313694341357443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137952852,"filename":"image_20042025_07_14_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59b32aefd396569ad355069cf3d4c7b6.jpg","text":"TemporaryFile(/tmp/multipartBody4095270324554971827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137952852,"filename":"image_20042025_07_14_36_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2957df414ede9416a5dd938d46475c38.jpg","text":"TemporaryFile(/tmp/multipartBody7743363057088307831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745137952852,"filename":"image_20042025_07_14_06_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179932","file1":"1352179906","file0":"1352179849","file4":"1352179987","file5":"1352180024","file3":"1352179960"},"map_files_photo_id_array":[{"photo_id":"1352180024","filename":"file5"},{"photo_id":"1352179932","filename":"file2"},{"photo_id":"1352179987","filename":"file4"},{"photo_id":"1352179906","filename":"file1"},{"photo_id":"1352179849","filename":"file0"},{"photo_id":"1352179960","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352179906":["hashtag1","hashtag2"]},{"1352179932":["hashtag1","hashtag2"]},{"1352180024":["hashtag1","hashtag2"]},{"1352179987":["hashtag1","hashtag2"]},{"1352179960":["hashtag1","hashtag2"]},{"1352179849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352179906, 1352179932, 1352180024, 1352179987, 1352179960, 1352179849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61112976074219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:32:32.495378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_17_10465.jpg', '/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_26_9375.jpg', '/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_36_10366.jpg', '/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_46_9363.jpg', '/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_56_10385.jpg', '/home/pi/Desktop/images/20042025/07/15/image_20042025_07_16_07_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_17_10465.jpg
/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_26_9375.jpg
/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_36_10366.jpg
/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_46_9363.jpg
/home/pi/Desktop/images/20042025/07/15/image_20042025_07_15_56_10385.jpg
/home/pi/Desktop/images/20042025/07/15/image_20042025_07_16_07_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352180464","1352180374","1352180401","1352180295","1352180346","1352180426"],"photo_ids_order":["1352180295","1352180346","1352180374","1352180401","1352180426","1352180464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1297932deccf9b568dd4f9fc2d314c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1475917982466479627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138012979,"filename":"image_20042025_07_16_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18f39320fc356812930403acb9a08806.jpg","text":"TemporaryFile(/tmp/multipartBody1121301606886653335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138012979,"filename":"image_20042025_07_15_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4ccdd2780bd7599f1ad60d7ec7cc69f.jpg","text":"TemporaryFile(/tmp/multipartBody2211343262048046262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138012979,"filename":"image_20042025_07_15_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42f5f0d9d2d2c0c897ba31a11e94f7e2.jpg","text":"TemporaryFile(/tmp/multipartBody6186076457979309097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138012979,"filename":"image_20042025_07_15_17_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e984138b84d772dda061526f149aceb4.jpg","text":"TemporaryFile(/tmp/multipartBody2902904771912502239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138012979,"filename":"image_20042025_07_15_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47d3fd7623487c50044e803661bb39b4.jpg","text":"TemporaryFile(/tmp/multipartBody653058635396965753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138012979,"filename":"image_20042025_07_15_56_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352180374","file1":"1352180346","file0":"1352180295","file4":"1352180426","file5":"1352180464","file3":"1352180401"},"map_files_photo_id_array":[{"photo_id":"1352180464","filename":"file5"},{"photo_id":"1352180374","filename":"file2"},{"photo_id":"1352180426","filename":"file4"},{"photo_id":"1352180346","filename":"file1"},{"photo_id":"1352180295","filename":"file0"},{"photo_id":"1352180401","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352180464":["hashtag1","hashtag2"]},{"1352180374":["hashtag1","hashtag2"]},{"1352180401":["hashtag1","hashtag2"]},{"1352180295":["hashtag1","hashtag2"]},{"1352180346":["hashtag1","hashtag2"]},{"1352180426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352180464, 1352180374, 1352180401, 1352180295, 1352180346, 1352180426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40439510345459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:33:32.700362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/16/image_20042025_07_16_16_9423.jpg', '/home/pi/Desktop/images/20042025/07/16/image_20042025_07_16_46_9403.jpg', '/home/pi/Desktop/images/20042025/07/16/image_20042025_07_16_57_10373.jpg', '/home/pi/Desktop/images/20042025/07/16/image_20042025_07_17_06_9529.jpg', '/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_16_10371.jpg', '/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_26_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/16/image_20042025_07_16_16_9423.jpg
/home/pi/Desktop/images/20042025/07/16/image_20042025_07_16_46_9403.jpg
/home/pi/Desktop/images/20042025/07/16/image_20042025_07_16_57_10373.jpg
/home/pi/Desktop/images/20042025/07/16/image_20042025_07_17_06_9529.jpg
/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_16_10371.jpg
/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_26_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352180947","1352180923","1352180865","1352180891","1352180811","1352180840"],"photo_ids_order":["1352180811","1352180840","1352180865","1352180891","1352180923","1352180947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ae5ffdd5eb58c2076c042d443f920b0.jpg","text":"TemporaryFile(/tmp/multipartBody4703533326922957703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138073163,"filename":"image_20042025_07_17_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08812dc0db22f0da5720188da83d8048.jpg","text":"TemporaryFile(/tmp/multipartBody1431730724849684315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138073163,"filename":"image_20042025_07_17_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca52c97d8ab6f7862ef1f511129de04d.jpg","text":"TemporaryFile(/tmp/multipartBody5297516878596383262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138073163,"filename":"image_20042025_07_16_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45fe6bf4795d286b9dc3d8339a83dadf.jpg","text":"TemporaryFile(/tmp/multipartBody8070360991664114934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138073163,"filename":"image_20042025_07_17_06_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f904b84708a9e25f520261b712b42a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5886089055397044092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138073163,"filename":"image_20042025_07_16_16_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ab8640a439742c7d3db70f13053c3db.jpg","text":"TemporaryFile(/tmp/multipartBody9211058464423762682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138073163,"filename":"image_20042025_07_16_46_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352180865","file1":"1352180840","file0":"1352180811","file4":"1352180923","file5":"1352180947","file3":"1352180891"},"map_files_photo_id_array":[{"photo_id":"1352180947","filename":"file5"},{"photo_id":"1352180865","filename":"file2"},{"photo_id":"1352180923","filename":"file4"},{"photo_id":"1352180840","filename":"file1"},{"photo_id":"1352180811","filename":"file0"},{"photo_id":"1352180891","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352180947":["hashtag1","hashtag2"]},{"1352180923":["hashtag1","hashtag2"]},{"1352180865":["hashtag1","hashtag2"]},{"1352180891":["hashtag1","hashtag2"]},{"1352180811":["hashtag1","hashtag2"]},{"1352180840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352180947, 1352180923, 1352180865, 1352180891, 1352180811, 1352180840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.060901403427124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:34:32.915481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_36_10473.jpg', '/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_47_10439.jpg', '/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_56_9466.jpg', '/home/pi/Desktop/images/20042025/07/17/image_20042025_07_18_07_10414.jpg', '/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_16_9493.jpg', '/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_27_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_36_10473.jpg
/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_47_10439.jpg
/home/pi/Desktop/images/20042025/07/17/image_20042025_07_17_56_9466.jpg
/home/pi/Desktop/images/20042025/07/17/image_20042025_07_18_07_10414.jpg
/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_16_9493.jpg
/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_27_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181412","1352181462","1352181493","1352181382","1352181349","1352181436"],"photo_ids_order":["1352181349","1352181382","1352181412","1352181436","1352181462","1352181493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62d30e09c9402752da4787abef36ef8e.jpg","text":"TemporaryFile(/tmp/multipartBody8134614464954610946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138133389,"filename":"image_20042025_07_17_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb25ce2c47e7b958a5a2acca457d9cb6.jpg","text":"TemporaryFile(/tmp/multipartBody429054776357088743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138133389,"filename":"image_20042025_07_18_16_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/418eb41d878753be4aeee81736b47fd0.jpg","text":"TemporaryFile(/tmp/multipartBody1136899455752126170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138133389,"filename":"image_20042025_07_18_27_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65e58dde4ab1900ecb1742e736ecaa0e.jpg","text":"TemporaryFile(/tmp/multipartBody96654989763444655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138133389,"filename":"image_20042025_07_17_47_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d95028653c778f5042fea65a7e73e1a1.jpg","text":"TemporaryFile(/tmp/multipartBody4589792242900695702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138133389,"filename":"image_20042025_07_17_36_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66d9ab24af56f829bed8947ba05dba11.jpg","text":"TemporaryFile(/tmp/multipartBody8684772682439517269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138133389,"filename":"image_20042025_07_18_07_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181412","file1":"1352181382","file0":"1352181349","file4":"1352181462","file5":"1352181493","file3":"1352181436"},"map_files_photo_id_array":[{"photo_id":"1352181493","filename":"file5"},{"photo_id":"1352181412","filename":"file2"},{"photo_id":"1352181462","filename":"file4"},{"photo_id":"1352181382","filename":"file1"},{"photo_id":"1352181349","filename":"file0"},{"photo_id":"1352181436","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352181412":["hashtag1","hashtag2"]},{"1352181462":["hashtag1","hashtag2"]},{"1352181493":["hashtag1","hashtag2"]},{"1352181382":["hashtag1","hashtag2"]},{"1352181349":["hashtag1","hashtag2"]},{"1352181436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352181412, 1352181462, 1352181493, 1352181382, 1352181349, 1352181436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.36904287338257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:35:33.043382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_36_9456.jpg', '/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_47_10609.jpg', '/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_56_9513.jpg', '/home/pi/Desktop/images/20042025/07/18/image_20042025_07_19_06_10385.jpg', '/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_26_10404.jpg', '/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_37_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_36_9456.jpg
/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_47_10609.jpg
/home/pi/Desktop/images/20042025/07/18/image_20042025_07_18_56_9513.jpg
/home/pi/Desktop/images/20042025/07/18/image_20042025_07_19_06_10385.jpg
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_26_10404.jpg
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_37_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181742","1352181768","1352181843","1352181816","1352181793","1352181868"],"photo_ids_order":["1352181742","1352181768","1352181793","1352181816","1352181843","1352181868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ab5bbca5d640c1e7d69d039b93ae767.jpg","text":"TemporaryFile(/tmp/multipartBody3296426710536257170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138193513,"filename":"image_20042025_07_18_36_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b746eae584b8d3d0288b5dd61135ad0.jpg","text":"TemporaryFile(/tmp/multipartBody4770364756828717583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138193513,"filename":"image_20042025_07_18_47_10609.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1d4dab646d27b047ddbf0ed5f61cc29.jpg","text":"TemporaryFile(/tmp/multipartBody5672600787551024665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138193513,"filename":"image_20042025_07_19_26_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/956c942a4608c1bbf6af443087140876.jpg","text":"TemporaryFile(/tmp/multipartBody6148714456795720479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138193513,"filename":"image_20042025_07_19_06_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0196545f76caa16f9c88fae009213ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5098286785508479775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138193513,"filename":"image_20042025_07_18_56_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ffd65a3a1eaa9f951d3ef4f756f70422.jpg","text":"TemporaryFile(/tmp/multipartBody3964543461529602971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138193513,"filename":"image_20042025_07_19_37_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181793","file1":"1352181768","file0":"1352181742","file4":"1352181843","file5":"1352181868","file3":"1352181816"},"map_files_photo_id_array":[{"photo_id":"1352181868","filename":"file5"},{"photo_id":"1352181793","filename":"file2"},{"photo_id":"1352181843","filename":"file4"},{"photo_id":"1352181768","filename":"file1"},{"photo_id":"1352181742","filename":"file0"},{"photo_id":"1352181816","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352181742":["hashtag1","hashtag2"]},{"1352181768":["hashtag1","hashtag2"]},{"1352181843":["hashtag1","hashtag2"]},{"1352181816":["hashtag1","hashtag2"]},{"1352181793":["hashtag1","hashtag2"]},{"1352181868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352181742, 1352181768, 1352181843, 1352181816, 1352181793, 1352181868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.40952229499817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:36:32.297326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_46_9357.jpg', '/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_57_10416.jpg', '/home/pi/Desktop/images/20042025/07/19/image_20042025_07_20_06_9479.jpg', '/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_36_10441.jpg', '/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_47_10366.jpg', '/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_56_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_46_9357.jpg
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_57_10416.jpg
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_20_06_9479.jpg
/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_36_10441.jpg
/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_47_10366.jpg
/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_56_9375.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38425111770629883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:36:42.303127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_46_9357.jpg', '/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_57_10416.jpg', '/home/pi/Desktop/images/20042025/07/19/image_20042025_07_20_06_9479.jpg', '/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_36_10441.jpg', '/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_47_10366.jpg', '/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_56_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_46_9357.jpg
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_19_57_10416.jpg
/home/pi/Desktop/images/20042025/07/19/image_20042025_07_20_06_9479.jpg
/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_36_10441.jpg
/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_47_10366.jpg
/home/pi/Desktop/images/20042025/07/20/image_20042025_07_20_56_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352182368","1352182283","1352182310","1352182433","1352182453","1352182408"],"photo_ids_order":["1352182283","1352182310","1352182368","1352182408","1352182433","1352182453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcd582e0b26434644a7030858255bb82.jpg","text":"TemporaryFile(/tmp/multipartBody8578502277649739353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138262774,"filename":"image_20042025_07_20_06_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0acd7dafc1a68f2e1f16415fee08d914.jpg","text":"TemporaryFile(/tmp/multipartBody5182563255507968740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138262774,"filename":"image_20042025_07_19_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c281cd5c24529c05c33bfcf9ed36cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5728054492682873245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138262774,"filename":"image_20042025_07_19_57_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef7f7d20ae3f490af4cfd14b8e3b350d.jpg","text":"TemporaryFile(/tmp/multipartBody4782680998258221835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138262774,"filename":"image_20042025_07_20_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20e6c32e2ccfd1c84caad89b9a2c53d6.jpg","text":"TemporaryFile(/tmp/multipartBody5686041025991903905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138262774,"filename":"image_20042025_07_20_56_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db8fd1804dad17c7aec4d06ab3c78600.jpg","text":"TemporaryFile(/tmp/multipartBody3759497424232884862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138262774,"filename":"image_20042025_07_20_36_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352182368","file1":"1352182310","file0":"1352182283","file4":"1352182433","file5":"1352182453","file3":"1352182408"},"map_files_photo_id_array":[{"photo_id":"1352182453","filename":"file5"},{"photo_id":"1352182368","filename":"file2"},{"photo_id":"1352182433","filename":"file4"},{"photo_id":"1352182310","filename":"file1"},{"photo_id":"1352182283","filename":"file0"},{"photo_id":"1352182408","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352182368":["hashtag1","hashtag2"]},{"1352182283":["hashtag1","hashtag2"]},{"1352182310":["hashtag1","hashtag2"]},{"1352182433":["hashtag1","hashtag2"]},{"1352182453":["hashtag1","hashtag2"]},{"1352182408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352182368, 1352182283, 1352182310, 1352182433, 1352182453, 1352182408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81786036491394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:37:42.574274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_26_9376.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_36_10380.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_46_9435.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_56_10366.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_22_07_10366.jpg', '/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_16_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_26_9376.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_36_10380.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_46_9435.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_56_10366.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_22_07_10366.jpg
/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_16_9371.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38193273544311523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:37:52.727765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_26_9376.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_36_10380.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_46_9435.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_56_10366.jpg', '/home/pi/Desktop/images/20042025/07/21/image_20042025_07_22_07_10366.jpg', '/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_16_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_26_9376.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_36_10380.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_46_9435.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_21_56_10366.jpg
/home/pi/Desktop/images/20042025/07/21/image_20042025_07_22_07_10366.jpg
/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_16_9371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352182656","1352182769","1352182712","1352182687","1352182768","1352182765"],"photo_ids_order":["1352182656","1352182687","1352182712","1352182765","1352182768","1352182769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/652e3c0fc47664fb7fa7790ee4b7ede7.jpg","text":"TemporaryFile(/tmp/multipartBody8084520187543565973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138333193,"filename":"image_20042025_07_21_26_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b7f9e56b821141813513d3bfec79d90.jpg","text":"TemporaryFile(/tmp/multipartBody7226212366608009095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138333193,"filename":"image_20042025_07_22_16_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a84e7b4196f13dcb7b53533afbfebf3.jpg","text":"TemporaryFile(/tmp/multipartBody2419745202478012554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138333193,"filename":"image_20042025_07_21_46_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d78e9cc49231afa2184da59e7ccb6f9.jpg","text":"TemporaryFile(/tmp/multipartBody4351254979717716581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138333193,"filename":"image_20042025_07_21_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc208101efe1e267eb1c448126baedbc.jpg","text":"TemporaryFile(/tmp/multipartBody4172171132456432292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138333193,"filename":"image_20042025_07_22_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8810bd64da3fb19e5d91ce50b9cad73.jpg","text":"TemporaryFile(/tmp/multipartBody4089074556668538970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138333193,"filename":"image_20042025_07_21_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352182712","file1":"1352182687","file0":"1352182656","file4":"1352182768","file5":"1352182769","file3":"1352182765"},"map_files_photo_id_array":[{"photo_id":"1352182769","filename":"file5"},{"photo_id":"1352182712","filename":"file2"},{"photo_id":"1352182768","filename":"file4"},{"photo_id":"1352182687","filename":"file1"},{"photo_id":"1352182656","filename":"file0"},{"photo_id":"1352182765","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352182656":["hashtag1","hashtag2"]},{"1352182769":["hashtag1","hashtag2"]},{"1352182712":["hashtag1","hashtag2"]},{"1352182687":["hashtag1","hashtag2"]},{"1352182768":["hashtag1","hashtag2"]},{"1352182765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352182656, 1352182769, 1352182712, 1352182687, 1352182768, 1352182765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.499781131744385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:38:32.962938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_26_10377.jpg', '/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_36_9363.jpg', '/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_57_10382.jpg', '/home/pi/Desktop/images/20042025/07/22/image_20042025_07_23_06_9449.jpg', '/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_16_10376.jpg', '/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_27_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_26_10377.jpg
/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_36_9363.jpg
/home/pi/Desktop/images/20042025/07/22/image_20042025_07_22_57_10382.jpg
/home/pi/Desktop/images/20042025/07/22/image_20042025_07_23_06_9449.jpg
/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_16_10376.jpg
/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_27_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352182988","1352182871","1352183015","1352182928","1352182901","1352182963"],"photo_ids_order":["1352182871","1352182901","1352182928","1352182963","1352182988","1352183015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3327243967c9e3358d7bc33f5ad13e65.jpg","text":"TemporaryFile(/tmp/multipartBody7955668280079102495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138373449,"filename":"image_20042025_07_23_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65df73b5ad7c9436f8e3ca2cb7c29723.jpg","text":"TemporaryFile(/tmp/multipartBody4952045012937985617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138373449,"filename":"image_20042025_07_22_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dd3f9c313c6ae94612906651f6740ee.jpg","text":"TemporaryFile(/tmp/multipartBody7550119703237838029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138373449,"filename":"image_20042025_07_23_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0283ff97b9536d9e801a63bc70b05f05.jpg","text":"TemporaryFile(/tmp/multipartBody1098545913560920435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138373449,"filename":"image_20042025_07_22_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1fc657a8722bfd00387e916a0eefb1d.jpg","text":"TemporaryFile(/tmp/multipartBody1598870912749864212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138373449,"filename":"image_20042025_07_22_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6dd6d7dc36adbd03c9efdcd228ddc9b6.jpg","text":"TemporaryFile(/tmp/multipartBody4781173581748553115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138373449,"filename":"image_20042025_07_23_06_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352182928","file1":"1352182901","file0":"1352182871","file4":"1352182988","file5":"1352183015","file3":"1352182963"},"map_files_photo_id_array":[{"photo_id":"1352183015","filename":"file5"},{"photo_id":"1352182928","filename":"file2"},{"photo_id":"1352182988","filename":"file4"},{"photo_id":"1352182901","filename":"file1"},{"photo_id":"1352182871","filename":"file0"},{"photo_id":"1352182963","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352182988":["hashtag1","hashtag2"]},{"1352182871":["hashtag1","hashtag2"]},{"1352183015":["hashtag1","hashtag2"]},{"1352182928":["hashtag1","hashtag2"]},{"1352182901":["hashtag1","hashtag2"]},{"1352182963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352182988, 1352182871, 1352183015, 1352182928, 1352182901, 1352182963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.975858449935913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:39:32.270435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_36_9366.jpg', '/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_47_10479.jpg', '/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_56_9459.jpg', '/home/pi/Desktop/images/20042025/07/23/image_20042025_07_24_06_10349.jpg', '/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_16_9376.jpg', '/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_26_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_36_9366.jpg
/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_47_10479.jpg
/home/pi/Desktop/images/20042025/07/23/image_20042025_07_23_56_9459.jpg
/home/pi/Desktop/images/20042025/07/23/image_20042025_07_24_06_10349.jpg
/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_16_9376.jpg
/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_26_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183513","1352183569","1352183398","1352183350","1352183295","1352183463"],"photo_ids_order":["1352183295","1352183350","1352183398","1352183463","1352183513","1352183569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8be3b63f4141a6e690ab50e5728e3884.jpg","text":"TemporaryFile(/tmp/multipartBody6944706354535979832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138432741,"filename":"image_20042025_07_24_16_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddd14ce62467d5336e82c611014fffcb.jpg","text":"TemporaryFile(/tmp/multipartBody14110950237686547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138432741,"filename":"image_20042025_07_24_26_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7466711133d80a837a2ae7f808194ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5268418469361854880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138432741,"filename":"image_20042025_07_23_56_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/272608895de82f930152704bddfd9fec.jpg","text":"TemporaryFile(/tmp/multipartBody4287480860577004534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138432741,"filename":"image_20042025_07_23_47_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80226f7e2a7736bd430be7444b0b101e.jpg","text":"TemporaryFile(/tmp/multipartBody7211749651783411921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138432741,"filename":"image_20042025_07_23_36_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e86a6e3501aa65131718ac2331d22e2.jpg","text":"TemporaryFile(/tmp/multipartBody6486370230763296798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138432741,"filename":"image_20042025_07_24_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183398","file1":"1352183350","file0":"1352183295","file4":"1352183513","file5":"1352183569","file3":"1352183463"},"map_files_photo_id_array":[{"photo_id":"1352183569","filename":"file5"},{"photo_id":"1352183398","filename":"file2"},{"photo_id":"1352183513","filename":"file4"},{"photo_id":"1352183350","filename":"file1"},{"photo_id":"1352183295","filename":"file0"},{"photo_id":"1352183463","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352183513":["hashtag1","hashtag2"]},{"1352183569":["hashtag1","hashtag2"]},{"1352183398":["hashtag1","hashtag2"]},{"1352183350":["hashtag1","hashtag2"]},{"1352183295":["hashtag1","hashtag2"]},{"1352183463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352183513, 1352183569, 1352183398, 1352183350, 1352183295, 1352183463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.014636039733887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:40:32.363052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_37_10364.jpg', '/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_46_9453.jpg', '/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_57_10540.jpg', '/home/pi/Desktop/images/20042025/07/24/image_20042025_07_25_06_9427.jpg', '/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_16_10370.jpg', '/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_27_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_37_10364.jpg
/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_46_9453.jpg
/home/pi/Desktop/images/20042025/07/24/image_20042025_07_24_57_10540.jpg
/home/pi/Desktop/images/20042025/07/24/image_20042025_07_25_06_9427.jpg
/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_16_10370.jpg
/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_27_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352184074","1352184047","1352183987","1352184104","1352184018","1352183955"],"photo_ids_order":["1352183955","1352183987","1352184018","1352184047","1352184074","1352184104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/094af4c9d68c2d598e9926f0f6a3de9b.jpg","text":"TemporaryFile(/tmp/multipartBody1233958294851515760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138492833,"filename":"image_20042025_07_25_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a8268a99a5040c7a014dc371f3e7a52.jpg","text":"TemporaryFile(/tmp/multipartBody2705420335339442043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138492833,"filename":"image_20042025_07_25_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79282ba38e894b5a8c2ea2b86d93c85f.jpg","text":"TemporaryFile(/tmp/multipartBody4851095379553114836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138492833,"filename":"image_20042025_07_24_46_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d32a185d6f89513d7aea591716a772f1.jpg","text":"TemporaryFile(/tmp/multipartBody2513230945222732486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138492833,"filename":"image_20042025_07_25_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97d0e9549901ef7610346313b3be3003.jpg","text":"TemporaryFile(/tmp/multipartBody2890912169160647474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138492833,"filename":"image_20042025_07_24_57_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15ed0f12f2433254e67dc5df40efeb84.jpg","text":"TemporaryFile(/tmp/multipartBody4910951403306461564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138492833,"filename":"image_20042025_07_24_37_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352184018","file1":"1352183987","file0":"1352183955","file4":"1352184074","file5":"1352184104","file3":"1352184047"},"map_files_photo_id_array":[{"photo_id":"1352184104","filename":"file5"},{"photo_id":"1352184018","filename":"file2"},{"photo_id":"1352184074","filename":"file4"},{"photo_id":"1352183987","filename":"file1"},{"photo_id":"1352183955","filename":"file0"},{"photo_id":"1352184047","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352184074":["hashtag1","hashtag2"]},{"1352184047":["hashtag1","hashtag2"]},{"1352183987":["hashtag1","hashtag2"]},{"1352184104":["hashtag1","hashtag2"]},{"1352184018":["hashtag1","hashtag2"]},{"1352183955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352184074, 1352184047, 1352183987, 1352184104, 1352184018, 1352183955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96275496482849 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:41:32.590572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_36_9365.jpg', '/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_46_9713.jpg', '/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_56_10432.jpg', '/home/pi/Desktop/images/20042025/07/25/image_20042025_07_26_07_10361.jpg', '/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_16_9498.jpg', '/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_36_9365.jpg
/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_46_9713.jpg
/home/pi/Desktop/images/20042025/07/25/image_20042025_07_25_56_10432.jpg
/home/pi/Desktop/images/20042025/07/25/image_20042025_07_26_07_10361.jpg
/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_16_9498.jpg
/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_26_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352184755","1352184701","1352184617","1352184503","1352184419","1352184808"],"photo_ids_order":["1352184419","1352184503","1352184617","1352184701","1352184755","1352184808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4c4767b7fdc034a5b5988c2468f95b3.jpg","text":"TemporaryFile(/tmp/multipartBody2676261975867451884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138553055,"filename":"image_20042025_07_26_16_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d15540f24a7751a5824ec986a3800672.jpg","text":"TemporaryFile(/tmp/multipartBody510261467601477835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138553055,"filename":"image_20042025_07_26_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fb0396920b820dca6662994a425b2be.jpg","text":"TemporaryFile(/tmp/multipartBody8861615802403298311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138553055,"filename":"image_20042025_07_25_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/426cda0374fb00542cfa351e66b5350d.jpg","text":"TemporaryFile(/tmp/multipartBody2933990434479530555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138553055,"filename":"image_20042025_07_25_46_9713.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81a9fbb61da0c8ca27c22b3e00b9bd2f.jpg","text":"TemporaryFile(/tmp/multipartBody1082761911817648616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138553055,"filename":"image_20042025_07_25_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e270ab31da67fff1c9393d06845166f.jpg","text":"TemporaryFile(/tmp/multipartBody7874030499924479876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138553055,"filename":"image_20042025_07_26_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352184617","file1":"1352184503","file0":"1352184419","file4":"1352184755","file5":"1352184808","file3":"1352184701"},"map_files_photo_id_array":[{"photo_id":"1352184808","filename":"file5"},{"photo_id":"1352184617","filename":"file2"},{"photo_id":"1352184755","filename":"file4"},{"photo_id":"1352184503","filename":"file1"},{"photo_id":"1352184419","filename":"file0"},{"photo_id":"1352184701","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352184755":["hashtag1","hashtag2"]},{"1352184701":["hashtag1","hashtag2"]},{"1352184617":["hashtag1","hashtag2"]},{"1352184503":["hashtag1","hashtag2"]},{"1352184419":["hashtag1","hashtag2"]},{"1352184808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352184755, 1352184701, 1352184617, 1352184503, 1352184419, 1352184808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.616376638412476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:42:32.860425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_36_9502.jpg', '/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_46_10375.jpg', '/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_57_10387.jpg', '/home/pi/Desktop/images/20042025/07/26/image_20042025_07_27_06_9352.jpg', '/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_16_10368.jpg', '/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_26_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_36_9502.jpg
/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_46_10375.jpg
/home/pi/Desktop/images/20042025/07/26/image_20042025_07_26_57_10387.jpg
/home/pi/Desktop/images/20042025/07/26/image_20042025_07_27_06_9352.jpg
/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_16_10368.jpg
/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_26_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185013","1352185016","1352185010","1352185033","1352185035","1352185029"],"photo_ids_order":["1352185010","1352185013","1352185016","1352185029","1352185033","1352185035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/337e2730cdeb49e755103aa54e79a9b0.jpg","text":"TemporaryFile(/tmp/multipartBody6424591707252293122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138613330,"filename":"image_20042025_07_26_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f761188834ad57e2cc31db8aa9d4ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3332781676043602024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138613330,"filename":"image_20042025_07_26_57_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adcf1efff69fefce91ffe009c0b72032.jpg","text":"TemporaryFile(/tmp/multipartBody1220900523185535124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138613330,"filename":"image_20042025_07_26_36_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75266f6c5b10d4ebd0bc0986a07bdb22.jpg","text":"TemporaryFile(/tmp/multipartBody6611599076306485410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138613330,"filename":"image_20042025_07_27_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36f2d633d5e62b3a066209e17a18da31.jpg","text":"TemporaryFile(/tmp/multipartBody7262880761586902373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138613330,"filename":"image_20042025_07_27_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c2a00687e7aa44a892386595d08e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody5071964403239940999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138613330,"filename":"image_20042025_07_27_06_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185016","file1":"1352185013","file0":"1352185010","file4":"1352185033","file5":"1352185035","file3":"1352185029"},"map_files_photo_id_array":[{"photo_id":"1352185035","filename":"file5"},{"photo_id":"1352185016","filename":"file2"},{"photo_id":"1352185033","filename":"file4"},{"photo_id":"1352185013","filename":"file1"},{"photo_id":"1352185010","filename":"file0"},{"photo_id":"1352185029","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185013":["hashtag1","hashtag2"]},{"1352185016":["hashtag1","hashtag2"]},{"1352185010":["hashtag1","hashtag2"]},{"1352185033":["hashtag1","hashtag2"]},{"1352185035":["hashtag1","hashtag2"]},{"1352185029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185013, 1352185016, 1352185010, 1352185033, 1352185035, 1352185029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.48206186294556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:43:43.084168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_36_10397.jpg', '/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_47_10375.jpg', '/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_56_9388.jpg', '/home/pi/Desktop/images/20042025/07/27/image_20042025_07_28_06_10357.jpg', '/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_17_10400.jpg', '/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_26_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_36_10397.jpg
/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_47_10375.jpg
/home/pi/Desktop/images/20042025/07/27/image_20042025_07_27_56_9388.jpg
/home/pi/Desktop/images/20042025/07/27/image_20042025_07_28_06_10357.jpg
/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_17_10400.jpg
/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_26_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185040","1352185083","1352185044","1352185110","1352185058","1352185043"],"photo_ids_order":["1352185040","1352185043","1352185044","1352185058","1352185083","1352185110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4d1e6e55ddbb27e2c16e5f3c122f46b.jpg","text":"TemporaryFile(/tmp/multipartBody8053484334054595520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138683558,"filename":"image_20042025_07_27_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ab5fcd2bac0e6a032e5569c6770fab4.jpg","text":"TemporaryFile(/tmp/multipartBody8007164604891431104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138683558,"filename":"image_20042025_07_28_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5af2839bcf2ad94893c3f87fac49c6dc.jpg","text":"TemporaryFile(/tmp/multipartBody1940133223501360699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138683558,"filename":"image_20042025_07_27_56_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ae44733d1352b8001ef510f96c19c93.jpg","text":"TemporaryFile(/tmp/multipartBody234287864028639540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138683558,"filename":"image_20042025_07_28_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20a2b88bb671de7426820ec6f8893c05.jpg","text":"TemporaryFile(/tmp/multipartBody8411783368468546300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138683558,"filename":"image_20042025_07_28_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae9f8839a15db75f121ffe69238b166c.jpg","text":"TemporaryFile(/tmp/multipartBody2328731602686274588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138683558,"filename":"image_20042025_07_27_47_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185044","file1":"1352185043","file0":"1352185040","file4":"1352185083","file5":"1352185110","file3":"1352185058"},"map_files_photo_id_array":[{"photo_id":"1352185110","filename":"file5"},{"photo_id":"1352185044","filename":"file2"},{"photo_id":"1352185083","filename":"file4"},{"photo_id":"1352185043","filename":"file1"},{"photo_id":"1352185040","filename":"file0"},{"photo_id":"1352185058","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185040":["hashtag1","hashtag2"]},{"1352185083":["hashtag1","hashtag2"]},{"1352185044":["hashtag1","hashtag2"]},{"1352185110":["hashtag1","hashtag2"]},{"1352185058":["hashtag1","hashtag2"]},{"1352185043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185040, 1352185083, 1352185044, 1352185110, 1352185058, 1352185043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1092095375061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:44:32.313341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_37_10456.jpg', '/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_46_9419.jpg', '/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_56_10386.jpg', '/home/pi/Desktop/images/20042025/07/28/image_20042025_07_29_07_10368.jpg', '/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_16_9485.jpg', '/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_27_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_37_10456.jpg
/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_46_9419.jpg
/home/pi/Desktop/images/20042025/07/28/image_20042025_07_28_56_10386.jpg
/home/pi/Desktop/images/20042025/07/28/image_20042025_07_29_07_10368.jpg
/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_16_9485.jpg
/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_27_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185399","1352185372","1352185288","1352185342","1352185315","1352185402"],"photo_ids_order":["1352185288","1352185315","1352185342","1352185372","1352185399","1352185402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38362387e812b7ccec5a7fa2ab167482.jpg","text":"TemporaryFile(/tmp/multipartBody4044254927035270174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138732779,"filename":"image_20042025_07_29_16_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e10cef2c2adb25775980b5d7370eae70.jpg","text":"TemporaryFile(/tmp/multipartBody5965378561517006882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138732779,"filename":"image_20042025_07_29_07_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de3d69346dd8c6bd282141c1100be24.jpg","text":"TemporaryFile(/tmp/multipartBody8540793195852412589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138732779,"filename":"image_20042025_07_28_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5b59e9de1e08917199c543fc7fe104b.jpg","text":"TemporaryFile(/tmp/multipartBody7904891944000912426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138732779,"filename":"image_20042025_07_28_56_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9fc39bd361fcfca550ba1f62b7e673e.jpg","text":"TemporaryFile(/tmp/multipartBody7508507183598328446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138732779,"filename":"image_20042025_07_28_46_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0de736d73b771a1da56216dfe0c22ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1286328428854706243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138732779,"filename":"image_20042025_07_29_27_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185342","file1":"1352185315","file0":"1352185288","file4":"1352185399","file5":"1352185402","file3":"1352185372"},"map_files_photo_id_array":[{"photo_id":"1352185402","filename":"file5"},{"photo_id":"1352185342","filename":"file2"},{"photo_id":"1352185399","filename":"file4"},{"photo_id":"1352185315","filename":"file1"},{"photo_id":"1352185288","filename":"file0"},{"photo_id":"1352185372","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185399":["hashtag1","hashtag2"]},{"1352185372":["hashtag1","hashtag2"]},{"1352185288":["hashtag1","hashtag2"]},{"1352185342":["hashtag1","hashtag2"]},{"1352185315":["hashtag1","hashtag2"]},{"1352185402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185399, 1352185372, 1352185288, 1352185342, 1352185315, 1352185402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.883492708206177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:45:32.548003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_36_9432.jpg', '/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_46_10372.jpg', '/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_56_9466.jpg', '/home/pi/Desktop/images/20042025/07/29/image_20042025_07_30_06_10412.jpg', '/home/pi/Desktop/images/20042025/07/30/image_20042025_07_30_37_10365.jpg', '/home/pi/Desktop/images/20042025/07/30/image_20042025_07_30_46_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_36_9432.jpg
/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_46_10372.jpg
/home/pi/Desktop/images/20042025/07/29/image_20042025_07_29_56_9466.jpg
/home/pi/Desktop/images/20042025/07/29/image_20042025_07_30_06_10412.jpg
/home/pi/Desktop/images/20042025/07/30/image_20042025_07_30_37_10365.jpg
/home/pi/Desktop/images/20042025/07/30/image_20042025_07_30_46_9501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185445","1352185447","1352185449","1352185443","1352185466","1352185451"],"photo_ids_order":["1352185443","1352185445","1352185447","1352185449","1352185451","1352185466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/729e5e014b76ec9c955af061ab7cc6d1.jpg","text":"TemporaryFile(/tmp/multipartBody5584555513332956717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138793014,"filename":"image_20042025_07_29_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/478adf78060e4c473c692cae8299bb4d.jpg","text":"TemporaryFile(/tmp/multipartBody8295948532241960454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138793014,"filename":"image_20042025_07_29_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/259a496514276f0da33019174e904bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6391913973211194994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138793014,"filename":"image_20042025_07_30_06_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/add2e09e56a663a8c6cb1e244257ea03.jpg","text":"TemporaryFile(/tmp/multipartBody2063840447029018379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138793014,"filename":"image_20042025_07_29_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c92fa33ec026be1b6551cd8e0149a318.jpg","text":"TemporaryFile(/tmp/multipartBody8558003947607218454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138793014,"filename":"image_20042025_07_30_46_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e38249894c0fa7ebdb9a51d1c586ba20.jpg","text":"TemporaryFile(/tmp/multipartBody7463569336060984438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138793014,"filename":"image_20042025_07_30_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185447","file1":"1352185445","file0":"1352185443","file4":"1352185451","file5":"1352185466","file3":"1352185449"},"map_files_photo_id_array":[{"photo_id":"1352185466","filename":"file5"},{"photo_id":"1352185447","filename":"file2"},{"photo_id":"1352185451","filename":"file4"},{"photo_id":"1352185445","filename":"file1"},{"photo_id":"1352185443","filename":"file0"},{"photo_id":"1352185449","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185445":["hashtag1","hashtag2"]},{"1352185447":["hashtag1","hashtag2"]},{"1352185449":["hashtag1","hashtag2"]},{"1352185443":["hashtag1","hashtag2"]},{"1352185466":["hashtag1","hashtag2"]},{"1352185451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185445, 1352185447, 1352185449, 1352185443, 1352185466, 1352185451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.091557264328003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:46:32.824896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/30/image_20042025_07_30_57_10443.jpg', '/home/pi/Desktop/images/20042025/07/30/image_20042025_07_31_06_9473.jpg', '/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_16_10381.jpg', '/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_26_9387.jpg', '/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_36_10454.jpg', '/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_47_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/30/image_20042025_07_30_57_10443.jpg
/home/pi/Desktop/images/20042025/07/30/image_20042025_07_31_06_9473.jpg
/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_16_10381.jpg
/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_26_9387.jpg
/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_36_10454.jpg
/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_47_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185654","1352185657","1352185647","1352185650","1352185658","1352185652"],"photo_ids_order":["1352185647","1352185650","1352185652","1352185654","1352185657","1352185658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f6ddbcb4f5f3f49a7312e83d0233162.jpg","text":"TemporaryFile(/tmp/multipartBody5590436562891922112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138853288,"filename":"image_20042025_07_31_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/909ecb05803a0eafca324bb294c54684.jpg","text":"TemporaryFile(/tmp/multipartBody827563553346000695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138853288,"filename":"image_20042025_07_31_36_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1dea6ebf66605cbd7df5f448b4eb445.jpg","text":"TemporaryFile(/tmp/multipartBody5145402941018653297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138853288,"filename":"image_20042025_07_30_57_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f858dc55a938067cf457aa5b6d776c54.jpg","text":"TemporaryFile(/tmp/multipartBody7063372345951822613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138853288,"filename":"image_20042025_07_31_06_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82ab76005b53d377c4b9a768ec173c52.jpg","text":"TemporaryFile(/tmp/multipartBody6091700128800531637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138853288,"filename":"image_20042025_07_31_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c46134d524e2fb6287cda42786b27d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5615894530709347941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138853288,"filename":"image_20042025_07_31_16_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185652","file1":"1352185650","file0":"1352185647","file4":"1352185657","file5":"1352185658","file3":"1352185654"},"map_files_photo_id_array":[{"photo_id":"1352185658","filename":"file5"},{"photo_id":"1352185652","filename":"file2"},{"photo_id":"1352185657","filename":"file4"},{"photo_id":"1352185650","filename":"file1"},{"photo_id":"1352185647","filename":"file0"},{"photo_id":"1352185654","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185654":["hashtag1","hashtag2"]},{"1352185657":["hashtag1","hashtag2"]},{"1352185647":["hashtag1","hashtag2"]},{"1352185650":["hashtag1","hashtag2"]},{"1352185658":["hashtag1","hashtag2"]},{"1352185652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185654, 1352185657, 1352185647, 1352185650, 1352185658, 1352185652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22864770889282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:47:33.077382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_56_9393.jpg', '/home/pi/Desktop/images/20042025/07/31/image_20042025_07_32_06_10368.jpg', '/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_17_10359.jpg', '/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_26_9419.jpg', '/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_37_10379.jpg', '/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_46_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/31/image_20042025_07_31_56_9393.jpg
/home/pi/Desktop/images/20042025/07/31/image_20042025_07_32_06_10368.jpg
/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_17_10359.jpg
/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_26_9419.jpg
/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_37_10379.jpg
/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_46_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185721","1352185802","1352185693","1352185749","1352185830","1352185775"],"photo_ids_order":["1352185693","1352185721","1352185749","1352185775","1352185802","1352185830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dca056d6f79a9c9de17364a222a8256d.jpg","text":"TemporaryFile(/tmp/multipartBody8029334162024118139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138913556,"filename":"image_20042025_07_32_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c56f6e183f442512e36af31bf061991.jpg","text":"TemporaryFile(/tmp/multipartBody3024371393014947960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138913556,"filename":"image_20042025_07_32_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f85a0fbca8910a2dddc8b78f20cf7d8.jpg","text":"TemporaryFile(/tmp/multipartBody3603381629440381471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138913556,"filename":"image_20042025_07_31_56_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a284b58f0ac6d77e2cb03301620d2dee.jpg","text":"TemporaryFile(/tmp/multipartBody4960762823347117986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138913556,"filename":"image_20042025_07_32_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f652e1f908ef5cc591bf5b8d60fa9a1.jpg","text":"TemporaryFile(/tmp/multipartBody4451586219138907978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138913556,"filename":"image_20042025_07_32_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a4a1adc265a5a48352d691edbef9700.jpg","text":"TemporaryFile(/tmp/multipartBody2680159444800141451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138913556,"filename":"image_20042025_07_32_26_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185749","file1":"1352185721","file0":"1352185693","file4":"1352185802","file5":"1352185830","file3":"1352185775"},"map_files_photo_id_array":[{"photo_id":"1352185830","filename":"file5"},{"photo_id":"1352185749","filename":"file2"},{"photo_id":"1352185802","filename":"file4"},{"photo_id":"1352185721","filename":"file1"},{"photo_id":"1352185693","filename":"file0"},{"photo_id":"1352185775","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185721":["hashtag1","hashtag2"]},{"1352185802":["hashtag1","hashtag2"]},{"1352185693":["hashtag1","hashtag2"]},{"1352185749":["hashtag1","hashtag2"]},{"1352185830":["hashtag1","hashtag2"]},{"1352185775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185721, 1352185802, 1352185693, 1352185749, 1352185830, 1352185775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.54949975013733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:48:32.269218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_56_10364.jpg', '/home/pi/Desktop/images/20042025/07/32/image_20042025_07_33_07_10356.jpg', '/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_16_9363.jpg', '/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_27_10493.jpg', '/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_36_9489.jpg', '/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_46_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/32/image_20042025_07_32_56_10364.jpg
/home/pi/Desktop/images/20042025/07/32/image_20042025_07_33_07_10356.jpg
/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_16_9363.jpg
/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_27_10493.jpg
/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_36_9489.jpg
/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_46_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185972","1352185960","1352185963","1352185965","1352185968","1352185970"],"photo_ids_order":["1352185960","1352185963","1352185965","1352185968","1352185970","1352185972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/396f88d9f127d0785c16d1adf6a0967e.jpg","text":"TemporaryFile(/tmp/multipartBody312849202490672305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138972736,"filename":"image_20042025_07_33_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d13bb65781bc9d5b12782af968127ef.jpg","text":"TemporaryFile(/tmp/multipartBody9036898035982368564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138972736,"filename":"image_20042025_07_32_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9272303ce06d1b13ef9ee49b82bb567.jpg","text":"TemporaryFile(/tmp/multipartBody3925089758526249823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138972736,"filename":"image_20042025_07_33_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/143f25745ce1e6aec3409e2c7037de06.jpg","text":"TemporaryFile(/tmp/multipartBody345928768726786184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138972736,"filename":"image_20042025_07_33_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37a9af7d7ddf4351266f018d2106240c.jpg","text":"TemporaryFile(/tmp/multipartBody4799858723047067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138972736,"filename":"image_20042025_07_33_27_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/642c341ea822b00fa52ef4db216a8589.jpg","text":"TemporaryFile(/tmp/multipartBody6873419041959124200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745138972736,"filename":"image_20042025_07_33_36_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185965","file1":"1352185963","file0":"1352185960","file4":"1352185970","file5":"1352185972","file3":"1352185968"},"map_files_photo_id_array":[{"photo_id":"1352185972","filename":"file5"},{"photo_id":"1352185965","filename":"file2"},{"photo_id":"1352185970","filename":"file4"},{"photo_id":"1352185963","filename":"file1"},{"photo_id":"1352185960","filename":"file0"},{"photo_id":"1352185968","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185972":["hashtag1","hashtag2"]},{"1352185960":["hashtag1","hashtag2"]},{"1352185963":["hashtag1","hashtag2"]},{"1352185965":["hashtag1","hashtag2"]},{"1352185968":["hashtag1","hashtag2"]},{"1352185970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185972, 1352185960, 1352185963, 1352185965, 1352185968, 1352185970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61925721168518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:49:32.523558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_56_9570.jpg', '/home/pi/Desktop/images/20042025/07/33/image_20042025_07_34_06_10436.jpg', '/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_16_9392.jpg', '/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_26_10391.jpg', '/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_37_10439.jpg', '/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_46_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/33/image_20042025_07_33_56_9570.jpg
/home/pi/Desktop/images/20042025/07/33/image_20042025_07_34_06_10436.jpg
/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_16_9392.jpg
/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_26_10391.jpg
/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_37_10439.jpg
/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_46_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185996","1352185984","1352185993","1352185987","1352186007","1352185991"],"photo_ids_order":["1352185984","1352185987","1352185991","1352185993","1352185996","1352186007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8631106e7d24a0faaec176c1c312749f.jpg","text":"TemporaryFile(/tmp/multipartBody5285465170027903663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139032997,"filename":"image_20042025_07_34_37_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c37746eea77896924da124ea1a1094c6.jpg","text":"TemporaryFile(/tmp/multipartBody7483205586377219614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139032997,"filename":"image_20042025_07_33_56_9570.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68be4f498b6e99750c72ac81032c0255.jpg","text":"TemporaryFile(/tmp/multipartBody1133436253574686553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139032997,"filename":"image_20042025_07_34_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56d6c8a3162fa79d506e7e3490246c5c.jpg","text":"TemporaryFile(/tmp/multipartBody8258259390772319949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139032997,"filename":"image_20042025_07_34_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9dbd2f86fc7afb5c4231fe45992cce3d.jpg","text":"TemporaryFile(/tmp/multipartBody4698625335474181779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139032997,"filename":"image_20042025_07_34_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dd6f1a72436256c2f37db552a1f2e36.jpg","text":"TemporaryFile(/tmp/multipartBody4026951514055139091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139032997,"filename":"image_20042025_07_34_16_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185991","file1":"1352185987","file0":"1352185984","file4":"1352185996","file5":"1352186007","file3":"1352185993"},"map_files_photo_id_array":[{"photo_id":"1352186007","filename":"file5"},{"photo_id":"1352185991","filename":"file2"},{"photo_id":"1352185996","filename":"file4"},{"photo_id":"1352185987","filename":"file1"},{"photo_id":"1352185984","filename":"file0"},{"photo_id":"1352185993","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352185996":["hashtag1","hashtag2"]},{"1352185984":["hashtag1","hashtag2"]},{"1352185993":["hashtag1","hashtag2"]},{"1352185987":["hashtag1","hashtag2"]},{"1352186007":["hashtag1","hashtag2"]},{"1352185991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352185996, 1352185984, 1352185993, 1352185987, 1352186007, 1352185991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.934935808181763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:50:32.869381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_56_10399.jpg', '/home/pi/Desktop/images/20042025/07/34/image_20042025_07_35_06_9349.jpg', '/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_16_10363.jpg', '/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_27_10381.jpg', '/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_36_9479.jpg', '/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_46_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/34/image_20042025_07_34_56_10399.jpg
/home/pi/Desktop/images/20042025/07/34/image_20042025_07_35_06_9349.jpg
/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_16_10363.jpg
/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_27_10381.jpg
/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_36_9479.jpg
/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_46_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186041","1352186035","1352186038","1352186040","1352186030","1352186033"],"photo_ids_order":["1352186030","1352186033","1352186035","1352186038","1352186040","1352186041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85d5d6fc58094521b58fcf37ea2b7f6b.jpg","text":"TemporaryFile(/tmp/multipartBody5481174687371009469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139093341,"filename":"image_20042025_07_35_46_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f2dde837445796262a368188467f2a9.jpg","text":"TemporaryFile(/tmp/multipartBody5664977787644254634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139093341,"filename":"image_20042025_07_35_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c69c356aa4744495757d22a3125c48ba.jpg","text":"TemporaryFile(/tmp/multipartBody6184792046284187306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139093341,"filename":"image_20042025_07_35_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/109ad632fd9639c791bcadb0506b1daa.jpg","text":"TemporaryFile(/tmp/multipartBody1827238654364620364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139093341,"filename":"image_20042025_07_35_36_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/897760caf0231ef97c8c451524626832.jpg","text":"TemporaryFile(/tmp/multipartBody6701487746752009230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139093341,"filename":"image_20042025_07_34_56_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5667e00a5f2a3e097c2d85a5ea085ca0.jpg","text":"TemporaryFile(/tmp/multipartBody95695714718392845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139093341,"filename":"image_20042025_07_35_06_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186035","file1":"1352186033","file0":"1352186030","file4":"1352186040","file5":"1352186041","file3":"1352186038"},"map_files_photo_id_array":[{"photo_id":"1352186041","filename":"file5"},{"photo_id":"1352186035","filename":"file2"},{"photo_id":"1352186040","filename":"file4"},{"photo_id":"1352186033","filename":"file1"},{"photo_id":"1352186030","filename":"file0"},{"photo_id":"1352186038","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352186041":["hashtag1","hashtag2"]},{"1352186035":["hashtag1","hashtag2"]},{"1352186038":["hashtag1","hashtag2"]},{"1352186040":["hashtag1","hashtag2"]},{"1352186030":["hashtag1","hashtag2"]},{"1352186033":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352186041, 1352186035, 1352186038, 1352186040, 1352186030, 1352186033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.25578474998474 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:51:33.201313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_56_9414.jpg', '/home/pi/Desktop/images/20042025/07/35/image_20042025_07_36_06_10376.jpg', '/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_17_10373.jpg', '/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_26_9471.jpg', '/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_36_10378.jpg', '/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_46_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/35/image_20042025_07_35_56_9414.jpg
/home/pi/Desktop/images/20042025/07/35/image_20042025_07_36_06_10376.jpg
/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_17_10373.jpg
/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_26_9471.jpg
/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_36_10378.jpg
/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_46_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186065","1352186062","1352186055","1352186064","1352186060","1352186057"],"photo_ids_order":["1352186055","1352186057","1352186060","1352186062","1352186064","1352186065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9afdf1c4198ac7f298b63148581e0874.jpg","text":"TemporaryFile(/tmp/multipartBody203067932812067733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139153668,"filename":"image_20042025_07_36_46_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27a26962315d9cdef459aec09c0d84c3.jpg","text":"TemporaryFile(/tmp/multipartBody3473989839182618202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139153668,"filename":"image_20042025_07_36_26_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bbf9075b7f6941385b4636ab17f5073.jpg","text":"TemporaryFile(/tmp/multipartBody6589476498440445802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139153668,"filename":"image_20042025_07_35_56_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef205bbba320f3c4abc09a7d30d7b86a.jpg","text":"TemporaryFile(/tmp/multipartBody1028494686791684102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139153668,"filename":"image_20042025_07_36_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3a48d2b8fa8ce7011df8b676b406172.jpg","text":"TemporaryFile(/tmp/multipartBody3356190823962731268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139153668,"filename":"image_20042025_07_36_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7157349bedf7a50eb86b4d8b0690854.jpg","text":"TemporaryFile(/tmp/multipartBody2976255223282027043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139153668,"filename":"image_20042025_07_36_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186060","file1":"1352186057","file0":"1352186055","file4":"1352186064","file5":"1352186065","file3":"1352186062"},"map_files_photo_id_array":[{"photo_id":"1352186065","filename":"file5"},{"photo_id":"1352186060","filename":"file2"},{"photo_id":"1352186064","filename":"file4"},{"photo_id":"1352186057","filename":"file1"},{"photo_id":"1352186055","filename":"file0"},{"photo_id":"1352186062","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352186065":["hashtag1","hashtag2"]},{"1352186062":["hashtag1","hashtag2"]},{"1352186055":["hashtag1","hashtag2"]},{"1352186064":["hashtag1","hashtag2"]},{"1352186060":["hashtag1","hashtag2"]},{"1352186057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352186065, 1352186062, 1352186055, 1352186064, 1352186060, 1352186057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31912565231323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:52:32.295762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_56_10379.jpg', '/home/pi/Desktop/images/20042025/07/36/image_20042025_07_37_06_9424.jpg', '/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_16_10469.jpg', '/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_27_10383.jpg', '/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_36_9437.jpg', '/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_46_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/36/image_20042025_07_36_56_10379.jpg
/home/pi/Desktop/images/20042025/07/36/image_20042025_07_37_06_9424.jpg
/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_16_10469.jpg
/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_27_10383.jpg
/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_36_9437.jpg
/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_46_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186080","1352186088","1352186082","1352186085","1352186089","1352186077"],"photo_ids_order":["1352186077","1352186080","1352186082","1352186085","1352186088","1352186089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87cf9134d581679a79cb7783c7da19b2.jpg","text":"TemporaryFile(/tmp/multipartBody2615588176097656658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139212766,"filename":"image_20042025_07_37_06_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a476b5a6a4b8af719d14a7aa8f89508.jpg","text":"TemporaryFile(/tmp/multipartBody8266798320113984936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139212766,"filename":"image_20042025_07_37_36_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b47ce6862b3dd6a408ed01e9776e4fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2806403687662182524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139212766,"filename":"image_20042025_07_37_16_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5125a60595f20461e1f02368fa10f176.jpg","text":"TemporaryFile(/tmp/multipartBody1496901008921339630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139212766,"filename":"image_20042025_07_37_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18fa2168e3d7aaaa559a93e3369c5de2.jpg","text":"TemporaryFile(/tmp/multipartBody5437435021161702863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139212766,"filename":"image_20042025_07_37_46_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c78ab7feda70b46beb39730f9b51d8f.jpg","text":"TemporaryFile(/tmp/multipartBody5736407906951835690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139212766,"filename":"image_20042025_07_36_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186082","file1":"1352186080","file0":"1352186077","file4":"1352186088","file5":"1352186089","file3":"1352186085"},"map_files_photo_id_array":[{"photo_id":"1352186089","filename":"file5"},{"photo_id":"1352186082","filename":"file2"},{"photo_id":"1352186088","filename":"file4"},{"photo_id":"1352186080","filename":"file1"},{"photo_id":"1352186077","filename":"file0"},{"photo_id":"1352186085","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352186080":["hashtag1","hashtag2"]},{"1352186088":["hashtag1","hashtag2"]},{"1352186082":["hashtag1","hashtag2"]},{"1352186085":["hashtag1","hashtag2"]},{"1352186089":["hashtag1","hashtag2"]},{"1352186077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352186080, 1352186088, 1352186082, 1352186085, 1352186089, 1352186077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.56511378288269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:53:33.634652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_56_9478.jpg', '/home/pi/Desktop/images/20042025/07/37/image_20042025_07_38_06_10383.jpg', '/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_16_9470.jpg', '/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_26_10458.jpg', '/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_37_10352.jpg', '/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_46_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/37/image_20042025_07_37_56_9478.jpg
/home/pi/Desktop/images/20042025/07/37/image_20042025_07_38_06_10383.jpg
/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_16_9470.jpg
/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_26_10458.jpg
/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_37_10352.jpg
/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_46_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186113","1352186104","1352186118","1352186115","1352186109","1352186120"],"photo_ids_order":["1352186104","1352186109","1352186113","1352186115","1352186118","1352186120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b55a11b304dc6817bd8b3f639604de6.jpg","text":"TemporaryFile(/tmp/multipartBody2312475110910457142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139274109,"filename":"image_20042025_07_38_16_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5122c263b3d0a78436b4fec2436d897d.jpg","text":"TemporaryFile(/tmp/multipartBody8624443762312054418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139274109,"filename":"image_20042025_07_37_56_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8410931b0723e2dcd9487dcab45c6a88.jpg","text":"TemporaryFile(/tmp/multipartBody2283665973329112507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139274109,"filename":"image_20042025_07_38_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81bb9c6959a66bc9a01d647bc6b6c223.jpg","text":"TemporaryFile(/tmp/multipartBody1580619482373077089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139274109,"filename":"image_20042025_07_38_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f4c7aa91625153f32cc1de0dc9adb88.jpg","text":"TemporaryFile(/tmp/multipartBody7878423466991734892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139274109,"filename":"image_20042025_07_38_06_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/49ca1a88d6ab08656513ad5ad907c494.jpg","text":"TemporaryFile(/tmp/multipartBody600212165690418342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139274109,"filename":"image_20042025_07_38_46_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186113","file1":"1352186109","file0":"1352186104","file4":"1352186118","file5":"1352186120","file3":"1352186115"},"map_files_photo_id_array":[{"photo_id":"1352186120","filename":"file5"},{"photo_id":"1352186113","filename":"file2"},{"photo_id":"1352186118","filename":"file4"},{"photo_id":"1352186109","filename":"file1"},{"photo_id":"1352186104","filename":"file0"},{"photo_id":"1352186115","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352186113":["hashtag1","hashtag2"]},{"1352186104":["hashtag1","hashtag2"]},{"1352186118":["hashtag1","hashtag2"]},{"1352186115":["hashtag1","hashtag2"]},{"1352186109":["hashtag1","hashtag2"]},{"1352186120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352186113, 1352186104, 1352186118, 1352186115, 1352186109, 1352186120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.767069101333618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:54:32.902661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_57_10390.jpg', '/home/pi/Desktop/images/20042025/07/38/image_20042025_07_39_06_9457.jpg', '/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_17_10364.jpg', '/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_26_9491.jpg', '/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_36_10353.jpg', '/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_46_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/38/image_20042025_07_38_57_10390.jpg
/home/pi/Desktop/images/20042025/07/38/image_20042025_07_39_06_9457.jpg
/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_17_10364.jpg
/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_26_9491.jpg
/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_36_10353.jpg
/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_46_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186137","1352186145","1352186148","1352186133","1352186141","1352186150"],"photo_ids_order":["1352186133","1352186137","1352186141","1352186145","1352186148","1352186150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b0c1b441fc3e3a8a9f6f05197d0f401.jpg","text":"TemporaryFile(/tmp/multipartBody506810767826319977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139333376,"filename":"image_20042025_07_39_06_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34e5f8b01102b7dde02d2483c08809f4.jpg","text":"TemporaryFile(/tmp/multipartBody3571623551535142700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139333376,"filename":"image_20042025_07_39_26_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ee1b2ad0aca54896ec3a6b1b9711202.jpg","text":"TemporaryFile(/tmp/multipartBody2473949400547914586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139333376,"filename":"image_20042025_07_39_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f19543bf0c65abcacd829a645f4681cd.jpg","text":"TemporaryFile(/tmp/multipartBody5850964003484057001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139333376,"filename":"image_20042025_07_38_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a94c10c5d8446fcb2db48cadbd65a03a.jpg","text":"TemporaryFile(/tmp/multipartBody6446220168824041468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139333376,"filename":"image_20042025_07_39_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bbd4e2cdde0c9b6d7fa05ce5d856abf.jpg","text":"TemporaryFile(/tmp/multipartBody7172205838126061795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139333376,"filename":"image_20042025_07_39_46_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186141","file1":"1352186137","file0":"1352186133","file4":"1352186148","file5":"1352186150","file3":"1352186145"},"map_files_photo_id_array":[{"photo_id":"1352186150","filename":"file5"},{"photo_id":"1352186141","filename":"file2"},{"photo_id":"1352186148","filename":"file4"},{"photo_id":"1352186137","filename":"file1"},{"photo_id":"1352186133","filename":"file0"},{"photo_id":"1352186145","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352186137":["hashtag1","hashtag2"]},{"1352186145":["hashtag1","hashtag2"]},{"1352186148":["hashtag1","hashtag2"]},{"1352186133":["hashtag1","hashtag2"]},{"1352186141":["hashtag1","hashtag2"]},{"1352186150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352186137, 1352186145, 1352186148, 1352186133, 1352186141, 1352186150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.107704162597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:55:33.206217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_56_10439.jpg', '/home/pi/Desktop/images/20042025/07/39/image_20042025_07_40_07_10358.jpg', '/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_16_9480.jpg', '/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_36_9346.jpg', '/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_46_10484.jpg', '/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_57_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/39/image_20042025_07_39_56_10439.jpg
/home/pi/Desktop/images/20042025/07/39/image_20042025_07_40_07_10358.jpg
/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_16_9480.jpg
/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_36_9346.jpg
/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_46_10484.jpg
/home/pi/Desktop/images/20042025/07/40/image_20042025_07_40_57_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186179","1352186170","1352186164","1352186167","1352186182","1352186176"],"photo_ids_order":["1352186164","1352186167","1352186170","1352186176","1352186179","1352186182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4ca001795619c36779d9566a98e97ae.jpg","text":"TemporaryFile(/tmp/multipartBody3636859622865553872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139393721,"filename":"image_20042025_07_40_46_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48dea126105f882a3d9ee05088879060.jpg","text":"TemporaryFile(/tmp/multipartBody8154427175602982644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139393721,"filename":"image_20042025_07_40_16_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e18d11ab70f1f2140c332c6b3ae9de2d.jpg","text":"TemporaryFile(/tmp/multipartBody4395021819383060061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139393721,"filename":"image_20042025_07_39_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f49f9400419b216cecfa195c339f2ac.jpg","text":"TemporaryFile(/tmp/multipartBody1476756255483571015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139393721,"filename":"image_20042025_07_40_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f6186a010a5732f1f638f6a736ec589.jpg","text":"TemporaryFile(/tmp/multipartBody452630031970482616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139393721,"filename":"image_20042025_07_40_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/346dda463d06e416b72dc6d9e3156de4.jpg","text":"TemporaryFile(/tmp/multipartBody6409843848156312061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139393721,"filename":"image_20042025_07_40_36_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186170","file1":"1352186167","file0":"1352186164","file4":"1352186179","file5":"1352186182","file3":"1352186176"},"map_files_photo_id_array":[{"photo_id":"1352186182","filename":"file5"},{"photo_id":"1352186170","filename":"file2"},{"photo_id":"1352186179","filename":"file4"},{"photo_id":"1352186167","filename":"file1"},{"photo_id":"1352186164","filename":"file0"},{"photo_id":"1352186176","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352186179":["hashtag1","hashtag2"]},{"1352186170":["hashtag1","hashtag2"]},{"1352186164":["hashtag1","hashtag2"]},{"1352186167":["hashtag1","hashtag2"]},{"1352186182":["hashtag1","hashtag2"]},{"1352186176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352186179, 1352186170, 1352186164, 1352186167, 1352186182, 1352186176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.452595710754395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:56:32.329464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/40/image_20042025_07_41_06_9354.jpg', '/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_16_10427.jpg', '/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_27_10377.jpg', '/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_36_9449.jpg', '/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_47_10408.jpg', '/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_56_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/40/image_20042025_07_41_06_9354.jpg
/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_16_10427.jpg
/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_27_10377.jpg
/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_36_9449.jpg
/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_47_10408.jpg
/home/pi/Desktop/images/20042025/07/41/image_20042025_07_41_56_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186191","1352186208","1352186198","1352186195","1352186201","1352186204"],"photo_ids_order":["1352186191","1352186195","1352186198","1352186201","1352186204","1352186208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec30a301b0d0288e58dedfdb757df751.jpg","text":"TemporaryFile(/tmp/multipartBody2340018734479724489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139452802,"filename":"image_20042025_07_41_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9feca896d043408bf6b8dc99e038248.jpg","text":"TemporaryFile(/tmp/multipartBody3498765216039315656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139452802,"filename":"image_20042025_07_41_56_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79594cc8122b61f17cb68e92be812e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4893471185063438789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139452802,"filename":"image_20042025_07_41_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83b528e3d9de6af756c494d8f97eb061.jpg","text":"TemporaryFile(/tmp/multipartBody7860494544023891196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139452802,"filename":"image_20042025_07_41_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02f94a506200632fb3d65ac63a281429.jpg","text":"TemporaryFile(/tmp/multipartBody7733930189087786229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139452802,"filename":"image_20042025_07_41_36_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bdc4d3259998d943c541d135e55967de.jpg","text":"TemporaryFile(/tmp/multipartBody8879675412858261763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139452802,"filename":"image_20042025_07_41_47_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186198","file1":"1352186195","file0":"1352186191","file4":"1352186204","file5":"1352186208","file3":"1352186201"},"map_files_photo_id_array":[{"photo_id":"1352186208","filename":"file5"},{"photo_id":"1352186198","filename":"file2"},{"photo_id":"1352186204","filename":"file4"},{"photo_id":"1352186195","filename":"file1"},{"photo_id":"1352186191","filename":"file0"},{"photo_id":"1352186201","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352186191":["hashtag1","hashtag2"]},{"1352186208":["hashtag1","hashtag2"]},{"1352186198":["hashtag1","hashtag2"]},{"1352186195":["hashtag1","hashtag2"]},{"1352186201":["hashtag1","hashtag2"]},{"1352186204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352186191, 1352186208, 1352186198, 1352186195, 1352186201, 1352186204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.71027231216431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:57:32.477052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/41/image_20042025_07_42_06_10370.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_16_9400.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_26_10385.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_37_10370.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_46_9433.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_56_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/41/image_20042025_07_42_06_10370.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_16_9400.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_26_10385.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_37_10370.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_46_9433.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_56_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 10:59:04.525906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/41/image_20042025_07_42_06_10370.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_16_9400.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_26_10385.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_37_10370.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_46_9433.jpg', '/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_56_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/41/image_20042025_07_42_06_10370.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_16_9400.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_26_10385.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_37_10370.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_46_9433.jpg
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_42_56_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352187307","1352187208","1352187177","1352187303","1352187298","1352187334"],"photo_ids_order":["1352187177","1352187208","1352187298","1352187303","1352187307","1352187334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a43164c3b97cb19ce1f41b6cb3ab93e2.jpg","text":"TemporaryFile(/tmp/multipartBody7442597090108254708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139605134,"filename":"image_20042025_07_42_46_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51d42bb43297d051bb5def5d9ffb582d.jpg","text":"TemporaryFile(/tmp/multipartBody2366896478256095071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139605134,"filename":"image_20042025_07_42_16_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4f09419ac2901a346eca9e55603913d.jpg","text":"TemporaryFile(/tmp/multipartBody4331482140848066677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139605134,"filename":"image_20042025_07_42_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9036b93e3a372f432edc41b98da7e17a.jpg","text":"TemporaryFile(/tmp/multipartBody6336968970777613673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139605134,"filename":"image_20042025_07_42_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc81535b900a881f8085535a9f7eb0dc.jpg","text":"TemporaryFile(/tmp/multipartBody546949329755720006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139605134,"filename":"image_20042025_07_42_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4945722877de9af2b50357363abc3063.jpg","text":"TemporaryFile(/tmp/multipartBody1353562384314061280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139605134,"filename":"image_20042025_07_42_56_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352187298","file1":"1352187208","file0":"1352187177","file4":"1352187307","file5":"1352187334","file3":"1352187303"},"map_files_photo_id_array":[{"photo_id":"1352187334","filename":"file5"},{"photo_id":"1352187298","filename":"file2"},{"photo_id":"1352187307","filename":"file4"},{"photo_id":"1352187208","filename":"file1"},{"photo_id":"1352187177","filename":"file0"},{"photo_id":"1352187303","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352187307":["hashtag1","hashtag2"]},{"1352187208":["hashtag1","hashtag2"]},{"1352187177":["hashtag1","hashtag2"]},{"1352187303":["hashtag1","hashtag2"]},{"1352187298":["hashtag1","hashtag2"]},{"1352187334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352187307, 1352187208, 1352187177, 1352187303, 1352187298, 1352187334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52599096298218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 10:59:53.144999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/42/image_20042025_07_43_06_9338.jpg', '/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_16_10442.jpg', '/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_27_10385.jpg', '/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_36_9438.jpg', '/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_46_10392.jpg', '/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/42/image_20042025_07_43_06_9338.jpg
/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_16_10442.jpg
/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_27_10385.jpg
/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_36_9438.jpg
/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_46_10392.jpg
/home/pi/Desktop/images/20042025/07/43/image_20042025_07_43_56_9353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352187576","1352187603","1352187455","1352187521","1352187550","1352187487"],"photo_ids_order":["1352187455","1352187487","1352187521","1352187550","1352187576","1352187603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8718d72c01682b099e0c3df9fe1ceca4.jpg","text":"TemporaryFile(/tmp/multipartBody8424152041931834833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139653611,"filename":"image_20042025_07_43_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32057c50c2f153474b33b4c40239bd8d.jpg","text":"TemporaryFile(/tmp/multipartBody8454689428093395581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139653611,"filename":"image_20042025_07_43_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/866c689c1cc2f091058ef77e97938404.jpg","text":"TemporaryFile(/tmp/multipartBody8675153088399329789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139653611,"filename":"image_20042025_07_43_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/028c029dbd3d2f90af4a58fcbc2c3d77.jpg","text":"TemporaryFile(/tmp/multipartBody4413946492011047821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139653611,"filename":"image_20042025_07_43_27_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/894cce14db9075fe8dcd171a2f097fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7897084833555199231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139653611,"filename":"image_20042025_07_43_36_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd50e78c88df157be725e31af85fa799.jpg","text":"TemporaryFile(/tmp/multipartBody6539649332615316387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139653611,"filename":"image_20042025_07_43_16_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352187521","file1":"1352187487","file0":"1352187455","file4":"1352187576","file5":"1352187603","file3":"1352187550"},"map_files_photo_id_array":[{"photo_id":"1352187603","filename":"file5"},{"photo_id":"1352187521","filename":"file2"},{"photo_id":"1352187576","filename":"file4"},{"photo_id":"1352187487","filename":"file1"},{"photo_id":"1352187455","filename":"file0"},{"photo_id":"1352187550","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352187576":["hashtag1","hashtag2"]},{"1352187603":["hashtag1","hashtag2"]},{"1352187455":["hashtag1","hashtag2"]},{"1352187521":["hashtag1","hashtag2"]},{"1352187550":["hashtag1","hashtag2"]},{"1352187487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352187576, 1352187603, 1352187455, 1352187521, 1352187550, 1352187487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.594631671905518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:00:32.454523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/43/image_20042025_07_44_06_10473.jpg', '/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_17_10363.jpg', '/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_26_9397.jpg', '/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_36_10364.jpg', '/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_46_9377.jpg', '/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_56_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/43/image_20042025_07_44_06_10473.jpg
/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_17_10363.jpg
/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_26_9397.jpg
/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_36_10364.jpg
/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_46_9377.jpg
/home/pi/Desktop/images/20042025/07/44/image_20042025_07_44_56_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352187846","1352187729","1352187878","1352187818","1352187790","1352187754"],"photo_ids_order":["1352187729","1352187754","1352187790","1352187818","1352187846","1352187878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdb688647dd2559f8124662f83785b5f.jpg","text":"TemporaryFile(/tmp/multipartBody2068030639920621427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139693049,"filename":"image_20042025_07_44_46_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c7843f82e129c5e91688d6750fd07a7.jpg","text":"TemporaryFile(/tmp/multipartBody8979793241349825118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139693049,"filename":"image_20042025_07_44_06_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34c93ce54060628c33ec447483c39784.jpg","text":"TemporaryFile(/tmp/multipartBody2848025300284232806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139693049,"filename":"image_20042025_07_44_56_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/360b16b380e50444f59e7e64712a68b1.jpg","text":"TemporaryFile(/tmp/multipartBody1067154134845057747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139693049,"filename":"image_20042025_07_44_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/602f3af6fd46bc42369bcdf46b1aad6d.jpg","text":"TemporaryFile(/tmp/multipartBody6477379050916928260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139693049,"filename":"image_20042025_07_44_26_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2334f6f7610e7eb745964a227869933a.jpg","text":"TemporaryFile(/tmp/multipartBody9080192078946745655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139693049,"filename":"image_20042025_07_44_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352187790","file1":"1352187754","file0":"1352187729","file4":"1352187846","file5":"1352187878","file3":"1352187818"},"map_files_photo_id_array":[{"photo_id":"1352187878","filename":"file5"},{"photo_id":"1352187790","filename":"file2"},{"photo_id":"1352187846","filename":"file4"},{"photo_id":"1352187754","filename":"file1"},{"photo_id":"1352187729","filename":"file0"},{"photo_id":"1352187818","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352187846":["hashtag1","hashtag2"]},{"1352187729":["hashtag1","hashtag2"]},{"1352187878":["hashtag1","hashtag2"]},{"1352187818":["hashtag1","hashtag2"]},{"1352187790":["hashtag1","hashtag2"]},{"1352187754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352187846, 1352187729, 1352187878, 1352187818, 1352187790, 1352187754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84597206115723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:01:32.589255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/44/image_20042025_07_45_07_10373.jpg', '/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_26_10392.jpg', '/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_37_10367.jpg', '/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_46_9383.jpg', '/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_56_10365.jpg', '/home/pi/Desktop/images/20042025/07/45/image_20042025_07_46_06_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/44/image_20042025_07_45_07_10373.jpg
/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_26_10392.jpg
/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_37_10367.jpg
/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_46_9383.jpg
/home/pi/Desktop/images/20042025/07/45/image_20042025_07_45_56_10365.jpg
/home/pi/Desktop/images/20042025/07/45/image_20042025_07_46_06_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352188371","1352188349","1352188313","1352188240","1352188299","1352188269"],"photo_ids_order":["1352188240","1352188269","1352188299","1352188313","1352188349","1352188371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c44140f06ce6001f1ab3f93febf29805.jpg","text":"TemporaryFile(/tmp/multipartBody3343614419463241712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139753059,"filename":"image_20042025_07_46_06_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e199b8a0472a5b2ff777f0a6d64f5ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6905922593923198846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139753059,"filename":"image_20042025_07_45_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abd09fdfa569a6fa6b3b28c891e1aa79.jpg","text":"TemporaryFile(/tmp/multipartBody7860308663202973523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139753059,"filename":"image_20042025_07_45_46_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29737a2a802ce6f145f2624ef54e69d3.jpg","text":"TemporaryFile(/tmp/multipartBody105957987664404667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139753059,"filename":"image_20042025_07_45_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a6cac69d3516e6341a7812ca51403da.jpg","text":"TemporaryFile(/tmp/multipartBody4122567427439736073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139753059,"filename":"image_20042025_07_45_37_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/512160a131f520f9b1b8865edfdfad40.jpg","text":"TemporaryFile(/tmp/multipartBody6735120987092260058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139753059,"filename":"image_20042025_07_45_26_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352188299","file1":"1352188269","file0":"1352188240","file4":"1352188349","file5":"1352188371","file3":"1352188313"},"map_files_photo_id_array":[{"photo_id":"1352188371","filename":"file5"},{"photo_id":"1352188299","filename":"file2"},{"photo_id":"1352188349","filename":"file4"},{"photo_id":"1352188269","filename":"file1"},{"photo_id":"1352188240","filename":"file0"},{"photo_id":"1352188313","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352188371":["hashtag1","hashtag2"]},{"1352188349":["hashtag1","hashtag2"]},{"1352188313":["hashtag1","hashtag2"]},{"1352188240":["hashtag1","hashtag2"]},{"1352188299":["hashtag1","hashtag2"]},{"1352188269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352188371, 1352188349, 1352188313, 1352188240, 1352188299, 1352188269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.52250361442566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:02:32.834603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_16_10358.jpg', '/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_27_10376.jpg', '/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_36_9362.jpg', '/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_46_10380.jpg', '/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_56_9471.jpg', '/home/pi/Desktop/images/20042025/07/46/image_20042025_07_47_06_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_16_10358.jpg
/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_27_10376.jpg
/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_36_9362.jpg
/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_46_10380.jpg
/home/pi/Desktop/images/20042025/07/46/image_20042025_07_46_56_9471.jpg
/home/pi/Desktop/images/20042025/07/46/image_20042025_07_47_06_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352188419","1352188413","1352188416","1352188462","1352188411","1352188435"],"photo_ids_order":["1352188411","1352188413","1352188416","1352188419","1352188435","1352188462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d91aca44f94a312bb6a0266e70b4f07f.jpg","text":"TemporaryFile(/tmp/multipartBody5910581671945632750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139813300,"filename":"image_20042025_07_46_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70f44df528d0d2cf12a636e6c29f4735.jpg","text":"TemporaryFile(/tmp/multipartBody4996249183666365689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139813300,"filename":"image_20042025_07_46_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96fa010194fcaad5c7df257378b821d3.jpg","text":"TemporaryFile(/tmp/multipartBody797020932079012857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139813300,"filename":"image_20042025_07_46_36_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4d7d9a05ea5246f55757e7bdd341117.jpg","text":"TemporaryFile(/tmp/multipartBody6949808053940966518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139813300,"filename":"image_20042025_07_47_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4b3ba12d592507e00d6b805eacca441.jpg","text":"TemporaryFile(/tmp/multipartBody4764002152147020487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139813300,"filename":"image_20042025_07_46_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2c7f1ba074290131e2036bda2e18265.jpg","text":"TemporaryFile(/tmp/multipartBody7825937115509838413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139813300,"filename":"image_20042025_07_46_56_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352188416","file1":"1352188413","file0":"1352188411","file4":"1352188435","file5":"1352188462","file3":"1352188419"},"map_files_photo_id_array":[{"photo_id":"1352188462","filename":"file5"},{"photo_id":"1352188416","filename":"file2"},{"photo_id":"1352188435","filename":"file4"},{"photo_id":"1352188413","filename":"file1"},{"photo_id":"1352188411","filename":"file0"},{"photo_id":"1352188419","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352188419":["hashtag1","hashtag2"]},{"1352188413":["hashtag1","hashtag2"]},{"1352188416":["hashtag1","hashtag2"]},{"1352188462":["hashtag1","hashtag2"]},{"1352188411":["hashtag1","hashtag2"]},{"1352188435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352188419, 1352188413, 1352188416, 1352188462, 1352188411, 1352188435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34480381011963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:03:33.019412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_17_10360.jpg', '/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_26_9451.jpg', '/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_36_10380.jpg', '/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_46_9440.jpg', '/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_56_10421.jpg', '/home/pi/Desktop/images/20042025/07/47/image_20042025_07_48_07_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_17_10360.jpg
/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_26_9451.jpg
/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_36_10380.jpg
/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_46_9440.jpg
/home/pi/Desktop/images/20042025/07/47/image_20042025_07_47_56_10421.jpg
/home/pi/Desktop/images/20042025/07/47/image_20042025_07_48_07_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352189013","1352188911","1352189062","1352188960","1352188858","1352188807"],"photo_ids_order":["1352188807","1352188858","1352188911","1352188960","1352189013","1352189062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a3985c302c49ed2b2708ff4b51985f9.jpg","text":"TemporaryFile(/tmp/multipartBody5642477625479629073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139873489,"filename":"image_20042025_07_47_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d493c8f34164d6838af4aa1e7e22a5b.jpg","text":"TemporaryFile(/tmp/multipartBody1352211628263746718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139873489,"filename":"image_20042025_07_47_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75f2f0eaba07e8f96911f83aa817aeba.jpg","text":"TemporaryFile(/tmp/multipartBody552229556115211907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139873489,"filename":"image_20042025_07_48_07_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d781a8b5e26cc5cd45fdd0033c88f2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5690502901099935882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139873489,"filename":"image_20042025_07_47_46_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d764ed93c1e75182c28ec01091a019ba.jpg","text":"TemporaryFile(/tmp/multipartBody5959100056277024827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139873489,"filename":"image_20042025_07_47_26_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c46a256a6e81e1bb79b2101fc859cfbe.jpg","text":"TemporaryFile(/tmp/multipartBody6846368913977961274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139873489,"filename":"image_20042025_07_47_17_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352188911","file1":"1352188858","file0":"1352188807","file4":"1352189013","file5":"1352189062","file3":"1352188960"},"map_files_photo_id_array":[{"photo_id":"1352189062","filename":"file5"},{"photo_id":"1352188911","filename":"file2"},{"photo_id":"1352189013","filename":"file4"},{"photo_id":"1352188858","filename":"file1"},{"photo_id":"1352188807","filename":"file0"},{"photo_id":"1352188960","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352189013":["hashtag1","hashtag2"]},{"1352188911":["hashtag1","hashtag2"]},{"1352189062":["hashtag1","hashtag2"]},{"1352188960":["hashtag1","hashtag2"]},{"1352188858":["hashtag1","hashtag2"]},{"1352188807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352189013, 1352188911, 1352189062, 1352188960, 1352188858, 1352188807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.784544944763184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:04:32.247450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_16_9431.jpg', '/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_27_10386.jpg', '/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_36_9467.jpg', '/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_46_10479.jpg', '/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_56_9448.jpg', '/home/pi/Desktop/images/20042025/07/48/image_20042025_07_49_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_16_9431.jpg
/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_27_10386.jpg
/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_36_9467.jpg
/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_46_10479.jpg
/home/pi/Desktop/images/20042025/07/48/image_20042025_07_48_56_9448.jpg
/home/pi/Desktop/images/20042025/07/48/image_20042025_07_49_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352189601","1352189528","1352189405","1352189569","1352189482","1352189454"],"photo_ids_order":["1352189405","1352189454","1352189482","1352189528","1352189569","1352189601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f6ae1a46f03110fabf1bd9298cf3049.jpg","text":"TemporaryFile(/tmp/multipartBody4187785661664927017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139932713,"filename":"image_20042025_07_49_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/470347dde66ced79728c0ff8c24f3ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7196664349887701034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139932713,"filename":"image_20042025_07_48_46_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfe57346f41d9bfda71e7485cc13eac1.jpg","text":"TemporaryFile(/tmp/multipartBody6450135433874479956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139932713,"filename":"image_20042025_07_48_16_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8d1946a92946808c6730d25cb30c2ae.jpg","text":"TemporaryFile(/tmp/multipartBody4466352327848432520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139932713,"filename":"image_20042025_07_48_56_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05873d2bb6d78ec22b5b7f3a641376a3.jpg","text":"TemporaryFile(/tmp/multipartBody1817005902259589156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139932713,"filename":"image_20042025_07_48_36_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c49f7fadc9b09c1680a22e26a0987bb.jpg","text":"TemporaryFile(/tmp/multipartBody5776132269170050533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139932713,"filename":"image_20042025_07_48_27_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352189482","file1":"1352189454","file0":"1352189405","file4":"1352189569","file5":"1352189601","file3":"1352189528"},"map_files_photo_id_array":[{"photo_id":"1352189601","filename":"file5"},{"photo_id":"1352189482","filename":"file2"},{"photo_id":"1352189569","filename":"file4"},{"photo_id":"1352189454","filename":"file1"},{"photo_id":"1352189405","filename":"file0"},{"photo_id":"1352189528","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352189601":["hashtag1","hashtag2"]},{"1352189528":["hashtag1","hashtag2"]},{"1352189405":["hashtag1","hashtag2"]},{"1352189569":["hashtag1","hashtag2"]},{"1352189482":["hashtag1","hashtag2"]},{"1352189454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352189601, 1352189528, 1352189405, 1352189569, 1352189482, 1352189454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.250449895858765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:05:32.503103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_17_10444.jpg', '/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_26_9399.jpg', '/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_36_10363.jpg', '/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_46_9401.jpg', '/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_56_10382.jpg', '/home/pi/Desktop/images/20042025/07/49/image_20042025_07_50_07_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_17_10444.jpg
/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_26_9399.jpg
/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_36_10363.jpg
/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_46_9401.jpg
/home/pi/Desktop/images/20042025/07/49/image_20042025_07_49_56_10382.jpg
/home/pi/Desktop/images/20042025/07/49/image_20042025_07_50_07_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352190015","1352189918","1352189941","1352189863","1352189892","1352190093"],"photo_ids_order":["1352189863","1352189892","1352189918","1352189941","1352190015","1352190093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e1e435b009b8424d678e7debbedf219.jpg","text":"TemporaryFile(/tmp/multipartBody2194929450174220600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139992972,"filename":"image_20042025_07_49_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fbce665fe5df8d0d5d9d8ae9c2c7661c.jpg","text":"TemporaryFile(/tmp/multipartBody3216098100421595772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139992972,"filename":"image_20042025_07_49_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad5a7922ef433fcb7565b790eceb0bb6.jpg","text":"TemporaryFile(/tmp/multipartBody6703187008058828556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139992972,"filename":"image_20042025_07_49_46_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5472aebc3fd22b821c26d22d123d7b35.jpg","text":"TemporaryFile(/tmp/multipartBody4336865639725118910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139992972,"filename":"image_20042025_07_49_17_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b713d7f63a555188d17436481ad4e3d5.jpg","text":"TemporaryFile(/tmp/multipartBody3786389018053817014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139992972,"filename":"image_20042025_07_49_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8683ca3cd3d27abddc3b828ee46f0af0.jpg","text":"TemporaryFile(/tmp/multipartBody3469763675644866032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745139992972,"filename":"image_20042025_07_50_07_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352189918","file1":"1352189892","file0":"1352189863","file4":"1352190015","file5":"1352190093","file3":"1352189941"},"map_files_photo_id_array":[{"photo_id":"1352190093","filename":"file5"},{"photo_id":"1352189918","filename":"file2"},{"photo_id":"1352190015","filename":"file4"},{"photo_id":"1352189892","filename":"file1"},{"photo_id":"1352189863","filename":"file0"},{"photo_id":"1352189941","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352190015":["hashtag1","hashtag2"]},{"1352189918":["hashtag1","hashtag2"]},{"1352189941":["hashtag1","hashtag2"]},{"1352189863":["hashtag1","hashtag2"]},{"1352189892":["hashtag1","hashtag2"]},{"1352190093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352190015, 1352189918, 1352189941, 1352189863, 1352189892, 1352190093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.02493977546692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:06:32.715025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_16_9454.jpg', '/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_26_10373.jpg', '/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_36_9361.jpg', '/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_57_10377.jpg', '/home/pi/Desktop/images/20042025/07/50/image_20042025_07_51_06_9391.jpg', '/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_16_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_16_9454.jpg
/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_26_10373.jpg
/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_36_9361.jpg
/home/pi/Desktop/images/20042025/07/50/image_20042025_07_50_57_10377.jpg
/home/pi/Desktop/images/20042025/07/50/image_20042025_07_51_06_9391.jpg
/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_16_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352190426","1352190362","1352190245","1352190515","1352190317","1352190489"],"photo_ids_order":["1352190245","1352190317","1352190362","1352190426","1352190489","1352190515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c61ed69b9e1d81c0acbde01ffb0492ad.jpg","text":"TemporaryFile(/tmp/multipartBody6042071664661968015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140053180,"filename":"image_20042025_07_50_57_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de9b6464fadc5097ea6613d8d6dd661b.jpg","text":"TemporaryFile(/tmp/multipartBody202806419491195343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140053180,"filename":"image_20042025_07_50_36_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d77e4d5d8affc1ceb60952a285d9e901.jpg","text":"TemporaryFile(/tmp/multipartBody6096676877752551027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140053180,"filename":"image_20042025_07_50_16_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ddcdb153ee97769c770d750791965e0.jpg","text":"TemporaryFile(/tmp/multipartBody2795929623529714996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140053180,"filename":"image_20042025_07_51_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c928bb1d6d06e7b6c541acd684c2a03.jpg","text":"TemporaryFile(/tmp/multipartBody8377359074942643249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140053180,"filename":"image_20042025_07_50_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25bb46cfdab8cbf5bd643bd597205fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6944399582606550075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140053180,"filename":"image_20042025_07_51_06_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352190362","file1":"1352190317","file0":"1352190245","file4":"1352190489","file5":"1352190515","file3":"1352190426"},"map_files_photo_id_array":[{"photo_id":"1352190515","filename":"file5"},{"photo_id":"1352190362","filename":"file2"},{"photo_id":"1352190489","filename":"file4"},{"photo_id":"1352190317","filename":"file1"},{"photo_id":"1352190245","filename":"file0"},{"photo_id":"1352190426","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352190426":["hashtag1","hashtag2"]},{"1352190362":["hashtag1","hashtag2"]},{"1352190245":["hashtag1","hashtag2"]},{"1352190515":["hashtag1","hashtag2"]},{"1352190317":["hashtag1","hashtag2"]},{"1352190489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352190426, 1352190362, 1352190245, 1352190515, 1352190317, 1352190489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.097872734069824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:07:32.990102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_26_9384.jpg', '/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_36_10452.jpg', '/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_47_10388.jpg', '/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_56_9389.jpg', '/home/pi/Desktop/images/20042025/07/51/image_20042025_07_52_06_10360.jpg', '/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_17_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_26_9384.jpg
/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_36_10452.jpg
/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_47_10388.jpg
/home/pi/Desktop/images/20042025/07/51/image_20042025_07_51_56_9389.jpg
/home/pi/Desktop/images/20042025/07/51/image_20042025_07_52_06_10360.jpg
/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_17_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352190804","1352190776","1352190653","1352190737","1352190710","1352190682"],"photo_ids_order":["1352190653","1352190682","1352190710","1352190737","1352190776","1352190804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d66c0fa15be6fe7290f2beeefa765aa.jpg","text":"TemporaryFile(/tmp/multipartBody8199329346425906755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140113454,"filename":"image_20042025_07_52_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9196a12eaacee55464ffe69aace692a8.jpg","text":"TemporaryFile(/tmp/multipartBody6542018362271756166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140113454,"filename":"image_20042025_07_52_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dd1ccc1c18b420d3f2833d1b804215f.jpg","text":"TemporaryFile(/tmp/multipartBody5758773412848658400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140113454,"filename":"image_20042025_07_51_26_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d83b2c66b434b4755a4d4301632191b0.jpg","text":"TemporaryFile(/tmp/multipartBody6941381700799883555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140113454,"filename":"image_20042025_07_51_56_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d488703e21fcaae531c5f170468ef575.jpg","text":"TemporaryFile(/tmp/multipartBody2233126908404467206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140113454,"filename":"image_20042025_07_51_47_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91a2cf62c49887ffecd606d436700cc0.jpg","text":"TemporaryFile(/tmp/multipartBody1877428285824609387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140113454,"filename":"image_20042025_07_51_36_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352190710","file1":"1352190682","file0":"1352190653","file4":"1352190776","file5":"1352190804","file3":"1352190737"},"map_files_photo_id_array":[{"photo_id":"1352190804","filename":"file5"},{"photo_id":"1352190710","filename":"file2"},{"photo_id":"1352190776","filename":"file4"},{"photo_id":"1352190682","filename":"file1"},{"photo_id":"1352190653","filename":"file0"},{"photo_id":"1352190737","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352190804":["hashtag1","hashtag2"]},{"1352190776":["hashtag1","hashtag2"]},{"1352190653":["hashtag1","hashtag2"]},{"1352190737":["hashtag1","hashtag2"]},{"1352190710":["hashtag1","hashtag2"]},{"1352190682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352190804, 1352190776, 1352190653, 1352190737, 1352190710, 1352190682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56264567375183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:08:32.154394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_37_10354.jpg', '/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_46_9478.jpg', '/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_56_10383.jpg', '/home/pi/Desktop/images/20042025/07/52/image_20042025_07_53_06_9358.jpg', '/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_16_10414.jpg', '/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_37_10354.jpg
/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_46_9478.jpg
/home/pi/Desktop/images/20042025/07/52/image_20042025_07_52_56_10383.jpg
/home/pi/Desktop/images/20042025/07/52/image_20042025_07_53_06_9358.jpg
/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_16_10414.jpg
/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_27_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352190849","1352190857","1352190860","1352190854","1352190852","1352190846"],"photo_ids_order":["1352190846","1352190849","1352190852","1352190854","1352190857","1352190860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb576bfc260530a65a67b558a5d6767c.jpg","text":"TemporaryFile(/tmp/multipartBody1006918203014855280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140172636,"filename":"image_20042025_07_52_46_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a824904c6b02bf0bf4569c1c3229fe1.jpg","text":"TemporaryFile(/tmp/multipartBody799103129000675627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140172636,"filename":"image_20042025_07_53_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5240c0db5b52e77c84a5c1d101a75daf.jpg","text":"TemporaryFile(/tmp/multipartBody5959044717657699692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140172636,"filename":"image_20042025_07_53_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f40b44814023db5c2c43869df6b57ad.jpg","text":"TemporaryFile(/tmp/multipartBody4345741480201775033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140172636,"filename":"image_20042025_07_53_06_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b15c9bbb2d890784ddee6cc5a0b6679f.jpg","text":"TemporaryFile(/tmp/multipartBody6953810405695220023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140172636,"filename":"image_20042025_07_52_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b97d8fe4b0f0324549be24bc1c8fa89.jpg","text":"TemporaryFile(/tmp/multipartBody7684945737548248415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140172636,"filename":"image_20042025_07_52_37_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352190852","file1":"1352190849","file0":"1352190846","file4":"1352190857","file5":"1352190860","file3":"1352190854"},"map_files_photo_id_array":[{"photo_id":"1352190860","filename":"file5"},{"photo_id":"1352190852","filename":"file2"},{"photo_id":"1352190857","filename":"file4"},{"photo_id":"1352190849","filename":"file1"},{"photo_id":"1352190846","filename":"file0"},{"photo_id":"1352190854","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352190849":["hashtag1","hashtag2"]},{"1352190857":["hashtag1","hashtag2"]},{"1352190860":["hashtag1","hashtag2"]},{"1352190854":["hashtag1","hashtag2"]},{"1352190852":["hashtag1","hashtag2"]},{"1352190846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352190849, 1352190857, 1352190860, 1352190854, 1352190852, 1352190846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.845182418823242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:09:32.384302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_36_9396.jpg', '/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_46_10374.jpg', '/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_57_10372.jpg', '/home/pi/Desktop/images/20042025/07/53/image_20042025_07_54_06_9356.jpg', '/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_16_10373.jpg', '/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_26_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_36_9396.jpg
/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_46_10374.jpg
/home/pi/Desktop/images/20042025/07/53/image_20042025_07_53_57_10372.jpg
/home/pi/Desktop/images/20042025/07/53/image_20042025_07_54_06_9356.jpg
/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_16_10373.jpg
/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_26_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191122","1352191064","1352191004","1352191147","1352191039","1352191095"],"photo_ids_order":["1352191004","1352191039","1352191064","1352191095","1352191122","1352191147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d83475ff4b456cf0ede19f79c1ba1df5.jpg","text":"TemporaryFile(/tmp/multipartBody5227636193719141318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140232863,"filename":"image_20042025_07_54_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5517e2b0662b0b4534e294c169b5c17.jpg","text":"TemporaryFile(/tmp/multipartBody7668725273658799972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140232863,"filename":"image_20042025_07_53_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ade35af831d75e61034e4f2df248c699.jpg","text":"TemporaryFile(/tmp/multipartBody9026250967383327629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140232863,"filename":"image_20042025_07_53_36_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4a18bc1a975591b4d465cbd155c55f7.jpg","text":"TemporaryFile(/tmp/multipartBody3253766167399867534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140232863,"filename":"image_20042025_07_54_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eab0f8b96cec4edcb4b4e2b60aa0dd2d.jpg","text":"TemporaryFile(/tmp/multipartBody665281230502396104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140232863,"filename":"image_20042025_07_53_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30ac3fc94df3be673773f85e664032e2.jpg","text":"TemporaryFile(/tmp/multipartBody143851387019034552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140232863,"filename":"image_20042025_07_54_06_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191064","file1":"1352191039","file0":"1352191004","file4":"1352191122","file5":"1352191147","file3":"1352191095"},"map_files_photo_id_array":[{"photo_id":"1352191147","filename":"file5"},{"photo_id":"1352191064","filename":"file2"},{"photo_id":"1352191122","filename":"file4"},{"photo_id":"1352191039","filename":"file1"},{"photo_id":"1352191004","filename":"file0"},{"photo_id":"1352191095","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352191122":["hashtag1","hashtag2"]},{"1352191064":["hashtag1","hashtag2"]},{"1352191004":["hashtag1","hashtag2"]},{"1352191147":["hashtag1","hashtag2"]},{"1352191039":["hashtag1","hashtag2"]},{"1352191095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352191122, 1352191064, 1352191004, 1352191147, 1352191039, 1352191095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.685253620147705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:10:32.655793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_36_10425.jpg', '/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_47_10366.jpg', '/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_56_9358.jpg', '/home/pi/Desktop/images/20042025/07/54/image_20042025_07_55_06_10358.jpg', '/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_17_10379.jpg', '/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_26_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_36_10425.jpg
/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_47_10366.jpg
/home/pi/Desktop/images/20042025/07/54/image_20042025_07_54_56_9358.jpg
/home/pi/Desktop/images/20042025/07/54/image_20042025_07_55_06_10358.jpg
/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_17_10379.jpg
/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_26_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191221","1352191218","1352191235","1352191231","1352191224","1352191233"],"photo_ids_order":["1352191218","1352191221","1352191224","1352191231","1352191233","1352191235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44bfd40377b0346042cb8b9c7fd025eb.jpg","text":"TemporaryFile(/tmp/multipartBody7059947260717504284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140293129,"filename":"image_20042025_07_54_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7456f87ad5972b30a19415557af343f6.jpg","text":"TemporaryFile(/tmp/multipartBody1783762376955534845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140293129,"filename":"image_20042025_07_54_36_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46596749aa4753851d0a7878157db361.jpg","text":"TemporaryFile(/tmp/multipartBody6641962647188192755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140293129,"filename":"image_20042025_07_55_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0584ae34243ff22a42f942a732272ad.jpg","text":"TemporaryFile(/tmp/multipartBody6768540957898011547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140293129,"filename":"image_20042025_07_55_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0c1c733130f97c8fdfd3de5fe806cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5859507876463022566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140293129,"filename":"image_20042025_07_54_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b286316243ac2a2e3c6f56f3dfeeb3f.jpg","text":"TemporaryFile(/tmp/multipartBody8725468444369529093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140293129,"filename":"image_20042025_07_55_17_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191224","file1":"1352191221","file0":"1352191218","file4":"1352191233","file5":"1352191235","file3":"1352191231"},"map_files_photo_id_array":[{"photo_id":"1352191235","filename":"file5"},{"photo_id":"1352191224","filename":"file2"},{"photo_id":"1352191233","filename":"file4"},{"photo_id":"1352191221","filename":"file1"},{"photo_id":"1352191218","filename":"file0"},{"photo_id":"1352191231","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352191221":["hashtag1","hashtag2"]},{"1352191218":["hashtag1","hashtag2"]},{"1352191235":["hashtag1","hashtag2"]},{"1352191231":["hashtag1","hashtag2"]},{"1352191224":["hashtag1","hashtag2"]},{"1352191233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352191221, 1352191218, 1352191235, 1352191231, 1352191224, 1352191233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.629716873168945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:11:33.037378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_37_10522.jpg', '/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_46_9496.jpg', '/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_57_10376.jpg', '/home/pi/Desktop/images/20042025/07/55/image_20042025_07_56_06_9417.jpg', '/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_16_10401.jpg', '/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_27_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_37_10522.jpg
/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_46_9496.jpg
/home/pi/Desktop/images/20042025/07/55/image_20042025_07_55_57_10376.jpg
/home/pi/Desktop/images/20042025/07/55/image_20042025_07_56_06_9417.jpg
/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_16_10401.jpg
/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_27_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191322","1352191430","1352191348","1352191293","1352191374","1352191404"],"photo_ids_order":["1352191293","1352191322","1352191348","1352191374","1352191404","1352191430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47e2dd6ba5211a8f39e2952aadda9407.jpg","text":"TemporaryFile(/tmp/multipartBody1034664669435446188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140353500,"filename":"image_20042025_07_55_46_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9caf01740a02aa8be0ef6b2e10a1c331.jpg","text":"TemporaryFile(/tmp/multipartBody4285130702445154471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140353500,"filename":"image_20042025_07_56_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cdb9d686d2f61e7740c18314bf82b27.jpg","text":"TemporaryFile(/tmp/multipartBody1778207489836825576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140353500,"filename":"image_20042025_07_55_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/517f48f33dc32c05b11647f82dc8ce5f.jpg","text":"TemporaryFile(/tmp/multipartBody4375336772412809421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140353500,"filename":"image_20042025_07_55_37_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17a08f01d819d9fb0ac9c0678f9865fd.jpg","text":"TemporaryFile(/tmp/multipartBody5268691677213966309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140353500,"filename":"image_20042025_07_56_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/038cd6ea189a4cd9457fdae9085603b2.jpg","text":"TemporaryFile(/tmp/multipartBody3732862189214454500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140353500,"filename":"image_20042025_07_56_16_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191348","file1":"1352191322","file0":"1352191293","file4":"1352191404","file5":"1352191430","file3":"1352191374"},"map_files_photo_id_array":[{"photo_id":"1352191430","filename":"file5"},{"photo_id":"1352191348","filename":"file2"},{"photo_id":"1352191404","filename":"file4"},{"photo_id":"1352191322","filename":"file1"},{"photo_id":"1352191293","filename":"file0"},{"photo_id":"1352191374","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352191322":["hashtag1","hashtag2"]},{"1352191430":["hashtag1","hashtag2"]},{"1352191348":["hashtag1","hashtag2"]},{"1352191293":["hashtag1","hashtag2"]},{"1352191374":["hashtag1","hashtag2"]},{"1352191404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352191322, 1352191430, 1352191348, 1352191293, 1352191374, 1352191404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.255701780319214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:12:33.108544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_36_9422.jpg', '/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_47_10381.jpg', '/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_56_9422.jpg', '/home/pi/Desktop/images/20042025/07/56/image_20042025_07_57_06_10447.jpg', '/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_16_9393.jpg', '/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_26_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_36_9422.jpg
/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_47_10381.jpg
/home/pi/Desktop/images/20042025/07/56/image_20042025_07_56_56_9422.jpg
/home/pi/Desktop/images/20042025/07/56/image_20042025_07_57_06_10447.jpg
/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_16_9393.jpg
/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_26_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191481","1352191478","1352191492","1352191489","1352191483","1352191486"],"photo_ids_order":["1352191478","1352191481","1352191483","1352191486","1352191489","1352191492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d4d17e902831c39c11a5629c1e09d66.jpg","text":"TemporaryFile(/tmp/multipartBody7912746820747816640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140413590,"filename":"image_20042025_07_56_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27787ec9a6595408e713bd15fd800a11.jpg","text":"TemporaryFile(/tmp/multipartBody4323496695631006766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140413590,"filename":"image_20042025_07_56_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7d9fa5a20ae521791eac1f0b179945c.jpg","text":"TemporaryFile(/tmp/multipartBody5352213104807664353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140413590,"filename":"image_20042025_07_57_26_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83b9c54564b9283b2a9296d699854fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6389879620175017743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140413590,"filename":"image_20042025_07_57_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdd96d81752ca731c7c89e92da53147e.jpg","text":"TemporaryFile(/tmp/multipartBody933731815055629947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140413590,"filename":"image_20042025_07_56_56_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c524459bdf59d6072d29e4682326d31.jpg","text":"TemporaryFile(/tmp/multipartBody5359322062854099502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140413590,"filename":"image_20042025_07_57_06_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191483","file1":"1352191481","file0":"1352191478","file4":"1352191489","file5":"1352191492","file3":"1352191486"},"map_files_photo_id_array":[{"photo_id":"1352191492","filename":"file5"},{"photo_id":"1352191483","filename":"file2"},{"photo_id":"1352191489","filename":"file4"},{"photo_id":"1352191481","filename":"file1"},{"photo_id":"1352191478","filename":"file0"},{"photo_id":"1352191486","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352191481":["hashtag1","hashtag2"]},{"1352191478":["hashtag1","hashtag2"]},{"1352191492":["hashtag1","hashtag2"]},{"1352191489":["hashtag1","hashtag2"]},{"1352191483":["hashtag1","hashtag2"]},{"1352191486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352191481, 1352191478, 1352191492, 1352191489, 1352191483, 1352191486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.965456247329712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:13:32.511034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_37_10440.jpg', '/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_46_9375.jpg', '/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_56_10393.jpg', '/home/pi/Desktop/images/20042025/07/57/image_20042025_07_58_06_9425.jpg', '/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_16_10373.jpg', '/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_27_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_37_10440.jpg
/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_46_9375.jpg
/home/pi/Desktop/images/20042025/07/57/image_20042025_07_57_56_10393.jpg
/home/pi/Desktop/images/20042025/07/57/image_20042025_07_58_06_9425.jpg
/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_16_10373.jpg
/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_27_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191694","1352191532","1352191669","1352191642","1352191507","1352191560"],"photo_ids_order":["1352191507","1352191532","1352191560","1352191642","1352191669","1352191694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ab31a0ec5a84c1fe937e8d581755eee.jpg","text":"TemporaryFile(/tmp/multipartBody7406736765576522054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140472981,"filename":"image_20042025_07_58_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f579c62eebaac3722ca7a887b01b9bdf.jpg","text":"TemporaryFile(/tmp/multipartBody155089614131127739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140472981,"filename":"image_20042025_07_57_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06490cf44f73f9d46c60e21ac52eea6d.jpg","text":"TemporaryFile(/tmp/multipartBody7471841009296091701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140472981,"filename":"image_20042025_07_58_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06088ce430bc3b62b1dafb48fbcd320d.jpg","text":"TemporaryFile(/tmp/multipartBody6140982266334375719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140472981,"filename":"image_20042025_07_58_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef45024be91e57d67b8dec1138d500d5.jpg","text":"TemporaryFile(/tmp/multipartBody8673666398617881100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140472981,"filename":"image_20042025_07_57_37_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9936fa07354139669e3bd16b69132b60.jpg","text":"TemporaryFile(/tmp/multipartBody6043958294516582843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140472981,"filename":"image_20042025_07_57_56_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191560","file1":"1352191532","file0":"1352191507","file4":"1352191669","file5":"1352191694","file3":"1352191642"},"map_files_photo_id_array":[{"photo_id":"1352191694","filename":"file5"},{"photo_id":"1352191560","filename":"file2"},{"photo_id":"1352191669","filename":"file4"},{"photo_id":"1352191532","filename":"file1"},{"photo_id":"1352191507","filename":"file0"},{"photo_id":"1352191642","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352191694":["hashtag1","hashtag2"]},{"1352191532":["hashtag1","hashtag2"]},{"1352191669":["hashtag1","hashtag2"]},{"1352191642":["hashtag1","hashtag2"]},{"1352191507":["hashtag1","hashtag2"]},{"1352191560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352191694, 1352191532, 1352191669, 1352191642, 1352191507, 1352191560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.382652282714844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:14:32.647388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_36_9451.jpg', '/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_46_10359.jpg', '/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_56_9544.jpg', '/home/pi/Desktop/images/20042025/07/58/image_20042025_07_59_06_10365.jpg', '/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_17_10369.jpg', '/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_26_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_36_9451.jpg
/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_46_10359.jpg
/home/pi/Desktop/images/20042025/07/58/image_20042025_07_58_56_9544.jpg
/home/pi/Desktop/images/20042025/07/58/image_20042025_07_59_06_10365.jpg
/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_17_10369.jpg
/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_26_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191910","1352191888","1352191903","1352191906","1352191899","1352191908"],"photo_ids_order":["1352191888","1352191899","1352191903","1352191906","1352191908","1352191910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fc8b47cde9b55295ef4067592d7b61c.jpg","text":"TemporaryFile(/tmp/multipartBody2258831341127448337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140533128,"filename":"image_20042025_07_59_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18cb22b4a738d4c2245cd712bb57ac79.jpg","text":"TemporaryFile(/tmp/multipartBody4229357885920285946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140533128,"filename":"image_20042025_07_58_36_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4010a39408d7fa9bd0919177020f22c5.jpg","text":"TemporaryFile(/tmp/multipartBody1160039680955289033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140533128,"filename":"image_20042025_07_58_56_9544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0837b5ba0fd9068e3e341274d34ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody7017062875471490941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140533128,"filename":"image_20042025_07_59_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f02eb411a407d01821b9412aeca13ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8048539920411600129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140533128,"filename":"image_20042025_07_58_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4c9446c6dfe923585760bae6a632f47.jpg","text":"TemporaryFile(/tmp/multipartBody5066106499853439075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140533128,"filename":"image_20042025_07_59_17_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191903","file1":"1352191899","file0":"1352191888","file4":"1352191908","file5":"1352191910","file3":"1352191906"},"map_files_photo_id_array":[{"photo_id":"1352191910","filename":"file5"},{"photo_id":"1352191903","filename":"file2"},{"photo_id":"1352191908","filename":"file4"},{"photo_id":"1352191899","filename":"file1"},{"photo_id":"1352191888","filename":"file0"},{"photo_id":"1352191906","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352191910":["hashtag1","hashtag2"]},{"1352191888":["hashtag1","hashtag2"]},{"1352191903":["hashtag1","hashtag2"]},{"1352191906":["hashtag1","hashtag2"]},{"1352191899":["hashtag1","hashtag2"]},{"1352191908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352191910, 1352191888, 1352191903, 1352191906, 1352191899, 1352191908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.897669315338135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:15:32.892481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_36_10356.jpg', '/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_46_9374.jpg', '/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_56_10458.jpg', '/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_14_10077.jpg', '/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_24_10376.jpg', '/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_35_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_36_10356.jpg
/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_46_9374.jpg
/home/pi/Desktop/images/20042025/07/59/image_20042025_07_59_56_10458.jpg
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_14_10077.jpg
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_24_10376.jpg
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_35_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191931","1352191928","1352191933","1352191924","1352191932","1352191926"],"photo_ids_order":["1352191924","1352191926","1352191928","1352191931","1352191932","1352191933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d333bf368af3b5e6de315d4f3553d064.jpg","text":"TemporaryFile(/tmp/multipartBody4858598437639868685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140593366,"filename":"image_20042025_08_01_14_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d40e510221ed362a890843800a342eae.jpg","text":"TemporaryFile(/tmp/multipartBody1340584918968038153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140593366,"filename":"image_20042025_07_59_56_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/784c3a3f87929bb4611d8010328d7ed1.jpg","text":"TemporaryFile(/tmp/multipartBody3019278213543016833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140593366,"filename":"image_20042025_08_01_35_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55217de8dd014976c8ee140a59717d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3386079886259147818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140593366,"filename":"image_20042025_07_59_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7337101ecb7d8c526715d0fb32a120f.jpg","text":"TemporaryFile(/tmp/multipartBody4411787896948399576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140593366,"filename":"image_20042025_08_01_24_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae61d880e66937a71a724d24273a7e9b.jpg","text":"TemporaryFile(/tmp/multipartBody1186385914595728416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140593366,"filename":"image_20042025_07_59_46_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191928","file1":"1352191926","file0":"1352191924","file4":"1352191932","file5":"1352191933","file3":"1352191931"},"map_files_photo_id_array":[{"photo_id":"1352191933","filename":"file5"},{"photo_id":"1352191928","filename":"file2"},{"photo_id":"1352191932","filename":"file4"},{"photo_id":"1352191926","filename":"file1"},{"photo_id":"1352191924","filename":"file0"},{"photo_id":"1352191931","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352191931":["hashtag1","hashtag2"]},{"1352191928":["hashtag1","hashtag2"]},{"1352191933":["hashtag1","hashtag2"]},{"1352191924":["hashtag1","hashtag2"]},{"1352191932":["hashtag1","hashtag2"]},{"1352191926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352191931, 1352191928, 1352191933, 1352191924, 1352191932, 1352191926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.721503496170044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:16:33.065088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_44_9435.jpg', '/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_55_10373.jpg', '/home/pi/Desktop/images/20042025/08/01/image_20042025_08_02_04_9486.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_14_10363.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_25_10375.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_34_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_44_9435.jpg
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_55_10373.jpg
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_02_04_9486.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_14_10363.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_25_10375.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_34_9439.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38513636589050293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:16:43.040728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_44_9435.jpg', '/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_55_10373.jpg', '/home/pi/Desktop/images/20042025/08/01/image_20042025_08_02_04_9486.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_14_10363.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_25_10375.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_34_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_44_9435.jpg
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_01_55_10373.jpg
/home/pi/Desktop/images/20042025/08/01/image_20042025_08_02_04_9486.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_14_10363.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_25_10375.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_34_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352192180","1352192057","1352192155","1352192113","1352192031","1352192084"],"photo_ids_order":["1352192031","1352192057","1352192084","1352192113","1352192155","1352192180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef078f11941de438662c6185318fa6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3317605509088248783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140663508,"filename":"image_20042025_08_02_34_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfa8b842972f6243e83b7dd807614f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2103163295610727109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140663508,"filename":"image_20042025_08_01_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dba1413034ba31c0fee36ffe0bcd552f.jpg","text":"TemporaryFile(/tmp/multipartBody1894507123785212892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140663508,"filename":"image_20042025_08_02_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df3af931f3e6a46608d6cf4db5f11197.jpg","text":"TemporaryFile(/tmp/multipartBody4953867634927754529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140663508,"filename":"image_20042025_08_02_14_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/129c0786f73a2d0e38a1f0762748896f.jpg","text":"TemporaryFile(/tmp/multipartBody5248773020725911508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140663508,"filename":"image_20042025_08_01_44_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbdcd0e39805f3cac119311051df317b.jpg","text":"TemporaryFile(/tmp/multipartBody1890755956776452780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140663508,"filename":"image_20042025_08_02_04_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352192084","file1":"1352192057","file0":"1352192031","file4":"1352192155","file5":"1352192180","file3":"1352192113"},"map_files_photo_id_array":[{"photo_id":"1352192180","filename":"file5"},{"photo_id":"1352192084","filename":"file2"},{"photo_id":"1352192155","filename":"file4"},{"photo_id":"1352192057","filename":"file1"},{"photo_id":"1352192031","filename":"file0"},{"photo_id":"1352192113","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352192180":["hashtag1","hashtag2"]},{"1352192057":["hashtag1","hashtag2"]},{"1352192155":["hashtag1","hashtag2"]},{"1352192113":["hashtag1","hashtag2"]},{"1352192031":["hashtag1","hashtag2"]},{"1352192084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352192180, 1352192057, 1352192155, 1352192113, 1352192031, 1352192084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15596675872803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:17:32.234264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_45_10379.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_54_9487.jpg', '/home/pi/Desktop/images/20042025/08/02/image_20042025_08_03_04_10373.jpg', '/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_15_10365.jpg', '/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_24_9422.jpg', '/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_35_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_45_10379.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_02_54_9487.jpg
/home/pi/Desktop/images/20042025/08/02/image_20042025_08_03_04_10373.jpg
/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_15_10365.jpg
/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_24_9422.jpg
/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_35_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352192596","1352192494","1352192647","1352192443","1352192544","1352192376"],"photo_ids_order":["1352192376","1352192443","1352192494","1352192544","1352192596","1352192647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89073117ab7e18c861d1e05783d8e199.jpg","text":"TemporaryFile(/tmp/multipartBody1618339489705583329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140712718,"filename":"image_20042025_08_03_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97ee6e2f484f4e7e2b198b6a4c411066.jpg","text":"TemporaryFile(/tmp/multipartBody8319435056671925909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140712718,"filename":"image_20042025_08_03_04_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a9d7407f94775dc40637b166a376ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3866341853593983960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140712718,"filename":"image_20042025_08_03_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20f9faf00948c1a04a6931957d831810.jpg","text":"TemporaryFile(/tmp/multipartBody4683876717664011592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140712718,"filename":"image_20042025_08_02_54_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8d19672f6e9d71716055f4482bef4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4496826772976304572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140712718,"filename":"image_20042025_08_03_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddd9101b18e28bfb6266992d408e0cca.jpg","text":"TemporaryFile(/tmp/multipartBody2229049923389182264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140712718,"filename":"image_20042025_08_02_45_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352192494","file1":"1352192443","file0":"1352192376","file4":"1352192596","file5":"1352192647","file3":"1352192544"},"map_files_photo_id_array":[{"photo_id":"1352192647","filename":"file5"},{"photo_id":"1352192494","filename":"file2"},{"photo_id":"1352192596","filename":"file4"},{"photo_id":"1352192443","filename":"file1"},{"photo_id":"1352192376","filename":"file0"},{"photo_id":"1352192544","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352192596":["hashtag1","hashtag2"]},{"1352192494":["hashtag1","hashtag2"]},{"1352192647":["hashtag1","hashtag2"]},{"1352192443":["hashtag1","hashtag2"]},{"1352192544":["hashtag1","hashtag2"]},{"1352192376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352192596, 1352192494, 1352192647, 1352192443, 1352192544, 1352192376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88269519805908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:18:32.463181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_44_9416.jpg', '/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_54_10370.jpg', '/home/pi/Desktop/images/20042025/08/03/image_20042025_08_04_05_10388.jpg', '/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_14_9400.jpg', '/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_25_10369.jpg', '/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_34_9486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_44_9416.jpg
/home/pi/Desktop/images/20042025/08/03/image_20042025_08_03_54_10370.jpg
/home/pi/Desktop/images/20042025/08/03/image_20042025_08_04_05_10388.jpg
/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_14_9400.jpg
/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_25_10369.jpg
/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_34_9486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352193337","1352193310","1352193115","1352193162","1352193263","1352193212"],"photo_ids_order":["1352193115","1352193162","1352193212","1352193263","1352193310","1352193337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/566e71e8ec321b23e50537101b88e17f.jpg","text":"TemporaryFile(/tmp/multipartBody4284481611693503784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140772955,"filename":"image_20042025_08_04_34_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb6e3d30729628d7f22d0e37d90de8f6.jpg","text":"TemporaryFile(/tmp/multipartBody7276201810906831688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140772955,"filename":"image_20042025_08_04_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07f77367f477624b096679cec118e1a6.jpg","text":"TemporaryFile(/tmp/multipartBody4873279909609876412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140772955,"filename":"image_20042025_08_03_44_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb5d671cf40a0f9a02da889d49495425.jpg","text":"TemporaryFile(/tmp/multipartBody6909658325612628307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140772955,"filename":"image_20042025_08_03_54_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9936598b6147a32ed80cd9d8e257bc07.jpg","text":"TemporaryFile(/tmp/multipartBody7669262228687971949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140772955,"filename":"image_20042025_08_04_14_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/064be0feb3c79b3d205e884040278532.jpg","text":"TemporaryFile(/tmp/multipartBody7558079517439464695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140772955,"filename":"image_20042025_08_04_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352193212","file1":"1352193162","file0":"1352193115","file4":"1352193310","file5":"1352193337","file3":"1352193263"},"map_files_photo_id_array":[{"photo_id":"1352193337","filename":"file5"},{"photo_id":"1352193212","filename":"file2"},{"photo_id":"1352193310","filename":"file4"},{"photo_id":"1352193162","filename":"file1"},{"photo_id":"1352193115","filename":"file0"},{"photo_id":"1352193263","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352193337":["hashtag1","hashtag2"]},{"1352193310":["hashtag1","hashtag2"]},{"1352193115":["hashtag1","hashtag2"]},{"1352193162":["hashtag1","hashtag2"]},{"1352193263":["hashtag1","hashtag2"]},{"1352193212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352193337, 1352193310, 1352193115, 1352193162, 1352193263, 1352193212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.24016284942627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:19:32.638269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_44_10367.jpg', '/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_55_10368.jpg', '/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_24_9481.jpg', '/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_34_10383.jpg', '/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_44_9506.jpg', '/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_54_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_44_10367.jpg
/home/pi/Desktop/images/20042025/08/04/image_20042025_08_04_55_10368.jpg
/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_24_9481.jpg
/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_34_10383.jpg
/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_44_9506.jpg
/home/pi/Desktop/images/20042025/08/05/image_20042025_08_05_54_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352193760","1352193844","1352193789","1352193900","1352193726","1352193872"],"photo_ids_order":["1352193726","1352193760","1352193789","1352193844","1352193872","1352193900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7602761598ed7273cd4ced747111e47a.jpg","text":"TemporaryFile(/tmp/multipartBody8515441285668910510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140833110,"filename":"image_20042025_08_04_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b84008d8cae18b491ecabcb610d0196a.jpg","text":"TemporaryFile(/tmp/multipartBody7050464800910183681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140833110,"filename":"image_20042025_08_05_34_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f23825223c116da7770fd0139d2b01f8.jpg","text":"TemporaryFile(/tmp/multipartBody771945330004036563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140833110,"filename":"image_20042025_08_05_24_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53a85680b0a8fbb0bebb6ef81662090a.jpg","text":"TemporaryFile(/tmp/multipartBody7775876132620482112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140833110,"filename":"image_20042025_08_05_54_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfcff07416090447cff0a0aed23beb31.jpg","text":"TemporaryFile(/tmp/multipartBody9008513816853005728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140833110,"filename":"image_20042025_08_04_44_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f649045276b46e4f8a1530bd2bb7ab27.jpg","text":"TemporaryFile(/tmp/multipartBody6328453406673975576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140833110,"filename":"image_20042025_08_05_44_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352193789","file1":"1352193760","file0":"1352193726","file4":"1352193872","file5":"1352193900","file3":"1352193844"},"map_files_photo_id_array":[{"photo_id":"1352193900","filename":"file5"},{"photo_id":"1352193789","filename":"file2"},{"photo_id":"1352193872","filename":"file4"},{"photo_id":"1352193760","filename":"file1"},{"photo_id":"1352193726","filename":"file0"},{"photo_id":"1352193844","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352193760":["hashtag1","hashtag2"]},{"1352193844":["hashtag1","hashtag2"]},{"1352193789":["hashtag1","hashtag2"]},{"1352193900":["hashtag1","hashtag2"]},{"1352193726":["hashtag1","hashtag2"]},{"1352193872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352193760, 1352193844, 1352193789, 1352193900, 1352193726, 1352193872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.26166820526123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:20:32.907916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/05/image_20042025_08_06_05_10368.jpg', '/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_14_9369.jpg', '/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_24_10376.jpg', '/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_34_9418.jpg', '/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_44_10481.jpg', '/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_55_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/05/image_20042025_08_06_05_10368.jpg
/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_14_9369.jpg
/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_24_10376.jpg
/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_34_9418.jpg
/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_44_10481.jpg
/home/pi/Desktop/images/20042025/08/06/image_20042025_08_06_55_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352194420","1352194368","1352194394","1352194289","1352194343","1352194316"],"photo_ids_order":["1352194289","1352194316","1352194343","1352194368","1352194394","1352194420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/002333756f1d05735b4cc7ee0b843fd6.jpg","text":"TemporaryFile(/tmp/multipartBody4939516835398801086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140893376,"filename":"image_20042025_08_06_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca0406e3e7b88c604239ebbeee774ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4526747240176743717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140893376,"filename":"image_20042025_08_06_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72178a991a70562224b964d855039c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2620519878040596060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140893376,"filename":"image_20042025_08_06_44_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b5b2a53bbee4a1b95a1926130549937.jpg","text":"TemporaryFile(/tmp/multipartBody3810043656750488759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140893376,"filename":"image_20042025_08_06_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9218c097565e3c911f37d87f66c2bef3.jpg","text":"TemporaryFile(/tmp/multipartBody4242786945800814369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140893376,"filename":"image_20042025_08_06_24_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3f745d51c93e3719801683458f34519.jpg","text":"TemporaryFile(/tmp/multipartBody8964088978614489715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140893376,"filename":"image_20042025_08_06_14_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352194343","file1":"1352194316","file0":"1352194289","file4":"1352194394","file5":"1352194420","file3":"1352194368"},"map_files_photo_id_array":[{"photo_id":"1352194420","filename":"file5"},{"photo_id":"1352194343","filename":"file2"},{"photo_id":"1352194394","filename":"file4"},{"photo_id":"1352194316","filename":"file1"},{"photo_id":"1352194289","filename":"file0"},{"photo_id":"1352194368","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352194420":["hashtag1","hashtag2"]},{"1352194368":["hashtag1","hashtag2"]},{"1352194394":["hashtag1","hashtag2"]},{"1352194289":["hashtag1","hashtag2"]},{"1352194343":["hashtag1","hashtag2"]},{"1352194316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352194420, 1352194368, 1352194394, 1352194289, 1352194343, 1352194316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15364933013916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:21:33.151578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/06/image_20042025_08_07_04_9377.jpg', '/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_15_10363.jpg', '/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_24_9466.jpg', '/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_34_10372.jpg', '/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_45_10374.jpg', '/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_54_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/06/image_20042025_08_07_04_9377.jpg
/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_15_10363.jpg
/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_24_9466.jpg
/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_34_10372.jpg
/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_45_10374.jpg
/home/pi/Desktop/images/20042025/08/07/image_20042025_08_07_54_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352195327","1352195228","1352195024","1352195173","1352195275","1352195113"],"photo_ids_order":["1352195024","1352195113","1352195173","1352195228","1352195275","1352195327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5ee53bbae80c2605377045b43ade404.jpg","text":"TemporaryFile(/tmp/multipartBody7646607029029544628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140953619,"filename":"image_20042025_08_07_54_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d5b291f5a87cd38e30848583a4dbc9b.jpg","text":"TemporaryFile(/tmp/multipartBody4419542631759204143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140953619,"filename":"image_20042025_08_07_34_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa98d85ead0984b6a3fd190d3fa4b4f8.jpg","text":"TemporaryFile(/tmp/multipartBody3597987219700020493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140953619,"filename":"image_20042025_08_07_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9415b5b9b635de29ee284b826c8255b3.jpg","text":"TemporaryFile(/tmp/multipartBody6772456933078487595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140953619,"filename":"image_20042025_08_07_24_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e2ce738cbc6f4b4e130f69dfdfc014c.jpg","text":"TemporaryFile(/tmp/multipartBody6448204951594665030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140953619,"filename":"image_20042025_08_07_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f02fbff294a899c5ffeb8fcc7c731d5.jpg","text":"TemporaryFile(/tmp/multipartBody6089497370140797778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745140953619,"filename":"image_20042025_08_07_15_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352195173","file1":"1352195113","file0":"1352195024","file4":"1352195275","file5":"1352195327","file3":"1352195228"},"map_files_photo_id_array":[{"photo_id":"1352195327","filename":"file5"},{"photo_id":"1352195173","filename":"file2"},{"photo_id":"1352195275","filename":"file4"},{"photo_id":"1352195113","filename":"file1"},{"photo_id":"1352195024","filename":"file0"},{"photo_id":"1352195228","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352195327":["hashtag1","hashtag2"]},{"1352195228":["hashtag1","hashtag2"]},{"1352195024":["hashtag1","hashtag2"]},{"1352195173":["hashtag1","hashtag2"]},{"1352195275":["hashtag1","hashtag2"]},{"1352195113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352195327, 1352195228, 1352195024, 1352195173, 1352195275, 1352195113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.010530710220337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:22:32.289071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/07/image_20042025_08_08_05_10386.jpg', '/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_14_9419.jpg', '/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_24_10369.jpg', '/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_35_10385.jpg', '/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_44_9432.jpg', '/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/07/image_20042025_08_08_05_10386.jpg
/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_14_9419.jpg
/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_24_10369.jpg
/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_35_10385.jpg
/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_44_9432.jpg
/home/pi/Desktop/images/20042025/08/08/image_20042025_08_08_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352195769","1352195882","1352195802","1352195744","1352195956","1352196016"],"photo_ids_order":["1352195744","1352195769","1352195802","1352195882","1352195956","1352196016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1ebf18c00334b2917a044fdc0cdb8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7961516233214361437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141012764,"filename":"image_20042025_08_08_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcecebdfe2aa82833759716c4d2e7477.jpg","text":"TemporaryFile(/tmp/multipartBody5813628405534251178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141012764,"filename":"image_20042025_08_08_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58ac06bba641749b5e9b544201a5acf8.jpg","text":"TemporaryFile(/tmp/multipartBody7469144760753080101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141012764,"filename":"image_20042025_08_08_24_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19c140090fa001ece2b5f8184a19434b.jpg","text":"TemporaryFile(/tmp/multipartBody5950299358592186903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141012764,"filename":"image_20042025_08_08_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a5aed8ad3a50d31e2252f73b1c07ae2.jpg","text":"TemporaryFile(/tmp/multipartBody4681638465491920475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141012764,"filename":"image_20042025_08_08_44_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/228f43dff25af22a040305d8f4f52b22.jpg","text":"TemporaryFile(/tmp/multipartBody6656060859900695706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141012764,"filename":"image_20042025_08_08_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352195802","file1":"1352195769","file0":"1352195744","file4":"1352195956","file5":"1352196016","file3":"1352195882"},"map_files_photo_id_array":[{"photo_id":"1352196016","filename":"file5"},{"photo_id":"1352195802","filename":"file2"},{"photo_id":"1352195956","filename":"file4"},{"photo_id":"1352195769","filename":"file1"},{"photo_id":"1352195744","filename":"file0"},{"photo_id":"1352195882","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352195769":["hashtag1","hashtag2"]},{"1352195882":["hashtag1","hashtag2"]},{"1352195802":["hashtag1","hashtag2"]},{"1352195744":["hashtag1","hashtag2"]},{"1352195956":["hashtag1","hashtag2"]},{"1352196016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352195769, 1352195882, 1352195802, 1352195744, 1352195956, 1352196016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27677655220032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:23:32.508655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/08/image_20042025_08_09_04_9550.jpg', '/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_14_10354.jpg', '/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_24_9433.jpg', '/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_34_10354.jpg', '/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_45_10382.jpg', '/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_54_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/08/image_20042025_08_09_04_9550.jpg
/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_14_10354.jpg
/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_24_9433.jpg
/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_34_10354.jpg
/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_45_10382.jpg
/home/pi/Desktop/images/20042025/08/09/image_20042025_08_09_54_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352196497","1352196665","1352196812","1352196617","1352196715","1352196549"],"photo_ids_order":["1352196497","1352196549","1352196617","1352196665","1352196715","1352196812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7eda393c4727d9e58717ddd38c37f141.jpg","text":"TemporaryFile(/tmp/multipartBody2727735743068283687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141072984,"filename":"image_20042025_08_09_04_9550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5762839a020e6eeefbf6a87d45d2d2cd.jpg","text":"TemporaryFile(/tmp/multipartBody3684938920659733620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141072984,"filename":"image_20042025_08_09_34_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e445ffc7a09a44d07cd058a853d87a82.jpg","text":"TemporaryFile(/tmp/multipartBody3808435089491867061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141072984,"filename":"image_20042025_08_09_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fabface487f96312f0f6825ad38e0abc.jpg","text":"TemporaryFile(/tmp/multipartBody5091270722390084857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141072984,"filename":"image_20042025_08_09_24_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10d50bc9a7c9899b89852fa473624e06.jpg","text":"TemporaryFile(/tmp/multipartBody1420031596065309012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141072984,"filename":"image_20042025_08_09_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d42315160bdf4fb11cb1e85637634250.jpg","text":"TemporaryFile(/tmp/multipartBody8911726850679224238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141072984,"filename":"image_20042025_08_09_14_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352196617","file1":"1352196549","file0":"1352196497","file4":"1352196715","file5":"1352196812","file3":"1352196665"},"map_files_photo_id_array":[{"photo_id":"1352196812","filename":"file5"},{"photo_id":"1352196617","filename":"file2"},{"photo_id":"1352196715","filename":"file4"},{"photo_id":"1352196549","filename":"file1"},{"photo_id":"1352196497","filename":"file0"},{"photo_id":"1352196665","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352196497":["hashtag1","hashtag2"]},{"1352196665":["hashtag1","hashtag2"]},{"1352196812":["hashtag1","hashtag2"]},{"1352196617":["hashtag1","hashtag2"]},{"1352196715":["hashtag1","hashtag2"]},{"1352196549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352196497, 1352196665, 1352196812, 1352196617, 1352196715, 1352196549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03974437713623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:24:32.737493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/09/image_20042025_08_10_04_10369.jpg', '/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_15_10378.jpg', '/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_24_9374.jpg', '/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_34_10372.jpg', '/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_44_9474.jpg', '/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_54_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/09/image_20042025_08_10_04_10369.jpg
/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_15_10378.jpg
/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_24_9374.jpg
/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_34_10372.jpg
/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_44_9474.jpg
/home/pi/Desktop/images/20042025/08/10/image_20042025_08_10_54_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352197957","1352198376","1352198553","1352198814","1352198180","1352198747"],"photo_ids_order":["1352197957","1352198180","1352198376","1352198553","1352198747","1352198814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21c120a4ac99c41b9805f3d2ae7db2db.jpg","text":"TemporaryFile(/tmp/multipartBody6375503940436163903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141133204,"filename":"image_20042025_08_10_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4110ef0badd026fa354930adbd03601.jpg","text":"TemporaryFile(/tmp/multipartBody3632381505724984292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141133204,"filename":"image_20042025_08_10_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de2450b5f1adb6296cdca50d904a76f.jpg","text":"TemporaryFile(/tmp/multipartBody3062939280360044589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141133204,"filename":"image_20042025_08_10_34_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a0634bc940cabc96517f101c82f815a.jpg","text":"TemporaryFile(/tmp/multipartBody5428112955898778567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141133204,"filename":"image_20042025_08_10_54_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/310ea131d88f3f479098ba7e7771f1f0.jpg","text":"TemporaryFile(/tmp/multipartBody2051094413407065724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141133204,"filename":"image_20042025_08_10_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31e1df9467b78a91cc2180b07b295c57.jpg","text":"TemporaryFile(/tmp/multipartBody8622259758389793199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141133204,"filename":"image_20042025_08_10_44_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198376","file1":"1352198180","file0":"1352197957","file4":"1352198747","file5":"1352198814","file3":"1352198553"},"map_files_photo_id_array":[{"photo_id":"1352198814","filename":"file5"},{"photo_id":"1352198376","filename":"file2"},{"photo_id":"1352198747","filename":"file4"},{"photo_id":"1352198180","filename":"file1"},{"photo_id":"1352197957","filename":"file0"},{"photo_id":"1352198553","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352197957":["hashtag1","hashtag2"]},{"1352198376":["hashtag1","hashtag2"]},{"1352198553":["hashtag1","hashtag2"]},{"1352198814":["hashtag1","hashtag2"]},{"1352198180":["hashtag1","hashtag2"]},{"1352198747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352197957, 1352198376, 1352198553, 1352198814, 1352198180, 1352198747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.365809679031372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:25:32.957952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/10/image_20042025_08_11_05_10352.jpg', '/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_14_9453.jpg', '/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_25_10430.jpg', '/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_34_9377.jpg', '/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_44_10469.jpg', '/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_55_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/10/image_20042025_08_11_05_10352.jpg
/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_14_9453.jpg
/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_25_10430.jpg
/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_34_9377.jpg
/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_44_10469.jpg
/home/pi/Desktop/images/20042025/08/11/image_20042025_08_11_55_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352199780","1352199897","1352199732","1352199954","1352199828","1352200336"],"photo_ids_order":["1352199732","1352199780","1352199828","1352199897","1352199954","1352200336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ade435c9f6aaad722e4c33e2791a7c80.jpg","text":"TemporaryFile(/tmp/multipartBody2674191621763699877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141193425,"filename":"image_20042025_08_11_14_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eea148ce278e1b7d486241db3eaa9aae.jpg","text":"TemporaryFile(/tmp/multipartBody4316903575212557551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141193425,"filename":"image_20042025_08_11_34_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89a8f66963b9cb7f95ef6af5a65cad64.jpg","text":"TemporaryFile(/tmp/multipartBody2787267145508215995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141193425,"filename":"image_20042025_08_11_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82865461aadf031af1b7aae6b1323029.jpg","text":"TemporaryFile(/tmp/multipartBody9192019226889669499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141193425,"filename":"image_20042025_08_11_44_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39b079fd19637dacf5eb13eae97f5c72.jpg","text":"TemporaryFile(/tmp/multipartBody8861020269750060787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141193425,"filename":"image_20042025_08_11_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/663164198da0c959744e43d5e73569b7.jpg","text":"TemporaryFile(/tmp/multipartBody3850611226394075122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141193425,"filename":"image_20042025_08_11_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352199828","file1":"1352199780","file0":"1352199732","file4":"1352199954","file5":"1352200336","file3":"1352199897"},"map_files_photo_id_array":[{"photo_id":"1352200336","filename":"file5"},{"photo_id":"1352199828","filename":"file2"},{"photo_id":"1352199954","filename":"file4"},{"photo_id":"1352199780","filename":"file1"},{"photo_id":"1352199732","filename":"file0"},{"photo_id":"1352199897","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352199780":["hashtag1","hashtag2"]},{"1352199897":["hashtag1","hashtag2"]},{"1352199732":["hashtag1","hashtag2"]},{"1352199954":["hashtag1","hashtag2"]},{"1352199828":["hashtag1","hashtag2"]},{"1352200336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352199780, 1352199897, 1352199732, 1352199954, 1352199828, 1352200336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59980845451355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:26:32.213257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/11/image_20042025_08_12_04_9461.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_15_10360.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_24_9396.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_34_10383.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_45_10350.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_54_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/11/image_20042025_08_12_04_9461.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_15_10360.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_24_9396.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_34_10383.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_45_10350.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_54_9456.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38570189476013184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:26:42.165442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/11/image_20042025_08_12_04_9461.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_15_10360.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_24_9396.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_34_10383.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_45_10350.jpg', '/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_54_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/11/image_20042025_08_12_04_9461.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_15_10360.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_24_9396.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_34_10383.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_45_10350.jpg
/home/pi/Desktop/images/20042025/08/12/image_20042025_08_12_54_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201577","1352201520","1352201083","1352201188","1352201137","1352201256"],"photo_ids_order":["1352201083","1352201137","1352201188","1352201256","1352201520","1352201577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55910d43c9250645c009c423d6e7ee25.jpg","text":"TemporaryFile(/tmp/multipartBody4185201969476883677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141262644,"filename":"image_20042025_08_12_54_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30b2f2b9542ddb334d7211345d063a03.jpg","text":"TemporaryFile(/tmp/multipartBody4874981624831065345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141262644,"filename":"image_20042025_08_12_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae86de524b306f52b79521c9eeca540f.jpg","text":"TemporaryFile(/tmp/multipartBody273626072391790915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141262644,"filename":"image_20042025_08_12_04_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/343ceca9cc8d9f41b47e57d63dc98f60.jpg","text":"TemporaryFile(/tmp/multipartBody522339278234846231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141262644,"filename":"image_20042025_08_12_24_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e885b8d389e5b75ccce34c755a88db4.jpg","text":"TemporaryFile(/tmp/multipartBody2498738617872604156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141262644,"filename":"image_20042025_08_12_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a50dbbc73d144acfee64fc0fe553ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody791960111592123130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141262644,"filename":"image_20042025_08_12_34_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201188","file1":"1352201137","file0":"1352201083","file4":"1352201520","file5":"1352201577","file3":"1352201256"},"map_files_photo_id_array":[{"photo_id":"1352201577","filename":"file5"},{"photo_id":"1352201188","filename":"file2"},{"photo_id":"1352201520","filename":"file4"},{"photo_id":"1352201137","filename":"file1"},{"photo_id":"1352201083","filename":"file0"},{"photo_id":"1352201256","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352201577":["hashtag1","hashtag2"]},{"1352201520":["hashtag1","hashtag2"]},{"1352201083":["hashtag1","hashtag2"]},{"1352201188":["hashtag1","hashtag2"]},{"1352201137":["hashtag1","hashtag2"]},{"1352201256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352201577, 1352201520, 1352201083, 1352201188, 1352201137, 1352201256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.7562735080719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:27:32.445044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_14_9463.jpg', '/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_24_10372.jpg', '/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_34_9526.jpg', '/home/pi/Desktop/images/20042025/08/13/image_20042025_08_14_04_9458.jpg', '/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_14_10373.jpg', '/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_34_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_14_9463.jpg
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_24_10372.jpg
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_34_9526.jpg
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_14_04_9458.jpg
/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_14_10373.jpg
/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_34_10352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38771486282348633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:27:42.425756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_14_9463.jpg', '/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_24_10372.jpg', '/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_34_9526.jpg', '/home/pi/Desktop/images/20042025/08/13/image_20042025_08_14_04_9458.jpg', '/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_14_10373.jpg', '/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_34_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_14_9463.jpg
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_24_10372.jpg
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_13_34_9526.jpg
/home/pi/Desktop/images/20042025/08/13/image_20042025_08_14_04_9458.jpg
/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_14_10373.jpg
/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_34_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352202201","1352202272","1352202681","1352202606","1352202123","1352202345"],"photo_ids_order":["1352202123","1352202201","1352202272","1352202345","1352202606","1352202681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6eb00225293c13cb9e846a561f247a60.jpg","text":"TemporaryFile(/tmp/multipartBody5297636618645936004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141322894,"filename":"image_20042025_08_13_24_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1aa8cd7b212a3c38effd3d313d7aefd2.jpg","text":"TemporaryFile(/tmp/multipartBody6634081111730652830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141322894,"filename":"image_20042025_08_13_34_9526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e7b2301d40894f42d06bbcd311f1f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6812212835072706931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141322894,"filename":"image_20042025_08_14_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60b645b1ab053102e7f5787072291d38.jpg","text":"TemporaryFile(/tmp/multipartBody4740353444822759183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141322894,"filename":"image_20042025_08_14_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1253de65aeb53692a58044e2a93c837f.jpg","text":"TemporaryFile(/tmp/multipartBody8479804384797484069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141322894,"filename":"image_20042025_08_13_14_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bba4dfb1bb5fe2b8c4de0fcf63ff1be1.jpg","text":"TemporaryFile(/tmp/multipartBody5549939298155334969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141322894,"filename":"image_20042025_08_14_04_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352202272","file1":"1352202201","file0":"1352202123","file4":"1352202606","file5":"1352202681","file3":"1352202345"},"map_files_photo_id_array":[{"photo_id":"1352202681","filename":"file5"},{"photo_id":"1352202272","filename":"file2"},{"photo_id":"1352202606","filename":"file4"},{"photo_id":"1352202201","filename":"file1"},{"photo_id":"1352202123","filename":"file0"},{"photo_id":"1352202345","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352202201":["hashtag1","hashtag2"]},{"1352202272":["hashtag1","hashtag2"]},{"1352202681":["hashtag1","hashtag2"]},{"1352202606":["hashtag1","hashtag2"]},{"1352202123":["hashtag1","hashtag2"]},{"1352202345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352202201, 1352202272, 1352202681, 1352202606, 1352202123, 1352202345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.421833753585815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:28:32.526027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_45_10452.jpg', '/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_54_9377.jpg', '/home/pi/Desktop/images/20042025/08/14/image_20042025_08_15_04_10365.jpg', '/home/pi/Desktop/images/20042025/08/15/image_20042025_08_15_15_10368.jpg', '/home/pi/Desktop/images/20042025/08/15/image_20042025_08_15_35_10372.jpg', '/home/pi/Desktop/images/20042025/08/15/image_20042025_08_15_44_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_45_10452.jpg
/home/pi/Desktop/images/20042025/08/14/image_20042025_08_14_54_9377.jpg
/home/pi/Desktop/images/20042025/08/14/image_20042025_08_15_04_10365.jpg
/home/pi/Desktop/images/20042025/08/15/image_20042025_08_15_15_10368.jpg
/home/pi/Desktop/images/20042025/08/15/image_20042025_08_15_35_10372.jpg
/home/pi/Desktop/images/20042025/08/15/image_20042025_08_15_44_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352202770","1352202773","1352202764","1352202760","1352202768","1352202777"],"photo_ids_order":["1352202760","1352202764","1352202768","1352202770","1352202773","1352202777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2c83cea41fb1ad6fc1b67412b5a640e.jpg","text":"TemporaryFile(/tmp/multipartBody6500732986414600792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141372998,"filename":"image_20042025_08_15_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddea3b3234a2f8901e4477caec7a3761.jpg","text":"TemporaryFile(/tmp/multipartBody7301751216790932474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141372998,"filename":"image_20042025_08_15_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4a11086fe1fbcca28fac7085907c467.jpg","text":"TemporaryFile(/tmp/multipartBody5769977720004816578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141372998,"filename":"image_20042025_08_14_54_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fd43ba6b04db32b0f96718b6e89d0c5.jpg","text":"TemporaryFile(/tmp/multipartBody1110114176125383210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141372998,"filename":"image_20042025_08_14_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4154d30b4b939b58ab5a5e59f7c5029a.jpg","text":"TemporaryFile(/tmp/multipartBody6939997793056228134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141372998,"filename":"image_20042025_08_15_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae21bc9faba3ea4ed0eb270b63d4cd06.jpg","text":"TemporaryFile(/tmp/multipartBody6752635645674801808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141372998,"filename":"image_20042025_08_15_44_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352202768","file1":"1352202764","file0":"1352202760","file4":"1352202773","file5":"1352202777","file3":"1352202770"},"map_files_photo_id_array":[{"photo_id":"1352202777","filename":"file5"},{"photo_id":"1352202768","filename":"file2"},{"photo_id":"1352202773","filename":"file4"},{"photo_id":"1352202764","filename":"file1"},{"photo_id":"1352202760","filename":"file0"},{"photo_id":"1352202770","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352202770":["hashtag1","hashtag2"]},{"1352202773":["hashtag1","hashtag2"]},{"1352202764":["hashtag1","hashtag2"]},{"1352202760":["hashtag1","hashtag2"]},{"1352202768":["hashtag1","hashtag2"]},{"1352202777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352202770, 1352202773, 1352202764, 1352202760, 1352202768, 1352202777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.659513473510742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:29:32.776532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_14_9399.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_25_10425.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_34_9412.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_44_10356.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_55_10374.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_17_04_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_14_9399.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_25_10425.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_34_9412.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_44_10356.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_55_10374.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_17_04_9405.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3914680480957031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:29:42.793294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_14_9399.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_25_10425.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_34_9412.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_44_10356.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_55_10374.jpg', '/home/pi/Desktop/images/20042025/08/16/image_20042025_08_17_04_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_14_9399.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_25_10425.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_34_9412.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_44_10356.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_16_55_10374.jpg
/home/pi/Desktop/images/20042025/08/16/image_20042025_08_17_04_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203352","1352203121","1352203174","1352203425","1352203254","1352203305"],"photo_ids_order":["1352203121","1352203174","1352203254","1352203305","1352203352","1352203425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdf7034dfe9bd83721b5baf3b87b1821.jpg","text":"TemporaryFile(/tmp/multipartBody6481014940486480370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141443342,"filename":"image_20042025_08_16_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee248b1f7ffbf14f8b1a0df20455ac67.jpg","text":"TemporaryFile(/tmp/multipartBody7126103101932985106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141443342,"filename":"image_20042025_08_16_14_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30f5cbab27175f37b03b7254522217e3.jpg","text":"TemporaryFile(/tmp/multipartBody7870122350740851359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141443342,"filename":"image_20042025_08_16_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a338fa0a2ec9e6c339bbbbb1caacba0.jpg","text":"TemporaryFile(/tmp/multipartBody2749185110508897038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141443342,"filename":"image_20042025_08_17_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56a9fe9f8c8725d23a97f855cea3c9be.jpg","text":"TemporaryFile(/tmp/multipartBody3259466720050019925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141443342,"filename":"image_20042025_08_16_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e42566559d62583aa225141585904ba.jpg","text":"TemporaryFile(/tmp/multipartBody7848903606524589732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141443342,"filename":"image_20042025_08_16_44_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203254","file1":"1352203174","file0":"1352203121","file4":"1352203352","file5":"1352203425","file3":"1352203305"},"map_files_photo_id_array":[{"photo_id":"1352203425","filename":"file5"},{"photo_id":"1352203254","filename":"file2"},{"photo_id":"1352203352","filename":"file4"},{"photo_id":"1352203174","filename":"file1"},{"photo_id":"1352203121","filename":"file0"},{"photo_id":"1352203305","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352203352":["hashtag1","hashtag2"]},{"1352203121":["hashtag1","hashtag2"]},{"1352203174":["hashtag1","hashtag2"]},{"1352203425":["hashtag1","hashtag2"]},{"1352203254":["hashtag1","hashtag2"]},{"1352203305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352203352, 1352203121, 1352203174, 1352203425, 1352203254, 1352203305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71997284889221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:30:32.977637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_15_10360.jpg', '/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_24_9440.jpg', '/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_34_10366.jpg', '/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_45_10381.jpg', '/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_54_9438.jpg', '/home/pi/Desktop/images/20042025/08/17/image_20042025_08_18_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_15_10360.jpg
/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_24_9440.jpg
/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_34_10366.jpg
/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_45_10381.jpg
/home/pi/Desktop/images/20042025/08/17/image_20042025_08_17_54_9438.jpg
/home/pi/Desktop/images/20042025/08/17/image_20042025_08_18_05_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203727","1352203724","1352203765","1352203720","1352203714","1352203767"],"photo_ids_order":["1352203714","1352203720","1352203724","1352203727","1352203765","1352203767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6bdad9ac1e208d0fe30780eba6a1558.jpg","text":"TemporaryFile(/tmp/multipartBody2580828983894516812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141493446,"filename":"image_20042025_08_17_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/025b6ab8b20ae86c5d141bc8c70c1442.jpg","text":"TemporaryFile(/tmp/multipartBody206310903906627270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141493446,"filename":"image_20042025_08_17_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7e69dbd5a5d3cc2aa468a7bec35fb85.jpg","text":"TemporaryFile(/tmp/multipartBody4704347290455130260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141493446,"filename":"image_20042025_08_17_54_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5ddd8bc34dd9e1e52b2f9da80efda07.jpg","text":"TemporaryFile(/tmp/multipartBody4626468493254700665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141493446,"filename":"image_20042025_08_17_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6b7ff8cd680ddca1d9d02f31a675b8a.jpg","text":"TemporaryFile(/tmp/multipartBody9051601267188592810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141493446,"filename":"image_20042025_08_17_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b5d1c5196fadde45df803db308fe8cc.jpg","text":"TemporaryFile(/tmp/multipartBody4268086142383633142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141493446,"filename":"image_20042025_08_18_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203724","file1":"1352203720","file0":"1352203714","file4":"1352203765","file5":"1352203767","file3":"1352203727"},"map_files_photo_id_array":[{"photo_id":"1352203767","filename":"file5"},{"photo_id":"1352203724","filename":"file2"},{"photo_id":"1352203765","filename":"file4"},{"photo_id":"1352203720","filename":"file1"},{"photo_id":"1352203714","filename":"file0"},{"photo_id":"1352203727","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352203727":["hashtag1","hashtag2"]},{"1352203724":["hashtag1","hashtag2"]},{"1352203765":["hashtag1","hashtag2"]},{"1352203720":["hashtag1","hashtag2"]},{"1352203714":["hashtag1","hashtag2"]},{"1352203767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352203727, 1352203724, 1352203765, 1352203720, 1352203714, 1352203767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6574969291687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:31:32.240536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_14_9435.jpg', '/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_24_10371.jpg', '/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_35_10367.jpg', '/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_44_9469.jpg', '/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_55_10372.jpg', '/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_14_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_14_9435.jpg
/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_24_10371.jpg
/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_35_10367.jpg
/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_44_9469.jpg
/home/pi/Desktop/images/20042025/08/18/image_20042025_08_18_55_10372.jpg
/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_14_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203975","1352203843","1352203956","1352203929","1352203898","1352203871"],"photo_ids_order":["1352203843","1352203871","1352203898","1352203929","1352203956","1352203975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08289faee30274e6318d2163777b2992.jpg","text":"TemporaryFile(/tmp/multipartBody4434950967543558534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141552721,"filename":"image_20042025_08_19_14_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a69784e5fe4b50b81c0fe0d6ffc88953.jpg","text":"TemporaryFile(/tmp/multipartBody8763795647819652487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141552721,"filename":"image_20042025_08_18_14_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a07dd7f1316e65a1be32559524c6230.jpg","text":"TemporaryFile(/tmp/multipartBody2261827431247085835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141552721,"filename":"image_20042025_08_18_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/266e280a2231e7b6583ac76bb2c85c5f.jpg","text":"TemporaryFile(/tmp/multipartBody6380996267131146427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141552721,"filename":"image_20042025_08_18_44_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7049ee11306daf0f395859a433c05950.jpg","text":"TemporaryFile(/tmp/multipartBody2351935660699093367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141552721,"filename":"image_20042025_08_18_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45571152dedd33ba39c783e031579c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5723729907545794794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141552721,"filename":"image_20042025_08_18_24_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203898","file1":"1352203871","file0":"1352203843","file4":"1352203956","file5":"1352203975","file3":"1352203929"},"map_files_photo_id_array":[{"photo_id":"1352203975","filename":"file5"},{"photo_id":"1352203898","filename":"file2"},{"photo_id":"1352203956","filename":"file4"},{"photo_id":"1352203871","filename":"file1"},{"photo_id":"1352203843","filename":"file0"},{"photo_id":"1352203929","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352203975":["hashtag1","hashtag2"]},{"1352203843":["hashtag1","hashtag2"]},{"1352203956":["hashtag1","hashtag2"]},{"1352203929":["hashtag1","hashtag2"]},{"1352203898":["hashtag1","hashtag2"]},{"1352203871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352203975, 1352203843, 1352203956, 1352203929, 1352203898, 1352203871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.446778297424316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:32:32.447850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_25_10383.jpg', '/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_34_9445.jpg', '/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_45_10367.jpg', '/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_54_9490.jpg', '/home/pi/Desktop/images/20042025/08/19/image_20042025_08_20_04_10363.jpg', '/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_25_10383.jpg
/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_34_9445.jpg
/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_45_10367.jpg
/home/pi/Desktop/images/20042025/08/19/image_20042025_08_19_54_9490.jpg
/home/pi/Desktop/images/20042025/08/19/image_20042025_08_20_04_10363.jpg
/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203999","1352203993","1352204002","1352204005","1352204007","1352203997"],"photo_ids_order":["1352203993","1352203997","1352203999","1352204002","1352204005","1352204007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8724a9a37823fb6e195f059ed79022f.jpg","text":"TemporaryFile(/tmp/multipartBody7007606482606353044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141612936,"filename":"image_20042025_08_19_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9939c6b42a82704b23a349cddf181499.jpg","text":"TemporaryFile(/tmp/multipartBody5990595742726809136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141612936,"filename":"image_20042025_08_19_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de4e54351d8c3ea0b1e2ea6ed2b72c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4382778913993163289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141612936,"filename":"image_20042025_08_19_54_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed621ff29ea7109d80228a872bd7744a.jpg","text":"TemporaryFile(/tmp/multipartBody5878244506355889335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141612936,"filename":"image_20042025_08_20_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67682ef833a614e8d67b9214f986b89e.jpg","text":"TemporaryFile(/tmp/multipartBody7469884433306015112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141612936,"filename":"image_20042025_08_20_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43dad7fad978b23af8a326b3e3a91b73.jpg","text":"TemporaryFile(/tmp/multipartBody9128206466236980301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141612936,"filename":"image_20042025_08_19_34_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203999","file1":"1352203997","file0":"1352203993","file4":"1352204005","file5":"1352204007","file3":"1352204002"},"map_files_photo_id_array":[{"photo_id":"1352204007","filename":"file5"},{"photo_id":"1352203999","filename":"file2"},{"photo_id":"1352204005","filename":"file4"},{"photo_id":"1352203997","filename":"file1"},{"photo_id":"1352203993","filename":"file0"},{"photo_id":"1352204002","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352203999":["hashtag1","hashtag2"]},{"1352203993":["hashtag1","hashtag2"]},{"1352204002":["hashtag1","hashtag2"]},{"1352204005":["hashtag1","hashtag2"]},{"1352204007":["hashtag1","hashtag2"]},{"1352203997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352203999, 1352203993, 1352204002, 1352204005, 1352204007, 1352203997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19597029685974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:33:32.636864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_35_10363.jpg', '/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_44_9405.jpg', '/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_54_10389.jpg', '/home/pi/Desktop/images/20042025/08/20/image_20042025_08_21_05_10403.jpg', '/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_14_9545.jpg', '/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_25_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_35_10363.jpg
/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_44_9405.jpg
/home/pi/Desktop/images/20042025/08/20/image_20042025_08_20_54_10389.jpg
/home/pi/Desktop/images/20042025/08/20/image_20042025_08_21_05_10403.jpg
/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_14_9545.jpg
/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_25_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204278","1352204250","1352204151","1352204307","1352204220","1352204194"],"photo_ids_order":["1352204151","1352204194","1352204220","1352204250","1352204278","1352204307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84d8c5726d9b2dcea7a8ee3657818afe.jpg","text":"TemporaryFile(/tmp/multipartBody8745706682501255567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141673104,"filename":"image_20042025_08_21_14_9545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27426a26a353213687a3fbdbefc0cadb.jpg","text":"TemporaryFile(/tmp/multipartBody2014336388972652225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141673104,"filename":"image_20042025_08_21_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3a5fd4634ddc17ff9a85828833b233c.jpg","text":"TemporaryFile(/tmp/multipartBody5919981547056956679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141673104,"filename":"image_20042025_08_20_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbf2e56f5f41a915d7a5e1eaec4d84e1.jpg","text":"TemporaryFile(/tmp/multipartBody5406837607285024757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141673104,"filename":"image_20042025_08_21_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21805b1b9d4ae82116af4c95b8c23ca7.jpg","text":"TemporaryFile(/tmp/multipartBody9162307465258383020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141673104,"filename":"image_20042025_08_20_54_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e52f03dba00d830e2de64e12918d21bd.jpg","text":"TemporaryFile(/tmp/multipartBody7360561826593325536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141673104,"filename":"image_20042025_08_20_44_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204220","file1":"1352204194","file0":"1352204151","file4":"1352204278","file5":"1352204307","file3":"1352204250"},"map_files_photo_id_array":[{"photo_id":"1352204307","filename":"file5"},{"photo_id":"1352204220","filename":"file2"},{"photo_id":"1352204278","filename":"file4"},{"photo_id":"1352204194","filename":"file1"},{"photo_id":"1352204151","filename":"file0"},{"photo_id":"1352204250","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352204278":["hashtag1","hashtag2"]},{"1352204250":["hashtag1","hashtag2"]},{"1352204151":["hashtag1","hashtag2"]},{"1352204307":["hashtag1","hashtag2"]},{"1352204220":["hashtag1","hashtag2"]},{"1352204194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352204278, 1352204250, 1352204151, 1352204307, 1352204220, 1352204194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38352060317993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:34:32.872548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_34_9355.jpg', '/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_45_10387.jpg', '/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_54_9489.jpg', '/home/pi/Desktop/images/20042025/08/21/image_20042025_08_22_04_10363.jpg', '/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_15_10352.jpg', '/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_24_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_34_9355.jpg
/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_45_10387.jpg
/home/pi/Desktop/images/20042025/08/21/image_20042025_08_21_54_9489.jpg
/home/pi/Desktop/images/20042025/08/21/image_20042025_08_22_04_10363.jpg
/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_15_10352.jpg
/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_24_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204347","1352204355","1352204349","1352204340","1352204343","1352204352"],"photo_ids_order":["1352204340","1352204343","1352204347","1352204349","1352204352","1352204355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec0ba93d8b8785168e6f347d5c9c562d.jpg","text":"TemporaryFile(/tmp/multipartBody7961491830997126178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141733338,"filename":"image_20042025_08_21_54_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/953bab46c323d474991e0d33d0cb6a69.jpg","text":"TemporaryFile(/tmp/multipartBody651625714103379200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141733338,"filename":"image_20042025_08_22_24_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc3e1a481ca636822748baa880b6d384.jpg","text":"TemporaryFile(/tmp/multipartBody7738931466725803941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141733338,"filename":"image_20042025_08_22_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d65aee4e507aa964747adc112b66e25.jpg","text":"TemporaryFile(/tmp/multipartBody7845803718112753672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141733338,"filename":"image_20042025_08_21_34_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c32a6d35183981926027f9d9e25abbc.jpg","text":"TemporaryFile(/tmp/multipartBody8589728206153190080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141733338,"filename":"image_20042025_08_21_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e193f2e5b8c310a2c9eb8396dd6e5383.jpg","text":"TemporaryFile(/tmp/multipartBody4205650710166490083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141733338,"filename":"image_20042025_08_22_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204347","file1":"1352204343","file0":"1352204340","file4":"1352204352","file5":"1352204355","file3":"1352204349"},"map_files_photo_id_array":[{"photo_id":"1352204355","filename":"file5"},{"photo_id":"1352204347","filename":"file2"},{"photo_id":"1352204352","filename":"file4"},{"photo_id":"1352204343","filename":"file1"},{"photo_id":"1352204340","filename":"file0"},{"photo_id":"1352204349","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352204347":["hashtag1","hashtag2"]},{"1352204355":["hashtag1","hashtag2"]},{"1352204349":["hashtag1","hashtag2"]},{"1352204340":["hashtag1","hashtag2"]},{"1352204343":["hashtag1","hashtag2"]},{"1352204352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352204347, 1352204355, 1352204349, 1352204340, 1352204343, 1352204352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8864586353302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:35:33.061522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_35_10376.jpg', '/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_44_9501.jpg', '/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_55_10480.jpg', '/home/pi/Desktop/images/20042025/08/22/image_20042025_08_23_04_9446.jpg', '/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_14_10373.jpg', '/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_25_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_35_10376.jpg
/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_44_9501.jpg
/home/pi/Desktop/images/20042025/08/22/image_20042025_08_22_55_10480.jpg
/home/pi/Desktop/images/20042025/08/22/image_20042025_08_23_04_9446.jpg
/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_14_10373.jpg
/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_25_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204374","1352204362","1352204365","1352204359","1352204367","1352204372"],"photo_ids_order":["1352204359","1352204362","1352204365","1352204367","1352204372","1352204374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/228224465d05c3b82a94442c7c4f57e2.jpg","text":"TemporaryFile(/tmp/multipartBody2348532770642951476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141793545,"filename":"image_20042025_08_23_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb319e5deea43da06a6e12cb42a1ab12.jpg","text":"TemporaryFile(/tmp/multipartBody8359149610904754395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141793545,"filename":"image_20042025_08_22_44_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/175843ae358fe9d5618ae1b3b282e2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6267992578124770712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141793545,"filename":"image_20042025_08_22_55_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a63541036a1bdec71dc7176cf18e4822.jpg","text":"TemporaryFile(/tmp/multipartBody2171831489285232489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141793545,"filename":"image_20042025_08_22_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/467201b6510393ba101b2cd6e143f53a.jpg","text":"TemporaryFile(/tmp/multipartBody8135141211983482227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141793545,"filename":"image_20042025_08_23_04_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2f469edfb942916c8298d8ed145ed1d.jpg","text":"TemporaryFile(/tmp/multipartBody7210813897442942035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141793545,"filename":"image_20042025_08_23_14_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204365","file1":"1352204362","file0":"1352204359","file4":"1352204372","file5":"1352204374","file3":"1352204367"},"map_files_photo_id_array":[{"photo_id":"1352204374","filename":"file5"},{"photo_id":"1352204365","filename":"file2"},{"photo_id":"1352204372","filename":"file4"},{"photo_id":"1352204362","filename":"file1"},{"photo_id":"1352204359","filename":"file0"},{"photo_id":"1352204367","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352204374":["hashtag1","hashtag2"]},{"1352204362":["hashtag1","hashtag2"]},{"1352204365":["hashtag1","hashtag2"]},{"1352204359":["hashtag1","hashtag2"]},{"1352204367":["hashtag1","hashtag2"]},{"1352204372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352204374, 1352204362, 1352204365, 1352204359, 1352204367, 1352204372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.17196583747864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:36:42.393062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_34_9449.jpg', '/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_45_10372.jpg', '/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_54_9458.jpg', '/home/pi/Desktop/images/20042025/08/23/image_20042025_08_24_04_10419.jpg', '/home/pi/Desktop/images/20042025/08/24/image_20042025_08_24_15_10388.jpg', '/home/pi/Desktop/images/20042025/08/24/image_20042025_08_24_44_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_34_9449.jpg
/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_45_10372.jpg
/home/pi/Desktop/images/20042025/08/23/image_20042025_08_23_54_9458.jpg
/home/pi/Desktop/images/20042025/08/23/image_20042025_08_24_04_10419.jpg
/home/pi/Desktop/images/20042025/08/24/image_20042025_08_24_15_10388.jpg
/home/pi/Desktop/images/20042025/08/24/image_20042025_08_24_44_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204383","1352204377","1352204396","1352204381","1352204393","1352204392"],"photo_ids_order":["1352204377","1352204381","1352204383","1352204392","1352204393","1352204396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e914d2b9eb47012ad4a04377133b938.jpg","text":"TemporaryFile(/tmp/multipartBody6053580808410040007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141862857,"filename":"image_20042025_08_23_54_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0149da58f767d034fd510ca811d35cd9.jpg","text":"TemporaryFile(/tmp/multipartBody718549101986616415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141862857,"filename":"image_20042025_08_23_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/313aa30876a900524021364aea0bb487.jpg","text":"TemporaryFile(/tmp/multipartBody1258579083159886686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141862857,"filename":"image_20042025_08_24_44_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/430a49fbac9cbbb0032f38444d634ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4998074850242856570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141862857,"filename":"image_20042025_08_23_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a63c2f1df1ae064fb71cac46aaad6dc.jpg","text":"TemporaryFile(/tmp/multipartBody4467013979131552026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141862857,"filename":"image_20042025_08_24_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c95feefadce9ce07fed58350f320ab68.jpg","text":"TemporaryFile(/tmp/multipartBody2237327370700102444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141862857,"filename":"image_20042025_08_24_04_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204383","file1":"1352204381","file0":"1352204377","file4":"1352204393","file5":"1352204396","file3":"1352204392"},"map_files_photo_id_array":[{"photo_id":"1352204396","filename":"file5"},{"photo_id":"1352204383","filename":"file2"},{"photo_id":"1352204393","filename":"file4"},{"photo_id":"1352204381","filename":"file1"},{"photo_id":"1352204377","filename":"file0"},{"photo_id":"1352204392","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352204383":["hashtag1","hashtag2"]},{"1352204377":["hashtag1","hashtag2"]},{"1352204396":["hashtag1","hashtag2"]},{"1352204381":["hashtag1","hashtag2"]},{"1352204393":["hashtag1","hashtag2"]},{"1352204392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352204383, 1352204377, 1352204396, 1352204381, 1352204393, 1352204392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.48315358161926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:38:03.574974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/24/image_20042025_08_24_54_10371.jpg', '/home/pi/Desktop/images/20042025/08/24/image_20042025_08_25_05_10355.jpg', '/home/pi/Desktop/images/20042025/08/25/image_20042025_08_25_14_9463.jpg', '/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_14_10366.jpg', '/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_24_9474.jpg', '/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_34_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/24/image_20042025_08_24_54_10371.jpg
/home/pi/Desktop/images/20042025/08/24/image_20042025_08_25_05_10355.jpg
/home/pi/Desktop/images/20042025/08/25/image_20042025_08_25_14_9463.jpg
/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_14_10366.jpg
/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_24_9474.jpg
/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_34_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204419","1352204413","1352204407","1352204401","1352204414","1352204417"],"photo_ids_order":["1352204401","1352204407","1352204413","1352204414","1352204417","1352204419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94a23ccf06fbd01d8fa44d095873ebfa.jpg","text":"TemporaryFile(/tmp/multipartBody6803796545888909166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141944095,"filename":"image_20042025_08_26_34_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e7799b53db02e11d86d9d429a2d96de.jpg","text":"TemporaryFile(/tmp/multipartBody5347306452177378082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141944095,"filename":"image_20042025_08_25_14_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38f44d58064e9ace8edcb9ef90ca67e5.jpg","text":"TemporaryFile(/tmp/multipartBody4981208169622869215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141944095,"filename":"image_20042025_08_25_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7c202327fa15366d0d6758bcbd81d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4122940433929626099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141944095,"filename":"image_20042025_08_24_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5d261560895ea2fe107e0055e9757de.jpg","text":"TemporaryFile(/tmp/multipartBody8485449410897966472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141944095,"filename":"image_20042025_08_26_14_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5e51116b6e985cb851b410def6d55a1.jpg","text":"TemporaryFile(/tmp/multipartBody1657482172533133666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141944095,"filename":"image_20042025_08_26_24_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204413","file1":"1352204407","file0":"1352204401","file4":"1352204417","file5":"1352204419","file3":"1352204414"},"map_files_photo_id_array":[{"photo_id":"1352204419","filename":"file5"},{"photo_id":"1352204413","filename":"file2"},{"photo_id":"1352204417","filename":"file4"},{"photo_id":"1352204407","filename":"file1"},{"photo_id":"1352204401","filename":"file0"},{"photo_id":"1352204414","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352204419":["hashtag1","hashtag2"]},{"1352204413":["hashtag1","hashtag2"]},{"1352204407":["hashtag1","hashtag2"]},{"1352204401":["hashtag1","hashtag2"]},{"1352204414":["hashtag1","hashtag2"]},{"1352204417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352204419, 1352204413, 1352204407, 1352204401, 1352204414, 1352204417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.122368812561035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:38:52.824474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_45_10355.jpg', '/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_54_9360.jpg', '/home/pi/Desktop/images/20042025/08/26/image_20042025_08_27_04_10356.jpg', '/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_15_10363.jpg', '/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_24_9395.jpg', '/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_35_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_45_10355.jpg
/home/pi/Desktop/images/20042025/08/26/image_20042025_08_26_54_9360.jpg
/home/pi/Desktop/images/20042025/08/26/image_20042025_08_27_04_10356.jpg
/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_15_10363.jpg
/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_24_9395.jpg
/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_35_10374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204437","1352204428","1352204436","1352204430","1352204433","1352204426"],"photo_ids_order":["1352204426","1352204428","1352204430","1352204433","1352204436","1352204437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32454297bbbaf8c8b246e8e17d4cf285.jpg","text":"TemporaryFile(/tmp/multipartBody5254710753289488289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141993298,"filename":"image_20042025_08_27_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c3f5a1deb36a3f0105669261f395383.jpg","text":"TemporaryFile(/tmp/multipartBody710276013560700444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141993298,"filename":"image_20042025_08_26_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66fc501f825e5fa1dc65adce8cec11a9.jpg","text":"TemporaryFile(/tmp/multipartBody4662936724219443066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141993298,"filename":"image_20042025_08_27_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d344f47f6720cb7d7d3f1a28de7b9719.jpg","text":"TemporaryFile(/tmp/multipartBody1076810574243360508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141993298,"filename":"image_20042025_08_27_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05d84bb1ab9230ff4f49de5316f9ea9a.jpg","text":"TemporaryFile(/tmp/multipartBody588430505985276043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141993298,"filename":"image_20042025_08_27_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45e5719685deff928a6901f4018e8307.jpg","text":"TemporaryFile(/tmp/multipartBody3738947398689014098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745141993298,"filename":"image_20042025_08_26_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204430","file1":"1352204428","file0":"1352204426","file4":"1352204436","file5":"1352204437","file3":"1352204433"},"map_files_photo_id_array":[{"photo_id":"1352204437","filename":"file5"},{"photo_id":"1352204430","filename":"file2"},{"photo_id":"1352204436","filename":"file4"},{"photo_id":"1352204428","filename":"file1"},{"photo_id":"1352204426","filename":"file0"},{"photo_id":"1352204433","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352204437":["hashtag1","hashtag2"]},{"1352204428":["hashtag1","hashtag2"]},{"1352204436":["hashtag1","hashtag2"]},{"1352204430":["hashtag1","hashtag2"]},{"1352204433":["hashtag1","hashtag2"]},{"1352204426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352204437, 1352204428, 1352204436, 1352204430, 1352204433, 1352204426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.427493572235107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:39:33.229193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_44_9385.jpg', '/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_54_10396.jpg', '/home/pi/Desktop/images/20042025/08/27/image_20042025_08_28_04_9516.jpg', '/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_14_10403.jpg', '/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_25_10386.jpg', '/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_34_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_44_9385.jpg
/home/pi/Desktop/images/20042025/08/27/image_20042025_08_27_54_10396.jpg
/home/pi/Desktop/images/20042025/08/27/image_20042025_08_28_04_9516.jpg
/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_14_10403.jpg
/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_25_10386.jpg
/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_34_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204464","1352204458","1352204451","1352204454","1352204448","1352204462"],"photo_ids_order":["1352204448","1352204451","1352204454","1352204458","1352204462","1352204464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b92887b910b7197b03e519cba92129a9.jpg","text":"TemporaryFile(/tmp/multipartBody626048852852268956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142033693,"filename":"image_20042025_08_28_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f382bed659b3d6edb8c2bef57623e0da.jpg","text":"TemporaryFile(/tmp/multipartBody7519958386769437232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142033693,"filename":"image_20042025_08_28_14_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e45426efa6b5e3d211b1f4558f79cc50.jpg","text":"TemporaryFile(/tmp/multipartBody4422903745791178171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142033693,"filename":"image_20042025_08_27_54_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14c7f3104a098a2fdbc6ceab65c6816a.jpg","text":"TemporaryFile(/tmp/multipartBody1891028018781245362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142033693,"filename":"image_20042025_08_28_04_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4165e25351e0ab1283dfa1c7ed08db4e.jpg","text":"TemporaryFile(/tmp/multipartBody7210676325577602726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142033693,"filename":"image_20042025_08_27_44_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12cd6994e8db5a64042ec1fec07dcf53.jpg","text":"TemporaryFile(/tmp/multipartBody2732931522628599516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142033693,"filename":"image_20042025_08_28_25_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204454","file1":"1352204451","file0":"1352204448","file4":"1352204462","file5":"1352204464","file3":"1352204458"},"map_files_photo_id_array":[{"photo_id":"1352204464","filename":"file5"},{"photo_id":"1352204454","filename":"file2"},{"photo_id":"1352204462","filename":"file4"},{"photo_id":"1352204451","filename":"file1"},{"photo_id":"1352204448","filename":"file0"},{"photo_id":"1352204458","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352204464":["hashtag1","hashtag2"]},{"1352204458":["hashtag1","hashtag2"]},{"1352204451":["hashtag1","hashtag2"]},{"1352204454":["hashtag1","hashtag2"]},{"1352204448":["hashtag1","hashtag2"]},{"1352204462":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352204464, 1352204458, 1352204451, 1352204454, 1352204448, 1352204462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27597141265869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:40:32.544067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_44_10438.jpg', '/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_54_9473.jpg', '/home/pi/Desktop/images/20042025/08/28/image_20042025_08_29_04_10369.jpg', '/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_15_10359.jpg', '/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_24_9455.jpg', '/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_34_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_44_10438.jpg
/home/pi/Desktop/images/20042025/08/28/image_20042025_08_28_54_9473.jpg
/home/pi/Desktop/images/20042025/08/28/image_20042025_08_29_04_10369.jpg
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_15_10359.jpg
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_24_9455.jpg
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_34_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352205358","1352204886","1352204979","1352205089","1352205175","1352205262"],"photo_ids_order":["1352204886","1352204979","1352205089","1352205175","1352205262","1352205358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4abbdda2ecfad3597f34da59aa511069.jpg","text":"TemporaryFile(/tmp/multipartBody46979325039783081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142093013,"filename":"image_20042025_08_29_34_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f3d9a13616984409a7bf81924c298f8.jpg","text":"TemporaryFile(/tmp/multipartBody4709889330717715869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142093013,"filename":"image_20042025_08_28_44_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/968c491246ccc0864c455bb00ca2a3da.jpg","text":"TemporaryFile(/tmp/multipartBody6053518880347905111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142093013,"filename":"image_20042025_08_28_54_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f19d8205f005374a3a495a0d32025886.jpg","text":"TemporaryFile(/tmp/multipartBody6852554264480536803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142093013,"filename":"image_20042025_08_29_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/140891d4726f5f8f7b25a831ea4ae7ba.jpg","text":"TemporaryFile(/tmp/multipartBody5078073230675372104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142093013,"filename":"image_20042025_08_29_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f77b7d939302eadd68304708083fe56.jpg","text":"TemporaryFile(/tmp/multipartBody3281507806899119523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142093013,"filename":"image_20042025_08_29_24_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352205089","file1":"1352204979","file0":"1352204886","file4":"1352205262","file5":"1352205358","file3":"1352205175"},"map_files_photo_id_array":[{"photo_id":"1352205358","filename":"file5"},{"photo_id":"1352205089","filename":"file2"},{"photo_id":"1352205262","filename":"file4"},{"photo_id":"1352204979","filename":"file1"},{"photo_id":"1352204886","filename":"file0"},{"photo_id":"1352205175","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352205358":["hashtag1","hashtag2"]},{"1352204886":["hashtag1","hashtag2"]},{"1352204979":["hashtag1","hashtag2"]},{"1352205089":["hashtag1","hashtag2"]},{"1352205175":["hashtag1","hashtag2"]},{"1352205262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352205358, 1352204886, 1352204979, 1352205089, 1352205175, 1352205262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.84011459350586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:41:32.660578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_44_9471.jpg', '/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_54_10416.jpg', '/home/pi/Desktop/images/20042025/08/29/image_20042025_08_30_05_10393.jpg', '/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_14_9476.jpg', '/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_25_10369.jpg', '/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_44_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_44_9471.jpg
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_54_10416.jpg
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_30_05_10393.jpg
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_14_9476.jpg
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_25_10369.jpg
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_44_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3848583698272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:41:42.674404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_44_9471.jpg', '/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_54_10416.jpg', '/home/pi/Desktop/images/20042025/08/29/image_20042025_08_30_05_10393.jpg', '/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_14_9476.jpg', '/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_25_10369.jpg', '/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_44_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_44_9471.jpg
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_29_54_10416.jpg
/home/pi/Desktop/images/20042025/08/29/image_20042025_08_30_05_10393.jpg
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_14_9476.jpg
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_25_10369.jpg
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_44_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352206059","1352206047","1352206056","1352206061","1352206052","1352206057"],"photo_ids_order":["1352206047","1352206052","1352206056","1352206057","1352206059","1352206061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca37b6864d35a8fb3e36157ecb9fd872.jpg","text":"TemporaryFile(/tmp/multipartBody3390729699931208322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142163144,"filename":"image_20042025_08_30_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea9cf8f5d57d8db8a066187839572841.jpg","text":"TemporaryFile(/tmp/multipartBody3753829197439551646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142163144,"filename":"image_20042025_08_29_44_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d7e9f29d2033cb330cb588eeb9e3ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2405426232330597402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142163144,"filename":"image_20042025_08_30_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93c57d7e2462185233fc6482f94f8238.jpg","text":"TemporaryFile(/tmp/multipartBody2692580192634361945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142163144,"filename":"image_20042025_08_30_44_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11387dabedef2050801a8f7713ea7507.jpg","text":"TemporaryFile(/tmp/multipartBody4257680152697192766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142163144,"filename":"image_20042025_08_29_54_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b02eddb9307a800aec72b47209fe85d0.jpg","text":"TemporaryFile(/tmp/multipartBody7856579651965556426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142163144,"filename":"image_20042025_08_30_14_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352206056","file1":"1352206052","file0":"1352206047","file4":"1352206059","file5":"1352206061","file3":"1352206057"},"map_files_photo_id_array":[{"photo_id":"1352206061","filename":"file5"},{"photo_id":"1352206056","filename":"file2"},{"photo_id":"1352206059","filename":"file4"},{"photo_id":"1352206052","filename":"file1"},{"photo_id":"1352206047","filename":"file0"},{"photo_id":"1352206057","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352206059":["hashtag1","hashtag2"]},{"1352206047":["hashtag1","hashtag2"]},{"1352206056":["hashtag1","hashtag2"]},{"1352206061":["hashtag1","hashtag2"]},{"1352206052":["hashtag1","hashtag2"]},{"1352206057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352206059, 1352206047, 1352206056, 1352206061, 1352206052, 1352206057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.503395080566406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:42:33.003582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_55_10350.jpg', '/home/pi/Desktop/images/20042025/08/30/image_20042025_08_31_04_9358.jpg', '/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_14_10345.jpg', '/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_25_10385.jpg', '/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_34_9377.jpg', '/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_30_55_10350.jpg
/home/pi/Desktop/images/20042025/08/30/image_20042025_08_31_04_9358.jpg
/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_14_10345.jpg
/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_25_10385.jpg
/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_34_9377.jpg
/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352206077","1352206080","1352206074","1352206082","1352206070","1352206066"],"photo_ids_order":["1352206066","1352206070","1352206074","1352206077","1352206080","1352206082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/335736b2b3dfa494d1f2e1f777e71b00.jpg","text":"TemporaryFile(/tmp/multipartBody2798383990336822584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142213463,"filename":"image_20042025_08_31_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/779d61b951bbeb08e37990afb2abb8ea.jpg","text":"TemporaryFile(/tmp/multipartBody5519310229150104214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142213463,"filename":"image_20042025_08_31_34_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3f6be572f97db68ad3b5246f418b694.jpg","text":"TemporaryFile(/tmp/multipartBody5627217661554782370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142213463,"filename":"image_20042025_08_31_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f68cc25e667208298093ec2a4755d11b.jpg","text":"TemporaryFile(/tmp/multipartBody1765513825884380976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142213463,"filename":"image_20042025_08_31_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c66e9e6086af1d54ed8328395d0002f1.jpg","text":"TemporaryFile(/tmp/multipartBody8355243407230293707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142213463,"filename":"image_20042025_08_31_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/113dbb4eb2d5643da557657a1ea3ed45.jpg","text":"TemporaryFile(/tmp/multipartBody3559442315886264612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142213463,"filename":"image_20042025_08_30_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352206074","file1":"1352206070","file0":"1352206066","file4":"1352206080","file5":"1352206082","file3":"1352206077"},"map_files_photo_id_array":[{"photo_id":"1352206082","filename":"file5"},{"photo_id":"1352206074","filename":"file2"},{"photo_id":"1352206080","filename":"file4"},{"photo_id":"1352206070","filename":"file1"},{"photo_id":"1352206066","filename":"file0"},{"photo_id":"1352206077","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352206077":["hashtag1","hashtag2"]},{"1352206080":["hashtag1","hashtag2"]},{"1352206074":["hashtag1","hashtag2"]},{"1352206082":["hashtag1","hashtag2"]},{"1352206070":["hashtag1","hashtag2"]},{"1352206066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352206077, 1352206080, 1352206074, 1352206082, 1352206070, 1352206066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.635992765426636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:43:33.199187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_54_9473.jpg', '/home/pi/Desktop/images/20042025/08/31/image_20042025_08_32_04_10376.jpg', '/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_24_9396.jpg', '/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_35_10373.jpg', '/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_44_9470.jpg', '/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_54_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/31/image_20042025_08_31_54_9473.jpg
/home/pi/Desktop/images/20042025/08/31/image_20042025_08_32_04_10376.jpg
/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_24_9396.jpg
/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_35_10373.jpg
/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_44_9470.jpg
/home/pi/Desktop/images/20042025/08/32/image_20042025_08_32_54_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352206092","1352206143","1352206094","1352206097","1352206259","1352206336"],"photo_ids_order":["1352206092","1352206094","1352206097","1352206143","1352206259","1352206336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/653af72c31a549b9d9904a1d0fc76901.jpg","text":"TemporaryFile(/tmp/multipartBody9129986481136320421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142273676,"filename":"image_20042025_08_31_54_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dd4bef72d2e7976c40cf80c0ced1177.jpg","text":"TemporaryFile(/tmp/multipartBody6294958797156855528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142273676,"filename":"image_20042025_08_32_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67bf77bc1a92e3907c4e716228e528d1.jpg","text":"TemporaryFile(/tmp/multipartBody8815220839052880875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142273676,"filename":"image_20042025_08_32_04_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bdaf1cf9bd76e8d3d959ea21ae349060.jpg","text":"TemporaryFile(/tmp/multipartBody4182354524525705348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142273676,"filename":"image_20042025_08_32_24_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/caeb2b0c323bd045b9e830bbd4ac2238.jpg","text":"TemporaryFile(/tmp/multipartBody8452116106705122628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142273676,"filename":"image_20042025_08_32_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d0e061032f5ac7d186c45229f1c7a55.jpg","text":"TemporaryFile(/tmp/multipartBody8199192911462014714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142273676,"filename":"image_20042025_08_32_54_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352206097","file1":"1352206094","file0":"1352206092","file4":"1352206259","file5":"1352206336","file3":"1352206143"},"map_files_photo_id_array":[{"photo_id":"1352206336","filename":"file5"},{"photo_id":"1352206097","filename":"file2"},{"photo_id":"1352206259","filename":"file4"},{"photo_id":"1352206094","filename":"file1"},{"photo_id":"1352206092","filename":"file0"},{"photo_id":"1352206143","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352206092":["hashtag1","hashtag2"]},{"1352206143":["hashtag1","hashtag2"]},{"1352206094":["hashtag1","hashtag2"]},{"1352206097":["hashtag1","hashtag2"]},{"1352206259":["hashtag1","hashtag2"]},{"1352206336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352206092, 1352206143, 1352206094, 1352206097, 1352206259, 1352206336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49025917053223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:44:32.402403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/32/image_20042025_08_33_05_10346.jpg', '/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_14_9406.jpg', '/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_25_10459.jpg', '/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_34_9382.jpg', '/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_44_10371.jpg', '/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_55_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/32/image_20042025_08_33_05_10346.jpg
/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_14_9406.jpg
/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_25_10459.jpg
/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_34_9382.jpg
/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_44_10371.jpg
/home/pi/Desktop/images/20042025/08/33/image_20042025_08_33_55_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352206722","1352206717","1352206711","1352206720","1352206714","1352206708"],"photo_ids_order":["1352206708","1352206711","1352206714","1352206717","1352206720","1352206722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d752977067f9a19739b21e2ad7da1fb.jpg","text":"TemporaryFile(/tmp/multipartBody393703531654900163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142332865,"filename":"image_20042025_08_33_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6aa9bc320cf985419e531b04bfe372b0.jpg","text":"TemporaryFile(/tmp/multipartBody7480567384874120857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142332865,"filename":"image_20042025_08_33_34_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfdffdf6cce83f36992cdc00dcd85c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4936648615110578690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142332865,"filename":"image_20042025_08_33_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45ab7e6e4604db4c5478f5b0b01eeed7.jpg","text":"TemporaryFile(/tmp/multipartBody6913000024756972293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142332865,"filename":"image_20042025_08_33_44_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/389f0c3891d0f7fa95446d345655684b.jpg","text":"TemporaryFile(/tmp/multipartBody2188510919056251024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142332865,"filename":"image_20042025_08_33_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eab65262b9eb61bc1af37abc5bb00124.jpg","text":"TemporaryFile(/tmp/multipartBody1391925258191474510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142332865,"filename":"image_20042025_08_33_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352206714","file1":"1352206711","file0":"1352206708","file4":"1352206720","file5":"1352206722","file3":"1352206717"},"map_files_photo_id_array":[{"photo_id":"1352206722","filename":"file5"},{"photo_id":"1352206714","filename":"file2"},{"photo_id":"1352206720","filename":"file4"},{"photo_id":"1352206711","filename":"file1"},{"photo_id":"1352206708","filename":"file0"},{"photo_id":"1352206717","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352206722":["hashtag1","hashtag2"]},{"1352206717":["hashtag1","hashtag2"]},{"1352206711":["hashtag1","hashtag2"]},{"1352206720":["hashtag1","hashtag2"]},{"1352206714":["hashtag1","hashtag2"]},{"1352206708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352206722, 1352206717, 1352206711, 1352206720, 1352206714, 1352206708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.671252250671387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:45:32.590455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/33/image_20042025_08_34_04_9360.jpg', '/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_14_10357.jpg', '/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_24_9431.jpg', '/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_34_10400.jpg', '/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_45_10364.jpg', '/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_54_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/33/image_20042025_08_34_04_9360.jpg
/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_14_10357.jpg
/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_24_9431.jpg
/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_34_10400.jpg
/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_45_10364.jpg
/home/pi/Desktop/images/20042025/08/34/image_20042025_08_34_54_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352206914","1352206910","1352206904","1352206913","1352206907","1352206918"],"photo_ids_order":["1352206904","1352206907","1352206910","1352206913","1352206914","1352206918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a165938d6e7775eb8d3721419140b2d8.jpg","text":"TemporaryFile(/tmp/multipartBody4909479403269679844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142393071,"filename":"image_20042025_08_34_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/831e241716a6a071dd176bcbaaae5883.jpg","text":"TemporaryFile(/tmp/multipartBody6159295064435765090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142393071,"filename":"image_20042025_08_34_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1eedc9f22010d47d6ce234cce52b0e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8573247975363926009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142393071,"filename":"image_20042025_08_34_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0244d426e0c63d674172d91673cb4fb.jpg","text":"TemporaryFile(/tmp/multipartBody4213201929791787999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142393071,"filename":"image_20042025_08_34_34_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18744f2ac077a0a0b37f4d541795c5fd.jpg","text":"TemporaryFile(/tmp/multipartBody2632795617994184952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142393071,"filename":"image_20042025_08_34_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df6852393bd8e852d64f441f37846a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3937883238834250948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142393071,"filename":"image_20042025_08_34_54_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352206910","file1":"1352206907","file0":"1352206904","file4":"1352206914","file5":"1352206918","file3":"1352206913"},"map_files_photo_id_array":[{"photo_id":"1352206918","filename":"file5"},{"photo_id":"1352206910","filename":"file2"},{"photo_id":"1352206914","filename":"file4"},{"photo_id":"1352206907","filename":"file1"},{"photo_id":"1352206904","filename":"file0"},{"photo_id":"1352206913","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352206914":["hashtag1","hashtag2"]},{"1352206910":["hashtag1","hashtag2"]},{"1352206904":["hashtag1","hashtag2"]},{"1352206913":["hashtag1","hashtag2"]},{"1352206907":["hashtag1","hashtag2"]},{"1352206918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352206914, 1352206910, 1352206904, 1352206913, 1352206907, 1352206918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.867181062698364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:46:32.848852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/34/image_20042025_08_35_04_10362.jpg', '/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_15_10378.jpg', '/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_24_9358.jpg', '/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_35_10381.jpg', '/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_44_9396.jpg', '/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_54_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/34/image_20042025_08_35_04_10362.jpg
/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_15_10378.jpg
/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_24_9358.jpg
/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_35_10381.jpg
/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_44_9396.jpg
/home/pi/Desktop/images/20042025/08/35/image_20042025_08_35_54_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352206935","1352206922","1352206931","1352206925","1352206928","1352206933"],"photo_ids_order":["1352206922","1352206925","1352206928","1352206931","1352206933","1352206935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcb5b333352855b49c7bf0faf22dbcfc.jpg","text":"TemporaryFile(/tmp/multipartBody3294391616657476120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142453321,"filename":"image_20042025_08_35_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aada31febb87fd9633fe8cfb6d8d74dc.jpg","text":"TemporaryFile(/tmp/multipartBody5637834108493495466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142453321,"filename":"image_20042025_08_35_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2519d98ae18051001bbcbfd5756ac409.jpg","text":"TemporaryFile(/tmp/multipartBody1365757002781529870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142453321,"filename":"image_20042025_08_35_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6002220e4da76406a76f27079f7acf4.jpg","text":"TemporaryFile(/tmp/multipartBody3789238227857532979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142453321,"filename":"image_20042025_08_35_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a40d6fe40d4a434e5a5b1fa992d88ff.jpg","text":"TemporaryFile(/tmp/multipartBody2706144775068379642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142453321,"filename":"image_20042025_08_35_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba161e7209d515cfcd9613adb9fa538a.jpg","text":"TemporaryFile(/tmp/multipartBody2611572461321434459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142453321,"filename":"image_20042025_08_35_44_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352206928","file1":"1352206925","file0":"1352206922","file4":"1352206933","file5":"1352206935","file3":"1352206931"},"map_files_photo_id_array":[{"photo_id":"1352206935","filename":"file5"},{"photo_id":"1352206928","filename":"file2"},{"photo_id":"1352206933","filename":"file4"},{"photo_id":"1352206925","filename":"file1"},{"photo_id":"1352206922","filename":"file0"},{"photo_id":"1352206931","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352206935":["hashtag1","hashtag2"]},{"1352206922":["hashtag1","hashtag2"]},{"1352206931":["hashtag1","hashtag2"]},{"1352206925":["hashtag1","hashtag2"]},{"1352206928":["hashtag1","hashtag2"]},{"1352206933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352206935, 1352206922, 1352206931, 1352206925, 1352206928, 1352206933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.807337045669556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:47:33.293636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/35/image_20042025_08_36_05_10408.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_14_9435.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_25_10375.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_34_9414.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_44_10368.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_55_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/35/image_20042025_08_36_05_10408.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_14_9435.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_25_10375.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_34_9414.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_44_10368.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_55_10375.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38137006759643555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:47:43.319888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/35/image_20042025_08_36_05_10408.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_14_9435.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_25_10375.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_34_9414.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_44_10368.jpg', '/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_55_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/35/image_20042025_08_36_05_10408.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_14_9435.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_25_10375.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_34_9414.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_44_10368.jpg
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_36_55_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352207381","1352207380","1352207371","1352207379","1352207382","1352207376"],"photo_ids_order":["1352207371","1352207376","1352207379","1352207380","1352207381","1352207382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38e6caa7f239b04e6d55ec6544691397.jpg","text":"TemporaryFile(/tmp/multipartBody8473726676794330387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142524251,"filename":"image_20042025_08_36_44_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2036d3dba12522c4fee5feddf86d51bb.jpg","text":"TemporaryFile(/tmp/multipartBody7117193888676551201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142524251,"filename":"image_20042025_08_36_34_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5842071a44363886c45646b5f54e0fd.jpg","text":"TemporaryFile(/tmp/multipartBody3238068164460289256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142524251,"filename":"image_20042025_08_36_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc227a6f912b0d4158886983b62f2548.jpg","text":"TemporaryFile(/tmp/multipartBody7018722485502133846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142524251,"filename":"image_20042025_08_36_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/613484361cc171133d8e200531f350d8.jpg","text":"TemporaryFile(/tmp/multipartBody3256468837228457393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142524251,"filename":"image_20042025_08_36_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29fc008df76eb6c0bad6213003c6daf7.jpg","text":"TemporaryFile(/tmp/multipartBody5404963763836290801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142524251,"filename":"image_20042025_08_36_14_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352207379","file1":"1352207376","file0":"1352207371","file4":"1352207381","file5":"1352207382","file3":"1352207380"},"map_files_photo_id_array":[{"photo_id":"1352207382","filename":"file5"},{"photo_id":"1352207379","filename":"file2"},{"photo_id":"1352207381","filename":"file4"},{"photo_id":"1352207376","filename":"file1"},{"photo_id":"1352207371","filename":"file0"},{"photo_id":"1352207380","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352207381":["hashtag1","hashtag2"]},{"1352207380":["hashtag1","hashtag2"]},{"1352207371":["hashtag1","hashtag2"]},{"1352207379":["hashtag1","hashtag2"]},{"1352207382":["hashtag1","hashtag2"]},{"1352207376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352207381, 1352207380, 1352207371, 1352207379, 1352207382, 1352207376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.030988693237305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:48:32.442449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/36/image_20042025_08_37_04_9457.jpg', '/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_15_10340.jpg', '/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_24_9425.jpg', '/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_34_10370.jpg', '/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_45_10376.jpg', '/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_54_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/36/image_20042025_08_37_04_9457.jpg
/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_15_10340.jpg
/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_24_9425.jpg
/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_34_10370.jpg
/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_45_10376.jpg
/home/pi/Desktop/images/20042025/08/37/image_20042025_08_37_54_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352207393","1352207396","1352207392","1352207389","1352207398","1352207401"],"photo_ids_order":["1352207389","1352207392","1352207393","1352207396","1352207398","1352207401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2205c622769743828508e9797de12f10.jpg","text":"TemporaryFile(/tmp/multipartBody7304052910670271281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142572911,"filename":"image_20042025_08_37_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e56a67254bc945224a603876ccfcb79b.jpg","text":"TemporaryFile(/tmp/multipartBody7463034923138886827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142572911,"filename":"image_20042025_08_37_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ca9f559cfda5ab9d09eb31b38d70505.jpg","text":"TemporaryFile(/tmp/multipartBody4751565152682140987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142572911,"filename":"image_20042025_08_37_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13fa3156f981226e296f35485fcf5f78.jpg","text":"TemporaryFile(/tmp/multipartBody1128186227889278347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142572911,"filename":"image_20042025_08_37_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c559e654b05e189b5bc758081ff82c0.jpg","text":"TemporaryFile(/tmp/multipartBody4118506266464352597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142572911,"filename":"image_20042025_08_37_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60b6b81cd2f8d055d31bc83e509974ae.jpg","text":"TemporaryFile(/tmp/multipartBody4227831386452543349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142572911,"filename":"image_20042025_08_37_54_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352207393","file1":"1352207392","file0":"1352207389","file4":"1352207398","file5":"1352207401","file3":"1352207396"},"map_files_photo_id_array":[{"photo_id":"1352207401","filename":"file5"},{"photo_id":"1352207393","filename":"file2"},{"photo_id":"1352207398","filename":"file4"},{"photo_id":"1352207392","filename":"file1"},{"photo_id":"1352207389","filename":"file0"},{"photo_id":"1352207396","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352207393":["hashtag1","hashtag2"]},{"1352207396":["hashtag1","hashtag2"]},{"1352207392":["hashtag1","hashtag2"]},{"1352207389":["hashtag1","hashtag2"]},{"1352207398":["hashtag1","hashtag2"]},{"1352207401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352207393, 1352207396, 1352207392, 1352207389, 1352207398, 1352207401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73667240142822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:49:32.563123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/37/image_20042025_08_38_04_10357.jpg', '/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_14_9420.jpg', '/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_24_10351.jpg', '/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_35_10355.jpg', '/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_44_9387.jpg', '/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_54_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/37/image_20042025_08_38_04_10357.jpg
/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_14_9420.jpg
/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_24_10351.jpg
/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_35_10355.jpg
/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_44_9387.jpg
/home/pi/Desktop/images/20042025/08/38/image_20042025_08_38_54_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352207415","1352207424","1352207418","1352207427","1352207412","1352207429"],"photo_ids_order":["1352207412","1352207415","1352207418","1352207424","1352207427","1352207429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b684bc7054801cb4d9e9a68d1585d93.jpg","text":"TemporaryFile(/tmp/multipartBody1187609520134825613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142633028,"filename":"image_20042025_08_38_14_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abbee1344bcd189503d78580d5489893.jpg","text":"TemporaryFile(/tmp/multipartBody1468932466386851383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142633028,"filename":"image_20042025_08_38_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e32f0fd95582118f5b121494442bb99.jpg","text":"TemporaryFile(/tmp/multipartBody1128576103613292010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142633028,"filename":"image_20042025_08_38_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cdf59706c18c53bbdbbc7de3c4bcf1a.jpg","text":"TemporaryFile(/tmp/multipartBody9183147000183858384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142633028,"filename":"image_20042025_08_38_44_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdd5624ac402f36b59f8e376bea538ef.jpg","text":"TemporaryFile(/tmp/multipartBody8083264200896287302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142633028,"filename":"image_20042025_08_38_04_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbd0c86d8047f2f31e1db8be4ec1ff95.jpg","text":"TemporaryFile(/tmp/multipartBody941635610819175208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142633028,"filename":"image_20042025_08_38_54_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352207418","file1":"1352207415","file0":"1352207412","file4":"1352207427","file5":"1352207429","file3":"1352207424"},"map_files_photo_id_array":[{"photo_id":"1352207429","filename":"file5"},{"photo_id":"1352207418","filename":"file2"},{"photo_id":"1352207427","filename":"file4"},{"photo_id":"1352207415","filename":"file1"},{"photo_id":"1352207412","filename":"file0"},{"photo_id":"1352207424","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352207415":["hashtag1","hashtag2"]},{"1352207424":["hashtag1","hashtag2"]},{"1352207418":["hashtag1","hashtag2"]},{"1352207427":["hashtag1","hashtag2"]},{"1352207412":["hashtag1","hashtag2"]},{"1352207429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352207415, 1352207424, 1352207418, 1352207427, 1352207412, 1352207429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.70656681060791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:50:32.762701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/38/image_20042025_08_39_05_10347.jpg', '/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_14_9450.jpg', '/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_25_10375.jpg', '/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_34_9570.jpg', '/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_45_10373.jpg', '/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_54_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/38/image_20042025_08_39_05_10347.jpg
/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_14_9450.jpg
/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_25_10375.jpg
/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_34_9570.jpg
/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_45_10373.jpg
/home/pi/Desktop/images/20042025/08/39/image_20042025_08_39_54_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352208065","1352207828","1352207665","1352207911","1352207985","1352207745"],"photo_ids_order":["1352207665","1352207745","1352207828","1352207911","1352207985","1352208065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ca9904b69d65ba2c2f31b37b8ee4206.jpg","text":"TemporaryFile(/tmp/multipartBody7992201762306998801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142693232,"filename":"image_20042025_08_39_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff1fa55a1396b2a88fe84b711b1a1e8a.jpg","text":"TemporaryFile(/tmp/multipartBody6238764549183131210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142693232,"filename":"image_20042025_08_39_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c9192a17eeb3ce10029adf4985d7194.jpg","text":"TemporaryFile(/tmp/multipartBody6221335791282495086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142693232,"filename":"image_20042025_08_39_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38f997852e55e743bc8a440cceeb7c39.jpg","text":"TemporaryFile(/tmp/multipartBody9020716279583842932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142693232,"filename":"image_20042025_08_39_34_9570.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b5409f7f20503d3ee9e639602e1ec82.jpg","text":"TemporaryFile(/tmp/multipartBody6476417147220783772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142693232,"filename":"image_20042025_08_39_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c18c64b2d10dd6d6a74b4d2c26a6b54.jpg","text":"TemporaryFile(/tmp/multipartBody5755511983115267188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142693232,"filename":"image_20042025_08_39_14_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352207828","file1":"1352207745","file0":"1352207665","file4":"1352207985","file5":"1352208065","file3":"1352207911"},"map_files_photo_id_array":[{"photo_id":"1352208065","filename":"file5"},{"photo_id":"1352207828","filename":"file2"},{"photo_id":"1352207985","filename":"file4"},{"photo_id":"1352207745","filename":"file1"},{"photo_id":"1352207665","filename":"file0"},{"photo_id":"1352207911","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352208065":["hashtag1","hashtag2"]},{"1352207828":["hashtag1","hashtag2"]},{"1352207665":["hashtag1","hashtag2"]},{"1352207911":["hashtag1","hashtag2"]},{"1352207985":["hashtag1","hashtag2"]},{"1352207745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352208065, 1352207828, 1352207665, 1352207911, 1352207985, 1352207745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68210530281067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:51:32.954224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/39/image_20042025_08_40_04_10466.jpg', '/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_15_10357.jpg', '/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_24_9445.jpg', '/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_35_10356.jpg', '/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_44_9421.jpg', '/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_54_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/39/image_20042025_08_40_04_10466.jpg
/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_15_10357.jpg
/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_24_9445.jpg
/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_35_10356.jpg
/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_44_9421.jpg
/home/pi/Desktop/images/20042025/08/40/image_20042025_08_40_54_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352209613","1352208254","1352208256","1352208829","1352208399","1352209218"],"photo_ids_order":["1352208254","1352208256","1352208399","1352208829","1352209218","1352209613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9231f05f71309205fc262543b385edb.jpg","text":"TemporaryFile(/tmp/multipartBody7313401565966683905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142753426,"filename":"image_20042025_08_40_54_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e2f76d5858cb2890b888a5f874a2004.jpg","text":"TemporaryFile(/tmp/multipartBody9087994591815897255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142753426,"filename":"image_20042025_08_40_04_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3bee7cec54e99ee70e5ac5c615946e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2954830808726787479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142753426,"filename":"image_20042025_08_40_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9230d6488422d9768869275dc97be358.jpg","text":"TemporaryFile(/tmp/multipartBody5421410917921431990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142753426,"filename":"image_20042025_08_40_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60f2f48c650c16b2fc92a007a4bd8882.jpg","text":"TemporaryFile(/tmp/multipartBody7190159846689056579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142753426,"filename":"image_20042025_08_40_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7284e92a1785f85acce6e6bf30508e16.jpg","text":"TemporaryFile(/tmp/multipartBody164518684046999416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142753426,"filename":"image_20042025_08_40_44_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352208399","file1":"1352208256","file0":"1352208254","file4":"1352209218","file5":"1352209613","file3":"1352208829"},"map_files_photo_id_array":[{"photo_id":"1352209613","filename":"file5"},{"photo_id":"1352208399","filename":"file2"},{"photo_id":"1352209218","filename":"file4"},{"photo_id":"1352208256","filename":"file1"},{"photo_id":"1352208254","filename":"file0"},{"photo_id":"1352208829","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352209613":["hashtag1","hashtag2"]},{"1352208254":["hashtag1","hashtag2"]},{"1352208256":["hashtag1","hashtag2"]},{"1352208829":["hashtag1","hashtag2"]},{"1352208399":["hashtag1","hashtag2"]},{"1352209218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352209613, 1352208254, 1352208256, 1352208829, 1352208399, 1352209218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.0882134437561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:52:33.147393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/40/image_20042025_08_41_05_10353.jpg', '/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_14_9448.jpg', '/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_25_10384.jpg', '/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_34_9422.jpg', '/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_44_10377.jpg', '/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_55_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/40/image_20042025_08_41_05_10353.jpg
/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_14_9448.jpg
/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_25_10384.jpg
/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_34_9422.jpg
/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_44_10377.jpg
/home/pi/Desktop/images/20042025/08/41/image_20042025_08_41_55_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352210252","1352210195","1352210201","1352210191","1352210199","1352210193"],"photo_ids_order":["1352210191","1352210193","1352210195","1352210199","1352210201","1352210252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/065bd639f59d02d6e8b19293166b8b5b.jpg","text":"TemporaryFile(/tmp/multipartBody6945347262966093777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142813622,"filename":"image_20042025_08_41_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea8650832e18c6ce2269478fdbab3a59.jpg","text":"TemporaryFile(/tmp/multipartBody1589225849380102919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142813622,"filename":"image_20042025_08_41_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/300a5024275b2db1b20edb66d3f9d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody8396235068546206676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142813622,"filename":"image_20042025_08_41_44_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3fb51248e104de999855ad7a856466f.jpg","text":"TemporaryFile(/tmp/multipartBody2953757853708554126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142813622,"filename":"image_20042025_08_41_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13e47c9e93c16cf9b19b7eee78751ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1859210055766419630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142813622,"filename":"image_20042025_08_41_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a6c90dcd4a7dda6decd9e9c9c3d4d42.jpg","text":"TemporaryFile(/tmp/multipartBody4317729035713206406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142813622,"filename":"image_20042025_08_41_14_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352210195","file1":"1352210193","file0":"1352210191","file4":"1352210201","file5":"1352210252","file3":"1352210199"},"map_files_photo_id_array":[{"photo_id":"1352210252","filename":"file5"},{"photo_id":"1352210195","filename":"file2"},{"photo_id":"1352210201","filename":"file4"},{"photo_id":"1352210193","filename":"file1"},{"photo_id":"1352210191","filename":"file0"},{"photo_id":"1352210199","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352210252":["hashtag1","hashtag2"]},{"1352210195":["hashtag1","hashtag2"]},{"1352210201":["hashtag1","hashtag2"]},{"1352210191":["hashtag1","hashtag2"]},{"1352210199":["hashtag1","hashtag2"]},{"1352210193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352210252, 1352210195, 1352210201, 1352210191, 1352210199, 1352210193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31148362159729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:53:32.414288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/41/image_20042025_08_42_04_9436.jpg', '/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_14_10366.jpg', '/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_24_9493.jpg', '/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_34_10370.jpg', '/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_45_10383.jpg', '/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_54_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/41/image_20042025_08_42_04_9436.jpg
/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_14_10366.jpg
/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_24_9493.jpg
/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_34_10370.jpg
/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_45_10383.jpg
/home/pi/Desktop/images/20042025/08/42/image_20042025_08_42_54_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352210681","1352210669","1352210678","1352210639","1352210685","1352210687"],"photo_ids_order":["1352210639","1352210669","1352210678","1352210681","1352210685","1352210687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a27a9ac5b2a9199c4075a55b37e7eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7407903382266745394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142872888,"filename":"image_20042025_08_42_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5fddef0c6b9b86eae266471767344ce.jpg","text":"TemporaryFile(/tmp/multipartBody1713235295741545599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142872888,"filename":"image_20042025_08_42_14_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/981ee803f2d849fcee6b9daa885e035e.jpg","text":"TemporaryFile(/tmp/multipartBody1513889885747327937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142872888,"filename":"image_20042025_08_42_24_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/456b3244f3c5c3a16baf5453af7e275a.jpg","text":"TemporaryFile(/tmp/multipartBody1777774983487196086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142872888,"filename":"image_20042025_08_42_04_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fc39510d35bb0a2049015424117ab7f.jpg","text":"TemporaryFile(/tmp/multipartBody632474592094345636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142872888,"filename":"image_20042025_08_42_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b0f07191f2db4ced2d0d45c159407bf.jpg","text":"TemporaryFile(/tmp/multipartBody2584494567537348991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142872888,"filename":"image_20042025_08_42_54_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352210678","file1":"1352210669","file0":"1352210639","file4":"1352210685","file5":"1352210687","file3":"1352210681"},"map_files_photo_id_array":[{"photo_id":"1352210687","filename":"file5"},{"photo_id":"1352210678","filename":"file2"},{"photo_id":"1352210685","filename":"file4"},{"photo_id":"1352210669","filename":"file1"},{"photo_id":"1352210639","filename":"file0"},{"photo_id":"1352210681","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352210681":["hashtag1","hashtag2"]},{"1352210669":["hashtag1","hashtag2"]},{"1352210678":["hashtag1","hashtag2"]},{"1352210639":["hashtag1","hashtag2"]},{"1352210685":["hashtag1","hashtag2"]},{"1352210687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352210681, 1352210669, 1352210678, 1352210639, 1352210685, 1352210687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.332408905029297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:54:32.584827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/42/image_20042025_08_43_05_10370.jpg', '/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_14_9466.jpg', '/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_24_10379.jpg', '/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_35_10359.jpg', '/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_44_9441.jpg', '/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/42/image_20042025_08_43_05_10370.jpg
/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_14_9466.jpg
/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_24_10379.jpg
/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_35_10359.jpg
/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_44_9441.jpg
/home/pi/Desktop/images/20042025/08/43/image_20042025_08_43_55_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352211236","1352211069","1352211071","1352211065","1352211146","1352211074"],"photo_ids_order":["1352211065","1352211069","1352211071","1352211074","1352211146","1352211236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e33ee6886deab7b5e48b6d6ce640a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5336697454298638563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142933048,"filename":"image_20042025_08_43_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d44ddbce7fdb24ee56a49617f0860343.jpg","text":"TemporaryFile(/tmp/multipartBody7931405493971662931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142933048,"filename":"image_20042025_08_43_14_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc3e3899f0d51c46eaa82a2ace79908f.jpg","text":"TemporaryFile(/tmp/multipartBody2855289353338502448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142933048,"filename":"image_20042025_08_43_24_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d40ae90f5a15833dd4c609c2165cd5d.jpg","text":"TemporaryFile(/tmp/multipartBody5532481437425954784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142933048,"filename":"image_20042025_08_43_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef9feacf56743a7d74f8ad401eee6443.jpg","text":"TemporaryFile(/tmp/multipartBody1858907555073546764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142933048,"filename":"image_20042025_08_43_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e5fbba5474c0468eb63d8eecdf3a87a.jpg","text":"TemporaryFile(/tmp/multipartBody3519464164010860091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142933048,"filename":"image_20042025_08_43_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352211071","file1":"1352211069","file0":"1352211065","file4":"1352211146","file5":"1352211236","file3":"1352211074"},"map_files_photo_id_array":[{"photo_id":"1352211236","filename":"file5"},{"photo_id":"1352211071","filename":"file2"},{"photo_id":"1352211146","filename":"file4"},{"photo_id":"1352211069","filename":"file1"},{"photo_id":"1352211065","filename":"file0"},{"photo_id":"1352211074","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352211236":["hashtag1","hashtag2"]},{"1352211069":["hashtag1","hashtag2"]},{"1352211071":["hashtag1","hashtag2"]},{"1352211065":["hashtag1","hashtag2"]},{"1352211146":["hashtag1","hashtag2"]},{"1352211074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352211236, 1352211069, 1352211071, 1352211065, 1352211146, 1352211074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.045854330062866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:55:32.935277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/43/image_20042025_08_44_04_9392.jpg', '/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_14_10377.jpg', '/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_25_10366.jpg', '/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_34_9468.jpg', '/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_45_10374.jpg', '/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_54_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/43/image_20042025_08_44_04_9392.jpg
/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_14_10377.jpg
/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_25_10366.jpg
/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_34_9468.jpg
/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_45_10374.jpg
/home/pi/Desktop/images/20042025/08/44/image_20042025_08_44_54_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352211512","1352211506","1352211515","1352211509","1352211514","1352211510"],"photo_ids_order":["1352211506","1352211509","1352211510","1352211512","1352211514","1352211515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25b2e959df50737b614a242c954a9fa6.jpg","text":"TemporaryFile(/tmp/multipartBody661171449492792457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142993419,"filename":"image_20042025_08_44_34_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2208caf3f7f3e8ee5ef4cd5250383ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3384928964994108281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142993419,"filename":"image_20042025_08_44_04_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/481dab0860ac4200074afa68a82efe13.jpg","text":"TemporaryFile(/tmp/multipartBody68959764153265485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142993419,"filename":"image_20042025_08_44_54_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26811a1245d06a51ebe80cb7a494725b.jpg","text":"TemporaryFile(/tmp/multipartBody6464490219285214029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142993419,"filename":"image_20042025_08_44_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/468bb90b9e9054c18b27cc2f1a72250b.jpg","text":"TemporaryFile(/tmp/multipartBody8609945376418395099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142993419,"filename":"image_20042025_08_44_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb217fb50a1045a4fd1ad2c2d0fcf4f7.jpg","text":"TemporaryFile(/tmp/multipartBody3070059375770114197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745142993419,"filename":"image_20042025_08_44_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352211510","file1":"1352211509","file0":"1352211506","file4":"1352211514","file5":"1352211515","file3":"1352211512"},"map_files_photo_id_array":[{"photo_id":"1352211515","filename":"file5"},{"photo_id":"1352211510","filename":"file2"},{"photo_id":"1352211514","filename":"file4"},{"photo_id":"1352211509","filename":"file1"},{"photo_id":"1352211506","filename":"file0"},{"photo_id":"1352211512","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352211512":["hashtag1","hashtag2"]},{"1352211506":["hashtag1","hashtag2"]},{"1352211515":["hashtag1","hashtag2"]},{"1352211509":["hashtag1","hashtag2"]},{"1352211514":["hashtag1","hashtag2"]},{"1352211510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352211512, 1352211506, 1352211515, 1352211509, 1352211514, 1352211510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.285200595855713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:56:32.205760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/44/image_20042025_08_45_04_10364.jpg', '/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_15_10391.jpg', '/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_24_9365.jpg', '/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_35_10372.jpg', '/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_44_9389.jpg', '/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_54_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/44/image_20042025_08_45_04_10364.jpg
/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_15_10391.jpg
/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_24_9365.jpg
/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_35_10372.jpg
/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_44_9389.jpg
/home/pi/Desktop/images/20042025/08/45/image_20042025_08_45_54_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352211530","1352211533","1352211527","1352211523","1352211804","1352211603"],"photo_ids_order":["1352211523","1352211527","1352211530","1352211533","1352211603","1352211804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00b264604b91e4499c7d0ec359f23338.jpg","text":"TemporaryFile(/tmp/multipartBody1299107529253945134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143052675,"filename":"image_20042025_08_45_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f1e3a697a1b42bae0f6c8e3d5fcf45a.jpg","text":"TemporaryFile(/tmp/multipartBody4114279160989126812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143052675,"filename":"image_20042025_08_45_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/565e9ec7984b2381d4b8d71c1ebf10ed.jpg","text":"TemporaryFile(/tmp/multipartBody5197803776772664611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143052675,"filename":"image_20042025_08_45_15_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/694015ad5d086fcdef7937cf7828b987.jpg","text":"TemporaryFile(/tmp/multipartBody1204503300057051214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143052675,"filename":"image_20042025_08_45_04_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b987f33f05553995ba7b4e4ed4f45ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7511782413088728041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143052675,"filename":"image_20042025_08_45_54_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d83956d85da04a0fa69d2b666d50d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody7077714387076568479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143052675,"filename":"image_20042025_08_45_44_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352211530","file1":"1352211527","file0":"1352211523","file4":"1352211603","file5":"1352211804","file3":"1352211533"},"map_files_photo_id_array":[{"photo_id":"1352211804","filename":"file5"},{"photo_id":"1352211530","filename":"file2"},{"photo_id":"1352211603","filename":"file4"},{"photo_id":"1352211527","filename":"file1"},{"photo_id":"1352211523","filename":"file0"},{"photo_id":"1352211533","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352211530":["hashtag1","hashtag2"]},{"1352211533":["hashtag1","hashtag2"]},{"1352211527":["hashtag1","hashtag2"]},{"1352211523":["hashtag1","hashtag2"]},{"1352211804":["hashtag1","hashtag2"]},{"1352211603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352211530, 1352211533, 1352211527, 1352211523, 1352211804, 1352211603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39872884750366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:57:32.463724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/45/image_20042025_08_46_05_10347.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_14_9347.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_24_10368.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_35_10361.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_44_9483.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/45/image_20042025_08_46_05_10347.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_14_9347.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_24_10368.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_35_10361.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_44_9483.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 11:59:04.275685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/45/image_20042025_08_46_05_10347.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_14_9347.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_24_10368.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_35_10361.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_44_9483.jpg', '/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/45/image_20042025_08_46_05_10347.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_14_9347.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_24_10368.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_35_10361.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_44_9483.jpg
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_46_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214261","1352214299","1352214272","1352214160","1352214241","1352213989"],"photo_ids_order":["1352213989","1352214160","1352214241","1352214261","1352214272","1352214299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f94aa57784a64bcfc725d10c8805f59.jpg","text":"TemporaryFile(/tmp/multipartBody187464915357750418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143206106,"filename":"image_20042025_08_46_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cf79afcca35e031b757730d3f92e19b.jpg","text":"TemporaryFile(/tmp/multipartBody4946355177711562998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143206106,"filename":"image_20042025_08_46_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/215c9f6a9e4734e373e18868d8ecf41a.jpg","text":"TemporaryFile(/tmp/multipartBody8457508045152068450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143206106,"filename":"image_20042025_08_46_44_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9563b9f9f1ceaa76733dec7ae8daef03.jpg","text":"TemporaryFile(/tmp/multipartBody2933972603723468129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143206106,"filename":"image_20042025_08_46_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57223d9fa1eb9da5b090d89cf08e46cd.jpg","text":"TemporaryFile(/tmp/multipartBody751270071528520586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143206106,"filename":"image_20042025_08_46_24_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4dfeac239dd8cabe52581ca6a313319c.jpg","text":"TemporaryFile(/tmp/multipartBody8451414754244002268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143206106,"filename":"image_20042025_08_46_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214241","file1":"1352214160","file0":"1352213989","file4":"1352214272","file5":"1352214299","file3":"1352214261"},"map_files_photo_id_array":[{"photo_id":"1352214299","filename":"file5"},{"photo_id":"1352214241","filename":"file2"},{"photo_id":"1352214272","filename":"file4"},{"photo_id":"1352214160","filename":"file1"},{"photo_id":"1352213989","filename":"file0"},{"photo_id":"1352214261","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214261":["hashtag1","hashtag2"]},{"1352214299":["hashtag1","hashtag2"]},{"1352214272":["hashtag1","hashtag2"]},{"1352214160":["hashtag1","hashtag2"]},{"1352214241":["hashtag1","hashtag2"]},{"1352213989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214261, 1352214299, 1352214272, 1352214160, 1352214241, 1352213989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.95111894607544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 11:59:52.850028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/46/image_20042025_08_47_04_9420.jpg', '/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_14_10349.jpg', '/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_25_10358.jpg', '/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_34_9447.jpg', '/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_45_10376.jpg', '/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_54_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/46/image_20042025_08_47_04_9420.jpg
/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_14_10349.jpg
/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_25_10358.jpg
/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_34_9447.jpg
/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_45_10376.jpg
/home/pi/Desktop/images/20042025/08/47/image_20042025_08_47_54_9427.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214390","1352214513","1352214494","1352214464","1352214492","1352214424"],"photo_ids_order":["1352214390","1352214424","1352214464","1352214492","1352214494","1352214513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03a95e371b3948b23f25570039e5e420.jpg","text":"TemporaryFile(/tmp/multipartBody6956652498025191716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143253328,"filename":"image_20042025_08_47_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/931014d0875993daa81358659c71097e.jpg","text":"TemporaryFile(/tmp/multipartBody1108988448837133949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143253328,"filename":"image_20042025_08_47_54_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3fbf7da6601843cf1252b915d0c28fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4750003117801566112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143253328,"filename":"image_20042025_08_47_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e0b0a40e5b464309ac9bfc33b0f202e.jpg","text":"TemporaryFile(/tmp/multipartBody4671385149013744119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143253328,"filename":"image_20042025_08_47_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79222787aa8d41cbb21cb4e4eb3efb39.jpg","text":"TemporaryFile(/tmp/multipartBody1367532834043112601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143253328,"filename":"image_20042025_08_47_34_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3540c7add1642333f33a969ec3dbba73.jpg","text":"TemporaryFile(/tmp/multipartBody7421823470237416925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143253328,"filename":"image_20042025_08_47_14_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214464","file1":"1352214424","file0":"1352214390","file4":"1352214494","file5":"1352214513","file3":"1352214492"},"map_files_photo_id_array":[{"photo_id":"1352214513","filename":"file5"},{"photo_id":"1352214464","filename":"file2"},{"photo_id":"1352214494","filename":"file4"},{"photo_id":"1352214424","filename":"file1"},{"photo_id":"1352214390","filename":"file0"},{"photo_id":"1352214492","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214390":["hashtag1","hashtag2"]},{"1352214513":["hashtag1","hashtag2"]},{"1352214494":["hashtag1","hashtag2"]},{"1352214464":["hashtag1","hashtag2"]},{"1352214492":["hashtag1","hashtag2"]},{"1352214424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214390, 1352214513, 1352214494, 1352214464, 1352214492, 1352214424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.225916147232056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:00:33.092890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/47/image_20042025_08_48_04_10369.jpg', '/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_15_10351.jpg', '/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_24_9383.jpg', '/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_34_10387.jpg', '/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_45_10352.jpg', '/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_54_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/47/image_20042025_08_48_04_10369.jpg
/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_15_10351.jpg
/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_24_9383.jpg
/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_34_10387.jpg
/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_45_10352.jpg
/home/pi/Desktop/images/20042025/08/48/image_20042025_08_48_54_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214659","1352214650","1352214653","1352214647","1352214655","1352214658"],"photo_ids_order":["1352214647","1352214650","1352214653","1352214655","1352214658","1352214659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae364e80e970105a00b35ca380f7bae4.jpg","text":"TemporaryFile(/tmp/multipartBody2828055111615613248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143293569,"filename":"image_20042025_08_48_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7d6e97bd1672cac818e96b53eb5c991.jpg","text":"TemporaryFile(/tmp/multipartBody538142043566837714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143293569,"filename":"image_20042025_08_48_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7015caa7931e0380b80cb1c5aa28c78f.jpg","text":"TemporaryFile(/tmp/multipartBody5977539216932226215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143293569,"filename":"image_20042025_08_48_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb8076a48632c00176929902f28cbb49.jpg","text":"TemporaryFile(/tmp/multipartBody6495113771069192123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143293569,"filename":"image_20042025_08_48_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02d0cec43c1e0a402678a59efce5d609.jpg","text":"TemporaryFile(/tmp/multipartBody5525457313628273715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143293569,"filename":"image_20042025_08_48_34_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/feda60d01a66f59e086afe81534c2742.jpg","text":"TemporaryFile(/tmp/multipartBody357512062951160866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143293569,"filename":"image_20042025_08_48_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214653","file1":"1352214650","file0":"1352214647","file4":"1352214658","file5":"1352214659","file3":"1352214655"},"map_files_photo_id_array":[{"photo_id":"1352214659","filename":"file5"},{"photo_id":"1352214653","filename":"file2"},{"photo_id":"1352214658","filename":"file4"},{"photo_id":"1352214650","filename":"file1"},{"photo_id":"1352214647","filename":"file0"},{"photo_id":"1352214655","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214659":["hashtag1","hashtag2"]},{"1352214650":["hashtag1","hashtag2"]},{"1352214653":["hashtag1","hashtag2"]},{"1352214647":["hashtag1","hashtag2"]},{"1352214655":["hashtag1","hashtag2"]},{"1352214658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214659, 1352214650, 1352214653, 1352214647, 1352214655, 1352214658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.86677098274231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:01:32.257547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/48/image_20042025_08_49_05_10411.jpg', '/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_14_9451.jpg', '/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_24_10367.jpg', '/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_35_10369.jpg', '/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_44_9413.jpg', '/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/48/image_20042025_08_49_05_10411.jpg
/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_14_9451.jpg
/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_24_10367.jpg
/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_35_10369.jpg
/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_44_9413.jpg
/home/pi/Desktop/images/20042025/08/49/image_20042025_08_49_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214681","1352214683","1352214689","1352214685","1352214679","1352214687"],"photo_ids_order":["1352214679","1352214681","1352214683","1352214685","1352214687","1352214689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9721a7e178fd64cf7ef2b63cd993764f.jpg","text":"TemporaryFile(/tmp/multipartBody6278377309499247102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143352720,"filename":"image_20042025_08_49_14_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9be47759e4286befd0dc25cdb6cd583d.jpg","text":"TemporaryFile(/tmp/multipartBody4259471880046699030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143352720,"filename":"image_20042025_08_49_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd956a85a0c779de9f55f8b7009bddde.jpg","text":"TemporaryFile(/tmp/multipartBody2150174309287135063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143352720,"filename":"image_20042025_08_49_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a22b4f20cf2e3002eb74555c5d1909a2.jpg","text":"TemporaryFile(/tmp/multipartBody2403309111365507971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143352720,"filename":"image_20042025_08_49_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/084a69ca41a9ef3cf48b0380296abb0a.jpg","text":"TemporaryFile(/tmp/multipartBody33696397407805793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143352720,"filename":"image_20042025_08_49_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88bbae5884e65fa9daa6681e5cd784ad.jpg","text":"TemporaryFile(/tmp/multipartBody8988822707480437696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143352720,"filename":"image_20042025_08_49_44_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214683","file1":"1352214681","file0":"1352214679","file4":"1352214687","file5":"1352214689","file3":"1352214685"},"map_files_photo_id_array":[{"photo_id":"1352214689","filename":"file5"},{"photo_id":"1352214683","filename":"file2"},{"photo_id":"1352214687","filename":"file4"},{"photo_id":"1352214681","filename":"file1"},{"photo_id":"1352214679","filename":"file0"},{"photo_id":"1352214685","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214681":["hashtag1","hashtag2"]},{"1352214683":["hashtag1","hashtag2"]},{"1352214689":["hashtag1","hashtag2"]},{"1352214685":["hashtag1","hashtag2"]},{"1352214679":["hashtag1","hashtag2"]},{"1352214687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214681, 1352214683, 1352214689, 1352214685, 1352214679, 1352214687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82476615905762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:02:32.674364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_14_10378.jpg', '/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_25_10370.jpg', '/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_34_9360.jpg', '/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_44_10376.jpg', '/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_55_10373.jpg', '/home/pi/Desktop/images/20042025/08/50/image_20042025_08_51_04_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_14_10378.jpg
/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_25_10370.jpg
/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_34_9360.jpg
/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_44_10376.jpg
/home/pi/Desktop/images/20042025/08/50/image_20042025_08_50_55_10373.jpg
/home/pi/Desktop/images/20042025/08/50/image_20042025_08_51_04_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214711","1352214705","1352214708","1352214713","1352214716","1352214718"],"photo_ids_order":["1352214705","1352214708","1352214711","1352214713","1352214716","1352214718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97c1576050dcdc0bbea1acdcdf3d3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7889926148100991943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143413157,"filename":"image_20042025_08_50_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec3f59fe177ab9a0db62b1d6a0a8f4da.jpg","text":"TemporaryFile(/tmp/multipartBody7281740187551125497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143413157,"filename":"image_20042025_08_50_14_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/320be2999841f92e21a6728b167549f3.jpg","text":"TemporaryFile(/tmp/multipartBody1029356592110792600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143413157,"filename":"image_20042025_08_50_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e4ada76acbdf44467c4aae74deee253.jpg","text":"TemporaryFile(/tmp/multipartBody8069450731596780468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143413157,"filename":"image_20042025_08_50_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b98857a8718b246405213c977cc15c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8202548191921955793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143413157,"filename":"image_20042025_08_50_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f02cafa739b086a3770d54de960e4de8.jpg","text":"TemporaryFile(/tmp/multipartBody5389088105692084294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143413157,"filename":"image_20042025_08_51_04_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214711","file1":"1352214708","file0":"1352214705","file4":"1352214716","file5":"1352214718","file3":"1352214713"},"map_files_photo_id_array":[{"photo_id":"1352214718","filename":"file5"},{"photo_id":"1352214711","filename":"file2"},{"photo_id":"1352214716","filename":"file4"},{"photo_id":"1352214708","filename":"file1"},{"photo_id":"1352214705","filename":"file0"},{"photo_id":"1352214713","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214711":["hashtag1","hashtag2"]},{"1352214705":["hashtag1","hashtag2"]},{"1352214708":["hashtag1","hashtag2"]},{"1352214713":["hashtag1","hashtag2"]},{"1352214716":["hashtag1","hashtag2"]},{"1352214718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214711, 1352214705, 1352214708, 1352214713, 1352214716, 1352214718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.864980697631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:03:32.865473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_15_10359.jpg', '/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_24_9430.jpg', '/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_34_10371.jpg', '/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_44_9749.jpg', '/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_55_10385.jpg', '/home/pi/Desktop/images/20042025/08/51/image_20042025_08_52_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_15_10359.jpg
/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_24_9430.jpg
/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_34_10371.jpg
/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_44_9749.jpg
/home/pi/Desktop/images/20042025/08/51/image_20042025_08_51_55_10385.jpg
/home/pi/Desktop/images/20042025/08/51/image_20042025_08_52_04_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214741","1352214735","1352214743","1352214737","1352214739","1352214733"],"photo_ids_order":["1352214733","1352214735","1352214737","1352214739","1352214741","1352214743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa7053ec525ffa420f2e9cedd9cf382f.jpg","text":"TemporaryFile(/tmp/multipartBody271616203666050127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143473332,"filename":"image_20042025_08_51_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5dc8fef2afb1db9546de3e88fbee9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8096297148875114864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143473332,"filename":"image_20042025_08_51_24_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6bd6acc0d123fd37ff6d83db433038a.jpg","text":"TemporaryFile(/tmp/multipartBody500803074437518086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143473332,"filename":"image_20042025_08_52_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e76ab96444105954eb2f1a77fafff55c.jpg","text":"TemporaryFile(/tmp/multipartBody6468151013935426739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143473332,"filename":"image_20042025_08_51_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f9f13f62b3d2cb0b78dfa06ac88ab09.jpg","text":"TemporaryFile(/tmp/multipartBody6104045591263638380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143473332,"filename":"image_20042025_08_51_44_9749.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0993a7d3afe271db7bcefa610f6f602a.jpg","text":"TemporaryFile(/tmp/multipartBody4550744914029027891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143473332,"filename":"image_20042025_08_51_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214737","file1":"1352214735","file0":"1352214733","file4":"1352214741","file5":"1352214743","file3":"1352214739"},"map_files_photo_id_array":[{"photo_id":"1352214743","filename":"file5"},{"photo_id":"1352214737","filename":"file2"},{"photo_id":"1352214741","filename":"file4"},{"photo_id":"1352214735","filename":"file1"},{"photo_id":"1352214733","filename":"file0"},{"photo_id":"1352214739","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214741":["hashtag1","hashtag2"]},{"1352214735":["hashtag1","hashtag2"]},{"1352214743":["hashtag1","hashtag2"]},{"1352214737":["hashtag1","hashtag2"]},{"1352214739":["hashtag1","hashtag2"]},{"1352214733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214741, 1352214735, 1352214743, 1352214737, 1352214739, 1352214733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.623247146606445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:04:33.117116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_14_10375.jpg', '/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_25_10374.jpg', '/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_44_10376.jpg', '/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_55_10371.jpg', '/home/pi/Desktop/images/20042025/08/52/image_20042025_08_53_04_9412.jpg', '/home/pi/Desktop/images/20042025/08/53/image_20042025_08_53_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_14_10375.jpg
/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_25_10374.jpg
/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_44_10376.jpg
/home/pi/Desktop/images/20042025/08/52/image_20042025_08_52_55_10371.jpg
/home/pi/Desktop/images/20042025/08/52/image_20042025_08_53_04_9412.jpg
/home/pi/Desktop/images/20042025/08/53/image_20042025_08_53_15_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214768","1352214762","1352214758","1352214767","1352214760","1352214765"],"photo_ids_order":["1352214758","1352214760","1352214762","1352214765","1352214767","1352214768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f28584c52bd5536725f7a6e6a59d4ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6766908885537224686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143533577,"filename":"image_20042025_08_53_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69a89d1f8c01c996c1389dc53634f697.jpg","text":"TemporaryFile(/tmp/multipartBody9210233119194886255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143533577,"filename":"image_20042025_08_52_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4e77d4124ad4a174eb8501c463ac9cf.jpg","text":"TemporaryFile(/tmp/multipartBody7196732966258486502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143533577,"filename":"image_20042025_08_52_14_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e796ead25cc1946a562c0fc39ad773a.jpg","text":"TemporaryFile(/tmp/multipartBody3061015302304618385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143533577,"filename":"image_20042025_08_53_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9c7b3fd0cae28a5d6912898843bca1f.jpg","text":"TemporaryFile(/tmp/multipartBody6122792043632053499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143533577,"filename":"image_20042025_08_52_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4dae1f1290dee82e219e35a1fcaa60b.jpg","text":"TemporaryFile(/tmp/multipartBody6724866605253627218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143533577,"filename":"image_20042025_08_52_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214762","file1":"1352214760","file0":"1352214758","file4":"1352214767","file5":"1352214768","file3":"1352214765"},"map_files_photo_id_array":[{"photo_id":"1352214768","filename":"file5"},{"photo_id":"1352214762","filename":"file2"},{"photo_id":"1352214767","filename":"file4"},{"photo_id":"1352214760","filename":"file1"},{"photo_id":"1352214758","filename":"file0"},{"photo_id":"1352214765","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214768":["hashtag1","hashtag2"]},{"1352214762":["hashtag1","hashtag2"]},{"1352214758":["hashtag1","hashtag2"]},{"1352214767":["hashtag1","hashtag2"]},{"1352214760":["hashtag1","hashtag2"]},{"1352214765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214768, 1352214762, 1352214758, 1352214767, 1352214760, 1352214765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8612380027771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:05:32.274941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/53/image_20042025_08_53_34_10368.jpg', '/home/pi/Desktop/images/20042025/08/53/image_20042025_08_53_45_10378.jpg', '/home/pi/Desktop/images/20042025/08/53/image_20042025_08_54_05_10444.jpg', '/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_14_9477.jpg', '/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_24_10408.jpg', '/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/53/image_20042025_08_53_34_10368.jpg
/home/pi/Desktop/images/20042025/08/53/image_20042025_08_53_45_10378.jpg
/home/pi/Desktop/images/20042025/08/53/image_20042025_08_54_05_10444.jpg
/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_14_9477.jpg
/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_24_10408.jpg
/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_35_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214780","1352214782","1352214785","1352214784","1352214783","1352214786"],"photo_ids_order":["1352214780","1352214782","1352214783","1352214784","1352214785","1352214786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e299ad1364b63f0cf3c8f32c2679eaf8.jpg","text":"TemporaryFile(/tmp/multipartBody2057120743933847459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143592735,"filename":"image_20042025_08_53_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88d2343d0dd697b145f5a22930c9027f.jpg","text":"TemporaryFile(/tmp/multipartBody420193089256733642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143592735,"filename":"image_20042025_08_53_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1385571abda124e21c31aea68adf5325.jpg","text":"TemporaryFile(/tmp/multipartBody3837820002505854033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143592735,"filename":"image_20042025_08_54_24_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2af8bb8787130c8f89f8d5ca415001bf.jpg","text":"TemporaryFile(/tmp/multipartBody7574967883509599005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143592735,"filename":"image_20042025_08_54_14_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/473a8a4d885cad0af2cdfe9424e98295.jpg","text":"TemporaryFile(/tmp/multipartBody4466259164538434924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143592735,"filename":"image_20042025_08_54_05_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba5ef1c67560542ab34fa8956314e168.jpg","text":"TemporaryFile(/tmp/multipartBody5703955970083438364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143592735,"filename":"image_20042025_08_54_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214783","file1":"1352214782","file0":"1352214780","file4":"1352214785","file5":"1352214786","file3":"1352214784"},"map_files_photo_id_array":[{"photo_id":"1352214786","filename":"file5"},{"photo_id":"1352214783","filename":"file2"},{"photo_id":"1352214785","filename":"file4"},{"photo_id":"1352214782","filename":"file1"},{"photo_id":"1352214780","filename":"file0"},{"photo_id":"1352214784","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214780":["hashtag1","hashtag2"]},{"1352214782":["hashtag1","hashtag2"]},{"1352214785":["hashtag1","hashtag2"]},{"1352214784":["hashtag1","hashtag2"]},{"1352214783":["hashtag1","hashtag2"]},{"1352214786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214780, 1352214782, 1352214785, 1352214784, 1352214783, 1352214786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51763200759888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:06:32.530437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_55_10369.jpg', '/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_14_10369.jpg', '/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_25_10373.jpg', '/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_34_9455.jpg', '/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_45_10357.jpg', '/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_54_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/54/image_20042025_08_54_55_10369.jpg
/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_14_10369.jpg
/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_25_10373.jpg
/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_34_9455.jpg
/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_45_10357.jpg
/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_54_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214810","1352214804","1352214800","1352214806","1352214808","1352214802"],"photo_ids_order":["1352214800","1352214802","1352214804","1352214806","1352214808","1352214810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53920d85154a386dc08234d010448555.jpg","text":"TemporaryFile(/tmp/multipartBody7589668389899822223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143653009,"filename":"image_20042025_08_55_54_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8da40aa6de74d21f0f1a949ff29899c.jpg","text":"TemporaryFile(/tmp/multipartBody3353337848667049014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143653009,"filename":"image_20042025_08_55_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6aaa77a521c7c8a189e13f9c09181fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7525528088670485028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143653009,"filename":"image_20042025_08_54_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9bcfe82cfae3da50000b57d82d25aef9.jpg","text":"TemporaryFile(/tmp/multipartBody7834070699686590972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143653009,"filename":"image_20042025_08_55_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45d8a6c43099f21eba433058fde2915e.jpg","text":"TemporaryFile(/tmp/multipartBody9049264551850299838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143653009,"filename":"image_20042025_08_55_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0807bef2936858e85fd820e50685d9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1760518605557564603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143653009,"filename":"image_20042025_08_55_14_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214804","file1":"1352214802","file0":"1352214800","file4":"1352214808","file5":"1352214810","file3":"1352214806"},"map_files_photo_id_array":[{"photo_id":"1352214810","filename":"file5"},{"photo_id":"1352214804","filename":"file2"},{"photo_id":"1352214808","filename":"file4"},{"photo_id":"1352214802","filename":"file1"},{"photo_id":"1352214800","filename":"file0"},{"photo_id":"1352214806","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214810":["hashtag1","hashtag2"]},{"1352214804":["hashtag1","hashtag2"]},{"1352214800":["hashtag1","hashtag2"]},{"1352214806":["hashtag1","hashtag2"]},{"1352214808":["hashtag1","hashtag2"]},{"1352214802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214810, 1352214804, 1352214800, 1352214806, 1352214808, 1352214802)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1352214804 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/20042025/08/55/image_20042025_08_55_25_10373.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 51.07457137107849 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:07:32.955482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/55/image_20042025_08_56_04_10381.jpg', '/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_24_9328.jpg', '/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_34_10373.jpg', '/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_45_10370.jpg', '/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_54_9459.jpg', '/home/pi/Desktop/images/20042025/08/56/image_20042025_08_57_05_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/55/image_20042025_08_56_04_10381.jpg
/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_24_9328.jpg
/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_34_10373.jpg
/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_45_10370.jpg
/home/pi/Desktop/images/20042025/08/56/image_20042025_08_56_54_9459.jpg
/home/pi/Desktop/images/20042025/08/56/image_20042025_08_57_05_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214828","1352214837","1352214830","1352214824","1352214835","1352214838"],"photo_ids_order":["1352214824","1352214828","1352214830","1352214835","1352214837","1352214838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f4aad0f0931ae8f5347133b11838ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3891496056950063096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143713449,"filename":"image_20042025_08_56_24_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76daf4e36440b511929e6037bc718581.jpg","text":"TemporaryFile(/tmp/multipartBody7889471535137546886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143713449,"filename":"image_20042025_08_56_54_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1bf2f0cef575a2836169b2ed3f1b962.jpg","text":"TemporaryFile(/tmp/multipartBody3916767129810498563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143713449,"filename":"image_20042025_08_56_34_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5f0a8843394e39f0fb10b58674f9d6d.jpg","text":"TemporaryFile(/tmp/multipartBody1561428701587746710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143713449,"filename":"image_20042025_08_56_04_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3afb07a86f0ef002cad60271bea73d61.jpg","text":"TemporaryFile(/tmp/multipartBody200863050293139733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143713449,"filename":"image_20042025_08_56_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/710b0f031edabd8591b5e311ed8a03e7.jpg","text":"TemporaryFile(/tmp/multipartBody4637382706516102661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143713449,"filename":"image_20042025_08_57_05_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214830","file1":"1352214828","file0":"1352214824","file4":"1352214837","file5":"1352214838","file3":"1352214835"},"map_files_photo_id_array":[{"photo_id":"1352214838","filename":"file5"},{"photo_id":"1352214830","filename":"file2"},{"photo_id":"1352214837","filename":"file4"},{"photo_id":"1352214828","filename":"file1"},{"photo_id":"1352214824","filename":"file0"},{"photo_id":"1352214835","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214828":["hashtag1","hashtag2"]},{"1352214837":["hashtag1","hashtag2"]},{"1352214830":["hashtag1","hashtag2"]},{"1352214824":["hashtag1","hashtag2"]},{"1352214835":["hashtag1","hashtag2"]},{"1352214838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214828, 1352214837, 1352214830, 1352214824, 1352214835, 1352214838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27027225494385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:08:32.188646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_14_9349.jpg', '/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_24_10368.jpg', '/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_34_9435.jpg', '/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_44_10387.jpg', '/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_55_10367.jpg', '/home/pi/Desktop/images/20042025/08/57/image_20042025_08_58_04_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_14_9349.jpg
/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_24_10368.jpg
/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_34_9435.jpg
/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_44_10387.jpg
/home/pi/Desktop/images/20042025/08/57/image_20042025_08_57_55_10367.jpg
/home/pi/Desktop/images/20042025/08/57/image_20042025_08_58_04_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214852","1352214861","1352214855","1352214863","1352214857","1352214866"],"photo_ids_order":["1352214852","1352214855","1352214857","1352214861","1352214863","1352214866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e41f33bbf9b8ee89709b67f88e937714.jpg","text":"TemporaryFile(/tmp/multipartBody2844798285743529555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143772657,"filename":"image_20042025_08_57_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a612f541d611733288e9d21eae8399e4.jpg","text":"TemporaryFile(/tmp/multipartBody2925421524247151691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143772657,"filename":"image_20042025_08_57_44_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a5536b44f7aea73c8fdfc6876841104.jpg","text":"TemporaryFile(/tmp/multipartBody8983599633194396419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143772657,"filename":"image_20042025_08_57_24_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7165a93090f93a9eac231634d4aaa67b.jpg","text":"TemporaryFile(/tmp/multipartBody4406752241445293193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143772657,"filename":"image_20042025_08_57_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1b84beca97a2526c4ea2be36aec535c.jpg","text":"TemporaryFile(/tmp/multipartBody4213228171018246931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143772657,"filename":"image_20042025_08_57_34_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fc794844917f8e6ea2af738be244c88.jpg","text":"TemporaryFile(/tmp/multipartBody8103113782269385188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143772657,"filename":"image_20042025_08_58_04_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214857","file1":"1352214855","file0":"1352214852","file4":"1352214863","file5":"1352214866","file3":"1352214861"},"map_files_photo_id_array":[{"photo_id":"1352214866","filename":"file5"},{"photo_id":"1352214857","filename":"file2"},{"photo_id":"1352214863","filename":"file4"},{"photo_id":"1352214855","filename":"file1"},{"photo_id":"1352214852","filename":"file0"},{"photo_id":"1352214861","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214852":["hashtag1","hashtag2"]},{"1352214861":["hashtag1","hashtag2"]},{"1352214855":["hashtag1","hashtag2"]},{"1352214863":["hashtag1","hashtag2"]},{"1352214857":["hashtag1","hashtag2"]},{"1352214866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214852, 1352214861, 1352214855, 1352214863, 1352214857, 1352214866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.37984824180603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:09:32.479708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_15_10394.jpg', '/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_34_10367.jpg', '/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_45_10357.jpg', '/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_54_9484.jpg', '/home/pi/Desktop/images/20042025/08/58/image_20042025_08_59_05_10358.jpg', '/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_14_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_15_10394.jpg
/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_34_10367.jpg
/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_45_10357.jpg
/home/pi/Desktop/images/20042025/08/58/image_20042025_08_58_54_9484.jpg
/home/pi/Desktop/images/20042025/08/58/image_20042025_08_59_05_10358.jpg
/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_14_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214894","1352214881","1352214889","1352214883","1352214891","1352214885"],"photo_ids_order":["1352214881","1352214883","1352214885","1352214889","1352214891","1352214894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fe25148a77f56c7e68b7ffd0ba96968.jpg","text":"TemporaryFile(/tmp/multipartBody3851843396169575655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143832954,"filename":"image_20042025_08_59_14_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/513d77b2c81e42ffad8e7f083f8abd28.jpg","text":"TemporaryFile(/tmp/multipartBody1826021617725299581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143832954,"filename":"image_20042025_08_58_15_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cffd3511bf95e60db08d3f409afe0c68.jpg","text":"TemporaryFile(/tmp/multipartBody1582648529519765305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143832954,"filename":"image_20042025_08_58_54_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da5690cd1e3c8d492ccc72fa79b3c194.jpg","text":"TemporaryFile(/tmp/multipartBody5512748631871568590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143832954,"filename":"image_20042025_08_58_34_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3463d6fee4e18630134fa493dd33562e.jpg","text":"TemporaryFile(/tmp/multipartBody2129783919768686671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143832954,"filename":"image_20042025_08_59_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/731e0eed6ecc35fb7189b571b868ef18.jpg","text":"TemporaryFile(/tmp/multipartBody666676041839628688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143832954,"filename":"image_20042025_08_58_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214885","file1":"1352214883","file0":"1352214881","file4":"1352214891","file5":"1352214894","file3":"1352214889"},"map_files_photo_id_array":[{"photo_id":"1352214894","filename":"file5"},{"photo_id":"1352214885","filename":"file2"},{"photo_id":"1352214891","filename":"file4"},{"photo_id":"1352214883","filename":"file1"},{"photo_id":"1352214881","filename":"file0"},{"photo_id":"1352214889","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214894":["hashtag1","hashtag2"]},{"1352214881":["hashtag1","hashtag2"]},{"1352214889":["hashtag1","hashtag2"]},{"1352214883":["hashtag1","hashtag2"]},{"1352214891":["hashtag1","hashtag2"]},{"1352214885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214894, 1352214881, 1352214889, 1352214883, 1352214891, 1352214885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.06718397140503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:10:32.614130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_24_10357.jpg', '/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_35_10373.jpg', '/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_44_9366.jpg', '/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_54_10380.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_15_10077.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_25_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_24_10357.jpg
/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_35_10373.jpg
/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_44_9366.jpg
/home/pi/Desktop/images/20042025/08/59/image_20042025_08_59_54_10380.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_15_10077.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_25_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214909","1352214924","1352214911","1352214920","1352214914","1352214916"],"photo_ids_order":["1352214909","1352214911","1352214914","1352214916","1352214920","1352214924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db3f5fce40503b26115942aaf8e30bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8939001689417893623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143893100,"filename":"image_20042025_08_59_24_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc02c5bcb7381030fd4412a4937d90a3.jpg","text":"TemporaryFile(/tmp/multipartBody1854307530375224852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143893100,"filename":"image_20042025_09_01_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f800492b4b1418f4044e022aec1965bf.jpg","text":"TemporaryFile(/tmp/multipartBody384313070434242614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143893100,"filename":"image_20042025_08_59_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c818bde6b2c442f78b6df1a50412c06d.jpg","text":"TemporaryFile(/tmp/multipartBody3285235768417846742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143893100,"filename":"image_20042025_09_01_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/106ea611b4711185d383d36cce1c6e66.jpg","text":"TemporaryFile(/tmp/multipartBody1959694391467483043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143893100,"filename":"image_20042025_08_59_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35249a3a7b63e48f0bdf2f59083cd97b.jpg","text":"TemporaryFile(/tmp/multipartBody9039832255374178609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143893100,"filename":"image_20042025_08_59_54_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214914","file1":"1352214911","file0":"1352214909","file4":"1352214920","file5":"1352214924","file3":"1352214916"},"map_files_photo_id_array":[{"photo_id":"1352214924","filename":"file5"},{"photo_id":"1352214914","filename":"file2"},{"photo_id":"1352214920","filename":"file4"},{"photo_id":"1352214911","filename":"file1"},{"photo_id":"1352214909","filename":"file0"},{"photo_id":"1352214916","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214909":["hashtag1","hashtag2"]},{"1352214924":["hashtag1","hashtag2"]},{"1352214911":["hashtag1","hashtag2"]},{"1352214920":["hashtag1","hashtag2"]},{"1352214914":["hashtag1","hashtag2"]},{"1352214916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214909, 1352214924, 1352214911, 1352214920, 1352214914, 1352214916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.405916213989258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:11:32.861950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_35_10389.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_45_9396.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_55_10352.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_02_05_9447.jpg', '/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_15_10460.jpg', '/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_35_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_35_10389.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_45_9396.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_55_10352.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_02_05_9447.jpg
/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_15_10460.jpg
/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_35_9421.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40956830978393555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 12:11:42.852227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_35_10389.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_45_9396.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_55_10352.jpg', '/home/pi/Desktop/images/20042025/09/01/image_20042025_09_02_05_9447.jpg', '/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_15_10460.jpg', '/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_35_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_35_10389.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_45_9396.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_01_55_10352.jpg
/home/pi/Desktop/images/20042025/09/01/image_20042025_09_02_05_9447.jpg
/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_15_10460.jpg
/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_35_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214951","1352214954","1352214962","1352214964","1352214958","1352214963"],"photo_ids_order":["1352214951","1352214954","1352214958","1352214962","1352214963","1352214964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/727eb84fb44454a9882e9ad2454cbbec.jpg","text":"TemporaryFile(/tmp/multipartBody6255637607278829316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143963331,"filename":"image_20042025_09_01_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc0743a5dd8a017e9a90ecf6d6dca4d1.jpg","text":"TemporaryFile(/tmp/multipartBody7570313996628754979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143963331,"filename":"image_20042025_09_01_45_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6350172340d39ce91806348dbb3f8daa.jpg","text":"TemporaryFile(/tmp/multipartBody639862072340927054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143963331,"filename":"image_20042025_09_02_05_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e17d31e4ebf06a7d1e218923a54d20b.jpg","text":"TemporaryFile(/tmp/multipartBody8704379705040678186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143963331,"filename":"image_20042025_09_02_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c164260784c05cb8b8193ee0b0a0173b.jpg","text":"TemporaryFile(/tmp/multipartBody3304252924339111232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143963331,"filename":"image_20042025_09_01_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6abf5bb8d2e8872ba72b2023a57836b3.jpg","text":"TemporaryFile(/tmp/multipartBody3837047717424618654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745143963331,"filename":"image_20042025_09_02_15_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214958","file1":"1352214954","file0":"1352214951","file4":"1352214963","file5":"1352214964","file3":"1352214962"},"map_files_photo_id_array":[{"photo_id":"1352214964","filename":"file5"},{"photo_id":"1352214958","filename":"file2"},{"photo_id":"1352214963","filename":"file4"},{"photo_id":"1352214954","filename":"file1"},{"photo_id":"1352214951","filename":"file0"},{"photo_id":"1352214962","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214951":["hashtag1","hashtag2"]},{"1352214954":["hashtag1","hashtag2"]},{"1352214962":["hashtag1","hashtag2"]},{"1352214964":["hashtag1","hashtag2"]},{"1352214958":["hashtag1","hashtag2"]},{"1352214963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214951, 1352214954, 1352214962, 1352214964, 1352214958, 1352214963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.716283321380615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:12:33.114778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_45_10406.jpg', '/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_55_9362.jpg', '/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_15_10364.jpg', '/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_25_9365.jpg', '/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_46_10370.jpg', '/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_55_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_45_10406.jpg
/home/pi/Desktop/images/20042025/09/02/image_20042025_09_02_55_9362.jpg
/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_15_10364.jpg
/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_25_9365.jpg
/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_46_10370.jpg
/home/pi/Desktop/images/20042025/09/03/image_20042025_09_03_55_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214989","1352214980","1352214983","1352214977","1352214991","1352214994"],"photo_ids_order":["1352214977","1352214980","1352214983","1352214989","1352214991","1352214994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d95b590cb94c3d298c0c25378272c1df.jpg","text":"TemporaryFile(/tmp/multipartBody1191041247976405485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144013595,"filename":"image_20042025_09_03_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d3da43f6a8001906c33c925159eaf58.jpg","text":"TemporaryFile(/tmp/multipartBody398604525025385305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144013595,"filename":"image_20042025_09_02_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/009ba1e28b3cfaf0b0b326f95e953fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4677258644915045918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144013595,"filename":"image_20042025_09_03_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7be6a88717775fed42b52314665c091a.jpg","text":"TemporaryFile(/tmp/multipartBody2375528013590844105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144013595,"filename":"image_20042025_09_02_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19d638fefb8db7354164a6ecf53af077.jpg","text":"TemporaryFile(/tmp/multipartBody6719271680513524848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144013595,"filename":"image_20042025_09_03_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c494cd829d10ab1c4b9c9f94177c004f.jpg","text":"TemporaryFile(/tmp/multipartBody6822691172249507785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144013595,"filename":"image_20042025_09_03_55_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214983","file1":"1352214980","file0":"1352214977","file4":"1352214991","file5":"1352214994","file3":"1352214989"},"map_files_photo_id_array":[{"photo_id":"1352214994","filename":"file5"},{"photo_id":"1352214983","filename":"file2"},{"photo_id":"1352214991","filename":"file4"},{"photo_id":"1352214980","filename":"file1"},{"photo_id":"1352214977","filename":"file0"},{"photo_id":"1352214989","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352214989":["hashtag1","hashtag2"]},{"1352214980":["hashtag1","hashtag2"]},{"1352214983":["hashtag1","hashtag2"]},{"1352214977":["hashtag1","hashtag2"]},{"1352214991":["hashtag1","hashtag2"]},{"1352214994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352214989, 1352214980, 1352214983, 1352214977, 1352214991, 1352214994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.303507566452026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:13:32.227008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/03/image_20042025_09_04_05_10369.jpg', '/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_15_9357.jpg', '/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_25_10474.jpg', '/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_36_10375.jpg', '/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_45_9432.jpg', '/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_55_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/03/image_20042025_09_04_05_10369.jpg
/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_15_9357.jpg
/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_25_10474.jpg
/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_36_10375.jpg
/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_45_9432.jpg
/home/pi/Desktop/images/20042025/09/04/image_20042025_09_04_55_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215010","1352215007","1352215016","1352215021","1352215018","1352215012"],"photo_ids_order":["1352215007","1352215010","1352215012","1352215016","1352215018","1352215021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c22369909605c74d73dd7ae52dd2d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5410650234415335296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144072695,"filename":"image_20042025_09_04_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5cb291ca6a2a8c893d206e3a1113b0b.jpg","text":"TemporaryFile(/tmp/multipartBody7337877131895174737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144072695,"filename":"image_20042025_09_04_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0218abcbeaf2c5b8047a287acb1aa05.jpg","text":"TemporaryFile(/tmp/multipartBody1073489939131003927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144072695,"filename":"image_20042025_09_04_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/483db7fedc815ee3ca1a7d11513ca8e5.jpg","text":"TemporaryFile(/tmp/multipartBody5310543418200457447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144072695,"filename":"image_20042025_09_04_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be3de745096bb5dfb1e5a247d786f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody4357936783238144948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144072695,"filename":"image_20042025_09_04_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01c76a988021242134221b02d9fdeccc.jpg","text":"TemporaryFile(/tmp/multipartBody8406842265613440988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144072695,"filename":"image_20042025_09_04_25_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215012","file1":"1352215010","file0":"1352215007","file4":"1352215018","file5":"1352215021","file3":"1352215016"},"map_files_photo_id_array":[{"photo_id":"1352215021","filename":"file5"},{"photo_id":"1352215012","filename":"file2"},{"photo_id":"1352215018","filename":"file4"},{"photo_id":"1352215010","filename":"file1"},{"photo_id":"1352215007","filename":"file0"},{"photo_id":"1352215016","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352215010":["hashtag1","hashtag2"]},{"1352215007":["hashtag1","hashtag2"]},{"1352215016":["hashtag1","hashtag2"]},{"1352215021":["hashtag1","hashtag2"]},{"1352215018":["hashtag1","hashtag2"]},{"1352215012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352215010, 1352215007, 1352215016, 1352215021, 1352215018, 1352215012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1441535949707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:14:32.545701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/04/image_20042025_09_05_05_9382.jpg', '/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_15_10468.jpg', '/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_26_10378.jpg', '/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_35_9410.jpg', '/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_45_10370.jpg', '/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_55_9539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/04/image_20042025_09_05_05_9382.jpg
/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_15_10468.jpg
/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_26_10378.jpg
/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_35_9410.jpg
/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_45_10370.jpg
/home/pi/Desktop/images/20042025/09/05/image_20042025_09_05_55_9539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215190","1352215247","1352215096","1352215165","1352215272","1352215218"],"photo_ids_order":["1352215096","1352215165","1352215190","1352215218","1352215247","1352215272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d278d109f3370b9e2246a8d2e7cdf72.jpg","text":"TemporaryFile(/tmp/multipartBody6231249833095658271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144133018,"filename":"image_20042025_09_05_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6470b8468e0d8363fcd01b7b3e242053.jpg","text":"TemporaryFile(/tmp/multipartBody7556488629680188338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144133018,"filename":"image_20042025_09_05_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bb926d1288443fb58afc1daa33e5ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2673641062863362950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144133018,"filename":"image_20042025_09_05_05_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41a662848fedc460d12bff78c092bb41.jpg","text":"TemporaryFile(/tmp/multipartBody3279688897755382894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144133018,"filename":"image_20042025_09_05_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/050ca6af4a0d679ac2cfac82d0b5e65f.jpg","text":"TemporaryFile(/tmp/multipartBody7152622222187141414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144133018,"filename":"image_20042025_09_05_55_9539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b39496753eaa034057e17d3029bdfb7a.jpg","text":"TemporaryFile(/tmp/multipartBody7689956009694583937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144133018,"filename":"image_20042025_09_05_35_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215190","file1":"1352215165","file0":"1352215096","file4":"1352215247","file5":"1352215272","file3":"1352215218"},"map_files_photo_id_array":[{"photo_id":"1352215272","filename":"file5"},{"photo_id":"1352215190","filename":"file2"},{"photo_id":"1352215247","filename":"file4"},{"photo_id":"1352215165","filename":"file1"},{"photo_id":"1352215096","filename":"file0"},{"photo_id":"1352215218","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352215190":["hashtag1","hashtag2"]},{"1352215247":["hashtag1","hashtag2"]},{"1352215096":["hashtag1","hashtag2"]},{"1352215165":["hashtag1","hashtag2"]},{"1352215272":["hashtag1","hashtag2"]},{"1352215218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352215190, 1352215247, 1352215096, 1352215165, 1352215272, 1352215218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31337785720825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:15:32.827197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/05/image_20042025_09_06_05_10450.jpg', '/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_15_9365.jpg', '/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_25_10435.jpg', '/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_36_10351.jpg', '/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_45_9405.jpg', '/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_55_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/05/image_20042025_09_06_05_10450.jpg
/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_15_9365.jpg
/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_25_10435.jpg
/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_36_10351.jpg
/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_45_9405.jpg
/home/pi/Desktop/images/20042025/09/06/image_20042025_09_06_55_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215577","1352215604","1352215489","1352215630","1352215519","1352215548"],"photo_ids_order":["1352215489","1352215519","1352215548","1352215577","1352215604","1352215630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4ad55b43d52edcaefcda2aebdb2eee3.jpg","text":"TemporaryFile(/tmp/multipartBody9036288188418201551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144193290,"filename":"image_20042025_09_06_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a705a5f10084b07027f94abf02e5c18.jpg","text":"TemporaryFile(/tmp/multipartBody804647371743877201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144193290,"filename":"image_20042025_09_06_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d500178866beb19c4e140bb5df97c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5901203164789724755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144193290,"filename":"image_20042025_09_06_05_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee8f84d291b3800bc70e19c9eea7e076.jpg","text":"TemporaryFile(/tmp/multipartBody3258003418404516098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144193290,"filename":"image_20042025_09_06_55_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33e249ba46f4020097ac2ab636a83730.jpg","text":"TemporaryFile(/tmp/multipartBody883430258417044809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144193290,"filename":"image_20042025_09_06_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbb38c0e7ccfd6c11d1a18ae81e41ed2.jpg","text":"TemporaryFile(/tmp/multipartBody7362093047821284399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144193290,"filename":"image_20042025_09_06_25_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215548","file1":"1352215519","file0":"1352215489","file4":"1352215604","file5":"1352215630","file3":"1352215577"},"map_files_photo_id_array":[{"photo_id":"1352215630","filename":"file5"},{"photo_id":"1352215548","filename":"file2"},{"photo_id":"1352215604","filename":"file4"},{"photo_id":"1352215519","filename":"file1"},{"photo_id":"1352215489","filename":"file0"},{"photo_id":"1352215577","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352215577":["hashtag1","hashtag2"]},{"1352215604":["hashtag1","hashtag2"]},{"1352215489":["hashtag1","hashtag2"]},{"1352215630":["hashtag1","hashtag2"]},{"1352215519":["hashtag1","hashtag2"]},{"1352215548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352215577, 1352215604, 1352215489, 1352215630, 1352215519, 1352215548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.681472301483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:16:33.107634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/06/image_20042025_09_07_05_9364.jpg', '/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_15_10447.jpg', '/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_25_9426.jpg', '/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_35_10442.jpg', '/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_45_10364.jpg', '/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_55_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/06/image_20042025_09_07_05_9364.jpg
/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_15_10447.jpg
/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_25_9426.jpg
/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_35_10442.jpg
/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_45_10364.jpg
/home/pi/Desktop/images/20042025/09/07/image_20042025_09_07_55_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215898","1352216036","1352215978","1352216007","1352215953","1352215926"],"photo_ids_order":["1352215898","1352215926","1352215953","1352215978","1352216007","1352216036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9825263d824f24ee80a47a1c4122e0b7.jpg","text":"TemporaryFile(/tmp/multipartBody8545796158189868320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144253570,"filename":"image_20042025_09_07_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/065058f4cdaa6707f9b694363721df9d.jpg","text":"TemporaryFile(/tmp/multipartBody3668180941040594941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144253570,"filename":"image_20042025_09_07_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85208d377248101e68918d5bed7176a9.jpg","text":"TemporaryFile(/tmp/multipartBody6435130575894668653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144253570,"filename":"image_20042025_09_07_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0231258ea63806140a7abbcf08ca44f.jpg","text":"TemporaryFile(/tmp/multipartBody1592224415849965968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144253570,"filename":"image_20042025_09_07_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a67ac14e15e8b0549e7ffbb39dd47435.jpg","text":"TemporaryFile(/tmp/multipartBody7814008894902440204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144253570,"filename":"image_20042025_09_07_25_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/672c782eb94da4fc08aa06f540c02cea.jpg","text":"TemporaryFile(/tmp/multipartBody2732446754173136878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144253570,"filename":"image_20042025_09_07_15_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215953","file1":"1352215926","file0":"1352215898","file4":"1352216007","file5":"1352216036","file3":"1352215978"},"map_files_photo_id_array":[{"photo_id":"1352216036","filename":"file5"},{"photo_id":"1352215953","filename":"file2"},{"photo_id":"1352216007","filename":"file4"},{"photo_id":"1352215926","filename":"file1"},{"photo_id":"1352215898","filename":"file0"},{"photo_id":"1352215978","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352215898":["hashtag1","hashtag2"]},{"1352216036":["hashtag1","hashtag2"]},{"1352215978":["hashtag1","hashtag2"]},{"1352216007":["hashtag1","hashtag2"]},{"1352215953":["hashtag1","hashtag2"]},{"1352215926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352215898, 1352216036, 1352215978, 1352216007, 1352215953, 1352215926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.833742380142212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:17:32.330528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/07/image_20042025_09_08_05_10439.jpg', '/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_16_10358.jpg', '/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_25_9442.jpg', '/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_35_10397.jpg', '/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_45_9488.jpg', '/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/07/image_20042025_09_08_05_10439.jpg
/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_16_10358.jpg
/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_25_9442.jpg
/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_35_10397.jpg
/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_45_9488.jpg
/home/pi/Desktop/images/20042025/09/08/image_20042025_09_08_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216348","1352216321","1352216431","1352216376","1352216292","1352216403"],"photo_ids_order":["1352216292","1352216321","1352216348","1352216376","1352216403","1352216431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5632d0f6f347d4a9670105c11f72a50d.jpg","text":"TemporaryFile(/tmp/multipartBody2442080136310553393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144312792,"filename":"image_20042025_09_08_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d5ada952e1c9521b7f5bfebd8bffb77.jpg","text":"TemporaryFile(/tmp/multipartBody7473567231339579002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144312792,"filename":"image_20042025_09_08_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d87f1294b042876d8f9fd7c14f7dada6.jpg","text":"TemporaryFile(/tmp/multipartBody746910577879656732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144312792,"filename":"image_20042025_09_08_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2f4da04c249505b5e05693d76872e6f.jpg","text":"TemporaryFile(/tmp/multipartBody4234994004121326972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144312792,"filename":"image_20042025_09_08_35_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60d34156e5838674023e24273bc899ea.jpg","text":"TemporaryFile(/tmp/multipartBody6308368755288411028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144312792,"filename":"image_20042025_09_08_05_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16dc89863bc2441bef965ba58cee62ea.jpg","text":"TemporaryFile(/tmp/multipartBody1341294737298137148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144312792,"filename":"image_20042025_09_08_45_9488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216348","file1":"1352216321","file0":"1352216292","file4":"1352216403","file5":"1352216431","file3":"1352216376"},"map_files_photo_id_array":[{"photo_id":"1352216431","filename":"file5"},{"photo_id":"1352216348","filename":"file2"},{"photo_id":"1352216403","filename":"file4"},{"photo_id":"1352216321","filename":"file1"},{"photo_id":"1352216292","filename":"file0"},{"photo_id":"1352216376","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352216348":["hashtag1","hashtag2"]},{"1352216321":["hashtag1","hashtag2"]},{"1352216431":["hashtag1","hashtag2"]},{"1352216376":["hashtag1","hashtag2"]},{"1352216292":["hashtag1","hashtag2"]},{"1352216403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352216348, 1352216321, 1352216431, 1352216376, 1352216292, 1352216403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.72059726715088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:18:32.474139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/08/image_20042025_09_09_06_10347.jpg', '/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_15_9471.jpg', '/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_25_10377.jpg', '/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_35_9417.jpg', '/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_45_10366.jpg', '/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_55_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/08/image_20042025_09_09_06_10347.jpg
/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_15_9471.jpg
/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_25_10377.jpg
/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_35_9417.jpg
/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_45_10366.jpg
/home/pi/Desktop/images/20042025/09/09/image_20042025_09_09_55_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216651","1352216653","1352216647","1352216635","1352216649","1352216640"],"photo_ids_order":["1352216635","1352216640","1352216647","1352216649","1352216651","1352216653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdcf468bb2894535ac086d4f8667ec76.jpg","text":"TemporaryFile(/tmp/multipartBody2916865875390574048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144372942,"filename":"image_20042025_09_09_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8d25bceca25e808595fa2db33aa5245.jpg","text":"TemporaryFile(/tmp/multipartBody1902938650391724510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144372942,"filename":"image_20042025_09_09_55_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b8ba620e39761c944a575b2fbfa1a02.jpg","text":"TemporaryFile(/tmp/multipartBody6097386557454205248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144372942,"filename":"image_20042025_09_09_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fd93746d694dc496e46623181b23c81.jpg","text":"TemporaryFile(/tmp/multipartBody8007847399722069730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144372942,"filename":"image_20042025_09_09_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a6ea9c6590ad29eca13c6a563c3dde8.jpg","text":"TemporaryFile(/tmp/multipartBody6530826454430453733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144372942,"filename":"image_20042025_09_09_35_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eed638e8e40e1d746f700745e4682f87.jpg","text":"TemporaryFile(/tmp/multipartBody263138316830758049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144372942,"filename":"image_20042025_09_09_15_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216647","file1":"1352216640","file0":"1352216635","file4":"1352216651","file5":"1352216653","file3":"1352216649"},"map_files_photo_id_array":[{"photo_id":"1352216653","filename":"file5"},{"photo_id":"1352216647","filename":"file2"},{"photo_id":"1352216651","filename":"file4"},{"photo_id":"1352216640","filename":"file1"},{"photo_id":"1352216635","filename":"file0"},{"photo_id":"1352216649","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352216651":["hashtag1","hashtag2"]},{"1352216653":["hashtag1","hashtag2"]},{"1352216647":["hashtag1","hashtag2"]},{"1352216635":["hashtag1","hashtag2"]},{"1352216649":["hashtag1","hashtag2"]},{"1352216640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352216651, 1352216653, 1352216647, 1352216635, 1352216649, 1352216640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38266730308533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:19:34.152004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/09/image_20042025_09_10_05_10376.jpg', '/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_15_10346.jpg', '/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_25_9454.jpg', '/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_35_10369.jpg', '/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_45_9358.jpg', '/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_55_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/09/image_20042025_09_10_05_10376.jpg
/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_15_10346.jpg
/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_25_9454.jpg
/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_35_10369.jpg
/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_45_9358.jpg
/home/pi/Desktop/images/20042025/09/10/image_20042025_09_10_55_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216681","1352216669","1352216677","1352216682","1352216679","1352216672"],"photo_ids_order":["1352216669","1352216672","1352216677","1352216679","1352216681","1352216682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/726ba669e4ab4e78fc9880d33717b65d.jpg","text":"TemporaryFile(/tmp/multipartBody8754432082292444643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144434620,"filename":"image_20042025_09_10_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64a9d772ad8713d9e8195c27d7d06864.jpg","text":"TemporaryFile(/tmp/multipartBody4071191028527139926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144434620,"filename":"image_20042025_09_10_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b901a8874618c534f8068f7a878f7b01.jpg","text":"TemporaryFile(/tmp/multipartBody2043736605335023842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144434620,"filename":"image_20042025_09_10_25_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ff11f3d614158f70c482b53a7eaabcb.jpg","text":"TemporaryFile(/tmp/multipartBody899405417618224485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144434620,"filename":"image_20042025_09_10_55_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dc3d97e9dc334f03fafcb12df05a46b.jpg","text":"TemporaryFile(/tmp/multipartBody8465920990672214725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144434620,"filename":"image_20042025_09_10_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f43bfec16155ff6ad44d865a20e0fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7380152511901072832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144434620,"filename":"image_20042025_09_10_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216677","file1":"1352216672","file0":"1352216669","file4":"1352216681","file5":"1352216682","file3":"1352216679"},"map_files_photo_id_array":[{"photo_id":"1352216682","filename":"file5"},{"photo_id":"1352216677","filename":"file2"},{"photo_id":"1352216681","filename":"file4"},{"photo_id":"1352216672","filename":"file1"},{"photo_id":"1352216669","filename":"file0"},{"photo_id":"1352216679","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352216681":["hashtag1","hashtag2"]},{"1352216669":["hashtag1","hashtag2"]},{"1352216677":["hashtag1","hashtag2"]},{"1352216682":["hashtag1","hashtag2"]},{"1352216679":["hashtag1","hashtag2"]},{"1352216672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352216681, 1352216669, 1352216677, 1352216682, 1352216679, 1352216672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.881478786468506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:20:32.910581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/10/image_20042025_09_11_05_10375.jpg', '/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_15_9378.jpg', '/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_25_10419.jpg', '/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_36_10345.jpg', '/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_45_9520.jpg', '/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_55_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/10/image_20042025_09_11_05_10375.jpg
/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_15_9378.jpg
/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_25_10419.jpg
/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_36_10345.jpg
/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_45_9520.jpg
/home/pi/Desktop/images/20042025/09/11/image_20042025_09_11_55_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216782","1352216755","1352216862","1352216835","1352216894","1352216808"],"photo_ids_order":["1352216755","1352216782","1352216808","1352216835","1352216862","1352216894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ace5f12658a62001ca4637048d4387c4.jpg","text":"TemporaryFile(/tmp/multipartBody1305562978505129059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144493381,"filename":"image_20042025_09_11_15_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90a9b8c8271fd630a3aa865174207f63.jpg","text":"TemporaryFile(/tmp/multipartBody5930887540485410743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144493381,"filename":"image_20042025_09_11_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64faab6ae22901279b3210aa848288da.jpg","text":"TemporaryFile(/tmp/multipartBody7412118810147936480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144493381,"filename":"image_20042025_09_11_45_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ff49d98e5f20b1e691ade9c66dfb652.jpg","text":"TemporaryFile(/tmp/multipartBody7173628300661584862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144493381,"filename":"image_20042025_09_11_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1595696aefbf4df08c91a6c15a237b9d.jpg","text":"TemporaryFile(/tmp/multipartBody975361050649693001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144493381,"filename":"image_20042025_09_11_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03d516baa95ad7d75ccedbf2dde0cc6b.jpg","text":"TemporaryFile(/tmp/multipartBody2994664833877270782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144493381,"filename":"image_20042025_09_11_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216808","file1":"1352216782","file0":"1352216755","file4":"1352216862","file5":"1352216894","file3":"1352216835"},"map_files_photo_id_array":[{"photo_id":"1352216894","filename":"file5"},{"photo_id":"1352216808","filename":"file2"},{"photo_id":"1352216862","filename":"file4"},{"photo_id":"1352216782","filename":"file1"},{"photo_id":"1352216755","filename":"file0"},{"photo_id":"1352216835","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352216782":["hashtag1","hashtag2"]},{"1352216755":["hashtag1","hashtag2"]},{"1352216862":["hashtag1","hashtag2"]},{"1352216835":["hashtag1","hashtag2"]},{"1352216894":["hashtag1","hashtag2"]},{"1352216808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352216782, 1352216755, 1352216862, 1352216835, 1352216894, 1352216808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7480251789093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:21:32.267141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/11/image_20042025_09_12_05_9432.jpg', '/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_15_10359.jpg', '/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_26_10369.jpg', '/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_35_9456.jpg', '/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_45_10368.jpg', '/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_55_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/11/image_20042025_09_12_05_9432.jpg
/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_15_10359.jpg
/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_26_10369.jpg
/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_35_9456.jpg
/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_45_10368.jpg
/home/pi/Desktop/images/20042025/09/12/image_20042025_09_12_55_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217148","1352217180","1352217177","1352217173","1352217170","1352217143"],"photo_ids_order":["1352217143","1352217148","1352217170","1352217173","1352217177","1352217180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c6611170f5a90d54b99b1d054e8a94d.jpg","text":"TemporaryFile(/tmp/multipartBody3978146853554043734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144552735,"filename":"image_20042025_09_12_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fe4b447b9aae2a523e1e86bf5a0c253.jpg","text":"TemporaryFile(/tmp/multipartBody4446296002841963788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144552735,"filename":"image_20042025_09_12_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81bc8d4d34e1681f6370ba9fe5b3ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody598054252717189389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144552735,"filename":"image_20042025_09_12_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85b32b6059ca01c9560d282305e1b80e.jpg","text":"TemporaryFile(/tmp/multipartBody5883088469473552214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144552735,"filename":"image_20042025_09_12_35_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2de31b2465c802f9b6101e22d4a4651.jpg","text":"TemporaryFile(/tmp/multipartBody5505683131307953652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144552735,"filename":"image_20042025_09_12_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7ba116698a405e59814f5b35ad598b8.jpg","text":"TemporaryFile(/tmp/multipartBody6086026648211055801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144552735,"filename":"image_20042025_09_12_05_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217170","file1":"1352217148","file0":"1352217143","file4":"1352217177","file5":"1352217180","file3":"1352217173"},"map_files_photo_id_array":[{"photo_id":"1352217180","filename":"file5"},{"photo_id":"1352217170","filename":"file2"},{"photo_id":"1352217177","filename":"file4"},{"photo_id":"1352217148","filename":"file1"},{"photo_id":"1352217143","filename":"file0"},{"photo_id":"1352217173","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217148":["hashtag1","hashtag2"]},{"1352217180":["hashtag1","hashtag2"]},{"1352217177":["hashtag1","hashtag2"]},{"1352217173":["hashtag1","hashtag2"]},{"1352217170":["hashtag1","hashtag2"]},{"1352217143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217148, 1352217180, 1352217177, 1352217173, 1352217170, 1352217143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38488721847534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:22:32.619937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/12/image_20042025_09_13_05_10386.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_16_10341.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_25_9563.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_36_10402.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_45_9507.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/12/image_20042025_09_13_05_10386.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_16_10341.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_25_9563.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_36_10402.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_45_9507.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_55_10374.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4222424030303955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 12:22:42.614552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/12/image_20042025_09_13_05_10386.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_16_10341.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_25_9563.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_36_10402.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_45_9507.jpg', '/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/12/image_20042025_09_13_05_10386.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_16_10341.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_25_9563.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_36_10402.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_45_9507.jpg
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_13_55_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217397","1352217400","1352217369","1352217342","1352217285","1352217312"],"photo_ids_order":["1352217285","1352217312","1352217342","1352217369","1352217397","1352217400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a3503a76a36ea19e16c867d75e9677f.jpg","text":"TemporaryFile(/tmp/multipartBody7441892748114347600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144623092,"filename":"image_20042025_09_13_45_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1507613cab38363fff4be1665b27cec2.jpg","text":"TemporaryFile(/tmp/multipartBody3197484512982160726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144623092,"filename":"image_20042025_09_13_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ebfea856771ceaa3a881cd43b42dcd9.jpg","text":"TemporaryFile(/tmp/multipartBody6288945818890518377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144623092,"filename":"image_20042025_09_13_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cecd6373a0aa8934e42b6577a140531.jpg","text":"TemporaryFile(/tmp/multipartBody7589059440603816842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144623092,"filename":"image_20042025_09_13_25_9563.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/530ccf9e9d03f388df69728ece8995a1.jpg","text":"TemporaryFile(/tmp/multipartBody203368962032015558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144623092,"filename":"image_20042025_09_13_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc6e0ac0ac8526ec9cb3fd47d771937a.jpg","text":"TemporaryFile(/tmp/multipartBody7452871285017076392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144623092,"filename":"image_20042025_09_13_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217342","file1":"1352217312","file0":"1352217285","file4":"1352217397","file5":"1352217400","file3":"1352217369"},"map_files_photo_id_array":[{"photo_id":"1352217400","filename":"file5"},{"photo_id":"1352217342","filename":"file2"},{"photo_id":"1352217397","filename":"file4"},{"photo_id":"1352217312","filename":"file1"},{"photo_id":"1352217285","filename":"file0"},{"photo_id":"1352217369","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217397":["hashtag1","hashtag2"]},{"1352217400":["hashtag1","hashtag2"]},{"1352217369":["hashtag1","hashtag2"]},{"1352217342":["hashtag1","hashtag2"]},{"1352217285":["hashtag1","hashtag2"]},{"1352217312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217397, 1352217400, 1352217369, 1352217342, 1352217285, 1352217312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.711490154266357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:23:33.164922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/13/image_20042025_09_14_05_9352.jpg', '/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_15_10347.jpg', '/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_25_10371.jpg', '/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_35_9413.jpg', '/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_45_10380.jpg', '/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_55_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/13/image_20042025_09_14_05_9352.jpg
/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_15_10347.jpg
/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_25_10371.jpg
/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_35_9413.jpg
/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_45_10380.jpg
/home/pi/Desktop/images/20042025/09/14/image_20042025_09_14_55_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217430","1352217433","1352217427","1352217421","1352217423","1352217417"],"photo_ids_order":["1352217417","1352217421","1352217423","1352217427","1352217430","1352217433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5d576e8c3b396b7e8edba19f76b8ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8986498045114767598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144673635,"filename":"image_20042025_09_14_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c25d27a207bc790f7bc39238fc56edc7.jpg","text":"TemporaryFile(/tmp/multipartBody121923573351668025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144673635,"filename":"image_20042025_09_14_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/190521adf1e89ed908649d72274132b7.jpg","text":"TemporaryFile(/tmp/multipartBody2123583501494180733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144673635,"filename":"image_20042025_09_14_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/539e2f7314344ab292941185ce85fb5e.jpg","text":"TemporaryFile(/tmp/multipartBody5344702476542490805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144673635,"filename":"image_20042025_09_14_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d82544b1fa9c4f13e24e406d4e8562b.jpg","text":"TemporaryFile(/tmp/multipartBody1543532638671576813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144673635,"filename":"image_20042025_09_14_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/638dd93e86ae5c8d1054506da93ee144.jpg","text":"TemporaryFile(/tmp/multipartBody6122930375579252211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144673635,"filename":"image_20042025_09_14_05_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217423","file1":"1352217421","file0":"1352217417","file4":"1352217430","file5":"1352217433","file3":"1352217427"},"map_files_photo_id_array":[{"photo_id":"1352217433","filename":"file5"},{"photo_id":"1352217423","filename":"file2"},{"photo_id":"1352217430","filename":"file4"},{"photo_id":"1352217421","filename":"file1"},{"photo_id":"1352217417","filename":"file0"},{"photo_id":"1352217427","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217430":["hashtag1","hashtag2"]},{"1352217433":["hashtag1","hashtag2"]},{"1352217427":["hashtag1","hashtag2"]},{"1352217421":["hashtag1","hashtag2"]},{"1352217423":["hashtag1","hashtag2"]},{"1352217417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217430, 1352217433, 1352217427, 1352217421, 1352217423, 1352217417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.700214624404907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:24:33.121444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/14/image_20042025_09_15_05_10388.jpg', '/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_15_10357.jpg', '/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_25_9413.jpg', '/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_35_10397.jpg', '/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_46_10367.jpg', '/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_55_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/14/image_20042025_09_15_05_10388.jpg
/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_15_10357.jpg
/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_25_9413.jpg
/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_35_10397.jpg
/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_46_10367.jpg
/home/pi/Desktop/images/20042025/09/15/image_20042025_09_15_55_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217448","1352217462","1352217459","1352217473","1352217455","1352217458"],"photo_ids_order":["1352217448","1352217455","1352217458","1352217459","1352217462","1352217473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ce16671772cc1970fea4846dd14934b.jpg","text":"TemporaryFile(/tmp/multipartBody972897055911191308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144733607,"filename":"image_20042025_09_15_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f5adfd80e7349ced30d1b01f258ec72.jpg","text":"TemporaryFile(/tmp/multipartBody2921233923853161002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144733607,"filename":"image_20042025_09_15_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba20b7b30ec7a75ca8ba7fbf87d7a977.jpg","text":"TemporaryFile(/tmp/multipartBody603652439061139146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144733607,"filename":"image_20042025_09_15_35_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/366eed1c37c243a3ff71d6032755db6c.jpg","text":"TemporaryFile(/tmp/multipartBody8044873712288353630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144733607,"filename":"image_20042025_09_15_55_9548.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45f9dfa5c94eb161f8db6af0908d5342.jpg","text":"TemporaryFile(/tmp/multipartBody2655152473661508979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144733607,"filename":"image_20042025_09_15_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e3d98a8ac1c5786af308c88799e376d.jpg","text":"TemporaryFile(/tmp/multipartBody6812983912918506111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144733607,"filename":"image_20042025_09_15_25_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217458","file1":"1352217455","file0":"1352217448","file4":"1352217462","file5":"1352217473","file3":"1352217459"},"map_files_photo_id_array":[{"photo_id":"1352217473","filename":"file5"},{"photo_id":"1352217458","filename":"file2"},{"photo_id":"1352217462","filename":"file4"},{"photo_id":"1352217455","filename":"file1"},{"photo_id":"1352217448","filename":"file0"},{"photo_id":"1352217459","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217448":["hashtag1","hashtag2"]},{"1352217462":["hashtag1","hashtag2"]},{"1352217459":["hashtag1","hashtag2"]},{"1352217473":["hashtag1","hashtag2"]},{"1352217455":["hashtag1","hashtag2"]},{"1352217458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217448, 1352217462, 1352217459, 1352217473, 1352217455, 1352217458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34810519218445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:25:32.352600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/15/image_20042025_09_16_05_10363.jpg', '/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_15_9429.jpg', '/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_25_10385.jpg', '/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_35_9448.jpg', '/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_45_10495.jpg', '/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_56_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/15/image_20042025_09_16_05_10363.jpg
/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_15_9429.jpg
/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_25_10385.jpg
/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_35_9448.jpg
/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_45_10495.jpg
/home/pi/Desktop/images/20042025/09/16/image_20042025_09_16_56_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217781","1352217808","1352217700","1352217753","1352217729","1352217839"],"photo_ids_order":["1352217700","1352217729","1352217753","1352217781","1352217808","1352217839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5abc14c7e9719afe91b62a7ed22412e.jpg","text":"TemporaryFile(/tmp/multipartBody11138778517418068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144792818,"filename":"image_20042025_09_16_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eaaea9198a9bc252db1002644c041f71.jpg","text":"TemporaryFile(/tmp/multipartBody3498642792012542818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144792818,"filename":"image_20042025_09_16_45_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70ce3fa110fd41eb3f2a07a12bcb6caa.jpg","text":"TemporaryFile(/tmp/multipartBody8905539662206143966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144792818,"filename":"image_20042025_09_16_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fb5ae5a6261fca3ae633d4ceb706c68.jpg","text":"TemporaryFile(/tmp/multipartBody1508938346058597614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144792818,"filename":"image_20042025_09_16_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac4376543a5c48ffe5e07051375d9d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1307422337888923220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144792818,"filename":"image_20042025_09_16_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2bb90d40b347f4be4e3475ad8d152e82.jpg","text":"TemporaryFile(/tmp/multipartBody6276047036001955290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144792818,"filename":"image_20042025_09_16_56_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217753","file1":"1352217729","file0":"1352217700","file4":"1352217808","file5":"1352217839","file3":"1352217781"},"map_files_photo_id_array":[{"photo_id":"1352217839","filename":"file5"},{"photo_id":"1352217753","filename":"file2"},{"photo_id":"1352217808","filename":"file4"},{"photo_id":"1352217729","filename":"file1"},{"photo_id":"1352217700","filename":"file0"},{"photo_id":"1352217781","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217781":["hashtag1","hashtag2"]},{"1352217808":["hashtag1","hashtag2"]},{"1352217700":["hashtag1","hashtag2"]},{"1352217753":["hashtag1","hashtag2"]},{"1352217729":["hashtag1","hashtag2"]},{"1352217839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217781, 1352217808, 1352217700, 1352217753, 1352217729, 1352217839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.06888246536255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:26:32.698056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/16/image_20042025_09_17_05_9455.jpg', '/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_16_10445.jpg', '/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_25_9433.jpg', '/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_35_10436.jpg', '/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_45_9364.jpg', '/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_55_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/16/image_20042025_09_17_05_9455.jpg
/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_16_10445.jpg
/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_25_9433.jpg
/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_35_10436.jpg
/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_45_9364.jpg
/home/pi/Desktop/images/20042025/09/17/image_20042025_09_17_55_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217922","1352217907","1352217930","1352217912","1352217918","1352217926"],"photo_ids_order":["1352217907","1352217912","1352217918","1352217922","1352217926","1352217930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a126c4d55d67e257ca4e4bd657f29630.jpg","text":"TemporaryFile(/tmp/multipartBody1136032745125370081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144853274,"filename":"image_20042025_09_17_35_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd52bc23022aa010dcfdbd865bb63cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4914704006065278306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144853274,"filename":"image_20042025_09_17_05_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9285f7645365ddc0084ffe5546a00458.jpg","text":"TemporaryFile(/tmp/multipartBody538424610104623332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144853274,"filename":"image_20042025_09_17_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f4f9c072335260ce8975199088b4eca.jpg","text":"TemporaryFile(/tmp/multipartBody728224649715912110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144853274,"filename":"image_20042025_09_17_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b88dc54d414a5f6ca05987eeff655e9.jpg","text":"TemporaryFile(/tmp/multipartBody989338116662284978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144853274,"filename":"image_20042025_09_17_25_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd6337190dd4cd645e9830f5dc4ea9f5.jpg","text":"TemporaryFile(/tmp/multipartBody4329313097887797276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144853274,"filename":"image_20042025_09_17_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217918","file1":"1352217912","file0":"1352217907","file4":"1352217926","file5":"1352217930","file3":"1352217922"},"map_files_photo_id_array":[{"photo_id":"1352217930","filename":"file5"},{"photo_id":"1352217918","filename":"file2"},{"photo_id":"1352217926","filename":"file4"},{"photo_id":"1352217912","filename":"file1"},{"photo_id":"1352217907","filename":"file0"},{"photo_id":"1352217922","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217922":["hashtag1","hashtag2"]},{"1352217907":["hashtag1","hashtag2"]},{"1352217930":["hashtag1","hashtag2"]},{"1352217912":["hashtag1","hashtag2"]},{"1352217918":["hashtag1","hashtag2"]},{"1352217926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217922, 1352217907, 1352217930, 1352217912, 1352217918, 1352217926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0752968788147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:27:32.854279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/17/image_20042025_09_18_06_10391.jpg', '/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_15_9439.jpg', '/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_25_10375.jpg', '/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_35_9420.jpg', '/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_45_10411.jpg', '/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_56_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/17/image_20042025_09_18_06_10391.jpg
/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_15_9439.jpg
/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_25_10375.jpg
/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_35_9420.jpg
/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_45_10411.jpg
/home/pi/Desktop/images/20042025/09/18/image_20042025_09_18_56_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217945","1352217948","1352217942","1352217941","1352217950","1352217938"],"photo_ids_order":["1352217938","1352217941","1352217942","1352217945","1352217948","1352217950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9ffc43a8463f353d5751c9482520d3d.jpg","text":"TemporaryFile(/tmp/multipartBody337590975540094868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144913316,"filename":"image_20042025_09_18_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d6b78c1c84d6d3d45a16dee51f0748f.jpg","text":"TemporaryFile(/tmp/multipartBody2148258322500096924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144913316,"filename":"image_20042025_09_18_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89449deda67e25654687bfe08fde77a8.jpg","text":"TemporaryFile(/tmp/multipartBody5931135574368636181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144913316,"filename":"image_20042025_09_18_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/368060294ce08ffe6e6c6318a4bced29.jpg","text":"TemporaryFile(/tmp/multipartBody3135840821967939227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144913316,"filename":"image_20042025_09_18_15_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f5cafdc9e12296bb55a5dd66fabb782.jpg","text":"TemporaryFile(/tmp/multipartBody388225104202542501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144913316,"filename":"image_20042025_09_18_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0cb094cd148299d6390489162a830899.jpg","text":"TemporaryFile(/tmp/multipartBody2329027445118857474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144913316,"filename":"image_20042025_09_18_06_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217942","file1":"1352217941","file0":"1352217938","file4":"1352217948","file5":"1352217950","file3":"1352217945"},"map_files_photo_id_array":[{"photo_id":"1352217950","filename":"file5"},{"photo_id":"1352217942","filename":"file2"},{"photo_id":"1352217948","filename":"file4"},{"photo_id":"1352217941","filename":"file1"},{"photo_id":"1352217938","filename":"file0"},{"photo_id":"1352217945","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217945":["hashtag1","hashtag2"]},{"1352217948":["hashtag1","hashtag2"]},{"1352217942":["hashtag1","hashtag2"]},{"1352217941":["hashtag1","hashtag2"]},{"1352217950":["hashtag1","hashtag2"]},{"1352217938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217945, 1352217948, 1352217942, 1352217941, 1352217950, 1352217938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.878497838974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:28:32.468037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/18/image_20042025_09_19_05_9395.jpg', '/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_15_10349.jpg', '/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_25_9400.jpg', '/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_46_10477.jpg', '/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_55_9432.jpg', '/home/pi/Desktop/images/20042025/09/19/image_20042025_09_20_05_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/18/image_20042025_09_19_05_9395.jpg
/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_15_10349.jpg
/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_25_9400.jpg
/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_46_10477.jpg
/home/pi/Desktop/images/20042025/09/19/image_20042025_09_19_55_9432.jpg
/home/pi/Desktop/images/20042025/09/19/image_20042025_09_20_05_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217982","1352217979","1352217970","1352217967","1352217963","1352217974"],"photo_ids_order":["1352217963","1352217967","1352217970","1352217974","1352217979","1352217982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/512fdec5aef9adef769e9fb0c6700156.jpg","text":"TemporaryFile(/tmp/multipartBody1132252178104515817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144972937,"filename":"image_20042025_09_20_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa703880941a486003b71dbe8e0d1b85.jpg","text":"TemporaryFile(/tmp/multipartBody8853100674981485393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144972937,"filename":"image_20042025_09_19_55_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d285c11452b60f2f05195a3fc8fa1c25.jpg","text":"TemporaryFile(/tmp/multipartBody842638280868065927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144972937,"filename":"image_20042025_09_19_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f11c250cb7aa949da4369be7a3ad515.jpg","text":"TemporaryFile(/tmp/multipartBody9143379466097836875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144972937,"filename":"image_20042025_09_19_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b084d3c2e36f70057ccbf5de90296ca5.jpg","text":"TemporaryFile(/tmp/multipartBody7821962928136908125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144972937,"filename":"image_20042025_09_19_05_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bd545c39a0193b30c861d9b14260d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7855834822363585721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745144972937,"filename":"image_20042025_09_19_46_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217970","file1":"1352217967","file0":"1352217963","file4":"1352217979","file5":"1352217982","file3":"1352217974"},"map_files_photo_id_array":[{"photo_id":"1352217982","filename":"file5"},{"photo_id":"1352217970","filename":"file2"},{"photo_id":"1352217979","filename":"file4"},{"photo_id":"1352217967","filename":"file1"},{"photo_id":"1352217963","filename":"file0"},{"photo_id":"1352217974","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352217982":["hashtag1","hashtag2"]},{"1352217979":["hashtag1","hashtag2"]},{"1352217970":["hashtag1","hashtag2"]},{"1352217967":["hashtag1","hashtag2"]},{"1352217963":["hashtag1","hashtag2"]},{"1352217974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352217982, 1352217979, 1352217970, 1352217967, 1352217963, 1352217974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.053378105163574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:29:32.647342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_15_9354.jpg', '/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_25_10436.jpg', '/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_36_10354.jpg', '/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_45_9395.jpg', '/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_55_10436.jpg', '/home/pi/Desktop/images/20042025/09/20/image_20042025_09_21_05_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_15_9354.jpg
/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_25_10436.jpg
/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_36_10354.jpg
/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_45_9395.jpg
/home/pi/Desktop/images/20042025/09/20/image_20042025_09_20_55_10436.jpg
/home/pi/Desktop/images/20042025/09/20/image_20042025_09_21_05_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218000","1352218026","1352217990","1352217995","1352218052","1352218004"],"photo_ids_order":["1352217990","1352217995","1352218000","1352218004","1352218026","1352218052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/defc341751856a5ef89faf34799bd479.jpg","text":"TemporaryFile(/tmp/multipartBody7058815503821330229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145033120,"filename":"image_20042025_09_20_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea15804e3d0e3bac3fec5e781d8c75d0.jpg","text":"TemporaryFile(/tmp/multipartBody6559204722703498342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145033120,"filename":"image_20042025_09_20_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a7243bbebbbb0db4684c6f7ebe04e36.jpg","text":"TemporaryFile(/tmp/multipartBody4770524305444092344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145033120,"filename":"image_20042025_09_20_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f1352025f12f65bf70f1100acf2f5fc.jpg","text":"TemporaryFile(/tmp/multipartBody7920723289290381597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145033120,"filename":"image_20042025_09_20_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0dd0077aea109672bd4547150361bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5056314363912061555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145033120,"filename":"image_20042025_09_21_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb2cf59e55f3f20006d928c2e1e25665.jpg","text":"TemporaryFile(/tmp/multipartBody7825563393967509000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145033120,"filename":"image_20042025_09_20_45_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218000","file1":"1352217995","file0":"1352217990","file4":"1352218026","file5":"1352218052","file3":"1352218004"},"map_files_photo_id_array":[{"photo_id":"1352218052","filename":"file5"},{"photo_id":"1352218000","filename":"file2"},{"photo_id":"1352218026","filename":"file4"},{"photo_id":"1352217995","filename":"file1"},{"photo_id":"1352217990","filename":"file0"},{"photo_id":"1352218004","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352218000":["hashtag1","hashtag2"]},{"1352218026":["hashtag1","hashtag2"]},{"1352217990":["hashtag1","hashtag2"]},{"1352217995":["hashtag1","hashtag2"]},{"1352218052":["hashtag1","hashtag2"]},{"1352218004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352218000, 1352218026, 1352217990, 1352217995, 1352218052, 1352218004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85076284408569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:30:32.862717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_15_10451.jpg', '/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_25_9463.jpg', '/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_35_10433.jpg', '/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_46_10396.jpg', '/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_55_9410.jpg', '/home/pi/Desktop/images/20042025/09/21/image_20042025_09_22_05_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_15_10451.jpg
/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_25_9463.jpg
/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_35_10433.jpg
/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_46_10396.jpg
/home/pi/Desktop/images/20042025/09/21/image_20042025_09_21_55_9410.jpg
/home/pi/Desktop/images/20042025/09/21/image_20042025_09_22_05_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218459","1352218429","1352218298","1352218370","1352218328","1352218400"],"photo_ids_order":["1352218298","1352218328","1352218370","1352218400","1352218429","1352218459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2edf9fa28a52bec033b4bbd9c3b5a7b7.jpg","text":"TemporaryFile(/tmp/multipartBody4577348079251280174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145093329,"filename":"image_20042025_09_22_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a3f2f7e3aefcea70716ff3d93115280.jpg","text":"TemporaryFile(/tmp/multipartBody3052474380989825995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145093329,"filename":"image_20042025_09_21_55_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16e5c6308cd2c285c8ae3f41cd46451d.jpg","text":"TemporaryFile(/tmp/multipartBody7334943211575893519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145093329,"filename":"image_20042025_09_21_15_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9491502383615cd1becfba826bd2898d.jpg","text":"TemporaryFile(/tmp/multipartBody857024038904736505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145093329,"filename":"image_20042025_09_21_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f74f363a7f2fa2c6a64c4e6f41875de.jpg","text":"TemporaryFile(/tmp/multipartBody7152732193448864532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145093329,"filename":"image_20042025_09_21_25_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3463bf3cc78fdb05104d80e23a371748.jpg","text":"TemporaryFile(/tmp/multipartBody3331765416446966528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145093329,"filename":"image_20042025_09_21_46_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218370","file1":"1352218328","file0":"1352218298","file4":"1352218429","file5":"1352218459","file3":"1352218400"},"map_files_photo_id_array":[{"photo_id":"1352218459","filename":"file5"},{"photo_id":"1352218370","filename":"file2"},{"photo_id":"1352218429","filename":"file4"},{"photo_id":"1352218328","filename":"file1"},{"photo_id":"1352218298","filename":"file0"},{"photo_id":"1352218400","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352218459":["hashtag1","hashtag2"]},{"1352218429":["hashtag1","hashtag2"]},{"1352218298":["hashtag1","hashtag2"]},{"1352218370":["hashtag1","hashtag2"]},{"1352218328":["hashtag1","hashtag2"]},{"1352218400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352218459, 1352218429, 1352218298, 1352218370, 1352218328, 1352218400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.272982358932495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:31:33.228285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_15_9341.jpg', '/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_25_10376.jpg', '/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_35_10360.jpg', '/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_45_9349.jpg', '/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_55_10485.jpg', '/home/pi/Desktop/images/20042025/09/22/image_20042025_09_23_06_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_15_9341.jpg
/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_25_10376.jpg
/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_35_10360.jpg
/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_45_9349.jpg
/home/pi/Desktop/images/20042025/09/22/image_20042025_09_22_55_10485.jpg
/home/pi/Desktop/images/20042025/09/22/image_20042025_09_23_06_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218810","1352218698","1352218752","1352218728","1352218781","1352218838"],"photo_ids_order":["1352218698","1352218728","1352218752","1352218781","1352218810","1352218838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b483d518c01e91ca161622e7debbbef.jpg","text":"TemporaryFile(/tmp/multipartBody1352510391180555800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145153760,"filename":"image_20042025_09_22_55_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e21a7bb3d9b8b6e331be58047b434b01.jpg","text":"TemporaryFile(/tmp/multipartBody9184095796672707635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145153760,"filename":"image_20042025_09_22_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9900e2040c954b3467c7e09cdfcc2b2d.jpg","text":"TemporaryFile(/tmp/multipartBody823152913131630955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145153760,"filename":"image_20042025_09_22_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a63690c37d04131a101b22f819f0384.jpg","text":"TemporaryFile(/tmp/multipartBody8185988566085791145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145153760,"filename":"image_20042025_09_22_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c28389557e34e0d2294aa17d55dcf7ba.jpg","text":"TemporaryFile(/tmp/multipartBody1692860653683840159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145153760,"filename":"image_20042025_09_22_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01ba73937b2e5a6faa2f8acd19f78a58.jpg","text":"TemporaryFile(/tmp/multipartBody9188474336422076252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145153760,"filename":"image_20042025_09_23_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218752","file1":"1352218728","file0":"1352218698","file4":"1352218810","file5":"1352218838","file3":"1352218781"},"map_files_photo_id_array":[{"photo_id":"1352218838","filename":"file5"},{"photo_id":"1352218752","filename":"file2"},{"photo_id":"1352218810","filename":"file4"},{"photo_id":"1352218728","filename":"file1"},{"photo_id":"1352218698","filename":"file0"},{"photo_id":"1352218781","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352218810":["hashtag1","hashtag2"]},{"1352218698":["hashtag1","hashtag2"]},{"1352218752":["hashtag1","hashtag2"]},{"1352218728":["hashtag1","hashtag2"]},{"1352218781":["hashtag1","hashtag2"]},{"1352218838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352218810, 1352218698, 1352218752, 1352218728, 1352218781, 1352218838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.35223889350891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:32:32.261444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_15_9359.jpg', '/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_25_10381.jpg', '/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_35_9366.jpg', '/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_45_10377.jpg', '/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_55_10371.jpg', '/home/pi/Desktop/images/20042025/09/23/image_20042025_09_24_05_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_15_9359.jpg
/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_25_10381.jpg
/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_35_9366.jpg
/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_45_10377.jpg
/home/pi/Desktop/images/20042025/09/23/image_20042025_09_23_55_10371.jpg
/home/pi/Desktop/images/20042025/09/23/image_20042025_09_24_05_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352219134","1352219304","1352219216","1352219191","1352219248","1352219164"],"photo_ids_order":["1352219134","1352219164","1352219191","1352219216","1352219248","1352219304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4148ad9a3b8fdcd3a6c70e7fff38d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7508966751505704504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145212724,"filename":"image_20042025_09_23_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac56ac3e7cad89ea8fbe434d21773671.jpg","text":"TemporaryFile(/tmp/multipartBody2654755153859630467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145212724,"filename":"image_20042025_09_24_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b1eebdbd1083a676bd2eadaa18be1b7.jpg","text":"TemporaryFile(/tmp/multipartBody4763804775430369781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145212724,"filename":"image_20042025_09_23_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b584546ffd9b1b40cd966d81d8439e2.jpg","text":"TemporaryFile(/tmp/multipartBody1473082693246598277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145212724,"filename":"image_20042025_09_23_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f96e656870228d892fdb2a6aa274acee.jpg","text":"TemporaryFile(/tmp/multipartBody7460595343991402367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145212724,"filename":"image_20042025_09_23_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/160f0810565d76fc4e50aaebf8d96ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3657095889409742305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145212724,"filename":"image_20042025_09_23_25_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352219191","file1":"1352219164","file0":"1352219134","file4":"1352219248","file5":"1352219304","file3":"1352219216"},"map_files_photo_id_array":[{"photo_id":"1352219304","filename":"file5"},{"photo_id":"1352219191","filename":"file2"},{"photo_id":"1352219248","filename":"file4"},{"photo_id":"1352219164","filename":"file1"},{"photo_id":"1352219134","filename":"file0"},{"photo_id":"1352219216","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352219134":["hashtag1","hashtag2"]},{"1352219304":["hashtag1","hashtag2"]},{"1352219216":["hashtag1","hashtag2"]},{"1352219191":["hashtag1","hashtag2"]},{"1352219248":["hashtag1","hashtag2"]},{"1352219164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352219134, 1352219304, 1352219216, 1352219191, 1352219248, 1352219164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.754297733306885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:33:32.465785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_15_10433.jpg', '/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_26_10367.jpg', '/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_35_9355.jpg', '/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_45_10369.jpg', '/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_55_9358.jpg', '/home/pi/Desktop/images/20042025/09/24/image_20042025_09_25_05_10535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_15_10433.jpg
/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_26_10367.jpg
/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_35_9355.jpg
/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_45_10369.jpg
/home/pi/Desktop/images/20042025/09/24/image_20042025_09_24_55_9358.jpg
/home/pi/Desktop/images/20042025/09/24/image_20042025_09_25_05_10535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352219493","1352219550","1352219634","1352219579","1352219663","1352219521"],"photo_ids_order":["1352219493","1352219521","1352219550","1352219579","1352219634","1352219663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7397b14fb726cf766e2e16a8e94780d.jpg","text":"TemporaryFile(/tmp/multipartBody4835114555089995795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145272940,"filename":"image_20042025_09_24_15_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d04c2eef186ffe030ad946c9793446e2.jpg","text":"TemporaryFile(/tmp/multipartBody708569794088761378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145272940,"filename":"image_20042025_09_24_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7da2b15ab64a80deab61b858cee1bf93.jpg","text":"TemporaryFile(/tmp/multipartBody6335498232935850203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145272940,"filename":"image_20042025_09_24_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/151c4803d8e0c9052d5b12fcac5d5299.jpg","text":"TemporaryFile(/tmp/multipartBody6943812784461789614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145272940,"filename":"image_20042025_09_24_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a4f3d0a45555fc30c9f99ccd4a87716.jpg","text":"TemporaryFile(/tmp/multipartBody8302686571131676785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145272940,"filename":"image_20042025_09_25_05_10535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/937ea9e701b0fcbcdc15c7355ed6ebe7.jpg","text":"TemporaryFile(/tmp/multipartBody7808976247632737313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145272940,"filename":"image_20042025_09_24_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352219550","file1":"1352219521","file0":"1352219493","file4":"1352219634","file5":"1352219663","file3":"1352219579"},"map_files_photo_id_array":[{"photo_id":"1352219663","filename":"file5"},{"photo_id":"1352219550","filename":"file2"},{"photo_id":"1352219634","filename":"file4"},{"photo_id":"1352219521","filename":"file1"},{"photo_id":"1352219493","filename":"file0"},{"photo_id":"1352219579","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352219493":["hashtag1","hashtag2"]},{"1352219550":["hashtag1","hashtag2"]},{"1352219634":["hashtag1","hashtag2"]},{"1352219579":["hashtag1","hashtag2"]},{"1352219663":["hashtag1","hashtag2"]},{"1352219521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352219493, 1352219550, 1352219634, 1352219579, 1352219663, 1352219521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.825252294540405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:34:32.736708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_16_10356.jpg', '/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_25_9504.jpg', '/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_35_10364.jpg', '/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_45_9387.jpg', '/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_55_10406.jpg', '/home/pi/Desktop/images/20042025/09/25/image_20042025_09_26_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_16_10356.jpg
/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_25_9504.jpg
/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_35_10364.jpg
/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_45_9387.jpg
/home/pi/Desktop/images/20042025/09/25/image_20042025_09_25_55_10406.jpg
/home/pi/Desktop/images/20042025/09/25/image_20042025_09_26_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352219920","1352219889","1352219969","1352219978","1352219974","1352219953"],"photo_ids_order":["1352219889","1352219920","1352219953","1352219969","1352219974","1352219978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf6924b414a3692ccb7588b79d6739d9.jpg","text":"TemporaryFile(/tmp/multipartBody3685236392730570264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145333198,"filename":"image_20042025_09_25_25_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74a859910aac7497653d0e9f0c57fa18.jpg","text":"TemporaryFile(/tmp/multipartBody653192940618524360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145333198,"filename":"image_20042025_09_25_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ca78021bec726eaac7cc2e339ea4269.jpg","text":"TemporaryFile(/tmp/multipartBody7306118435988835891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145333198,"filename":"image_20042025_09_25_45_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d787a35201db1c01e170f172013e57aa.jpg","text":"TemporaryFile(/tmp/multipartBody9004162928861237670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145333198,"filename":"image_20042025_09_26_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47573d5500770ca497c9fd5cb3b69c0e.jpg","text":"TemporaryFile(/tmp/multipartBody503451721128507269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145333198,"filename":"image_20042025_09_25_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9311cfac9be72cd3bf2e9a026a3de42.jpg","text":"TemporaryFile(/tmp/multipartBody465159047913431398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145333198,"filename":"image_20042025_09_25_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352219953","file1":"1352219920","file0":"1352219889","file4":"1352219974","file5":"1352219978","file3":"1352219969"},"map_files_photo_id_array":[{"photo_id":"1352219978","filename":"file5"},{"photo_id":"1352219953","filename":"file2"},{"photo_id":"1352219974","filename":"file4"},{"photo_id":"1352219920","filename":"file1"},{"photo_id":"1352219889","filename":"file0"},{"photo_id":"1352219969","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352219920":["hashtag1","hashtag2"]},{"1352219889":["hashtag1","hashtag2"]},{"1352219969":["hashtag1","hashtag2"]},{"1352219978":["hashtag1","hashtag2"]},{"1352219974":["hashtag1","hashtag2"]},{"1352219953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352219920, 1352219889, 1352219969, 1352219978, 1352219974, 1352219953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08574604988098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:35:32.913387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_15_9399.jpg', '/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_25_10404.jpg', '/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_35_9389.jpg', '/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_45_10391.jpg', '/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_56_10392.jpg', '/home/pi/Desktop/images/20042025/09/26/image_20042025_09_27_05_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_15_9399.jpg
/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_25_10404.jpg
/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_35_9389.jpg
/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_45_10391.jpg
/home/pi/Desktop/images/20042025/09/26/image_20042025_09_26_56_10392.jpg
/home/pi/Desktop/images/20042025/09/26/image_20042025_09_27_05_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352219991","1352219993","1352219996","1352219999","1352219986","1352219989"],"photo_ids_order":["1352219986","1352219989","1352219991","1352219993","1352219996","1352219999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7096c3997f34694eb54b6eff6d5b9f54.jpg","text":"TemporaryFile(/tmp/multipartBody7093564673707594154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145393397,"filename":"image_20042025_09_26_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/291a4b9663aae4014336f7a61457cabe.jpg","text":"TemporaryFile(/tmp/multipartBody6913395350927242247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145393397,"filename":"image_20042025_09_26_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dcc7529dccf07d0d4308df6756ca318.jpg","text":"TemporaryFile(/tmp/multipartBody3946481667285960587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145393397,"filename":"image_20042025_09_26_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f69c3462bdcf7ff395c0d86ac42d900.jpg","text":"TemporaryFile(/tmp/multipartBody7526953339320978592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145393397,"filename":"image_20042025_09_27_05_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebfa0e9ae2b8d1180a8ea9c7bb67ed16.jpg","text":"TemporaryFile(/tmp/multipartBody8057489373122142340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145393397,"filename":"image_20042025_09_26_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7262e8d5b5d3ccb64977ec1787840f29.jpg","text":"TemporaryFile(/tmp/multipartBody5377700988816268047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145393397,"filename":"image_20042025_09_26_25_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352219991","file1":"1352219989","file0":"1352219986","file4":"1352219996","file5":"1352219999","file3":"1352219993"},"map_files_photo_id_array":[{"photo_id":"1352219999","filename":"file5"},{"photo_id":"1352219991","filename":"file2"},{"photo_id":"1352219996","filename":"file4"},{"photo_id":"1352219989","filename":"file1"},{"photo_id":"1352219986","filename":"file0"},{"photo_id":"1352219993","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352219991":["hashtag1","hashtag2"]},{"1352219993":["hashtag1","hashtag2"]},{"1352219996":["hashtag1","hashtag2"]},{"1352219999":["hashtag1","hashtag2"]},{"1352219986":["hashtag1","hashtag2"]},{"1352219989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352219991, 1352219993, 1352219996, 1352219999, 1352219986, 1352219989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.980053901672363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:36:33.222248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_15_10399.jpg', '/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_25_9370.jpg', '/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_35_10453.jpg', '/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_46_10349.jpg', '/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_55_9426.jpg', '/home/pi/Desktop/images/20042025/09/27/image_20042025_09_28_05_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_15_10399.jpg
/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_25_9370.jpg
/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_35_10453.jpg
/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_46_10349.jpg
/home/pi/Desktop/images/20042025/09/27/image_20042025_09_27_55_9426.jpg
/home/pi/Desktop/images/20042025/09/27/image_20042025_09_28_05_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352220319","1352220291","1352220197","1352220263","1352220167","1352220227"],"photo_ids_order":["1352220167","1352220197","1352220227","1352220263","1352220291","1352220319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b7648753fd78573f5782195a7885f28.jpg","text":"TemporaryFile(/tmp/multipartBody5270508590745999707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145453706,"filename":"image_20042025_09_28_05_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dee7620b764609fd5fbaac8a989efb4.jpg","text":"TemporaryFile(/tmp/multipartBody828535165655071142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145453706,"filename":"image_20042025_09_27_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64e5de603207f16989996b2161a9d299.jpg","text":"TemporaryFile(/tmp/multipartBody5747209228177564596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145453706,"filename":"image_20042025_09_27_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4341068687768e64e7ea8a061bf2c565.jpg","text":"TemporaryFile(/tmp/multipartBody5832219973023329922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145453706,"filename":"image_20042025_09_27_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a96711cd2afe53ac05e81c3c93d2619.jpg","text":"TemporaryFile(/tmp/multipartBody170500636373725546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145453706,"filename":"image_20042025_09_27_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c23bb1f5115df779c3a8b52032028e37.jpg","text":"TemporaryFile(/tmp/multipartBody5977007128852061429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145453706,"filename":"image_20042025_09_27_35_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352220227","file1":"1352220197","file0":"1352220167","file4":"1352220291","file5":"1352220319","file3":"1352220263"},"map_files_photo_id_array":[{"photo_id":"1352220319","filename":"file5"},{"photo_id":"1352220227","filename":"file2"},{"photo_id":"1352220291","filename":"file4"},{"photo_id":"1352220197","filename":"file1"},{"photo_id":"1352220167","filename":"file0"},{"photo_id":"1352220263","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352220319":["hashtag1","hashtag2"]},{"1352220291":["hashtag1","hashtag2"]},{"1352220197":["hashtag1","hashtag2"]},{"1352220263":["hashtag1","hashtag2"]},{"1352220167":["hashtag1","hashtag2"]},{"1352220227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352220319, 1352220291, 1352220197, 1352220263, 1352220167, 1352220227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.627747535705566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:37:32.406530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_15_9343.jpg', '/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_25_10464.jpg', '/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_36_10346.jpg', '/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_45_9473.jpg', '/home/pi/Desktop/images/20042025/09/28/image_20042025_09_29_05_9361.jpg', '/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_15_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_15_9343.jpg
/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_25_10464.jpg
/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_36_10346.jpg
/home/pi/Desktop/images/20042025/09/28/image_20042025_09_28_45_9473.jpg
/home/pi/Desktop/images/20042025/09/28/image_20042025_09_29_05_9361.jpg
/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_15_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352220400","1352220398","1352220402","1352220392","1352220395","1352220404"],"photo_ids_order":["1352220392","1352220395","1352220398","1352220400","1352220402","1352220404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9208a40b6f345dcbd2a135c76f7f1ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6868458288852255737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145512877,"filename":"image_20042025_09_28_45_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09e767c781b62e2d3828c8fde75ca58e.jpg","text":"TemporaryFile(/tmp/multipartBody3706143973750208717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145512877,"filename":"image_20042025_09_28_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b5475593cf2a3f68f959936c2042d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5058478682570779859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145512877,"filename":"image_20042025_09_29_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1feb6cf7e7ac8cc0767854b096d71eb.jpg","text":"TemporaryFile(/tmp/multipartBody1603777885080955834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145512877,"filename":"image_20042025_09_28_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5fc694dcabb8a81996ff206f17a2428.jpg","text":"TemporaryFile(/tmp/multipartBody2247043459742703470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145512877,"filename":"image_20042025_09_28_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c64c5d6a14239d5ec10ea0bc8b539ce.jpg","text":"TemporaryFile(/tmp/multipartBody2846666483062476155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145512877,"filename":"image_20042025_09_29_15_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352220398","file1":"1352220395","file0":"1352220392","file4":"1352220402","file5":"1352220404","file3":"1352220400"},"map_files_photo_id_array":[{"photo_id":"1352220404","filename":"file5"},{"photo_id":"1352220398","filename":"file2"},{"photo_id":"1352220402","filename":"file4"},{"photo_id":"1352220395","filename":"file1"},{"photo_id":"1352220392","filename":"file0"},{"photo_id":"1352220400","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352220400":["hashtag1","hashtag2"]},{"1352220398":["hashtag1","hashtag2"]},{"1352220402":["hashtag1","hashtag2"]},{"1352220392":["hashtag1","hashtag2"]},{"1352220395":["hashtag1","hashtag2"]},{"1352220404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352220400, 1352220398, 1352220402, 1352220392, 1352220395, 1352220404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.181233406066895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:38:32.726211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_26_10388.jpg', '/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_35_9462.jpg', '/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_45_10401.jpg', '/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_55_9423.jpg', '/home/pi/Desktop/images/20042025/09/29/image_20042025_09_30_05_10379.jpg', '/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_15_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_26_10388.jpg
/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_35_9462.jpg
/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_45_10401.jpg
/home/pi/Desktop/images/20042025/09/29/image_20042025_09_29_55_9423.jpg
/home/pi/Desktop/images/20042025/09/29/image_20042025_09_30_05_10379.jpg
/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_15_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352220538","1352220564","1352220444","1352220473","1352220592","1352220500"],"photo_ids_order":["1352220444","1352220473","1352220500","1352220538","1352220564","1352220592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/911192527baceb2bf44e5ece2d1db989.jpg","text":"TemporaryFile(/tmp/multipartBody8271900771330669161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145573203,"filename":"image_20042025_09_29_55_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e71f03a8ca28bbed918c86f6060e55dd.jpg","text":"TemporaryFile(/tmp/multipartBody7015395197416254137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145573203,"filename":"image_20042025_09_30_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/356e7fe757746fafc564398f478460a8.jpg","text":"TemporaryFile(/tmp/multipartBody2200310017169743338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145573203,"filename":"image_20042025_09_29_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8978161b5318511a070aa3b4212796bb.jpg","text":"TemporaryFile(/tmp/multipartBody5620570476416477269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145573203,"filename":"image_20042025_09_29_35_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81800fc31ee12fa5a2f847e142986c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8474768468193991768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145573203,"filename":"image_20042025_09_30_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a8f86bec2479418c84cee0af0aca4b5.jpg","text":"TemporaryFile(/tmp/multipartBody8195485286231697758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145573203,"filename":"image_20042025_09_29_45_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352220500","file1":"1352220473","file0":"1352220444","file4":"1352220564","file5":"1352220592","file3":"1352220538"},"map_files_photo_id_array":[{"photo_id":"1352220592","filename":"file5"},{"photo_id":"1352220500","filename":"file2"},{"photo_id":"1352220564","filename":"file4"},{"photo_id":"1352220473","filename":"file1"},{"photo_id":"1352220444","filename":"file0"},{"photo_id":"1352220538","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352220538":["hashtag1","hashtag2"]},{"1352220564":["hashtag1","hashtag2"]},{"1352220444":["hashtag1","hashtag2"]},{"1352220473":["hashtag1","hashtag2"]},{"1352220592":["hashtag1","hashtag2"]},{"1352220500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352220538, 1352220564, 1352220444, 1352220473, 1352220592, 1352220500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.664430379867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:39:32.919197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_25_10444.jpg', '/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_35_10386.jpg', '/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_45_9457.jpg', '/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_55_10386.jpg', '/home/pi/Desktop/images/20042025/09/30/image_20042025_09_31_05_9371.jpg', '/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_15_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_25_10444.jpg
/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_35_10386.jpg
/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_45_9457.jpg
/home/pi/Desktop/images/20042025/09/30/image_20042025_09_30_55_10386.jpg
/home/pi/Desktop/images/20042025/09/30/image_20042025_09_31_05_9371.jpg
/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_15_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352220685","1352220690","1352220678","1352220681","1352220692","1352220688"],"photo_ids_order":["1352220678","1352220681","1352220685","1352220688","1352220690","1352220692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a0dde60fe8c419e8982d0a5764535fa.jpg","text":"TemporaryFile(/tmp/multipartBody8858256534218231736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145633394,"filename":"image_20042025_09_30_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/204c6eb6548f3d04cba4c6021a3366d1.jpg","text":"TemporaryFile(/tmp/multipartBody5086724634543454677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145633394,"filename":"image_20042025_09_31_05_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69c49225ef608b878d9df91589cca21a.jpg","text":"TemporaryFile(/tmp/multipartBody676715554896757551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145633394,"filename":"image_20042025_09_30_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0353df0ad584fe9cbc8af382d8b44795.jpg","text":"TemporaryFile(/tmp/multipartBody706445997250361559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145633394,"filename":"image_20042025_09_30_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f7583a5560602110492378aad30e1c7.jpg","text":"TemporaryFile(/tmp/multipartBody8245978644853581620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145633394,"filename":"image_20042025_09_31_15_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f62c082f12e5395080915ce267dbd83f.jpg","text":"TemporaryFile(/tmp/multipartBody1110618630691711260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145633394,"filename":"image_20042025_09_30_55_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352220685","file1":"1352220681","file0":"1352220678","file4":"1352220690","file5":"1352220692","file3":"1352220688"},"map_files_photo_id_array":[{"photo_id":"1352220692","filename":"file5"},{"photo_id":"1352220685","filename":"file2"},{"photo_id":"1352220690","filename":"file4"},{"photo_id":"1352220681","filename":"file1"},{"photo_id":"1352220678","filename":"file0"},{"photo_id":"1352220688","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352220685":["hashtag1","hashtag2"]},{"1352220690":["hashtag1","hashtag2"]},{"1352220678":["hashtag1","hashtag2"]},{"1352220681":["hashtag1","hashtag2"]},{"1352220692":["hashtag1","hashtag2"]},{"1352220688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352220685, 1352220690, 1352220678, 1352220681, 1352220692, 1352220688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21096158027649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:40:32.215548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_26_10406.jpg', '/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_35_9410.jpg', '/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_45_10372.jpg', '/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_55_9373.jpg', '/home/pi/Desktop/images/20042025/09/31/image_20042025_09_32_05_10373.jpg', '/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_16_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_26_10406.jpg
/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_35_9410.jpg
/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_45_10372.jpg
/home/pi/Desktop/images/20042025/09/31/image_20042025_09_31_55_9373.jpg
/home/pi/Desktop/images/20042025/09/31/image_20042025_09_32_05_10373.jpg
/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_16_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352220763","1352220844","1352220789","1352220711","1352220737","1352220818"],"photo_ids_order":["1352220711","1352220737","1352220763","1352220789","1352220818","1352220844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1499f8e7a35596a5c7fcba3bb0272aaf.jpg","text":"TemporaryFile(/tmp/multipartBody4860725083193176900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145692692,"filename":"image_20042025_09_31_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8530e2e76a4d862d2336a28ede2bb026.jpg","text":"TemporaryFile(/tmp/multipartBody6795189812745307955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145692692,"filename":"image_20042025_09_32_16_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1586f8b5e2366ad626ad5a13ba63e08.jpg","text":"TemporaryFile(/tmp/multipartBody235172397220543063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145692692,"filename":"image_20042025_09_31_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f862b4358739762ec53e1a2ba12a5a72.jpg","text":"TemporaryFile(/tmp/multipartBody6489103579874132735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145692692,"filename":"image_20042025_09_31_26_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee32e3480d4883e6f8351838be9d26fe.jpg","text":"TemporaryFile(/tmp/multipartBody3818253879082713677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145692692,"filename":"image_20042025_09_31_35_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/763535cb7152eb058cc706bb7b09793a.jpg","text":"TemporaryFile(/tmp/multipartBody8972099520537025273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145692692,"filename":"image_20042025_09_32_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352220763","file1":"1352220737","file0":"1352220711","file4":"1352220818","file5":"1352220844","file3":"1352220789"},"map_files_photo_id_array":[{"photo_id":"1352220844","filename":"file5"},{"photo_id":"1352220763","filename":"file2"},{"photo_id":"1352220818","filename":"file4"},{"photo_id":"1352220737","filename":"file1"},{"photo_id":"1352220711","filename":"file0"},{"photo_id":"1352220789","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352220763":["hashtag1","hashtag2"]},{"1352220844":["hashtag1","hashtag2"]},{"1352220789":["hashtag1","hashtag2"]},{"1352220711":["hashtag1","hashtag2"]},{"1352220737":["hashtag1","hashtag2"]},{"1352220818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352220763, 1352220844, 1352220789, 1352220711, 1352220737, 1352220818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.9274480342865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:41:32.420932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_25_9414.jpg', '/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_35_10359.jpg', '/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_46_10340.jpg', '/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_55_9444.jpg', '/home/pi/Desktop/images/20042025/09/32/image_20042025_09_33_05_10362.jpg', '/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_15_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_25_9414.jpg
/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_35_10359.jpg
/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_46_10340.jpg
/home/pi/Desktop/images/20042025/09/32/image_20042025_09_32_55_9444.jpg
/home/pi/Desktop/images/20042025/09/32/image_20042025_09_33_05_10362.jpg
/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_15_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221092","1352221094","1352221088","1352221082","1352221084","1352221093"],"photo_ids_order":["1352221082","1352221084","1352221088","1352221092","1352221093","1352221094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c1159779485493d88c1d9c7efa8a8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5924783910975279036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145752888,"filename":"image_20042025_09_32_55_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f493b5713d0cfd54e723fdd18eda09d7.jpg","text":"TemporaryFile(/tmp/multipartBody4835889237837440714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145752888,"filename":"image_20042025_09_33_15_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8283474984b67bfdb89ecae726d1cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody6900584345405916287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145752888,"filename":"image_20042025_09_32_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76baa94b19e5d278605e06933aa84f3b.jpg","text":"TemporaryFile(/tmp/multipartBody9080234639736938302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145752888,"filename":"image_20042025_09_32_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dad893d6ec16b1a7fd6e6881644adc3.jpg","text":"TemporaryFile(/tmp/multipartBody6580880947676295160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145752888,"filename":"image_20042025_09_32_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14b629ad292b64e5778ce581e9efa1d3.jpg","text":"TemporaryFile(/tmp/multipartBody3261412358644376975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145752888,"filename":"image_20042025_09_33_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221088","file1":"1352221084","file0":"1352221082","file4":"1352221093","file5":"1352221094","file3":"1352221092"},"map_files_photo_id_array":[{"photo_id":"1352221094","filename":"file5"},{"photo_id":"1352221088","filename":"file2"},{"photo_id":"1352221093","filename":"file4"},{"photo_id":"1352221084","filename":"file1"},{"photo_id":"1352221082","filename":"file0"},{"photo_id":"1352221092","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221092":["hashtag1","hashtag2"]},{"1352221094":["hashtag1","hashtag2"]},{"1352221088":["hashtag1","hashtag2"]},{"1352221082":["hashtag1","hashtag2"]},{"1352221084":["hashtag1","hashtag2"]},{"1352221093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221092, 1352221094, 1352221088, 1352221082, 1352221084, 1352221093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.840083360672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:42:32.726028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_25_10378.jpg', '/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_35_9389.jpg', '/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_45_10464.jpg', '/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_55_10362.jpg', '/home/pi/Desktop/images/20042025/09/33/image_20042025_09_34_05_9360.jpg', '/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_15_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_25_10378.jpg
/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_35_9389.jpg
/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_45_10464.jpg
/home/pi/Desktop/images/20042025/09/33/image_20042025_09_33_55_10362.jpg
/home/pi/Desktop/images/20042025/09/33/image_20042025_09_34_05_9360.jpg
/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_15_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221123","1352221125","1352221112","1352221115","1352221109","1352221120"],"photo_ids_order":["1352221109","1352221112","1352221115","1352221120","1352221123","1352221125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f2348eec6c93b63b3efe43570f53b27.jpg","text":"TemporaryFile(/tmp/multipartBody7033491895728375555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145813196,"filename":"image_20042025_09_34_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a028da488f23d3b878d328fd758666a.jpg","text":"TemporaryFile(/tmp/multipartBody3144524339152131596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145813196,"filename":"image_20042025_09_34_15_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ffe5f733909b3061a802857b8ead8ba.jpg","text":"TemporaryFile(/tmp/multipartBody4204762037633747373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145813196,"filename":"image_20042025_09_33_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18584a2e6c73d37c881dfa9b3e75163a.jpg","text":"TemporaryFile(/tmp/multipartBody8456336828670741454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145813196,"filename":"image_20042025_09_33_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f069c733918184278c58e95d593ea44.jpg","text":"TemporaryFile(/tmp/multipartBody277204754540403653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145813196,"filename":"image_20042025_09_33_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab9bc2d950beea42a30daf6c8b7293b3.jpg","text":"TemporaryFile(/tmp/multipartBody1834536498859426735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145813196,"filename":"image_20042025_09_33_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221115","file1":"1352221112","file0":"1352221109","file4":"1352221123","file5":"1352221125","file3":"1352221120"},"map_files_photo_id_array":[{"photo_id":"1352221125","filename":"file5"},{"photo_id":"1352221115","filename":"file2"},{"photo_id":"1352221123","filename":"file4"},{"photo_id":"1352221112","filename":"file1"},{"photo_id":"1352221109","filename":"file0"},{"photo_id":"1352221120","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221123":["hashtag1","hashtag2"]},{"1352221125":["hashtag1","hashtag2"]},{"1352221112":["hashtag1","hashtag2"]},{"1352221115":["hashtag1","hashtag2"]},{"1352221109":["hashtag1","hashtag2"]},{"1352221120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221123, 1352221125, 1352221112, 1352221115, 1352221109, 1352221120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09929823875427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:43:33.042730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_26_10375.jpg', '/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_35_9361.jpg', '/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_45_10380.jpg', '/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_55_9384.jpg', '/home/pi/Desktop/images/20042025/09/34/image_20042025_09_35_05_10457.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_26_10375.jpg
/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_35_9361.jpg
/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_45_10380.jpg
/home/pi/Desktop/images/20042025/09/34/image_20042025_09_34_55_9384.jpg
/home/pi/Desktop/images/20042025/09/34/image_20042025_09_35_05_10457.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_16_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221143","1352221146","1352221149","1352221151","1352221139","1352221141"],"photo_ids_order":["1352221139","1352221141","1352221143","1352221146","1352221149","1352221151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6975d8b7449da9b295a7654ca6af063b.jpg","text":"TemporaryFile(/tmp/multipartBody1339109462498815647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145873520,"filename":"image_20042025_09_34_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0774071735ce1508eec2965d1db57a76.jpg","text":"TemporaryFile(/tmp/multipartBody1797033585673807736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145873520,"filename":"image_20042025_09_34_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/345bd7ed337c4ee6df56edeb02c0d67a.jpg","text":"TemporaryFile(/tmp/multipartBody3663660901349497596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145873520,"filename":"image_20042025_09_35_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0110b98e2dba7e368449464cbd61f46.jpg","text":"TemporaryFile(/tmp/multipartBody3356149071367964788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145873520,"filename":"image_20042025_09_35_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bca6720d2712ccb1197410db397c70b.jpg","text":"TemporaryFile(/tmp/multipartBody1929487051608819411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145873520,"filename":"image_20042025_09_34_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74cdd1cdec40b73851dc0c0c3c0a0070.jpg","text":"TemporaryFile(/tmp/multipartBody4488297664210373969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145873520,"filename":"image_20042025_09_34_35_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221143","file1":"1352221141","file0":"1352221139","file4":"1352221149","file5":"1352221151","file3":"1352221146"},"map_files_photo_id_array":[{"photo_id":"1352221151","filename":"file5"},{"photo_id":"1352221143","filename":"file2"},{"photo_id":"1352221149","filename":"file4"},{"photo_id":"1352221141","filename":"file1"},{"photo_id":"1352221139","filename":"file0"},{"photo_id":"1352221146","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221143":["hashtag1","hashtag2"]},{"1352221146":["hashtag1","hashtag2"]},{"1352221149":["hashtag1","hashtag2"]},{"1352221151":["hashtag1","hashtag2"]},{"1352221139":["hashtag1","hashtag2"]},{"1352221141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221143, 1352221146, 1352221149, 1352221151, 1352221139, 1352221141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88998484611511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:44:32.222272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_25_9418.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_35_10353.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_45_9367.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_55_10476.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_36_06_10351.jpg', '/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_15_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_25_9418.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_35_10353.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_45_9367.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_55_10476.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_36_06_10351.jpg
/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_15_9428.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4037783145904541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 12:44:42.234885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_25_9418.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_35_10353.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_45_9367.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_55_10476.jpg', '/home/pi/Desktop/images/20042025/09/35/image_20042025_09_36_06_10351.jpg', '/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_15_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_25_9418.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_35_10353.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_45_9367.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_35_55_10476.jpg
/home/pi/Desktop/images/20042025/09/35/image_20042025_09_36_06_10351.jpg
/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_15_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221184","1352221178","1352221181","1352221175","1352221186","1352221171"],"photo_ids_order":["1352221171","1352221175","1352221178","1352221181","1352221184","1352221186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c43645a4bd1a1d54277d04e34d37d44c.jpg","text":"TemporaryFile(/tmp/multipartBody5650927130949887866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145943300,"filename":"image_20042025_09_36_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea0158d24abb5f7abda70ee686597055.jpg","text":"TemporaryFile(/tmp/multipartBody4137677292534905646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145943300,"filename":"image_20042025_09_35_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e82921badb74efec32c52ead3f9e36f.jpg","text":"TemporaryFile(/tmp/multipartBody649440214546619809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145943300,"filename":"image_20042025_09_35_55_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4466573c36b6547f6277b81e703ba68.jpg","text":"TemporaryFile(/tmp/multipartBody2463225356316158688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145943300,"filename":"image_20042025_09_35_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c474e176048f7c2e14906cb6f773377.jpg","text":"TemporaryFile(/tmp/multipartBody4561847220808572334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145943300,"filename":"image_20042025_09_36_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d9ab355d0d48e3a0200528837b52832.jpg","text":"TemporaryFile(/tmp/multipartBody101316461921170354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145943300,"filename":"image_20042025_09_35_25_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221178","file1":"1352221175","file0":"1352221171","file4":"1352221184","file5":"1352221186","file3":"1352221181"},"map_files_photo_id_array":[{"photo_id":"1352221186","filename":"file5"},{"photo_id":"1352221178","filename":"file2"},{"photo_id":"1352221184","filename":"file4"},{"photo_id":"1352221175","filename":"file1"},{"photo_id":"1352221171","filename":"file0"},{"photo_id":"1352221181","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221184":["hashtag1","hashtag2"]},{"1352221178":["hashtag1","hashtag2"]},{"1352221181":["hashtag1","hashtag2"]},{"1352221175":["hashtag1","hashtag2"]},{"1352221186":["hashtag1","hashtag2"]},{"1352221171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221184, 1352221178, 1352221181, 1352221175, 1352221186, 1352221171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18165922164917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:45:32.452737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_25_10413.jpg', '/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_35_9346.jpg', '/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_45_10452.jpg', '/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_56_10358.jpg', '/home/pi/Desktop/images/20042025/09/36/image_20042025_09_37_05_9385.jpg', '/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_25_10413.jpg
/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_35_9346.jpg
/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_45_10452.jpg
/home/pi/Desktop/images/20042025/09/36/image_20042025_09_36_56_10358.jpg
/home/pi/Desktop/images/20042025/09/36/image_20042025_09_37_05_9385.jpg
/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221201","1352221210","1352221204","1352221197","1352221193","1352221207"],"photo_ids_order":["1352221193","1352221197","1352221201","1352221204","1352221207","1352221210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a0bfcd43c9010164b946e59e698cd16.jpg","text":"TemporaryFile(/tmp/multipartBody3073436323261734833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145992922,"filename":"image_20042025_09_36_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a89e6b4486046849b281025daee2e900.jpg","text":"TemporaryFile(/tmp/multipartBody8829858685122823120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145992922,"filename":"image_20042025_09_37_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/800790359e5403902ad7f3ffcd15f3a8.jpg","text":"TemporaryFile(/tmp/multipartBody1422000946269519495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145992922,"filename":"image_20042025_09_36_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93ef70dfdef53db23d774fe7dd235014.jpg","text":"TemporaryFile(/tmp/multipartBody3687047834452963130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145992922,"filename":"image_20042025_09_36_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aed636e1a80fa62fc5a3e566bd973530.jpg","text":"TemporaryFile(/tmp/multipartBody5062038090985204056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145992922,"filename":"image_20042025_09_36_25_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f4684dce4ddcdb446c2c45d7db41ea7.jpg","text":"TemporaryFile(/tmp/multipartBody89141643199958351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745145992922,"filename":"image_20042025_09_37_05_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221201","file1":"1352221197","file0":"1352221193","file4":"1352221207","file5":"1352221210","file3":"1352221204"},"map_files_photo_id_array":[{"photo_id":"1352221210","filename":"file5"},{"photo_id":"1352221201","filename":"file2"},{"photo_id":"1352221207","filename":"file4"},{"photo_id":"1352221197","filename":"file1"},{"photo_id":"1352221193","filename":"file0"},{"photo_id":"1352221204","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221201":["hashtag1","hashtag2"]},{"1352221210":["hashtag1","hashtag2"]},{"1352221204":["hashtag1","hashtag2"]},{"1352221197":["hashtag1","hashtag2"]},{"1352221193":["hashtag1","hashtag2"]},{"1352221207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221201, 1352221210, 1352221204, 1352221197, 1352221193, 1352221207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26112461090088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:46:32.859786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_25_9359.jpg', '/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_35_10384.jpg', '/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_46_10494.jpg', '/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_55_9518.jpg', '/home/pi/Desktop/images/20042025/09/37/image_20042025_09_38_05_10374.jpg', '/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_15_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_25_9359.jpg
/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_35_10384.jpg
/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_46_10494.jpg
/home/pi/Desktop/images/20042025/09/37/image_20042025_09_37_55_9518.jpg
/home/pi/Desktop/images/20042025/09/37/image_20042025_09_38_05_10374.jpg
/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_15_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221237","1352221242","1352221224","1352221233","1352221227","1352221244"],"photo_ids_order":["1352221224","1352221227","1352221233","1352221237","1352221242","1352221244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38449aa19ab22d14bbc53ff469a00e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6990361375124881439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146053326,"filename":"image_20042025_09_37_55_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99c1a8a27b720851d3898d15d81b40dc.jpg","text":"TemporaryFile(/tmp/multipartBody2239555761219458502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146053326,"filename":"image_20042025_09_38_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c93c89a374e62d4a364a1a9a8cb20bd1.jpg","text":"TemporaryFile(/tmp/multipartBody435926121600190820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146053326,"filename":"image_20042025_09_37_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db433d9bf3b577fa61da3c7bd93d533a.jpg","text":"TemporaryFile(/tmp/multipartBody3472782237899609970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146053326,"filename":"image_20042025_09_37_46_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bb66250b9a440e4e403b9ba29586efc.jpg","text":"TemporaryFile(/tmp/multipartBody943526543324665660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146053326,"filename":"image_20042025_09_37_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/faf40254a32e1b20ebae77ec4a6d7607.jpg","text":"TemporaryFile(/tmp/multipartBody2220167421961716994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146053326,"filename":"image_20042025_09_38_15_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221233","file1":"1352221227","file0":"1352221224","file4":"1352221242","file5":"1352221244","file3":"1352221237"},"map_files_photo_id_array":[{"photo_id":"1352221244","filename":"file5"},{"photo_id":"1352221233","filename":"file2"},{"photo_id":"1352221242","filename":"file4"},{"photo_id":"1352221227","filename":"file1"},{"photo_id":"1352221224","filename":"file0"},{"photo_id":"1352221237","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221237":["hashtag1","hashtag2"]},{"1352221242":["hashtag1","hashtag2"]},{"1352221224":["hashtag1","hashtag2"]},{"1352221233":["hashtag1","hashtag2"]},{"1352221227":["hashtag1","hashtag2"]},{"1352221244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221237, 1352221242, 1352221224, 1352221233, 1352221227, 1352221244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.564265251159668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:47:33.158703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_25_10469.jpg', '/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_35_9353.jpg', '/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_45_10479.jpg', '/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_56_10372.jpg', '/home/pi/Desktop/images/20042025/09/38/image_20042025_09_39_05_9507.jpg', '/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_15_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_25_10469.jpg
/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_35_9353.jpg
/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_45_10479.jpg
/home/pi/Desktop/images/20042025/09/38/image_20042025_09_38_56_10372.jpg
/home/pi/Desktop/images/20042025/09/38/image_20042025_09_39_05_9507.jpg
/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_15_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221263","1352221266","1352221277","1352221271","1352221274","1352221268"],"photo_ids_order":["1352221263","1352221266","1352221268","1352221271","1352221274","1352221277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc7df34810af0f54a220dcdd8206225b.jpg","text":"TemporaryFile(/tmp/multipartBody6835088770689092612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146113619,"filename":"image_20042025_09_38_25_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/274fb3dea462c65598997741ba6284b9.jpg","text":"TemporaryFile(/tmp/multipartBody7045531147720560335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146113619,"filename":"image_20042025_09_38_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b106a2522421aad8f0dee1e1d4560a95.jpg","text":"TemporaryFile(/tmp/multipartBody4268951431066768030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146113619,"filename":"image_20042025_09_39_15_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/044a754a90a2330fa4581f157cf9f8f5.jpg","text":"TemporaryFile(/tmp/multipartBody6242558870897719477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146113619,"filename":"image_20042025_09_38_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72919669a7ae10ef62aaa509cf3087d0.jpg","text":"TemporaryFile(/tmp/multipartBody7026053767667420565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146113619,"filename":"image_20042025_09_39_05_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d18cc9aef24efa0994ca58972c4f8b4.jpg","text":"TemporaryFile(/tmp/multipartBody6980011328909253455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146113619,"filename":"image_20042025_09_38_45_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221268","file1":"1352221266","file0":"1352221263","file4":"1352221274","file5":"1352221277","file3":"1352221271"},"map_files_photo_id_array":[{"photo_id":"1352221277","filename":"file5"},{"photo_id":"1352221268","filename":"file2"},{"photo_id":"1352221274","filename":"file4"},{"photo_id":"1352221266","filename":"file1"},{"photo_id":"1352221263","filename":"file0"},{"photo_id":"1352221271","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221263":["hashtag1","hashtag2"]},{"1352221266":["hashtag1","hashtag2"]},{"1352221277":["hashtag1","hashtag2"]},{"1352221271":["hashtag1","hashtag2"]},{"1352221274":["hashtag1","hashtag2"]},{"1352221268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221263, 1352221266, 1352221277, 1352221271, 1352221274, 1352221268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93998050689697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:48:32.248143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_25_9362.jpg', '/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_35_10363.jpg', '/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_46_10357.jpg', '/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_55_9420.jpg', '/home/pi/Desktop/images/20042025/09/39/image_20042025_09_40_05_10370.jpg', '/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_15_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_25_9362.jpg
/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_35_10363.jpg
/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_46_10357.jpg
/home/pi/Desktop/images/20042025/09/39/image_20042025_09_39_55_9420.jpg
/home/pi/Desktop/images/20042025/09/39/image_20042025_09_40_05_10370.jpg
/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_15_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221315","1352221300","1352221293","1352221308","1352221304","1352221312"],"photo_ids_order":["1352221293","1352221300","1352221304","1352221308","1352221312","1352221315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63ec35ac0d0343d0d96dd6a768dc5b04.jpg","text":"TemporaryFile(/tmp/multipartBody9011575304809750807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146172708,"filename":"image_20042025_09_40_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd6c4bb1f5202160b91b0bbd41ea4ba7.jpg","text":"TemporaryFile(/tmp/multipartBody5450466085712815168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146172708,"filename":"image_20042025_09_39_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6069110f61d1b68b08bfc343a2857d93.jpg","text":"TemporaryFile(/tmp/multipartBody2427733781117275095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146172708,"filename":"image_20042025_09_39_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/732d30f7ac5bd3c03079bc42090b5e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3411107245246224409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146172708,"filename":"image_20042025_09_39_55_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/083a6bf5c2f2cd70adae9b0f03586a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6453266392546740803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146172708,"filename":"image_20042025_09_39_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/747940868a6a3cb0321e67773e934614.jpg","text":"TemporaryFile(/tmp/multipartBody4898640073478594576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146172708,"filename":"image_20042025_09_40_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221304","file1":"1352221300","file0":"1352221293","file4":"1352221312","file5":"1352221315","file3":"1352221308"},"map_files_photo_id_array":[{"photo_id":"1352221315","filename":"file5"},{"photo_id":"1352221304","filename":"file2"},{"photo_id":"1352221312","filename":"file4"},{"photo_id":"1352221300","filename":"file1"},{"photo_id":"1352221293","filename":"file0"},{"photo_id":"1352221308","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221315":["hashtag1","hashtag2"]},{"1352221300":["hashtag1","hashtag2"]},{"1352221293":["hashtag1","hashtag2"]},{"1352221308":["hashtag1","hashtag2"]},{"1352221304":["hashtag1","hashtag2"]},{"1352221312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221315, 1352221300, 1352221293, 1352221308, 1352221304, 1352221312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51073479652405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:49:32.442068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_25_10468.jpg', '/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_35_10363.jpg', '/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_45_9407.jpg', '/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_55_10370.jpg', '/home/pi/Desktop/images/20042025/09/40/image_20042025_09_41_06_10364.jpg', '/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_15_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_25_10468.jpg
/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_35_10363.jpg
/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_45_9407.jpg
/home/pi/Desktop/images/20042025/09/40/image_20042025_09_40_55_10370.jpg
/home/pi/Desktop/images/20042025/09/40/image_20042025_09_41_06_10364.jpg
/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_15_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221341","1352221335","1352221338","1352221326","1352221331","1352221322"],"photo_ids_order":["1352221322","1352221326","1352221331","1352221335","1352221338","1352221341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8427afa1ed10dd0c392581c9e9a0bf58.jpg","text":"TemporaryFile(/tmp/multipartBody2777852478062683147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146232931,"filename":"image_20042025_09_41_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d76e01a8cf67954674e377cc9079c8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1779919254280362247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146232931,"filename":"image_20042025_09_40_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17b7110d8ea3f01ab9b794c95d0be52d.jpg","text":"TemporaryFile(/tmp/multipartBody484122717531437423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146232931,"filename":"image_20042025_09_41_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44d47e0bbfc42044edd822271bfcda03.jpg","text":"TemporaryFile(/tmp/multipartBody4836840827735366225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146232931,"filename":"image_20042025_09_40_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c3b17cddc42bbf94a6eed3be45ddecc.jpg","text":"TemporaryFile(/tmp/multipartBody1783011677972858900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146232931,"filename":"image_20042025_09_40_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/783d26d1f551554e35fb607b9420cb0d.jpg","text":"TemporaryFile(/tmp/multipartBody1903048545635620820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146232931,"filename":"image_20042025_09_40_25_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221331","file1":"1352221326","file0":"1352221322","file4":"1352221338","file5":"1352221341","file3":"1352221335"},"map_files_photo_id_array":[{"photo_id":"1352221341","filename":"file5"},{"photo_id":"1352221331","filename":"file2"},{"photo_id":"1352221338","filename":"file4"},{"photo_id":"1352221326","filename":"file1"},{"photo_id":"1352221322","filename":"file0"},{"photo_id":"1352221335","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221341":["hashtag1","hashtag2"]},{"1352221335":["hashtag1","hashtag2"]},{"1352221338":["hashtag1","hashtag2"]},{"1352221326":["hashtag1","hashtag2"]},{"1352221331":["hashtag1","hashtag2"]},{"1352221322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221341, 1352221335, 1352221338, 1352221326, 1352221331, 1352221322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.124836206436157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:50:32.688942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_25_10388.jpg', '/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_35_9393.jpg', '/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_45_10425.jpg', '/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_56_10355.jpg', '/home/pi/Desktop/images/20042025/09/41/image_20042025_09_42_05_9400.jpg', '/home/pi/Desktop/images/20042025/09/42/image_20042025_09_42_55_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_25_10388.jpg
/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_35_9393.jpg
/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_45_10425.jpg
/home/pi/Desktop/images/20042025/09/41/image_20042025_09_41_56_10355.jpg
/home/pi/Desktop/images/20042025/09/41/image_20042025_09_42_05_9400.jpg
/home/pi/Desktop/images/20042025/09/42/image_20042025_09_42_55_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221358","1352221352","1352221355","1352221360","1352221363","1352221366"],"photo_ids_order":["1352221352","1352221355","1352221358","1352221360","1352221363","1352221366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55cce175ebd5fa7d5616df2daef06876.jpg","text":"TemporaryFile(/tmp/multipartBody2538489063477298299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146293150,"filename":"image_20042025_09_41_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f13752512a69bc5b00908035cd12698.jpg","text":"TemporaryFile(/tmp/multipartBody19745132672868403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146293150,"filename":"image_20042025_09_41_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87451930285fb54549df408a7cf66173.jpg","text":"TemporaryFile(/tmp/multipartBody5453914411406378794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146293150,"filename":"image_20042025_09_41_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d7b6683b15dee577d9957fdca35136a.jpg","text":"TemporaryFile(/tmp/multipartBody7594017079659545851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146293150,"filename":"image_20042025_09_41_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09de80c8dfeacac1929b79ae109d299b.jpg","text":"TemporaryFile(/tmp/multipartBody1091630758461228664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146293150,"filename":"image_20042025_09_42_05_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbc3ed43b27778d9ab741aeb369c7cea.jpg","text":"TemporaryFile(/tmp/multipartBody6173306121718089843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146293150,"filename":"image_20042025_09_42_55_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221358","file1":"1352221355","file0":"1352221352","file4":"1352221363","file5":"1352221366","file3":"1352221360"},"map_files_photo_id_array":[{"photo_id":"1352221366","filename":"file5"},{"photo_id":"1352221358","filename":"file2"},{"photo_id":"1352221363","filename":"file4"},{"photo_id":"1352221355","filename":"file1"},{"photo_id":"1352221352","filename":"file0"},{"photo_id":"1352221360","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221358":["hashtag1","hashtag2"]},{"1352221352":["hashtag1","hashtag2"]},{"1352221355":["hashtag1","hashtag2"]},{"1352221360":["hashtag1","hashtag2"]},{"1352221363":["hashtag1","hashtag2"]},{"1352221366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221358, 1352221352, 1352221355, 1352221360, 1352221363, 1352221366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.53589653968811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:51:32.923137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_25_9496.jpg', '/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_35_10365.jpg', '/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_45_9338.jpg', '/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_55_10371.jpg', '/home/pi/Desktop/images/20042025/09/43/image_20042025_09_44_05_10362.jpg', '/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_15_9490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_25_9496.jpg
/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_35_10365.jpg
/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_45_9338.jpg
/home/pi/Desktop/images/20042025/09/43/image_20042025_09_43_55_10371.jpg
/home/pi/Desktop/images/20042025/09/43/image_20042025_09_44_05_10362.jpg
/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_15_9490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221386","1352221382","1352221391","1352221388","1352221390","1352221384"],"photo_ids_order":["1352221382","1352221384","1352221386","1352221388","1352221390","1352221391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2613316c94a3981c0d626ce71e82dc12.jpg","text":"TemporaryFile(/tmp/multipartBody6224641312888204706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146353389,"filename":"image_20042025_09_43_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8de5c91aea484b74bd10f24a8b04b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1961672370396231886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146353389,"filename":"image_20042025_09_43_25_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d267769e118e08191958d5bd05eeba79.jpg","text":"TemporaryFile(/tmp/multipartBody2985256565042459212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146353389,"filename":"image_20042025_09_44_15_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc2d9f43736f3bacfad3b12618d2c6fb.jpg","text":"TemporaryFile(/tmp/multipartBody5570211804415673042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146353389,"filename":"image_20042025_09_43_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ee8efa040661a7d8a9718993254bd9c.jpg","text":"TemporaryFile(/tmp/multipartBody582627899044147590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146353389,"filename":"image_20042025_09_44_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9ac071b073769fb384ab257de0e7ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2967162894577688442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146353389,"filename":"image_20042025_09_43_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221386","file1":"1352221384","file0":"1352221382","file4":"1352221390","file5":"1352221391","file3":"1352221388"},"map_files_photo_id_array":[{"photo_id":"1352221391","filename":"file5"},{"photo_id":"1352221386","filename":"file2"},{"photo_id":"1352221390","filename":"file4"},{"photo_id":"1352221384","filename":"file1"},{"photo_id":"1352221382","filename":"file0"},{"photo_id":"1352221388","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221386":["hashtag1","hashtag2"]},{"1352221382":["hashtag1","hashtag2"]},{"1352221391":["hashtag1","hashtag2"]},{"1352221388":["hashtag1","hashtag2"]},{"1352221390":["hashtag1","hashtag2"]},{"1352221384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221386, 1352221382, 1352221391, 1352221388, 1352221390, 1352221384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83039474487305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:52:33.205705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_25_10370.jpg', '/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_35_9355.jpg', '/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_45_10471.jpg', '/home/pi/Desktop/images/20042025/09/44/image_20042025_09_45_05_9392.jpg', '/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_15_10362.jpg', '/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_25_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_25_10370.jpg
/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_35_9355.jpg
/home/pi/Desktop/images/20042025/09/44/image_20042025_09_44_45_10471.jpg
/home/pi/Desktop/images/20042025/09/44/image_20042025_09_45_05_9392.jpg
/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_15_10362.jpg
/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_25_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221414","1352221408","1352221402","1352221410","1352221412","1352221405"],"photo_ids_order":["1352221402","1352221405","1352221408","1352221410","1352221412","1352221414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b83e31975a5980032ba098c58da681dc.jpg","text":"TemporaryFile(/tmp/multipartBody14487621189240933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146413680,"filename":"image_20042025_09_45_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54ed96e38c97392ce8ef75bfe1e17bb6.jpg","text":"TemporaryFile(/tmp/multipartBody191021263499765427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146413680,"filename":"image_20042025_09_44_45_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a496f5de61718df0b3337e91aa3a16d.jpg","text":"TemporaryFile(/tmp/multipartBody6919728447353989653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146413680,"filename":"image_20042025_09_44_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cbc031c3ccd717858e0a967e8c0410c.jpg","text":"TemporaryFile(/tmp/multipartBody7484578197355864662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146413680,"filename":"image_20042025_09_45_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/566cf792e53ef6cccb3bc7a259ae4b82.jpg","text":"TemporaryFile(/tmp/multipartBody2380497264629527893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146413680,"filename":"image_20042025_09_45_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55f1adb2ebd4039c024f01bdc0cf1d9d.jpg","text":"TemporaryFile(/tmp/multipartBody5621089196599409890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146413680,"filename":"image_20042025_09_44_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221408","file1":"1352221405","file0":"1352221402","file4":"1352221412","file5":"1352221414","file3":"1352221410"},"map_files_photo_id_array":[{"photo_id":"1352221414","filename":"file5"},{"photo_id":"1352221408","filename":"file2"},{"photo_id":"1352221412","filename":"file4"},{"photo_id":"1352221405","filename":"file1"},{"photo_id":"1352221402","filename":"file0"},{"photo_id":"1352221410","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221414":["hashtag1","hashtag2"]},{"1352221408":["hashtag1","hashtag2"]},{"1352221402":["hashtag1","hashtag2"]},{"1352221410":["hashtag1","hashtag2"]},{"1352221412":["hashtag1","hashtag2"]},{"1352221405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221414, 1352221408, 1352221402, 1352221410, 1352221412, 1352221405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.650826454162598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:53:32.461205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_35_10430.jpg', '/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_45_10368.jpg', '/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_55_9392.jpg', '/home/pi/Desktop/images/20042025/09/45/image_20042025_09_46_05_10419.jpg', '/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_16_10336.jpg', '/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_25_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_35_10430.jpg
/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_45_10368.jpg
/home/pi/Desktop/images/20042025/09/45/image_20042025_09_45_55_9392.jpg
/home/pi/Desktop/images/20042025/09/45/image_20042025_09_46_05_10419.jpg
/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_16_10336.jpg
/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_25_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221429","1352221440","1352221428","1352221443","1352221436","1352221432"],"photo_ids_order":["1352221428","1352221429","1352221432","1352221436","1352221440","1352221443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9ca56f26ae257399e2b1c33e1192995.jpg","text":"TemporaryFile(/tmp/multipartBody7865616367352770798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146472929,"filename":"image_20042025_09_45_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f75db1cdb3ea105be5e4dee1eaec7782.jpg","text":"TemporaryFile(/tmp/multipartBody8862989365270374787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146472929,"filename":"image_20042025_09_46_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f6d62dd0a963dbd3d9d2b1a4a376d75.jpg","text":"TemporaryFile(/tmp/multipartBody4250371118431057160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146472929,"filename":"image_20042025_09_45_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfc08e8db4e82a4a5218da957d8b0a84.jpg","text":"TemporaryFile(/tmp/multipartBody6922117049704332465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146472929,"filename":"image_20042025_09_46_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e73fecf87b54518ef85c4a5e95ae0140.jpg","text":"TemporaryFile(/tmp/multipartBody6318064180230842435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146472929,"filename":"image_20042025_09_46_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b76c0bca75ff04ee36a53d42a12fb8b9.jpg","text":"TemporaryFile(/tmp/multipartBody4784543676963676818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146472929,"filename":"image_20042025_09_45_55_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221432","file1":"1352221429","file0":"1352221428","file4":"1352221440","file5":"1352221443","file3":"1352221436"},"map_files_photo_id_array":[{"photo_id":"1352221443","filename":"file5"},{"photo_id":"1352221432","filename":"file2"},{"photo_id":"1352221440","filename":"file4"},{"photo_id":"1352221429","filename":"file1"},{"photo_id":"1352221428","filename":"file0"},{"photo_id":"1352221436","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221429":["hashtag1","hashtag2"]},{"1352221440":["hashtag1","hashtag2"]},{"1352221428":["hashtag1","hashtag2"]},{"1352221443":["hashtag1","hashtag2"]},{"1352221436":["hashtag1","hashtag2"]},{"1352221432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221429, 1352221440, 1352221428, 1352221443, 1352221436, 1352221432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33805823326111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:54:32.605460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_35_10355.jpg', '/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_45_9405.jpg', '/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_55_10364.jpg', '/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_15_9438.jpg', '/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_25_10370.jpg', '/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_35_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_35_10355.jpg
/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_45_9405.jpg
/home/pi/Desktop/images/20042025/09/46/image_20042025_09_46_55_10364.jpg
/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_15_9438.jpg
/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_25_10370.jpg
/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_35_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221470","1352221467","1352221463","1352221460","1352221456","1352221453"],"photo_ids_order":["1352221453","1352221456","1352221460","1352221463","1352221467","1352221470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0641553f85cd6f6c7aff9990a0ccecae.jpg","text":"TemporaryFile(/tmp/multipartBody3038199460121445617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146533086,"filename":"image_20042025_09_47_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e637116a939dc0d072831f38aace51d5.jpg","text":"TemporaryFile(/tmp/multipartBody7502615164361363086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146533086,"filename":"image_20042025_09_47_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5401523d3f6c25d1f516f9d5aea99c22.jpg","text":"TemporaryFile(/tmp/multipartBody6702492650050500822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146533086,"filename":"image_20042025_09_47_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4fa779b254a420101c006478fea91c0.jpg","text":"TemporaryFile(/tmp/multipartBody436638994375643868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146533086,"filename":"image_20042025_09_46_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e35dfd1eae2aaaeb0f412ab7e0c36491.jpg","text":"TemporaryFile(/tmp/multipartBody5320598912889249285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146533086,"filename":"image_20042025_09_46_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dacac4ed9273a67c79475d5b8d0a4dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4479435453480472074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146533086,"filename":"image_20042025_09_46_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221460","file1":"1352221456","file0":"1352221453","file4":"1352221467","file5":"1352221470","file3":"1352221463"},"map_files_photo_id_array":[{"photo_id":"1352221470","filename":"file5"},{"photo_id":"1352221460","filename":"file2"},{"photo_id":"1352221467","filename":"file4"},{"photo_id":"1352221456","filename":"file1"},{"photo_id":"1352221453","filename":"file0"},{"photo_id":"1352221463","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221470":["hashtag1","hashtag2"]},{"1352221467":["hashtag1","hashtag2"]},{"1352221463":["hashtag1","hashtag2"]},{"1352221460":["hashtag1","hashtag2"]},{"1352221456":["hashtag1","hashtag2"]},{"1352221453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221470, 1352221467, 1352221463, 1352221460, 1352221456, 1352221453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.158544778823853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:55:32.918915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_45_10383.jpg', '/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_55_10394.jpg', '/home/pi/Desktop/images/20042025/09/47/image_20042025_09_48_05_9365.jpg', '/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_15_10361.jpg', '/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_26_10361.jpg', '/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_35_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_45_10383.jpg
/home/pi/Desktop/images/20042025/09/47/image_20042025_09_47_55_10394.jpg
/home/pi/Desktop/images/20042025/09/47/image_20042025_09_48_05_9365.jpg
/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_15_10361.jpg
/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_26_10361.jpg
/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_35_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221491","1352221494","1352221493","1352221496","1352221495","1352221489"],"photo_ids_order":["1352221489","1352221491","1352221493","1352221494","1352221495","1352221496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e1a651777baa25f827ef0eacdcceaac.jpg","text":"TemporaryFile(/tmp/multipartBody377711761414674071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146593385,"filename":"image_20042025_09_47_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e75c6734a24398daacbc71ca18b1432.jpg","text":"TemporaryFile(/tmp/multipartBody6759935628269600793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146593385,"filename":"image_20042025_09_48_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f83bdae3fc24a39753363958e8ec75fb.jpg","text":"TemporaryFile(/tmp/multipartBody3641040642682820555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146593385,"filename":"image_20042025_09_48_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf5af1765b2a670e942a33a2b3d56c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8672560947179700124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146593385,"filename":"image_20042025_09_48_35_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9fbea324715f9c60b03a0a941e2c4de.jpg","text":"TemporaryFile(/tmp/multipartBody7372683708949310424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146593385,"filename":"image_20042025_09_48_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92271b0ff117a0ce79b0c2b367e094c8.jpg","text":"TemporaryFile(/tmp/multipartBody4700680068309719985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146593385,"filename":"image_20042025_09_47_45_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221493","file1":"1352221491","file0":"1352221489","file4":"1352221495","file5":"1352221496","file3":"1352221494"},"map_files_photo_id_array":[{"photo_id":"1352221496","filename":"file5"},{"photo_id":"1352221493","filename":"file2"},{"photo_id":"1352221495","filename":"file4"},{"photo_id":"1352221491","filename":"file1"},{"photo_id":"1352221489","filename":"file0"},{"photo_id":"1352221494","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221491":["hashtag1","hashtag2"]},{"1352221494":["hashtag1","hashtag2"]},{"1352221493":["hashtag1","hashtag2"]},{"1352221496":["hashtag1","hashtag2"]},{"1352221495":["hashtag1","hashtag2"]},{"1352221489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221491, 1352221494, 1352221493, 1352221496, 1352221495, 1352221489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.958014488220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:56:33.126528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_45_10364.jpg', '/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_55_9365.jpg', '/home/pi/Desktop/images/20042025/09/48/image_20042025_09_49_05_10447.jpg', '/home/pi/Desktop/images/20042025/09/49/image_20042025_09_49_45_9337.jpg', '/home/pi/Desktop/images/20042025/09/49/image_20042025_09_49_55_10381.jpg', '/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_15_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_45_10364.jpg
/home/pi/Desktop/images/20042025/09/48/image_20042025_09_48_55_9365.jpg
/home/pi/Desktop/images/20042025/09/48/image_20042025_09_49_05_10447.jpg
/home/pi/Desktop/images/20042025/09/49/image_20042025_09_49_45_9337.jpg
/home/pi/Desktop/images/20042025/09/49/image_20042025_09_49_55_10381.jpg
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_15_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221521","1352221524","1352221518","1352221514","1352221508","1352221510"],"photo_ids_order":["1352221508","1352221510","1352221514","1352221518","1352221521","1352221524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7628cd80f7099ffa8c43b8973557989.jpg","text":"TemporaryFile(/tmp/multipartBody4123780603613495366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146653599,"filename":"image_20042025_09_49_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8f7a7ac429a6ab5def67939a5ca1046.jpg","text":"TemporaryFile(/tmp/multipartBody5200292087440545565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146653599,"filename":"image_20042025_09_50_15_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cfaddb9fdc4cfc8bc247c430c9d6c7a.jpg","text":"TemporaryFile(/tmp/multipartBody626606491211163569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146653599,"filename":"image_20042025_09_49_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67c2bcbc657bace6c358259ddfa7b60c.jpg","text":"TemporaryFile(/tmp/multipartBody2032143574066165910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146653599,"filename":"image_20042025_09_49_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9c216316caaa8a31edb9c4c55cff9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7802009555020802866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146653599,"filename":"image_20042025_09_48_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91b64540b95265369574347ccfac0a35.jpg","text":"TemporaryFile(/tmp/multipartBody2777686807696607136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146653599,"filename":"image_20042025_09_48_55_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221514","file1":"1352221510","file0":"1352221508","file4":"1352221521","file5":"1352221524","file3":"1352221518"},"map_files_photo_id_array":[{"photo_id":"1352221524","filename":"file5"},{"photo_id":"1352221514","filename":"file2"},{"photo_id":"1352221521","filename":"file4"},{"photo_id":"1352221510","filename":"file1"},{"photo_id":"1352221508","filename":"file0"},{"photo_id":"1352221518","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352221521":["hashtag1","hashtag2"]},{"1352221524":["hashtag1","hashtag2"]},{"1352221518":["hashtag1","hashtag2"]},{"1352221514":["hashtag1","hashtag2"]},{"1352221508":["hashtag1","hashtag2"]},{"1352221510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352221521, 1352221524, 1352221518, 1352221514, 1352221508, 1352221510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48109245300293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 12:57:32.511354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_25_10486.jpg', '/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_45_10444.jpg', '/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_56_10366.jpg', '/home/pi/Desktop/images/20042025/09/50/image_20042025_09_51_05_9495.jpg', '/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_15_10365.jpg', '/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_25_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_25_10486.jpg
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_45_10444.jpg
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_56_10366.jpg
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_51_05_9495.jpg
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_15_10365.jpg
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_25_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 12:59:04.066954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_25_10486.jpg', '/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_45_10444.jpg', '/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_56_10366.jpg', '/home/pi/Desktop/images/20042025/09/50/image_20042025_09_51_05_9495.jpg', '/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_15_10365.jpg', '/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_25_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_25_10486.jpg
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_45_10444.jpg
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_50_56_10366.jpg
/home/pi/Desktop/images/20042025/09/50/image_20042025_09_51_05_9495.jpg
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_15_10365.jpg
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_25_9372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352222381","1352222435","1352222488","1352222560","1352222277","1352222193"],"photo_ids_order":["1352222193","1352222277","1352222381","1352222435","1352222488","1352222560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3639f41ae33b48adc6f86695b862a48.jpg","text":"TemporaryFile(/tmp/multipartBody6100895477198101208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146805913,"filename":"image_20042025_09_50_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4da204c9b990d60eb4fd26a88ca0af70.jpg","text":"TemporaryFile(/tmp/multipartBody1012582645276840242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146805913,"filename":"image_20042025_09_51_05_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/139aad3513bd1c2c50b62382834f571f.jpg","text":"TemporaryFile(/tmp/multipartBody2945306391054545665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146805913,"filename":"image_20042025_09_51_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e258fd1981e745adeae28356e1c5ccb2.jpg","text":"TemporaryFile(/tmp/multipartBody609770019301865471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146805913,"filename":"image_20042025_09_51_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a50df6869c5e8de7e0e9bed0b1a5decd.jpg","text":"TemporaryFile(/tmp/multipartBody1678358647959869451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146805913,"filename":"image_20042025_09_50_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7eeb5ba3d6f5f6ae911676d34ae267f.jpg","text":"TemporaryFile(/tmp/multipartBody8402621078834103737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146805913,"filename":"image_20042025_09_50_25_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352222381","file1":"1352222277","file0":"1352222193","file4":"1352222488","file5":"1352222560","file3":"1352222435"},"map_files_photo_id_array":[{"photo_id":"1352222560","filename":"file5"},{"photo_id":"1352222381","filename":"file2"},{"photo_id":"1352222488","filename":"file4"},{"photo_id":"1352222277","filename":"file1"},{"photo_id":"1352222193","filename":"file0"},{"photo_id":"1352222435","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352222381":["hashtag1","hashtag2"]},{"1352222435":["hashtag1","hashtag2"]},{"1352222488":["hashtag1","hashtag2"]},{"1352222560":["hashtag1","hashtag2"]},{"1352222277":["hashtag1","hashtag2"]},{"1352222193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352222381, 1352222435, 1352222488, 1352222560, 1352222277, 1352222193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.509568214416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 12:59:42.959252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_35_10454.jpg', '/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_46_10373.jpg', '/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_55_9443.jpg', '/home/pi/Desktop/images/20042025/09/51/image_20042025_09_52_05_10409.jpg', '/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_15_9340.jpg', '/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_35_10454.jpg
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_46_10373.jpg
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_51_55_9443.jpg
/home/pi/Desktop/images/20042025/09/51/image_20042025_09_52_05_10409.jpg
/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_15_9340.jpg
/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352222763","1352222816","1352222924","1352222989","1352222964","1352222865"],"photo_ids_order":["1352222763","1352222816","1352222865","1352222924","1352222964","1352222989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dfdecb1ed86ba78918ba0afcb97530a.jpg","text":"TemporaryFile(/tmp/multipartBody8907772140828515214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146843426,"filename":"image_20042025_09_51_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c16464be741859d497376a9fbbfe2b8.jpg","text":"TemporaryFile(/tmp/multipartBody4842281151027700404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146843426,"filename":"image_20042025_09_51_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/079293eb7cab0afe132c230845148f0c.jpg","text":"TemporaryFile(/tmp/multipartBody5993012254824957081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146843426,"filename":"image_20042025_09_52_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e6aab86da6c6be29741c681457e1873.jpg","text":"TemporaryFile(/tmp/multipartBody4942738645773388617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146843426,"filename":"image_20042025_09_52_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be3b9e5fbcaa2b0dfe7ab09c85f597e0.jpg","text":"TemporaryFile(/tmp/multipartBody5583355080645369038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146843426,"filename":"image_20042025_09_52_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ee95769124316b5c1a94c3612cbea13.jpg","text":"TemporaryFile(/tmp/multipartBody3416538114382787005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146843426,"filename":"image_20042025_09_51_55_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352222865","file1":"1352222816","file0":"1352222763","file4":"1352222964","file5":"1352222989","file3":"1352222924"},"map_files_photo_id_array":[{"photo_id":"1352222989","filename":"file5"},{"photo_id":"1352222865","filename":"file2"},{"photo_id":"1352222964","filename":"file4"},{"photo_id":"1352222816","filename":"file1"},{"photo_id":"1352222763","filename":"file0"},{"photo_id":"1352222924","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352222763":["hashtag1","hashtag2"]},{"1352222816":["hashtag1","hashtag2"]},{"1352222924":["hashtag1","hashtag2"]},{"1352222989":["hashtag1","hashtag2"]},{"1352222964":["hashtag1","hashtag2"]},{"1352222865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352222763, 1352222816, 1352222924, 1352222989, 1352222964, 1352222865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.29392099380493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:00:32.213412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_35_10352.jpg', '/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_45_9498.jpg', '/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_55_10386.jpg', '/home/pi/Desktop/images/20042025/09/52/image_20042025_09_53_05_9946.jpg', '/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_15_9350.jpg', '/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_35_10352.jpg
/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_45_9498.jpg
/home/pi/Desktop/images/20042025/09/52/image_20042025_09_52_55_10386.jpg
/home/pi/Desktop/images/20042025/09/52/image_20042025_09_53_05_9946.jpg
/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_15_9350.jpg
/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223300","1352223210","1352223341","1352223178","1352223265","1352223238"],"photo_ids_order":["1352223178","1352223210","1352223238","1352223265","1352223300","1352223341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21268d8414f8030d6a14ee9b1315db69.jpg","text":"TemporaryFile(/tmp/multipartBody494565300945454947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146892673,"filename":"image_20042025_09_53_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/774b247300e11358acdff44031bfef4d.jpg","text":"TemporaryFile(/tmp/multipartBody5343260922160790690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146892673,"filename":"image_20042025_09_52_45_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ca0bb0a8ad84ee7eaa757101b2b9386.jpg","text":"TemporaryFile(/tmp/multipartBody238957666003204860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146892673,"filename":"image_20042025_09_53_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1dc024f0b3d68398991bddd8d67fd361.jpg","text":"TemporaryFile(/tmp/multipartBody8000380547705792641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146892673,"filename":"image_20042025_09_52_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41650da9fb1138b0f08979e799904273.jpg","text":"TemporaryFile(/tmp/multipartBody2359642642228009539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146892673,"filename":"image_20042025_09_53_05_9946.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5b38102a6236570e746d044bfe13cda.jpg","text":"TemporaryFile(/tmp/multipartBody8719835317747992632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146892673,"filename":"image_20042025_09_52_55_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223238","file1":"1352223210","file0":"1352223178","file4":"1352223300","file5":"1352223341","file3":"1352223265"},"map_files_photo_id_array":[{"photo_id":"1352223341","filename":"file5"},{"photo_id":"1352223238","filename":"file2"},{"photo_id":"1352223300","filename":"file4"},{"photo_id":"1352223210","filename":"file1"},{"photo_id":"1352223178","filename":"file0"},{"photo_id":"1352223265","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352223300":["hashtag1","hashtag2"]},{"1352223210":["hashtag1","hashtag2"]},{"1352223341":["hashtag1","hashtag2"]},{"1352223178":["hashtag1","hashtag2"]},{"1352223265":["hashtag1","hashtag2"]},{"1352223238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352223300, 1352223210, 1352223341, 1352223178, 1352223265, 1352223238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40491557121277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:01:32.422420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_35_10364.jpg', '/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_45_9346.jpg', '/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_55_10471.jpg', '/home/pi/Desktop/images/20042025/09/53/image_20042025_09_54_05_9459.jpg', '/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_15_10406.jpg', '/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_35_10364.jpg
/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_45_9346.jpg
/home/pi/Desktop/images/20042025/09/53/image_20042025_09_53_55_10471.jpg
/home/pi/Desktop/images/20042025/09/53/image_20042025_09_54_05_9459.jpg
/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_15_10406.jpg
/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223470","1352223464","1352223467","1352223461","1352223475","1352223472"],"photo_ids_order":["1352223461","1352223464","1352223467","1352223470","1352223472","1352223475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b29d1d852271b61ccd5a8cd32bafa3d.jpg","text":"TemporaryFile(/tmp/multipartBody6132200913609831752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146952891,"filename":"image_20042025_09_54_05_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fd901027fb4635c095b2ac3a04fb127.jpg","text":"TemporaryFile(/tmp/multipartBody2374171642174606470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146952891,"filename":"image_20042025_09_53_45_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ea5059e3e98c1371949eab40a4a3b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7230035927906524769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146952891,"filename":"image_20042025_09_53_55_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9252a5a8576a71b0ecdabedd929eade3.jpg","text":"TemporaryFile(/tmp/multipartBody2071866664914960766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146952891,"filename":"image_20042025_09_53_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd9f4c7807203a9dc667f84672d20bf6.jpg","text":"TemporaryFile(/tmp/multipartBody138825594946884166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146952891,"filename":"image_20042025_09_54_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea78d19845901ca79ff58d15ec02578b.jpg","text":"TemporaryFile(/tmp/multipartBody1485513155981504213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745146952891,"filename":"image_20042025_09_54_15_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223467","file1":"1352223464","file0":"1352223461","file4":"1352223472","file5":"1352223475","file3":"1352223470"},"map_files_photo_id_array":[{"photo_id":"1352223475","filename":"file5"},{"photo_id":"1352223467","filename":"file2"},{"photo_id":"1352223472","filename":"file4"},{"photo_id":"1352223464","filename":"file1"},{"photo_id":"1352223461","filename":"file0"},{"photo_id":"1352223470","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352223470":["hashtag1","hashtag2"]},{"1352223464":["hashtag1","hashtag2"]},{"1352223467":["hashtag1","hashtag2"]},{"1352223461":["hashtag1","hashtag2"]},{"1352223475":["hashtag1","hashtag2"]},{"1352223472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352223470, 1352223464, 1352223467, 1352223461, 1352223475, 1352223472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12802243232727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:02:32.619780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_35_9350.jpg', '/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_45_10391.jpg', '/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_56_10366.jpg', '/home/pi/Desktop/images/20042025/09/54/image_20042025_09_55_05_9387.jpg', '/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_15_10464.jpg', '/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_35_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_35_9350.jpg
/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_45_10391.jpg
/home/pi/Desktop/images/20042025/09/54/image_20042025_09_54_56_10366.jpg
/home/pi/Desktop/images/20042025/09/54/image_20042025_09_55_05_9387.jpg
/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_15_10464.jpg
/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_35_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223705","1352223734","1352223722","1352223701","1352223760","1352223747"],"photo_ids_order":["1352223701","1352223705","1352223722","1352223734","1352223747","1352223760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74378070a2fa05d28883e8f5071076c5.jpg","text":"TemporaryFile(/tmp/multipartBody1225177691255724321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147013104,"filename":"image_20042025_09_54_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e5e2bfc42c2a25493e85b8ceb44c7d3.jpg","text":"TemporaryFile(/tmp/multipartBody3384608862859094700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147013104,"filename":"image_20042025_09_55_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcc315a340abffe1d32725aa964a088d.jpg","text":"TemporaryFile(/tmp/multipartBody9195130121504358273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147013104,"filename":"image_20042025_09_54_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9dfe2be7b62a0bde5e29dd8b3622deec.jpg","text":"TemporaryFile(/tmp/multipartBody8675231757142792163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147013104,"filename":"image_20042025_09_54_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37546d2551939aad7e6549f8d6d0b274.jpg","text":"TemporaryFile(/tmp/multipartBody1308505263232162530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147013104,"filename":"image_20042025_09_55_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dcd716d5f2c571a401a0592f79c5da9.jpg","text":"TemporaryFile(/tmp/multipartBody4187089743644639897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147013104,"filename":"image_20042025_09_55_15_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223722","file1":"1352223705","file0":"1352223701","file4":"1352223747","file5":"1352223760","file3":"1352223734"},"map_files_photo_id_array":[{"photo_id":"1352223760","filename":"file5"},{"photo_id":"1352223722","filename":"file2"},{"photo_id":"1352223747","filename":"file4"},{"photo_id":"1352223705","filename":"file1"},{"photo_id":"1352223701","filename":"file0"},{"photo_id":"1352223734","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352223705":["hashtag1","hashtag2"]},{"1352223734":["hashtag1","hashtag2"]},{"1352223722":["hashtag1","hashtag2"]},{"1352223701":["hashtag1","hashtag2"]},{"1352223760":["hashtag1","hashtag2"]},{"1352223747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352223705, 1352223734, 1352223722, 1352223701, 1352223760, 1352223747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26220464706421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:03:32.921595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_46_10364.jpg', '/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_55_9454.jpg', '/home/pi/Desktop/images/20042025/09/55/image_20042025_09_56_05_10366.jpg', '/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_15_9323.jpg', '/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_25_10381.jpg', '/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_46_10364.jpg
/home/pi/Desktop/images/20042025/09/55/image_20042025_09_55_55_9454.jpg
/home/pi/Desktop/images/20042025/09/55/image_20042025_09_56_05_10366.jpg
/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_15_9323.jpg
/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_25_10381.jpg
/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223788","1352223785","1352223787","1352223775","1352223783","1352223780"],"photo_ids_order":["1352223775","1352223780","1352223783","1352223785","1352223787","1352223788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45bdd92d37a96e6f83c88ed2d51c098e.jpg","text":"TemporaryFile(/tmp/multipartBody4837823395024619791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147073405,"filename":"image_20042025_09_56_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5946bb56dd255fbc11e30dac478e275.jpg","text":"TemporaryFile(/tmp/multipartBody3573418872750068091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147073405,"filename":"image_20042025_09_56_15_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc764948f6f5e39d1d1244ea27b556c8.jpg","text":"TemporaryFile(/tmp/multipartBody1716463708559235388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147073405,"filename":"image_20042025_09_56_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70d9da620bdc78b13c8cc7bd032bdb36.jpg","text":"TemporaryFile(/tmp/multipartBody2489786157019198813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147073405,"filename":"image_20042025_09_55_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ff167972f3c0579d0f9dfcada0c51b5.jpg","text":"TemporaryFile(/tmp/multipartBody3085647881648088109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147073405,"filename":"image_20042025_09_56_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2894f90e95c769ac1641eb709ffa6de9.jpg","text":"TemporaryFile(/tmp/multipartBody4932139609200623662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147073405,"filename":"image_20042025_09_55_55_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223783","file1":"1352223780","file0":"1352223775","file4":"1352223787","file5":"1352223788","file3":"1352223785"},"map_files_photo_id_array":[{"photo_id":"1352223788","filename":"file5"},{"photo_id":"1352223783","filename":"file2"},{"photo_id":"1352223787","filename":"file4"},{"photo_id":"1352223780","filename":"file1"},{"photo_id":"1352223775","filename":"file0"},{"photo_id":"1352223785","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352223788":["hashtag1","hashtag2"]},{"1352223785":["hashtag1","hashtag2"]},{"1352223787":["hashtag1","hashtag2"]},{"1352223775":["hashtag1","hashtag2"]},{"1352223783":["hashtag1","hashtag2"]},{"1352223780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352223788, 1352223785, 1352223787, 1352223775, 1352223783, 1352223780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.179580211639404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:04:33.206173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_45_9349.jpg', '/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_55_10399.jpg', '/home/pi/Desktop/images/20042025/09/56/image_20042025_09_57_05_10352.jpg', '/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_25_10452.jpg', '/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_36_10359.jpg', '/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_45_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_45_9349.jpg
/home/pi/Desktop/images/20042025/09/56/image_20042025_09_56_55_10399.jpg
/home/pi/Desktop/images/20042025/09/56/image_20042025_09_57_05_10352.jpg
/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_25_10452.jpg
/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_36_10359.jpg
/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_45_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223804","1352223797","1352223806","1352223809","1352223808","1352223801"],"photo_ids_order":["1352223797","1352223801","1352223804","1352223806","1352223808","1352223809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67c58f15c132109dd132d40207e0a896.jpg","text":"TemporaryFile(/tmp/multipartBody7774289022478299645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147133671,"filename":"image_20042025_09_57_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4db2bbb542323804c71d1467ab63ad74.jpg","text":"TemporaryFile(/tmp/multipartBody6707241999468480681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147133671,"filename":"image_20042025_09_56_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53c6b8fc0c03e2222fbe6b3e906a0008.jpg","text":"TemporaryFile(/tmp/multipartBody4699395796576414463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147133671,"filename":"image_20042025_09_57_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29e7609ce8e9709682bd948e570878ea.jpg","text":"TemporaryFile(/tmp/multipartBody4437027855628131504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147133671,"filename":"image_20042025_09_57_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4259f35c180cd6ed78175b5331a8558.jpg","text":"TemporaryFile(/tmp/multipartBody7938092418178474889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147133671,"filename":"image_20042025_09_57_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/947de21133bd70d9e791effaafbe1c1e.jpg","text":"TemporaryFile(/tmp/multipartBody2363307850458868558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147133671,"filename":"image_20042025_09_56_55_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223804","file1":"1352223801","file0":"1352223797","file4":"1352223808","file5":"1352223809","file3":"1352223806"},"map_files_photo_id_array":[{"photo_id":"1352223809","filename":"file5"},{"photo_id":"1352223804","filename":"file2"},{"photo_id":"1352223808","filename":"file4"},{"photo_id":"1352223801","filename":"file1"},{"photo_id":"1352223797","filename":"file0"},{"photo_id":"1352223806","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352223804":["hashtag1","hashtag2"]},{"1352223797":["hashtag1","hashtag2"]},{"1352223806":["hashtag1","hashtag2"]},{"1352223809":["hashtag1","hashtag2"]},{"1352223808":["hashtag1","hashtag2"]},{"1352223801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352223804, 1352223797, 1352223806, 1352223809, 1352223808, 1352223801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.298332691192627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:05:32.276376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_55_10368.jpg', '/home/pi/Desktop/images/20042025/09/57/image_20042025_09_58_05_9414.jpg', '/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_15_10426.jpg', '/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_26_10353.jpg', '/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_35_9396.jpg', '/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_45_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/57/image_20042025_09_57_55_10368.jpg
/home/pi/Desktop/images/20042025/09/57/image_20042025_09_58_05_9414.jpg
/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_15_10426.jpg
/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_26_10353.jpg
/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_35_9396.jpg
/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_45_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224055","1352224081","1352224156","1352224132","1352224107","1352224184"],"photo_ids_order":["1352224055","1352224081","1352224107","1352224132","1352224156","1352224184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/579bbf7f128a687116725486a62ca7ad.jpg","text":"TemporaryFile(/tmp/multipartBody6570489610044403527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147192732,"filename":"image_20042025_09_57_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4361be42a7797fd134c1c918e1cc8f12.jpg","text":"TemporaryFile(/tmp/multipartBody4249353804172953370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147192732,"filename":"image_20042025_09_58_05_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d62bcd5cbecc57cc05147282eda84893.jpg","text":"TemporaryFile(/tmp/multipartBody6389490419341268419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147192732,"filename":"image_20042025_09_58_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86de3ff70d5cba4b154d4abe74dd7be3.jpg","text":"TemporaryFile(/tmp/multipartBody1591420981379739310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147192732,"filename":"image_20042025_09_58_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d13a6833c14fca71aacccbe74b3ef994.jpg","text":"TemporaryFile(/tmp/multipartBody7341464023004661518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147192732,"filename":"image_20042025_09_58_15_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/240acbea0be29ea4251ad1ebdf1456b2.jpg","text":"TemporaryFile(/tmp/multipartBody7409961939352242494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147192732,"filename":"image_20042025_09_58_45_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224107","file1":"1352224081","file0":"1352224055","file4":"1352224156","file5":"1352224184","file3":"1352224132"},"map_files_photo_id_array":[{"photo_id":"1352224184","filename":"file5"},{"photo_id":"1352224107","filename":"file2"},{"photo_id":"1352224156","filename":"file4"},{"photo_id":"1352224081","filename":"file1"},{"photo_id":"1352224055","filename":"file0"},{"photo_id":"1352224132","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352224055":["hashtag1","hashtag2"]},{"1352224081":["hashtag1","hashtag2"]},{"1352224156":["hashtag1","hashtag2"]},{"1352224132":["hashtag1","hashtag2"]},{"1352224107":["hashtag1","hashtag2"]},{"1352224184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352224055, 1352224081, 1352224156, 1352224132, 1352224107, 1352224184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.77973771095276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:06:32.497494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_55_9451.jpg', '/home/pi/Desktop/images/20042025/09/58/image_20042025_09_59_05_10447.jpg', '/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_16_10367.jpg', '/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_25_9444.jpg', '/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_35_10345.jpg', '/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_45_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/58/image_20042025_09_58_55_9451.jpg
/home/pi/Desktop/images/20042025/09/58/image_20042025_09_59_05_10447.jpg
/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_16_10367.jpg
/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_25_9444.jpg
/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_35_10345.jpg
/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_45_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224433","1352224522","1352224494","1352224461","1352224641","1352224614"],"photo_ids_order":["1352224433","1352224461","1352224494","1352224522","1352224614","1352224641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0f5ef2fd172785b8a19c82444f503d8.jpg","text":"TemporaryFile(/tmp/multipartBody9176535544569732736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147252972,"filename":"image_20042025_09_58_55_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bd0d14df043375829ddc277050b52e3.jpg","text":"TemporaryFile(/tmp/multipartBody6158990986783513902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147252972,"filename":"image_20042025_09_59_25_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8592df81230a054211b31cc89d0dc669.jpg","text":"TemporaryFile(/tmp/multipartBody6134138204804749032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147252972,"filename":"image_20042025_09_59_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9edbf7c03fcf9c076bb7c6289ff90446.jpg","text":"TemporaryFile(/tmp/multipartBody7875111862031901828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147252972,"filename":"image_20042025_09_59_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/166b5d18031bf044bd7f1700fb4bc29e.jpg","text":"TemporaryFile(/tmp/multipartBody3281059880337857320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147252972,"filename":"image_20042025_09_59_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b09a92f576d49fe4f707e186ca07b160.jpg","text":"TemporaryFile(/tmp/multipartBody254727404835722808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147252972,"filename":"image_20042025_09_59_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224494","file1":"1352224461","file0":"1352224433","file4":"1352224614","file5":"1352224641","file3":"1352224522"},"map_files_photo_id_array":[{"photo_id":"1352224641","filename":"file5"},{"photo_id":"1352224494","filename":"file2"},{"photo_id":"1352224614","filename":"file4"},{"photo_id":"1352224461","filename":"file1"},{"photo_id":"1352224433","filename":"file0"},{"photo_id":"1352224522","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352224433":["hashtag1","hashtag2"]},{"1352224522":["hashtag1","hashtag2"]},{"1352224494":["hashtag1","hashtag2"]},{"1352224461":["hashtag1","hashtag2"]},{"1352224641":["hashtag1","hashtag2"]},{"1352224614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352224433, 1352224522, 1352224494, 1352224461, 1352224641, 1352224614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07278370857239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:07:32.701467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_55_10376.jpg', '/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_15_10078.jpg', '/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_25_10399.jpg', '/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_36_10360.jpg', '/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_45_9439.jpg', '/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_56_10508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/09/59/image_20042025_09_59_55_10376.jpg
/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_15_10078.jpg
/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_25_10399.jpg
/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_36_10360.jpg
/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_45_9439.jpg
/home/pi/Desktop/images/20042025/10/01/image_20042025_10_01_56_10508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224875","1352224956","1352224845","1352224818","1352224929","1352224902"],"photo_ids_order":["1352224818","1352224845","1352224875","1352224902","1352224929","1352224956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d168b6ca35db1dbaa9df1258796379af.jpg","text":"TemporaryFile(/tmp/multipartBody8739818537811249215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147313168,"filename":"image_20042025_10_01_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8392b782894557a0848c04f05455fb3.jpg","text":"TemporaryFile(/tmp/multipartBody930706144060825312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147313168,"filename":"image_20042025_10_01_56_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b141a103a722a0cd8fc8e16baab4f75.jpg","text":"TemporaryFile(/tmp/multipartBody2731088919660638755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147313168,"filename":"image_20042025_10_01_15_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e32f7979b01adb2a745a473919af7d8.jpg","text":"TemporaryFile(/tmp/multipartBody850778118072060032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147313168,"filename":"image_20042025_09_59_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48d3f559c255d72c88334d856fbeae5f.jpg","text":"TemporaryFile(/tmp/multipartBody6937970014994547074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147313168,"filename":"image_20042025_10_01_45_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdbad910cc270a2905d9f7f000cd0d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8295876675842767624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147313168,"filename":"image_20042025_10_01_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224875","file1":"1352224845","file0":"1352224818","file4":"1352224929","file5":"1352224956","file3":"1352224902"},"map_files_photo_id_array":[{"photo_id":"1352224956","filename":"file5"},{"photo_id":"1352224875","filename":"file2"},{"photo_id":"1352224929","filename":"file4"},{"photo_id":"1352224845","filename":"file1"},{"photo_id":"1352224818","filename":"file0"},{"photo_id":"1352224902","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352224875":["hashtag1","hashtag2"]},{"1352224956":["hashtag1","hashtag2"]},{"1352224845":["hashtag1","hashtag2"]},{"1352224818":["hashtag1","hashtag2"]},{"1352224929":["hashtag1","hashtag2"]},{"1352224902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352224875, 1352224956, 1352224845, 1352224818, 1352224929, 1352224902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.81742572784424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:08:32.939713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/01/image_20042025_10_02_05_9486.jpg', '/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_15_10359.jpg', '/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_25_9399.jpg', '/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_35_10364.jpg', '/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_46_10370.jpg', '/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_55_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/01/image_20042025_10_02_05_9486.jpg
/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_15_10359.jpg
/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_25_9399.jpg
/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_35_10364.jpg
/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_46_10370.jpg
/home/pi/Desktop/images/20042025/10/02/image_20042025_10_02_55_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225204","1352225256","1352225310","1352225282","1352225336","1352225231"],"photo_ids_order":["1352225204","1352225231","1352225256","1352225282","1352225310","1352225336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97925906ee9ad5932dff8f6be20c5476.jpg","text":"TemporaryFile(/tmp/multipartBody6920835462766835843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147373405,"filename":"image_20042025_10_02_05_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b063b8983786072c70cf1bed56064f1.jpg","text":"TemporaryFile(/tmp/multipartBody8988774925179667984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147373405,"filename":"image_20042025_10_02_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c1652ebeacb8fbe4fe105b88ef6898d.jpg","text":"TemporaryFile(/tmp/multipartBody6665401703101966409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147373405,"filename":"image_20042025_10_02_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48703e1ac6cd77220d7d7b777f153661.jpg","text":"TemporaryFile(/tmp/multipartBody4599216258823902037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147373405,"filename":"image_20042025_10_02_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d841f90d1ee4e9d601b1d8638867c144.jpg","text":"TemporaryFile(/tmp/multipartBody2757412839939675830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147373405,"filename":"image_20042025_10_02_55_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36558fc3d62dc7adb5235457ad156888.jpg","text":"TemporaryFile(/tmp/multipartBody2191673178612927330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147373405,"filename":"image_20042025_10_02_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225256","file1":"1352225231","file0":"1352225204","file4":"1352225310","file5":"1352225336","file3":"1352225282"},"map_files_photo_id_array":[{"photo_id":"1352225336","filename":"file5"},{"photo_id":"1352225256","filename":"file2"},{"photo_id":"1352225310","filename":"file4"},{"photo_id":"1352225231","filename":"file1"},{"photo_id":"1352225204","filename":"file0"},{"photo_id":"1352225282","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352225204":["hashtag1","hashtag2"]},{"1352225256":["hashtag1","hashtag2"]},{"1352225310":["hashtag1","hashtag2"]},{"1352225282":["hashtag1","hashtag2"]},{"1352225336":["hashtag1","hashtag2"]},{"1352225231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352225204, 1352225256, 1352225310, 1352225282, 1352225336, 1352225231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.45090413093567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:09:33.187694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/02/image_20042025_10_03_05_10346.jpg', '/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_16_10345.jpg', '/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_25_9377.jpg', '/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_35_10350.jpg', '/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_46_10358.jpg', '/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_55_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/02/image_20042025_10_03_05_10346.jpg
/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_16_10345.jpg
/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_25_9377.jpg
/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_35_10350.jpg
/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_46_10358.jpg
/home/pi/Desktop/images/20042025/10/03/image_20042025_10_03_55_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225533","1352225535","1352225529","1352225534","1352225537","1352225531"],"photo_ids_order":["1352225529","1352225531","1352225533","1352225534","1352225535","1352225537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e30ff36aa446be752b6077d97218de20.jpg","text":"TemporaryFile(/tmp/multipartBody2799012901964582529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147433668,"filename":"image_20042025_10_03_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c66ab8075c2b44f0deb0ab2589408a7.jpg","text":"TemporaryFile(/tmp/multipartBody2843419204657016256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147433668,"filename":"image_20042025_10_03_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f1a598517c57fb9c89ac9e0cc262bae.jpg","text":"TemporaryFile(/tmp/multipartBody3654865768760387685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147433668,"filename":"image_20042025_10_03_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82a867a75d3b1cac430fb6900fe1cd26.jpg","text":"TemporaryFile(/tmp/multipartBody6174343762345330675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147433668,"filename":"image_20042025_10_03_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da57afe5f3367857ca0bf83bc504953b.jpg","text":"TemporaryFile(/tmp/multipartBody3824317946453986983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147433668,"filename":"image_20042025_10_03_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fc9349bcab921ec60a2b648290bd9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5822031986851640450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147433668,"filename":"image_20042025_10_03_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225533","file1":"1352225531","file0":"1352225529","file4":"1352225535","file5":"1352225537","file3":"1352225534"},"map_files_photo_id_array":[{"photo_id":"1352225537","filename":"file5"},{"photo_id":"1352225533","filename":"file2"},{"photo_id":"1352225535","filename":"file4"},{"photo_id":"1352225531","filename":"file1"},{"photo_id":"1352225529","filename":"file0"},{"photo_id":"1352225534","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352225533":["hashtag1","hashtag2"]},{"1352225535":["hashtag1","hashtag2"]},{"1352225529":["hashtag1","hashtag2"]},{"1352225534":["hashtag1","hashtag2"]},{"1352225537":["hashtag1","hashtag2"]},{"1352225531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352225533, 1352225535, 1352225529, 1352225534, 1352225537, 1352225531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15262699127197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:10:32.323550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_25_10399.jpg', '/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_36_10357.jpg', '/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_45_9422.jpg', '/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_55_10375.jpg', '/home/pi/Desktop/images/20042025/10/04/image_20042025_10_05_06_10352.jpg', '/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_15_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_25_10399.jpg
/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_36_10357.jpg
/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_45_9422.jpg
/home/pi/Desktop/images/20042025/10/04/image_20042025_10_04_55_10375.jpg
/home/pi/Desktop/images/20042025/10/04/image_20042025_10_05_06_10352.jpg
/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_15_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225563","1352225557","1352225566","1352225565","1352225564","1352225561"],"photo_ids_order":["1352225557","1352225561","1352225563","1352225564","1352225565","1352225566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84f57e4fa60f4d4c649129bebbe87be2.jpg","text":"TemporaryFile(/tmp/multipartBody3933018555181986786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147492792,"filename":"image_20042025_10_04_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/efc359e05088141c81726c651de4a7d9.jpg","text":"TemporaryFile(/tmp/multipartBody652836990940631920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147492792,"filename":"image_20042025_10_04_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a3060c39af46e0f288833bf7e82105d.jpg","text":"TemporaryFile(/tmp/multipartBody8359181292067554989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147492792,"filename":"image_20042025_10_05_15_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/152786dfc259e652cd5d5ab184a1b859.jpg","text":"TemporaryFile(/tmp/multipartBody4571049520915922808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147492792,"filename":"image_20042025_10_05_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a04938333eec36b12cbeab85095d8219.jpg","text":"TemporaryFile(/tmp/multipartBody419619493669584968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147492792,"filename":"image_20042025_10_04_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/391fefe6b0256a569bdbefdcd85e48f9.jpg","text":"TemporaryFile(/tmp/multipartBody8427278389934679335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147492792,"filename":"image_20042025_10_04_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225563","file1":"1352225561","file0":"1352225557","file4":"1352225565","file5":"1352225566","file3":"1352225564"},"map_files_photo_id_array":[{"photo_id":"1352225566","filename":"file5"},{"photo_id":"1352225563","filename":"file2"},{"photo_id":"1352225565","filename":"file4"},{"photo_id":"1352225561","filename":"file1"},{"photo_id":"1352225557","filename":"file0"},{"photo_id":"1352225564","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352225563":["hashtag1","hashtag2"]},{"1352225557":["hashtag1","hashtag2"]},{"1352225566":["hashtag1","hashtag2"]},{"1352225565":["hashtag1","hashtag2"]},{"1352225564":["hashtag1","hashtag2"]},{"1352225561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352225563, 1352225557, 1352225566, 1352225565, 1352225564, 1352225561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.359506130218506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:11:32.614021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_25_10366.jpg', '/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_35_9393.jpg', '/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_45_10402.jpg', '/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_56_10412.jpg', '/home/pi/Desktop/images/20042025/10/05/image_20042025_10_06_05_9361.jpg', '/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_25_10366.jpg
/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_35_9393.jpg
/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_45_10402.jpg
/home/pi/Desktop/images/20042025/10/05/image_20042025_10_05_56_10412.jpg
/home/pi/Desktop/images/20042025/10/05/image_20042025_10_06_05_9361.jpg
/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225896","1352225923","1352225866","1352225809","1352225955","1352225841"],"photo_ids_order":["1352225809","1352225841","1352225866","1352225896","1352225923","1352225955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b595b3183f96f55ce0c213da0efad32f.jpg","text":"TemporaryFile(/tmp/multipartBody5280356988227977781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147553079,"filename":"image_20042025_10_05_56_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa622fb1643ba353bc38fc8d9f266e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2886093559883616843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147553079,"filename":"image_20042025_10_06_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43481844814c6d8da38629f772e39482.jpg","text":"TemporaryFile(/tmp/multipartBody4035665989284204942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147553079,"filename":"image_20042025_10_05_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8a4d09cbd132ff06043ac35644e2512.jpg","text":"TemporaryFile(/tmp/multipartBody60534271581665576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147553079,"filename":"image_20042025_10_05_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da3cde16329ac72f948aa51e887c84a1.jpg","text":"TemporaryFile(/tmp/multipartBody1435835137816225554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147553079,"filename":"image_20042025_10_06_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b2af04ddc3a5d4ba900ee3a28ca7c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1004756473071306717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147553079,"filename":"image_20042025_10_05_35_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225866","file1":"1352225841","file0":"1352225809","file4":"1352225923","file5":"1352225955","file3":"1352225896"},"map_files_photo_id_array":[{"photo_id":"1352225955","filename":"file5"},{"photo_id":"1352225866","filename":"file2"},{"photo_id":"1352225923","filename":"file4"},{"photo_id":"1352225841","filename":"file1"},{"photo_id":"1352225809","filename":"file0"},{"photo_id":"1352225896","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352225896":["hashtag1","hashtag2"]},{"1352225923":["hashtag1","hashtag2"]},{"1352225866":["hashtag1","hashtag2"]},{"1352225809":["hashtag1","hashtag2"]},{"1352225955":["hashtag1","hashtag2"]},{"1352225841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352225896, 1352225923, 1352225866, 1352225809, 1352225955, 1352225841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54740023612976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:12:32.729120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_26_10374.jpg', '/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_35_9438.jpg', '/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_46_10365.jpg', '/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_55_9477.jpg', '/home/pi/Desktop/images/20042025/10/06/image_20042025_10_07_05_10391.jpg', '/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_15_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_26_10374.jpg
/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_35_9438.jpg
/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_46_10365.jpg
/home/pi/Desktop/images/20042025/10/06/image_20042025_10_06_55_9477.jpg
/home/pi/Desktop/images/20042025/10/06/image_20042025_10_07_05_10391.jpg
/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_15_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226040","1352226037","1352226031","1352226051","1352226048","1352226044"],"photo_ids_order":["1352226031","1352226037","1352226040","1352226044","1352226048","1352226051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/588f64e64f66fec5c7ffe1ea424058f0.jpg","text":"TemporaryFile(/tmp/multipartBody2651151697305135118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147613253,"filename":"image_20042025_10_06_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/361003e9ff5134a5d02b57c4e865195e.jpg","text":"TemporaryFile(/tmp/multipartBody4813311298296173794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147613253,"filename":"image_20042025_10_06_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b14299cc521ccd18f698891646fcd1f.jpg","text":"TemporaryFile(/tmp/multipartBody5660472681210116599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147613253,"filename":"image_20042025_10_06_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98a3ea56de3be60777cd56c49d3235d8.jpg","text":"TemporaryFile(/tmp/multipartBody1782620807923289611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147613253,"filename":"image_20042025_10_07_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7654f915894e114a8cde667861a7b44a.jpg","text":"TemporaryFile(/tmp/multipartBody5293323748885180750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147613253,"filename":"image_20042025_10_07_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44f3a33a414f3f412ca4d1311bd45cad.jpg","text":"TemporaryFile(/tmp/multipartBody852828597422821031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147613253,"filename":"image_20042025_10_06_55_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226040","file1":"1352226037","file0":"1352226031","file4":"1352226048","file5":"1352226051","file3":"1352226044"},"map_files_photo_id_array":[{"photo_id":"1352226051","filename":"file5"},{"photo_id":"1352226040","filename":"file2"},{"photo_id":"1352226048","filename":"file4"},{"photo_id":"1352226037","filename":"file1"},{"photo_id":"1352226031","filename":"file0"},{"photo_id":"1352226044","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226040":["hashtag1","hashtag2"]},{"1352226037":["hashtag1","hashtag2"]},{"1352226031":["hashtag1","hashtag2"]},{"1352226051":["hashtag1","hashtag2"]},{"1352226048":["hashtag1","hashtag2"]},{"1352226044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226040, 1352226037, 1352226031, 1352226051, 1352226048, 1352226044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.86666774749756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:13:32.946448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_25_10461.jpg', '/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_36_10371.jpg', '/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_45_9385.jpg', '/home/pi/Desktop/images/20042025/10/08/image_20042025_10_08_45_10374.jpg', '/home/pi/Desktop/images/20042025/10/08/image_20042025_10_08_55_9376.jpg', '/home/pi/Desktop/images/20042025/10/08/image_20042025_10_09_05_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_25_10461.jpg
/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_36_10371.jpg
/home/pi/Desktop/images/20042025/10/07/image_20042025_10_07_45_9385.jpg
/home/pi/Desktop/images/20042025/10/08/image_20042025_10_08_45_10374.jpg
/home/pi/Desktop/images/20042025/10/08/image_20042025_10_08_55_9376.jpg
/home/pi/Desktop/images/20042025/10/08/image_20042025_10_09_05_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226268","1352226253","1352226249","1352226260","1352226263","1352226257"],"photo_ids_order":["1352226249","1352226253","1352226257","1352226260","1352226263","1352226268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7a16cc9a7de5f8bdf67145aaa189e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5246484746803303366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147673418,"filename":"image_20042025_10_09_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcdbd3bf4f99bca5a80ea346182ed91d.jpg","text":"TemporaryFile(/tmp/multipartBody6342534679192269539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147673418,"filename":"image_20042025_10_07_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd038a707cfc4695829af7b03deaf9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1526046182617470784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147673418,"filename":"image_20042025_10_07_25_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/020841e99d73205f7c9afdeea414a101.jpg","text":"TemporaryFile(/tmp/multipartBody6758893707514490175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147673418,"filename":"image_20042025_10_08_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea32ec88584ae32e905aadb4fc7b533d.jpg","text":"TemporaryFile(/tmp/multipartBody955068495152482450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147673418,"filename":"image_20042025_10_08_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36cc93e49395c91278aeacf1c9d62ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1118866845955059705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147673418,"filename":"image_20042025_10_07_45_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226257","file1":"1352226253","file0":"1352226249","file4":"1352226263","file5":"1352226268","file3":"1352226260"},"map_files_photo_id_array":[{"photo_id":"1352226268","filename":"file5"},{"photo_id":"1352226257","filename":"file2"},{"photo_id":"1352226263","filename":"file4"},{"photo_id":"1352226253","filename":"file1"},{"photo_id":"1352226249","filename":"file0"},{"photo_id":"1352226260","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226268":["hashtag1","hashtag2"]},{"1352226253":["hashtag1","hashtag2"]},{"1352226249":["hashtag1","hashtag2"]},{"1352226260":["hashtag1","hashtag2"]},{"1352226263":["hashtag1","hashtag2"]},{"1352226257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226268, 1352226253, 1352226249, 1352226260, 1352226263, 1352226257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.671894073486328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:14:33.174116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_16_10353.jpg', '/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_25_9451.jpg', '/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_35_10397.jpg', '/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_46_10352.jpg', '/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_55_9431.jpg', '/home/pi/Desktop/images/20042025/10/09/image_20042025_10_10_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_16_10353.jpg
/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_25_9451.jpg
/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_35_10397.jpg
/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_46_10352.jpg
/home/pi/Desktop/images/20042025/10/09/image_20042025_10_09_55_9431.jpg
/home/pi/Desktop/images/20042025/10/09/image_20042025_10_10_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226288","1352226296","1352226299","1352226284","1352226280","1352226292"],"photo_ids_order":["1352226280","1352226284","1352226288","1352226292","1352226296","1352226299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32cf51e8f670c22432ab7e438494eb8b.jpg","text":"TemporaryFile(/tmp/multipartBody2062276903384235582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147733642,"filename":"image_20042025_10_09_35_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c46a9475c0a0c6bb464ccf4dd283149.jpg","text":"TemporaryFile(/tmp/multipartBody1510629798628594316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147733642,"filename":"image_20042025_10_09_55_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f39efe12b622d387f8d86865a9faf3e.jpg","text":"TemporaryFile(/tmp/multipartBody7696377754137576177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147733642,"filename":"image_20042025_10_10_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85e803f9db3d7c00f2d068c723f1af37.jpg","text":"TemporaryFile(/tmp/multipartBody1517530989017514442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147733642,"filename":"image_20042025_10_09_25_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd987b6cf187cd1e606e4c842ec184e2.jpg","text":"TemporaryFile(/tmp/multipartBody96667635637162531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147733642,"filename":"image_20042025_10_09_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0724e45ba8cf70264f7a97a0ee28d51.jpg","text":"TemporaryFile(/tmp/multipartBody8643648207264265122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147733642,"filename":"image_20042025_10_09_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226288","file1":"1352226284","file0":"1352226280","file4":"1352226296","file5":"1352226299","file3":"1352226292"},"map_files_photo_id_array":[{"photo_id":"1352226299","filename":"file5"},{"photo_id":"1352226288","filename":"file2"},{"photo_id":"1352226296","filename":"file4"},{"photo_id":"1352226284","filename":"file1"},{"photo_id":"1352226280","filename":"file0"},{"photo_id":"1352226292","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226288":["hashtag1","hashtag2"]},{"1352226296":["hashtag1","hashtag2"]},{"1352226299":["hashtag1","hashtag2"]},{"1352226284":["hashtag1","hashtag2"]},{"1352226280":["hashtag1","hashtag2"]},{"1352226292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226288, 1352226296, 1352226299, 1352226284, 1352226280, 1352226292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4112069606781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:15:32.287072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_15_9408.jpg', '/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_25_10416.jpg', '/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_36_10360.jpg', '/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_45_9435.jpg', '/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_56_10362.jpg', '/home/pi/Desktop/images/20042025/10/10/image_20042025_10_11_05_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_15_9408.jpg
/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_25_10416.jpg
/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_36_10360.jpg
/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_45_9435.jpg
/home/pi/Desktop/images/20042025/10/10/image_20042025_10_10_56_10362.jpg
/home/pi/Desktop/images/20042025/10/10/image_20042025_10_11_05_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226471","1352226418","1352226366","1352226497","1352226446","1352226391"],"photo_ids_order":["1352226366","1352226391","1352226418","1352226446","1352226471","1352226497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55859e425237301abb9afa0242f35451.jpg","text":"TemporaryFile(/tmp/multipartBody9062161637245846967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147792747,"filename":"image_20042025_10_10_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/314379a10e42c84c07aeeac386da0669.jpg","text":"TemporaryFile(/tmp/multipartBody2236533658396368166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147792747,"filename":"image_20042025_10_10_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/867c23f32597d5d40d0342a2cba971ad.jpg","text":"TemporaryFile(/tmp/multipartBody1693132061065112128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147792747,"filename":"image_20042025_10_10_15_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/908ec392e67dfc8e2de1d4e40dea3473.jpg","text":"TemporaryFile(/tmp/multipartBody5909725301790215390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147792747,"filename":"image_20042025_10_11_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c75c1590c1825cb0faf74590a9782ee.jpg","text":"TemporaryFile(/tmp/multipartBody4123731667151143583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147792747,"filename":"image_20042025_10_10_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e9f5b26a63789a78dfb8ebfe313ee23.jpg","text":"TemporaryFile(/tmp/multipartBody452244567933371348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147792747,"filename":"image_20042025_10_10_25_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226418","file1":"1352226391","file0":"1352226366","file4":"1352226471","file5":"1352226497","file3":"1352226446"},"map_files_photo_id_array":[{"photo_id":"1352226497","filename":"file5"},{"photo_id":"1352226418","filename":"file2"},{"photo_id":"1352226471","filename":"file4"},{"photo_id":"1352226391","filename":"file1"},{"photo_id":"1352226366","filename":"file0"},{"photo_id":"1352226446","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226471":["hashtag1","hashtag2"]},{"1352226418":["hashtag1","hashtag2"]},{"1352226366":["hashtag1","hashtag2"]},{"1352226497":["hashtag1","hashtag2"]},{"1352226446":["hashtag1","hashtag2"]},{"1352226391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226471, 1352226418, 1352226366, 1352226497, 1352226446, 1352226391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.648669719696045 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:16:32.677987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_15_10353.jpg', '/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_26_10374.jpg', '/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_35_9490.jpg', '/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_46_10372.jpg', '/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_55_9408.jpg', '/home/pi/Desktop/images/20042025/10/11/image_20042025_10_12_05_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_15_10353.jpg
/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_26_10374.jpg
/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_35_9490.jpg
/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_46_10372.jpg
/home/pi/Desktop/images/20042025/10/11/image_20042025_10_11_55_9408.jpg
/home/pi/Desktop/images/20042025/10/11/image_20042025_10_12_05_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226700","1352226693","1352226695","1352226698","1352226691","1352226688"],"photo_ids_order":["1352226688","1352226691","1352226693","1352226695","1352226698","1352226700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f2592c48f75ce79386e2cd5208a2177.jpg","text":"TemporaryFile(/tmp/multipartBody5302172319579951208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147853142,"filename":"image_20042025_10_12_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f2a02a9992ff4e00ec506690f21753b.jpg","text":"TemporaryFile(/tmp/multipartBody5263747716778655528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147853142,"filename":"image_20042025_10_11_35_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70c7eeec7890221c707c5520b90fff54.jpg","text":"TemporaryFile(/tmp/multipartBody2776093374892888628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147853142,"filename":"image_20042025_10_11_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14866a1ac01354a081a2374d2975f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody4225290980291281389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147853142,"filename":"image_20042025_10_11_55_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5914c341fc727f7558e4b96ceac637b1.jpg","text":"TemporaryFile(/tmp/multipartBody6036073645230776094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147853142,"filename":"image_20042025_10_11_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4552ca1809ceb911366f63f75e77cac5.jpg","text":"TemporaryFile(/tmp/multipartBody1985511838982174757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147853142,"filename":"image_20042025_10_11_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226693","file1":"1352226691","file0":"1352226688","file4":"1352226698","file5":"1352226700","file3":"1352226695"},"map_files_photo_id_array":[{"photo_id":"1352226700","filename":"file5"},{"photo_id":"1352226693","filename":"file2"},{"photo_id":"1352226698","filename":"file4"},{"photo_id":"1352226691","filename":"file1"},{"photo_id":"1352226688","filename":"file0"},{"photo_id":"1352226695","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226700":["hashtag1","hashtag2"]},{"1352226693":["hashtag1","hashtag2"]},{"1352226695":["hashtag1","hashtag2"]},{"1352226698":["hashtag1","hashtag2"]},{"1352226691":["hashtag1","hashtag2"]},{"1352226688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226700, 1352226693, 1352226695, 1352226698, 1352226691, 1352226688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39178252220154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:17:32.995338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/12/image_20042025_10_12_16_10342.jpg', '/home/pi/Desktop/images/20042025/10/12/image_20042025_10_12_45_9358.jpg', '/home/pi/Desktop/images/20042025/10/12/image_20042025_10_12_55_10386.jpg', '/home/pi/Desktop/images/20042025/10/12/image_20042025_10_13_06_10450.jpg', '/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_15_9371.jpg', '/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_25_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/12/image_20042025_10_12_16_10342.jpg
/home/pi/Desktop/images/20042025/10/12/image_20042025_10_12_45_9358.jpg
/home/pi/Desktop/images/20042025/10/12/image_20042025_10_12_55_10386.jpg
/home/pi/Desktop/images/20042025/10/12/image_20042025_10_13_06_10450.jpg
/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_15_9371.jpg
/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_25_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226721","1352226724","1352226727","1352226726","1352226714","1352226719"],"photo_ids_order":["1352226714","1352226719","1352226721","1352226724","1352226726","1352226727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d92848d9754e3aa6b3c0d6cf3103e101.jpg","text":"TemporaryFile(/tmp/multipartBody3075660046005909602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147913487,"filename":"image_20042025_10_12_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be8ba1d25fa411e58db2e4bedacd5eba.jpg","text":"TemporaryFile(/tmp/multipartBody5000421298597504209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147913487,"filename":"image_20042025_10_13_06_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b05b7ebb15b43c66d9d0ff34bd16d661.jpg","text":"TemporaryFile(/tmp/multipartBody5196864440215025982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147913487,"filename":"image_20042025_10_13_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23e2eabefb7b56a2db58bf49c628ee31.jpg","text":"TemporaryFile(/tmp/multipartBody5092296450527905535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147913487,"filename":"image_20042025_10_13_15_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7049914d51fb3a4959280e73f81139d5.jpg","text":"TemporaryFile(/tmp/multipartBody5666906982906489286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147913487,"filename":"image_20042025_10_12_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5af92ba00a63f8f954d4f6edff19a968.jpg","text":"TemporaryFile(/tmp/multipartBody1484770655528197121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147913487,"filename":"image_20042025_10_12_45_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226721","file1":"1352226719","file0":"1352226714","file4":"1352226726","file5":"1352226727","file3":"1352226724"},"map_files_photo_id_array":[{"photo_id":"1352226727","filename":"file5"},{"photo_id":"1352226721","filename":"file2"},{"photo_id":"1352226726","filename":"file4"},{"photo_id":"1352226719","filename":"file1"},{"photo_id":"1352226714","filename":"file0"},{"photo_id":"1352226724","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226721":["hashtag1","hashtag2"]},{"1352226724":["hashtag1","hashtag2"]},{"1352226727":["hashtag1","hashtag2"]},{"1352226726":["hashtag1","hashtag2"]},{"1352226714":["hashtag1","hashtag2"]},{"1352226719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226721, 1352226724, 1352226727, 1352226726, 1352226714, 1352226719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56511330604553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:18:32.314306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_36_10351.jpg', '/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_45_9454.jpg', '/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_56_10471.jpg', '/home/pi/Desktop/images/20042025/10/13/image_20042025_10_14_05_9389.jpg', '/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_15_10364.jpg', '/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_25_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_36_10351.jpg
/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_45_9454.jpg
/home/pi/Desktop/images/20042025/10/13/image_20042025_10_13_56_10471.jpg
/home/pi/Desktop/images/20042025/10/13/image_20042025_10_14_05_9389.jpg
/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_15_10364.jpg
/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_25_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226744","1352226741","1352226755","1352226737","1352226752","1352226748"],"photo_ids_order":["1352226737","1352226741","1352226744","1352226748","1352226752","1352226755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9b5d3a7cbb083b8262d61ba88d0bb56.jpg","text":"TemporaryFile(/tmp/multipartBody703574473709297636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147972788,"filename":"image_20042025_10_13_56_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a244c20a9c446e783cda4bb106e9554.jpg","text":"TemporaryFile(/tmp/multipartBody4305317854912875753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147972788,"filename":"image_20042025_10_13_45_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5780e7bfaeb3b5b21cb3cb6bfacf5ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8334628088406376411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147972788,"filename":"image_20042025_10_14_25_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba46d5b64b04d101c8d227779769c26a.jpg","text":"TemporaryFile(/tmp/multipartBody7840886592891135277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147972788,"filename":"image_20042025_10_13_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18625a8f08a535d9a7f90a389a20751f.jpg","text":"TemporaryFile(/tmp/multipartBody7836781885852087910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147972788,"filename":"image_20042025_10_14_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eea5544791b6fee754f7ea66f86fa446.jpg","text":"TemporaryFile(/tmp/multipartBody4962938399595332339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745147972788,"filename":"image_20042025_10_14_05_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226744","file1":"1352226741","file0":"1352226737","file4":"1352226752","file5":"1352226755","file3":"1352226748"},"map_files_photo_id_array":[{"photo_id":"1352226755","filename":"file5"},{"photo_id":"1352226744","filename":"file2"},{"photo_id":"1352226752","filename":"file4"},{"photo_id":"1352226741","filename":"file1"},{"photo_id":"1352226737","filename":"file0"},{"photo_id":"1352226748","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226744":["hashtag1","hashtag2"]},{"1352226741":["hashtag1","hashtag2"]},{"1352226755":["hashtag1","hashtag2"]},{"1352226737":["hashtag1","hashtag2"]},{"1352226752":["hashtag1","hashtag2"]},{"1352226748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226744, 1352226741, 1352226755, 1352226737, 1352226752, 1352226748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.387028217315674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:19:32.447434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_35_10388.jpg', '/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_46_10370.jpg', '/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_55_9367.jpg', '/home/pi/Desktop/images/20042025/10/14/image_20042025_10_15_05_10365.jpg', '/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_16_10365.jpg', '/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_25_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_35_10388.jpg
/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_46_10370.jpg
/home/pi/Desktop/images/20042025/10/14/image_20042025_10_14_55_9367.jpg
/home/pi/Desktop/images/20042025/10/14/image_20042025_10_15_05_10365.jpg
/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_16_10365.jpg
/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_25_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226777","1352226773","1352226782","1352226790","1352226787","1352226769"],"photo_ids_order":["1352226769","1352226773","1352226777","1352226782","1352226787","1352226790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f0885277e856dc0cef9b857ea0925dd.jpg","text":"TemporaryFile(/tmp/multipartBody4702235099483041808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148032911,"filename":"image_20042025_10_14_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0c8c331c3af33fd9aec0794a8387ff1.jpg","text":"TemporaryFile(/tmp/multipartBody4604711887058335150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148032911,"filename":"image_20042025_10_14_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea85c5f0410a550ac99c1deb33089e85.jpg","text":"TemporaryFile(/tmp/multipartBody5160253106041325533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148032911,"filename":"image_20042025_10_15_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46a3e9d15901316ac4c9dda7e7947966.jpg","text":"TemporaryFile(/tmp/multipartBody371046276763633675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148032911,"filename":"image_20042025_10_15_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4575b5621c3de70174b7365ced02934.jpg","text":"TemporaryFile(/tmp/multipartBody3728223477280280310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148032911,"filename":"image_20042025_10_15_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d628d04094186544914c4e744e0a56ae.jpg","text":"TemporaryFile(/tmp/multipartBody4221339348967230995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148032911,"filename":"image_20042025_10_14_35_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226777","file1":"1352226773","file0":"1352226769","file4":"1352226787","file5":"1352226790","file3":"1352226782"},"map_files_photo_id_array":[{"photo_id":"1352226790","filename":"file5"},{"photo_id":"1352226777","filename":"file2"},{"photo_id":"1352226787","filename":"file4"},{"photo_id":"1352226773","filename":"file1"},{"photo_id":"1352226769","filename":"file0"},{"photo_id":"1352226782","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226777":["hashtag1","hashtag2"]},{"1352226773":["hashtag1","hashtag2"]},{"1352226782":["hashtag1","hashtag2"]},{"1352226790":["hashtag1","hashtag2"]},{"1352226787":["hashtag1","hashtag2"]},{"1352226769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226777, 1352226773, 1352226782, 1352226790, 1352226787, 1352226769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.983593940734863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:20:32.763189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_35_10369.jpg', '/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_45_9366.jpg', '/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_55_10449.jpg', '/home/pi/Desktop/images/20042025/10/15/image_20042025_10_16_06_10396.jpg', '/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_25_10369.jpg', '/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_35_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_35_10369.jpg
/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_45_9366.jpg
/home/pi/Desktop/images/20042025/10/15/image_20042025_10_15_55_10449.jpg
/home/pi/Desktop/images/20042025/10/15/image_20042025_10_16_06_10396.jpg
/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_25_10369.jpg
/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_35_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226820","1352226811","1352226816","1352226824","1352226806","1352226803"],"photo_ids_order":["1352226803","1352226806","1352226811","1352226816","1352226820","1352226824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb4d5ee8708e0c5aef6c6c1510549dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3261321775380444468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148093225,"filename":"image_20042025_10_16_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94c9683bff1b089f04dfea96237c32e1.jpg","text":"TemporaryFile(/tmp/multipartBody4268435053515633942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148093225,"filename":"image_20042025_10_15_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b476baf57174155229328a0dca734318.jpg","text":"TemporaryFile(/tmp/multipartBody3566257570915800883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148093225,"filename":"image_20042025_10_16_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74e5ad6bb713c0a92395c18da5df8418.jpg","text":"TemporaryFile(/tmp/multipartBody8705937096910160373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148093225,"filename":"image_20042025_10_16_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd730585e97e73e19539d4bb02515ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2497509390670513966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148093225,"filename":"image_20042025_10_15_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c0e94a37df3156887552552297b5163.jpg","text":"TemporaryFile(/tmp/multipartBody4754085613236556739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148093225,"filename":"image_20042025_10_15_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226811","file1":"1352226806","file0":"1352226803","file4":"1352226820","file5":"1352226824","file3":"1352226816"},"map_files_photo_id_array":[{"photo_id":"1352226824","filename":"file5"},{"photo_id":"1352226811","filename":"file2"},{"photo_id":"1352226820","filename":"file4"},{"photo_id":"1352226806","filename":"file1"},{"photo_id":"1352226803","filename":"file0"},{"photo_id":"1352226816","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226820":["hashtag1","hashtag2"]},{"1352226811":["hashtag1","hashtag2"]},{"1352226816":["hashtag1","hashtag2"]},{"1352226824":["hashtag1","hashtag2"]},{"1352226806":["hashtag1","hashtag2"]},{"1352226803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226820, 1352226811, 1352226816, 1352226824, 1352226806, 1352226803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.78346562385559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:21:32.980681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_45_10428.jpg', '/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_56_10350.jpg', '/home/pi/Desktop/images/20042025/10/16/image_20042025_10_17_05_9401.jpg', '/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_15_10376.jpg', '/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_25_9370.jpg', '/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_35_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_45_10428.jpg
/home/pi/Desktop/images/20042025/10/16/image_20042025_10_16_56_10350.jpg
/home/pi/Desktop/images/20042025/10/16/image_20042025_10_17_05_9401.jpg
/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_15_10376.jpg
/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_25_9370.jpg
/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_35_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226843","1352226846","1352226854","1352226848","1352226851","1352226839"],"photo_ids_order":["1352226839","1352226843","1352226846","1352226848","1352226851","1352226854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d2dbbe83a4edfc72b9833dcdf4e666b.jpg","text":"TemporaryFile(/tmp/multipartBody7077354103262234061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148153448,"filename":"image_20042025_10_16_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e2f771b796840c1201e54c3033eca3b.jpg","text":"TemporaryFile(/tmp/multipartBody4191034011820334061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148153448,"filename":"image_20042025_10_17_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe57296d3e2f3d30b72492d4a9ab77d8.jpg","text":"TemporaryFile(/tmp/multipartBody4267486601806077953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148153448,"filename":"image_20042025_10_17_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b19dcca63f1ca118176943bda78d0af.jpg","text":"TemporaryFile(/tmp/multipartBody7859434786783443844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148153448,"filename":"image_20042025_10_17_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5715a405efab55caafcf96ee35576cf3.jpg","text":"TemporaryFile(/tmp/multipartBody3177570438391718246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148153448,"filename":"image_20042025_10_17_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8162c80d0cce9aec86d04f9023eca434.jpg","text":"TemporaryFile(/tmp/multipartBody4797640887122234519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148153448,"filename":"image_20042025_10_16_45_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226846","file1":"1352226843","file0":"1352226839","file4":"1352226851","file5":"1352226854","file3":"1352226848"},"map_files_photo_id_array":[{"photo_id":"1352226854","filename":"file5"},{"photo_id":"1352226846","filename":"file2"},{"photo_id":"1352226851","filename":"file4"},{"photo_id":"1352226843","filename":"file1"},{"photo_id":"1352226839","filename":"file0"},{"photo_id":"1352226848","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226843":["hashtag1","hashtag2"]},{"1352226846":["hashtag1","hashtag2"]},{"1352226854":["hashtag1","hashtag2"]},{"1352226848":["hashtag1","hashtag2"]},{"1352226851":["hashtag1","hashtag2"]},{"1352226839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226843, 1352226846, 1352226854, 1352226848, 1352226851, 1352226839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60645246505737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:22:32.139839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_46_10352.jpg', '/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_55_9456.jpg', '/home/pi/Desktop/images/20042025/10/17/image_20042025_10_18_05_10379.jpg', '/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_16_10357.jpg', '/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_36_10367.jpg', '/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_45_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_46_10352.jpg
/home/pi/Desktop/images/20042025/10/17/image_20042025_10_17_55_9456.jpg
/home/pi/Desktop/images/20042025/10/17/image_20042025_10_18_05_10379.jpg
/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_16_10357.jpg
/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_36_10367.jpg
/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_45_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226885","1352226873","1352226881","1352226869","1352226877","1352226865"],"photo_ids_order":["1352226865","1352226869","1352226873","1352226877","1352226881","1352226885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84a9400a2d47e78f48b5ef13967b74e1.jpg","text":"TemporaryFile(/tmp/multipartBody6201910285027980251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148212602,"filename":"image_20042025_10_18_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d3a1d6136807e8f1fece7fd7083fa21.jpg","text":"TemporaryFile(/tmp/multipartBody71742425772284520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148212602,"filename":"image_20042025_10_18_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31cd9829450e66e2f6cb6fec221c07b4.jpg","text":"TemporaryFile(/tmp/multipartBody4651743385425538918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148212602,"filename":"image_20042025_10_18_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc787d5cf90a7f8b67bd526405a7a313.jpg","text":"TemporaryFile(/tmp/multipartBody3327415256306804794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148212602,"filename":"image_20042025_10_17_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dd8e01eb784b9596c4d3757155dc479.jpg","text":"TemporaryFile(/tmp/multipartBody1967359816166813109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148212602,"filename":"image_20042025_10_18_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da905a6e4fc2d8370d8100ab6e114c30.jpg","text":"TemporaryFile(/tmp/multipartBody5007491992713163190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148212602,"filename":"image_20042025_10_17_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226873","file1":"1352226869","file0":"1352226865","file4":"1352226881","file5":"1352226885","file3":"1352226877"},"map_files_photo_id_array":[{"photo_id":"1352226885","filename":"file5"},{"photo_id":"1352226873","filename":"file2"},{"photo_id":"1352226881","filename":"file4"},{"photo_id":"1352226869","filename":"file1"},{"photo_id":"1352226865","filename":"file0"},{"photo_id":"1352226877","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226885":["hashtag1","hashtag2"]},{"1352226873":["hashtag1","hashtag2"]},{"1352226881":["hashtag1","hashtag2"]},{"1352226869":["hashtag1","hashtag2"]},{"1352226877":["hashtag1","hashtag2"]},{"1352226865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226885, 1352226873, 1352226881, 1352226869, 1352226877, 1352226865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.506025791168213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:23:32.361608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_55_10372.jpg', '/home/pi/Desktop/images/20042025/10/18/image_20042025_10_19_06_10369.jpg', '/home/pi/Desktop/images/20042025/10/19/image_20042025_10_19_25_10373.jpg', '/home/pi/Desktop/images/20042025/10/19/image_20042025_10_19_35_9427.jpg', '/home/pi/Desktop/images/20042025/10/19/image_20042025_10_19_45_10372.jpg', '/home/pi/Desktop/images/20042025/10/19/image_20042025_10_20_05_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/18/image_20042025_10_18_55_10372.jpg
/home/pi/Desktop/images/20042025/10/18/image_20042025_10_19_06_10369.jpg
/home/pi/Desktop/images/20042025/10/19/image_20042025_10_19_25_10373.jpg
/home/pi/Desktop/images/20042025/10/19/image_20042025_10_19_35_9427.jpg
/home/pi/Desktop/images/20042025/10/19/image_20042025_10_19_45_10372.jpg
/home/pi/Desktop/images/20042025/10/19/image_20042025_10_20_05_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226919","1352226972","1352226900","1352226896","1352227000","1352226946"],"photo_ids_order":["1352226896","1352226900","1352226919","1352226946","1352226972","1352227000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f434e777de80e5c8da81f22d11b82ca.jpg","text":"TemporaryFile(/tmp/multipartBody6191205748822650064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148272820,"filename":"image_20042025_10_19_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8757f3d866d077e56245b928d2d5273.jpg","text":"TemporaryFile(/tmp/multipartBody802046676732160103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148272820,"filename":"image_20042025_10_19_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/026a4529955f0e17e07078135cc79107.jpg","text":"TemporaryFile(/tmp/multipartBody648413559206559249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148272820,"filename":"image_20042025_10_19_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbdf4c7c4401d200a8b86746b7f6cef5.jpg","text":"TemporaryFile(/tmp/multipartBody6103379947435359458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148272820,"filename":"image_20042025_10_18_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db93aa35d38523d9c5ff6c5f32ed550d.jpg","text":"TemporaryFile(/tmp/multipartBody7794666535989428023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148272820,"filename":"image_20042025_10_20_05_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/805ada4d014c6ea7e26c4b1a92a186c1.jpg","text":"TemporaryFile(/tmp/multipartBody2818470819373546044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148272820,"filename":"image_20042025_10_19_35_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226919","file1":"1352226900","file0":"1352226896","file4":"1352226972","file5":"1352227000","file3":"1352226946"},"map_files_photo_id_array":[{"photo_id":"1352227000","filename":"file5"},{"photo_id":"1352226919","filename":"file2"},{"photo_id":"1352226972","filename":"file4"},{"photo_id":"1352226900","filename":"file1"},{"photo_id":"1352226896","filename":"file0"},{"photo_id":"1352226946","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352226919":["hashtag1","hashtag2"]},{"1352226972":["hashtag1","hashtag2"]},{"1352226900":["hashtag1","hashtag2"]},{"1352226896":["hashtag1","hashtag2"]},{"1352227000":["hashtag1","hashtag2"]},{"1352226946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352226919, 1352226972, 1352226900, 1352226896, 1352227000, 1352226946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.788004159927368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:24:32.549607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_15_10363.jpg', '/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_25_9348.jpg', '/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_35_10368.jpg', '/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_46_10398.jpg', '/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_55_9417.jpg', '/home/pi/Desktop/images/20042025/10/20/image_20042025_10_21_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_15_10363.jpg
/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_25_9348.jpg
/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_35_10368.jpg
/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_46_10398.jpg
/home/pi/Desktop/images/20042025/10/20/image_20042025_10_20_55_9417.jpg
/home/pi/Desktop/images/20042025/10/20/image_20042025_10_21_05_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227343","1352227421","1352227316","1352227288","1352227261","1352227395"],"photo_ids_order":["1352227261","1352227288","1352227316","1352227343","1352227395","1352227421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf477799ff77a973190090bd9494c4fb.jpg","text":"TemporaryFile(/tmp/multipartBody1179878477016094209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148333013,"filename":"image_20042025_10_20_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0df324b3318e2402b17dfa1a7fc47eb0.jpg","text":"TemporaryFile(/tmp/multipartBody6720360066797246192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148333013,"filename":"image_20042025_10_21_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6df011fb4c23c99269e7b8a8a315f386.jpg","text":"TemporaryFile(/tmp/multipartBody8476936519468250391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148333013,"filename":"image_20042025_10_20_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e4fbe552d64cd43c96e401aa34bf6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7143247643256113703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148333013,"filename":"image_20042025_10_20_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd07c12092654963212cc9986c762c50.jpg","text":"TemporaryFile(/tmp/multipartBody5611035231166212763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148333013,"filename":"image_20042025_10_20_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25452a2337cc7ab092871b913070b4ad.jpg","text":"TemporaryFile(/tmp/multipartBody170208671703620837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148333013,"filename":"image_20042025_10_20_55_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227316","file1":"1352227288","file0":"1352227261","file4":"1352227395","file5":"1352227421","file3":"1352227343"},"map_files_photo_id_array":[{"photo_id":"1352227421","filename":"file5"},{"photo_id":"1352227316","filename":"file2"},{"photo_id":"1352227395","filename":"file4"},{"photo_id":"1352227288","filename":"file1"},{"photo_id":"1352227261","filename":"file0"},{"photo_id":"1352227343","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352227343":["hashtag1","hashtag2"]},{"1352227421":["hashtag1","hashtag2"]},{"1352227316":["hashtag1","hashtag2"]},{"1352227288":["hashtag1","hashtag2"]},{"1352227261":["hashtag1","hashtag2"]},{"1352227395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352227343, 1352227421, 1352227316, 1352227288, 1352227261, 1352227395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07916283607483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:25:32.756603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_16_10432.jpg', '/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_25_9497.jpg', '/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_36_10376.jpg', '/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_45_9359.jpg', '/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_55_10376.jpg', '/home/pi/Desktop/images/20042025/10/21/image_20042025_10_22_05_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_16_10432.jpg
/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_25_9497.jpg
/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_36_10376.jpg
/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_45_9359.jpg
/home/pi/Desktop/images/20042025/10/21/image_20042025_10_21_55_10376.jpg
/home/pi/Desktop/images/20042025/10/21/image_20042025_10_22_05_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227674","1352227862","1352227835","1352227736","1352227708","1352227890"],"photo_ids_order":["1352227674","1352227708","1352227736","1352227835","1352227862","1352227890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0baee6ec058d6f7fc3cdd5f33ada450.jpg","text":"TemporaryFile(/tmp/multipartBody8565107410099545932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148393233,"filename":"image_20042025_10_21_16_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/631b385b36a24223310fa8f28158d026.jpg","text":"TemporaryFile(/tmp/multipartBody562513689371138893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148393233,"filename":"image_20042025_10_21_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a8b1d7d7c58c4dfb2b37b17be08e40f.jpg","text":"TemporaryFile(/tmp/multipartBody7941532476583010256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148393233,"filename":"image_20042025_10_21_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd78bc060c57eaf1f391ae6ce0ca9c42.jpg","text":"TemporaryFile(/tmp/multipartBody174805026629099177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148393233,"filename":"image_20042025_10_21_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71831b02bfe3d085522ef7ff40fe6f53.jpg","text":"TemporaryFile(/tmp/multipartBody807086424853170708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148393233,"filename":"image_20042025_10_21_25_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f85ef065f706c7349d298f87dbbcde2e.jpg","text":"TemporaryFile(/tmp/multipartBody924929121430959633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148393233,"filename":"image_20042025_10_22_05_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227736","file1":"1352227708","file0":"1352227674","file4":"1352227862","file5":"1352227890","file3":"1352227835"},"map_files_photo_id_array":[{"photo_id":"1352227890","filename":"file5"},{"photo_id":"1352227736","filename":"file2"},{"photo_id":"1352227862","filename":"file4"},{"photo_id":"1352227708","filename":"file1"},{"photo_id":"1352227674","filename":"file0"},{"photo_id":"1352227835","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352227674":["hashtag1","hashtag2"]},{"1352227862":["hashtag1","hashtag2"]},{"1352227835":["hashtag1","hashtag2"]},{"1352227736":["hashtag1","hashtag2"]},{"1352227708":["hashtag1","hashtag2"]},{"1352227890":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352227674, 1352227862, 1352227835, 1352227736, 1352227708, 1352227890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41617679595947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:26:32.977692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_15_10422.jpg', '/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_26_10389.jpg', '/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_35_9380.jpg', '/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_45_10354.jpg', '/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_55_9426.jpg', '/home/pi/Desktop/images/20042025/10/22/image_20042025_10_23_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_15_10422.jpg
/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_26_10389.jpg
/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_35_9380.jpg
/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_45_10354.jpg
/home/pi/Desktop/images/20042025/10/22/image_20042025_10_22_55_9426.jpg
/home/pi/Desktop/images/20042025/10/22/image_20042025_10_23_05_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228316","1352228087","1352228198","1352228252","1352228290","1352228224"],"photo_ids_order":["1352228087","1352228198","1352228224","1352228252","1352228290","1352228316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d198b5532e27e5fed858778a4012ade.jpg","text":"TemporaryFile(/tmp/multipartBody1956662272864052772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148453453,"filename":"image_20042025_10_23_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad8d9dcb99f8edca2f461bce1b8433a2.jpg","text":"TemporaryFile(/tmp/multipartBody6354372794709010493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148453453,"filename":"image_20042025_10_22_15_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9089ec5a8cd11ada46967c01664857b2.jpg","text":"TemporaryFile(/tmp/multipartBody2689853207143575789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148453453,"filename":"image_20042025_10_22_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5b39946ef9cf2812c72317192a6de4d.jpg","text":"TemporaryFile(/tmp/multipartBody1183025298584009563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148453453,"filename":"image_20042025_10_22_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b2c98cb2a14b1a73f5db36109cc55bc.jpg","text":"TemporaryFile(/tmp/multipartBody412099005200338272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148453453,"filename":"image_20042025_10_22_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3947e696e92023a366f8f7460922c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody6702329527980219183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148453453,"filename":"image_20042025_10_22_35_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228224","file1":"1352228198","file0":"1352228087","file4":"1352228290","file5":"1352228316","file3":"1352228252"},"map_files_photo_id_array":[{"photo_id":"1352228316","filename":"file5"},{"photo_id":"1352228224","filename":"file2"},{"photo_id":"1352228290","filename":"file4"},{"photo_id":"1352228198","filename":"file1"},{"photo_id":"1352228087","filename":"file0"},{"photo_id":"1352228252","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352228316":["hashtag1","hashtag2"]},{"1352228087":["hashtag1","hashtag2"]},{"1352228198":["hashtag1","hashtag2"]},{"1352228252":["hashtag1","hashtag2"]},{"1352228290":["hashtag1","hashtag2"]},{"1352228224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352228316, 1352228087, 1352228198, 1352228252, 1352228290, 1352228224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53254961967468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:27:32.364140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_15_10362.jpg', '/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_25_9436.jpg', '/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_35_10441.jpg', '/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_45_9436.jpg', '/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_55_10360.jpg', '/home/pi/Desktop/images/20042025/10/23/image_20042025_10_24_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_15_10362.jpg
/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_25_9436.jpg
/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_35_10441.jpg
/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_45_9436.jpg
/home/pi/Desktop/images/20042025/10/23/image_20042025_10_23_55_10360.jpg
/home/pi/Desktop/images/20042025/10/23/image_20042025_10_24_05_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228613","1352228639","1352228494","1352228554","1352228524","1352228583"],"photo_ids_order":["1352228494","1352228524","1352228554","1352228583","1352228613","1352228639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/342b47886e56b2a05a8b0e5869928823.jpg","text":"TemporaryFile(/tmp/multipartBody914387094040984451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148512826,"filename":"image_20042025_10_23_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b603d395453897f29db4c9a8a6c11e2e.jpg","text":"TemporaryFile(/tmp/multipartBody3524258644168165164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148512826,"filename":"image_20042025_10_24_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6ef769dad1fddff939920e5adeb4fdf.jpg","text":"TemporaryFile(/tmp/multipartBody6808906727032339658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148512826,"filename":"image_20042025_10_23_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a621921d96b1fb033f827b99dd5acc34.jpg","text":"TemporaryFile(/tmp/multipartBody3734080146462243523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148512826,"filename":"image_20042025_10_23_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfc3815b4e04bb025f19959f540c54bb.jpg","text":"TemporaryFile(/tmp/multipartBody6067382671697074910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148512826,"filename":"image_20042025_10_23_25_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3cb8e3176fa804d0dc9e29db30a535a1.jpg","text":"TemporaryFile(/tmp/multipartBody538164249529745533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148512826,"filename":"image_20042025_10_23_45_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228554","file1":"1352228524","file0":"1352228494","file4":"1352228613","file5":"1352228639","file3":"1352228583"},"map_files_photo_id_array":[{"photo_id":"1352228639","filename":"file5"},{"photo_id":"1352228554","filename":"file2"},{"photo_id":"1352228613","filename":"file4"},{"photo_id":"1352228524","filename":"file1"},{"photo_id":"1352228494","filename":"file0"},{"photo_id":"1352228583","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352228613":["hashtag1","hashtag2"]},{"1352228639":["hashtag1","hashtag2"]},{"1352228494":["hashtag1","hashtag2"]},{"1352228554":["hashtag1","hashtag2"]},{"1352228524":["hashtag1","hashtag2"]},{"1352228583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352228613, 1352228639, 1352228494, 1352228554, 1352228524, 1352228583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.31304121017456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:28:32.551740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_15_9449.jpg', '/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_25_10369.jpg', '/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_36_10383.jpg', '/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_45_9406.jpg', '/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_55_10364.jpg', '/home/pi/Desktop/images/20042025/10/24/image_20042025_10_25_05_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_15_9449.jpg
/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_25_10369.jpg
/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_36_10383.jpg
/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_45_9406.jpg
/home/pi/Desktop/images/20042025/10/24/image_20042025_10_24_55_10364.jpg
/home/pi/Desktop/images/20042025/10/24/image_20042025_10_25_05_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228785","1352228796","1352228799","1352228790","1352228793","1352228787"],"photo_ids_order":["1352228785","1352228787","1352228790","1352228793","1352228796","1352228799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db1b90dcce5fe973133be9e63c6e804a.jpg","text":"TemporaryFile(/tmp/multipartBody3441185763711756096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148573018,"filename":"image_20042025_10_24_15_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a83a1c77848b8c7a600d6ed40c4d3f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8247540045283744952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148573018,"filename":"image_20042025_10_24_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d0370394610d7773ea551e01ef3a1c7.jpg","text":"TemporaryFile(/tmp/multipartBody402582337810390316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148573018,"filename":"image_20042025_10_25_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b94714a3ca255e48d932418ab28eb64b.jpg","text":"TemporaryFile(/tmp/multipartBody5220163623033743233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148573018,"filename":"image_20042025_10_24_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1a27a3732b024f93b35b5caca953b85.jpg","text":"TemporaryFile(/tmp/multipartBody7749787663461792460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148573018,"filename":"image_20042025_10_24_45_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/905b7443467270678a3fa99c7ed10501.jpg","text":"TemporaryFile(/tmp/multipartBody1514651262032989391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148573018,"filename":"image_20042025_10_24_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228790","file1":"1352228787","file0":"1352228785","file4":"1352228796","file5":"1352228799","file3":"1352228793"},"map_files_photo_id_array":[{"photo_id":"1352228799","filename":"file5"},{"photo_id":"1352228790","filename":"file2"},{"photo_id":"1352228796","filename":"file4"},{"photo_id":"1352228787","filename":"file1"},{"photo_id":"1352228785","filename":"file0"},{"photo_id":"1352228793","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352228785":["hashtag1","hashtag2"]},{"1352228796":["hashtag1","hashtag2"]},{"1352228799":["hashtag1","hashtag2"]},{"1352228790":["hashtag1","hashtag2"]},{"1352228793":["hashtag1","hashtag2"]},{"1352228787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352228785, 1352228796, 1352228799, 1352228790, 1352228793, 1352228787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.524543285369873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:29:32.906676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_15_10450.jpg', '/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_26_10381.jpg', '/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_35_9423.jpg', '/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_45_10402.jpg', '/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_55_9467.jpg', '/home/pi/Desktop/images/20042025/10/25/image_20042025_10_26_05_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_15_10450.jpg
/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_26_10381.jpg
/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_35_9423.jpg
/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_45_10402.jpg
/home/pi/Desktop/images/20042025/10/25/image_20042025_10_25_55_9467.jpg
/home/pi/Desktop/images/20042025/10/25/image_20042025_10_26_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228841","1352228814","1352228904","1352228873","1352228960","1352228933"],"photo_ids_order":["1352228814","1352228841","1352228873","1352228904","1352228933","1352228960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89ad488c0dc0d9b5126afda30e55f397.jpg","text":"TemporaryFile(/tmp/multipartBody2217785003391301763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148633367,"filename":"image_20042025_10_25_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bafc24ae05080185504260897b23e495.jpg","text":"TemporaryFile(/tmp/multipartBody6650259552359921911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148633367,"filename":"image_20042025_10_25_15_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9149b606fcaa8ac180166dcf1bf59c35.jpg","text":"TemporaryFile(/tmp/multipartBody1867684371489949456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148633367,"filename":"image_20042025_10_25_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3c692e1ffbad0e5f0ddaa6a2b6c650a.jpg","text":"TemporaryFile(/tmp/multipartBody7770582424200296912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148633367,"filename":"image_20042025_10_25_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18a89183837160ce086f1effec0733fc.jpg","text":"TemporaryFile(/tmp/multipartBody9099380166987805994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148633367,"filename":"image_20042025_10_26_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a40630139fb8296bbda0c253135da6d.jpg","text":"TemporaryFile(/tmp/multipartBody6782483816760537882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148633367,"filename":"image_20042025_10_25_55_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228873","file1":"1352228841","file0":"1352228814","file4":"1352228933","file5":"1352228960","file3":"1352228904"},"map_files_photo_id_array":[{"photo_id":"1352228960","filename":"file5"},{"photo_id":"1352228873","filename":"file2"},{"photo_id":"1352228933","filename":"file4"},{"photo_id":"1352228841","filename":"file1"},{"photo_id":"1352228814","filename":"file0"},{"photo_id":"1352228904","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352228841":["hashtag1","hashtag2"]},{"1352228814":["hashtag1","hashtag2"]},{"1352228904":["hashtag1","hashtag2"]},{"1352228873":["hashtag1","hashtag2"]},{"1352228960":["hashtag1","hashtag2"]},{"1352228933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352228841, 1352228814, 1352228904, 1352228873, 1352228960, 1352228933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.461084842681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:30:32.249309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_16_10350.jpg', '/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_25_9563.jpg', '/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_36_10422.jpg', '/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_45_9524.jpg', '/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_56_10351.jpg', '/home/pi/Desktop/images/20042025/10/26/image_20042025_10_27_05_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_16_10350.jpg
/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_25_9563.jpg
/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_36_10422.jpg
/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_45_9524.jpg
/home/pi/Desktop/images/20042025/10/26/image_20042025_10_26_56_10351.jpg
/home/pi/Desktop/images/20042025/10/26/image_20042025_10_27_05_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229196","1352229200","1352229202","1352229192","1352229183","1352229204"],"photo_ids_order":["1352229183","1352229192","1352229196","1352229200","1352229202","1352229204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7eedf668c8cad47db4397188bb27a4a.jpg","text":"TemporaryFile(/tmp/multipartBody1027411886165592413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148692712,"filename":"image_20042025_10_26_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95a8ba0291561b2eea79e04f522cac9b.jpg","text":"TemporaryFile(/tmp/multipartBody5129182369212635743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148692712,"filename":"image_20042025_10_26_45_9524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9ba32e7e598bcb8e1df03926ea3ef54.jpg","text":"TemporaryFile(/tmp/multipartBody5513064129367140299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148692712,"filename":"image_20042025_10_26_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f1c87c501424056536cac3482e2f423.jpg","text":"TemporaryFile(/tmp/multipartBody8723431955622442134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148692712,"filename":"image_20042025_10_26_25_9563.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/443f62a1c59d667c95ba703f930492ad.jpg","text":"TemporaryFile(/tmp/multipartBody7390256071190190445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148692712,"filename":"image_20042025_10_26_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8314e5445c24b21a8e030dfef2064db8.jpg","text":"TemporaryFile(/tmp/multipartBody405591180743713694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148692712,"filename":"image_20042025_10_27_05_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229196","file1":"1352229192","file0":"1352229183","file4":"1352229202","file5":"1352229204","file3":"1352229200"},"map_files_photo_id_array":[{"photo_id":"1352229204","filename":"file5"},{"photo_id":"1352229196","filename":"file2"},{"photo_id":"1352229202","filename":"file4"},{"photo_id":"1352229192","filename":"file1"},{"photo_id":"1352229183","filename":"file0"},{"photo_id":"1352229200","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229196":["hashtag1","hashtag2"]},{"1352229200":["hashtag1","hashtag2"]},{"1352229202":["hashtag1","hashtag2"]},{"1352229192":["hashtag1","hashtag2"]},{"1352229183":["hashtag1","hashtag2"]},{"1352229204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229196, 1352229200, 1352229202, 1352229192, 1352229183, 1352229204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4562406539917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:31:32.538011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_15_10347.jpg', '/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_26_10442.jpg', '/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_35_9444.jpg', '/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_46_10356.jpg', '/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_55_9471.jpg', '/home/pi/Desktop/images/20042025/10/27/image_20042025_10_28_05_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_15_10347.jpg
/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_26_10442.jpg
/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_35_9444.jpg
/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_46_10356.jpg
/home/pi/Desktop/images/20042025/10/27/image_20042025_10_27_55_9471.jpg
/home/pi/Desktop/images/20042025/10/27/image_20042025_10_28_05_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229329","1352229302","1352229388","1352229274","1352229358","1352229415"],"photo_ids_order":["1352229274","1352229302","1352229329","1352229358","1352229388","1352229415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/348f0e93b7bc48fb9dd93be93fb46b17.jpg","text":"TemporaryFile(/tmp/multipartBody9176987692552946005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148753015,"filename":"image_20042025_10_27_35_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51ac41f0fbcdc6fa3f788a501b816a29.jpg","text":"TemporaryFile(/tmp/multipartBody7010430698676748023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148753015,"filename":"image_20042025_10_27_26_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcc3fc8a81a98a1de2a51cd497e55baa.jpg","text":"TemporaryFile(/tmp/multipartBody7745098900012844408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148753015,"filename":"image_20042025_10_27_55_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6dc1e3ad4e1077ad9df45c33d0dca632.jpg","text":"TemporaryFile(/tmp/multipartBody2480368803967797928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148753015,"filename":"image_20042025_10_27_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d60c2a863354bb4717e7f92071be003f.jpg","text":"TemporaryFile(/tmp/multipartBody4895824879706849165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148753015,"filename":"image_20042025_10_27_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c12ca9265713cbd35c0139e98793e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody6308510874863924862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148753015,"filename":"image_20042025_10_28_05_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229329","file1":"1352229302","file0":"1352229274","file4":"1352229388","file5":"1352229415","file3":"1352229358"},"map_files_photo_id_array":[{"photo_id":"1352229415","filename":"file5"},{"photo_id":"1352229329","filename":"file2"},{"photo_id":"1352229388","filename":"file4"},{"photo_id":"1352229302","filename":"file1"},{"photo_id":"1352229274","filename":"file0"},{"photo_id":"1352229358","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229329":["hashtag1","hashtag2"]},{"1352229302":["hashtag1","hashtag2"]},{"1352229388":["hashtag1","hashtag2"]},{"1352229274":["hashtag1","hashtag2"]},{"1352229358":["hashtag1","hashtag2"]},{"1352229415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229329, 1352229302, 1352229388, 1352229274, 1352229358, 1352229415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.19809603691101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:32:32.775262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_25_9351.jpg', '/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_35_10419.jpg', '/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_45_9443.jpg', '/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_55_10350.jpg', '/home/pi/Desktop/images/20042025/10/28/image_20042025_10_29_06_10332.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_15_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_25_9351.jpg
/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_35_10419.jpg
/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_45_9443.jpg
/home/pi/Desktop/images/20042025/10/28/image_20042025_10_28_55_10350.jpg
/home/pi/Desktop/images/20042025/10/28/image_20042025_10_29_06_10332.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_15_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229452","1352229431","1352229447","1352229441","1352229435","1352229450"],"photo_ids_order":["1352229431","1352229435","1352229441","1352229447","1352229450","1352229452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc23c002901cd1bdbdb6a8ec555be6b8.jpg","text":"TemporaryFile(/tmp/multipartBody2981664435435613153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148813238,"filename":"image_20042025_10_29_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8b7a94c5bbc4884cae18c1e1ab28fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4614309536839321401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148813238,"filename":"image_20042025_10_28_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cd54ec963814fd0695bf8a8fe8eb3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2836038531658252234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148813238,"filename":"image_20042025_10_28_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/faccea8061f71732cee9839230c7adfd.jpg","text":"TemporaryFile(/tmp/multipartBody3814556500284020883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148813238,"filename":"image_20042025_10_28_45_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e89605cbb7f6175c81a1bc2ea4dbe1bb.jpg","text":"TemporaryFile(/tmp/multipartBody1150278251539197156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148813238,"filename":"image_20042025_10_28_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/421b3828418811227686ccaec5561e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2771422479209567217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148813238,"filename":"image_20042025_10_29_06_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229441","file1":"1352229435","file0":"1352229431","file4":"1352229450","file5":"1352229452","file3":"1352229447"},"map_files_photo_id_array":[{"photo_id":"1352229452","filename":"file5"},{"photo_id":"1352229441","filename":"file2"},{"photo_id":"1352229450","filename":"file4"},{"photo_id":"1352229435","filename":"file1"},{"photo_id":"1352229431","filename":"file0"},{"photo_id":"1352229447","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229452":["hashtag1","hashtag2"]},{"1352229431":["hashtag1","hashtag2"]},{"1352229447":["hashtag1","hashtag2"]},{"1352229441":["hashtag1","hashtag2"]},{"1352229435":["hashtag1","hashtag2"]},{"1352229450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229452, 1352229431, 1352229447, 1352229441, 1352229435, 1352229450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.060009241104126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:33:33.092280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_25_10377.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_35_9396.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_45_10384.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_56_10375.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_30_05_9417.jpg', '/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_25_10377.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_35_9396.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_45_10384.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_56_10375.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_30_05_9417.jpg
/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_15_10349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37671947479248047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 13:33:43.035686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_25_10377.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_35_9396.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_45_10384.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_56_10375.jpg', '/home/pi/Desktop/images/20042025/10/29/image_20042025_10_30_05_9417.jpg', '/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_25_10377.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_35_9396.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_45_10384.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_29_56_10375.jpg
/home/pi/Desktop/images/20042025/10/29/image_20042025_10_30_05_9417.jpg
/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229659","1352229632","1352229517","1352229604","1352229547","1352229576"],"photo_ids_order":["1352229517","1352229547","1352229576","1352229604","1352229632","1352229659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94d4188b25f1e8359e8b76802ce79cee.jpg","text":"TemporaryFile(/tmp/multipartBody6015762120376367608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148883494,"filename":"image_20042025_10_30_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ded06edda84648331ba79d9f616f3028.jpg","text":"TemporaryFile(/tmp/multipartBody463262521369399449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148883494,"filename":"image_20042025_10_30_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d14b1a5ee1e31bc5db65761ebc1e48f.jpg","text":"TemporaryFile(/tmp/multipartBody4073194899733779610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148883494,"filename":"image_20042025_10_29_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19d06958af4e94e4bfe133d56a333faf.jpg","text":"TemporaryFile(/tmp/multipartBody8657347674747501659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148883494,"filename":"image_20042025_10_29_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2afe33e13b5562792971dcbef4ae12a2.jpg","text":"TemporaryFile(/tmp/multipartBody4420309643658231409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148883494,"filename":"image_20042025_10_29_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/338133d392943f71dda83dfd13162b68.jpg","text":"TemporaryFile(/tmp/multipartBody1343926572527329156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148883494,"filename":"image_20042025_10_29_45_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229576","file1":"1352229547","file0":"1352229517","file4":"1352229632","file5":"1352229659","file3":"1352229604"},"map_files_photo_id_array":[{"photo_id":"1352229659","filename":"file5"},{"photo_id":"1352229576","filename":"file2"},{"photo_id":"1352229632","filename":"file4"},{"photo_id":"1352229547","filename":"file1"},{"photo_id":"1352229517","filename":"file0"},{"photo_id":"1352229604","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229659":["hashtag1","hashtag2"]},{"1352229632":["hashtag1","hashtag2"]},{"1352229517":["hashtag1","hashtag2"]},{"1352229604":["hashtag1","hashtag2"]},{"1352229547":["hashtag1","hashtag2"]},{"1352229576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229659, 1352229632, 1352229517, 1352229604, 1352229547, 1352229576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.36639928817749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:34:32.389610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_26_10357.jpg', '/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_35_9426.jpg', '/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_45_10365.jpg', '/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_55_9366.jpg', '/home/pi/Desktop/images/20042025/10/30/image_20042025_10_31_05_10352.jpg', '/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_16_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_26_10357.jpg
/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_35_9426.jpg
/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_45_10365.jpg
/home/pi/Desktop/images/20042025/10/30/image_20042025_10_30_55_9366.jpg
/home/pi/Desktop/images/20042025/10/30/image_20042025_10_31_05_10352.jpg
/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_16_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229851","1352229845","1352229839","1352229853","1352229852","1352229834"],"photo_ids_order":["1352229834","1352229839","1352229845","1352229851","1352229852","1352229853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbf48185bc758d5a98f7c20ae7ed266c.jpg","text":"TemporaryFile(/tmp/multipartBody2223875094002377315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148932848,"filename":"image_20042025_10_30_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/819d12625488c61c2d83b1583bc779f7.jpg","text":"TemporaryFile(/tmp/multipartBody1530912063226866814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148932848,"filename":"image_20042025_10_30_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12a01e64e87d9f4f77e569a184c312fa.jpg","text":"TemporaryFile(/tmp/multipartBody2397912488941229729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148932848,"filename":"image_20042025_10_30_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2501ff00a38ede02378c66e434040e3a.jpg","text":"TemporaryFile(/tmp/multipartBody7568524117247530943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148932848,"filename":"image_20042025_10_31_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/042d37a6eeb8f9d58cc8e2a76a060020.jpg","text":"TemporaryFile(/tmp/multipartBody12289724724912363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148932848,"filename":"image_20042025_10_31_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca126aad6bbfbd35145fd89e8cce2292.jpg","text":"TemporaryFile(/tmp/multipartBody1474390525475788482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148932848,"filename":"image_20042025_10_30_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229845","file1":"1352229839","file0":"1352229834","file4":"1352229852","file5":"1352229853","file3":"1352229851"},"map_files_photo_id_array":[{"photo_id":"1352229853","filename":"file5"},{"photo_id":"1352229845","filename":"file2"},{"photo_id":"1352229852","filename":"file4"},{"photo_id":"1352229839","filename":"file1"},{"photo_id":"1352229834","filename":"file0"},{"photo_id":"1352229851","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229851":["hashtag1","hashtag2"]},{"1352229845":["hashtag1","hashtag2"]},{"1352229839":["hashtag1","hashtag2"]},{"1352229853":["hashtag1","hashtag2"]},{"1352229852":["hashtag1","hashtag2"]},{"1352229834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229851, 1352229845, 1352229839, 1352229853, 1352229852, 1352229834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9598171710968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:35:32.620260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_25_9479.jpg', '/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_35_10359.jpg', '/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_46_10340.jpg', '/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_55_9346.jpg', '/home/pi/Desktop/images/20042025/10/31/image_20042025_10_32_05_10357.jpg', '/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_15_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_25_9479.jpg
/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_35_10359.jpg
/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_46_10340.jpg
/home/pi/Desktop/images/20042025/10/31/image_20042025_10_31_55_9346.jpg
/home/pi/Desktop/images/20042025/10/31/image_20042025_10_32_05_10357.jpg
/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_15_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229866","1352229869","1352229871","1352229873","1352229864","1352229867"],"photo_ids_order":["1352229864","1352229866","1352229867","1352229869","1352229871","1352229873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32cedef4d9e26afc3e780a8dadd43b26.jpg","text":"TemporaryFile(/tmp/multipartBody7710729773674542100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148993085,"filename":"image_20042025_10_31_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c89a3dc4adc93cdb77df75ce9d272301.jpg","text":"TemporaryFile(/tmp/multipartBody443546415960968175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148993085,"filename":"image_20042025_10_31_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/900940cb8c7c76f7b44dc6eab9be8189.jpg","text":"TemporaryFile(/tmp/multipartBody7038496529113642846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148993085,"filename":"image_20042025_10_32_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f2d07a25bd42cad8f1fff0491121e0a.jpg","text":"TemporaryFile(/tmp/multipartBody134861768030798215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148993085,"filename":"image_20042025_10_32_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6e0732bbf1bddf2ce97f2c1b4f422c2.jpg","text":"TemporaryFile(/tmp/multipartBody861791133279143168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148993085,"filename":"image_20042025_10_31_25_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc460f23d6a777fd9ae856e2cbb1ae43.jpg","text":"TemporaryFile(/tmp/multipartBody7266081570915440705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745148993085,"filename":"image_20042025_10_31_46_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229867","file1":"1352229866","file0":"1352229864","file4":"1352229871","file5":"1352229873","file3":"1352229869"},"map_files_photo_id_array":[{"photo_id":"1352229873","filename":"file5"},{"photo_id":"1352229867","filename":"file2"},{"photo_id":"1352229871","filename":"file4"},{"photo_id":"1352229866","filename":"file1"},{"photo_id":"1352229864","filename":"file0"},{"photo_id":"1352229869","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229866":["hashtag1","hashtag2"]},{"1352229869":["hashtag1","hashtag2"]},{"1352229871":["hashtag1","hashtag2"]},{"1352229873":["hashtag1","hashtag2"]},{"1352229864":["hashtag1","hashtag2"]},{"1352229867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229866, 1352229869, 1352229871, 1352229873, 1352229864, 1352229867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.295844316482544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:36:32.812095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_25_10426.jpg', '/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_36_10349.jpg', '/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_45_9437.jpg', '/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_55_10451.jpg', '/home/pi/Desktop/images/20042025/10/32/image_20042025_10_33_05_9461.jpg', '/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_15_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_25_10426.jpg
/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_36_10349.jpg
/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_45_9437.jpg
/home/pi/Desktop/images/20042025/10/32/image_20042025_10_32_55_10451.jpg
/home/pi/Desktop/images/20042025/10/32/image_20042025_10_33_05_9461.jpg
/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_15_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229895","1352229889","1352229886","1352229904","1352229894","1352229900"],"photo_ids_order":["1352229886","1352229889","1352229894","1352229895","1352229900","1352229904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13db007c400bc2e6146abb52deed97a4.jpg","text":"TemporaryFile(/tmp/multipartBody559180638219539074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149053268,"filename":"image_20042025_10_32_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/244130c80e6bc25b90cd0d60105d97a9.jpg","text":"TemporaryFile(/tmp/multipartBody1436231838400852155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149053268,"filename":"image_20042025_10_32_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ad0483e1a48bc779acc3be24347b013.jpg","text":"TemporaryFile(/tmp/multipartBody2934649438561911292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149053268,"filename":"image_20042025_10_32_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/079e0ef0633d3293b9b62627326f39ce.jpg","text":"TemporaryFile(/tmp/multipartBody7097432688975946069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149053268,"filename":"image_20042025_10_33_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2828c27d0900ae88792c1dc02b001220.jpg","text":"TemporaryFile(/tmp/multipartBody5910102940351387014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149053268,"filename":"image_20042025_10_32_45_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a7369ddcb0a98ed7fa4656805605b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6916053443199779012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149053268,"filename":"image_20042025_10_33_05_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229894","file1":"1352229889","file0":"1352229886","file4":"1352229900","file5":"1352229904","file3":"1352229895"},"map_files_photo_id_array":[{"photo_id":"1352229904","filename":"file5"},{"photo_id":"1352229894","filename":"file2"},{"photo_id":"1352229900","filename":"file4"},{"photo_id":"1352229889","filename":"file1"},{"photo_id":"1352229886","filename":"file0"},{"photo_id":"1352229895","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229895":["hashtag1","hashtag2"]},{"1352229889":["hashtag1","hashtag2"]},{"1352229886":["hashtag1","hashtag2"]},{"1352229904":["hashtag1","hashtag2"]},{"1352229894":["hashtag1","hashtag2"]},{"1352229900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229895, 1352229889, 1352229886, 1352229904, 1352229894, 1352229900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.64820146560669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:37:33.041193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_26_10355.jpg', '/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_35_9425.jpg', '/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_45_10345.jpg', '/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_55_9345.jpg', '/home/pi/Desktop/images/20042025/10/33/image_20042025_10_34_05_10358.jpg', '/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_26_10355.jpg
/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_35_9425.jpg
/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_45_10345.jpg
/home/pi/Desktop/images/20042025/10/33/image_20042025_10_33_55_9345.jpg
/home/pi/Desktop/images/20042025/10/33/image_20042025_10_34_05_10358.jpg
/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229920","1352229923","1352229917","1352229911","1352229916","1352229921"],"photo_ids_order":["1352229911","1352229916","1352229917","1352229920","1352229921","1352229923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e15705dc182865875d67735beb85ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2027445124821927253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149113497,"filename":"image_20042025_10_33_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb7afdf87059cd9eda5f552e5e2eede8.jpg","text":"TemporaryFile(/tmp/multipartBody200575293148654471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149113497,"filename":"image_20042025_10_34_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a291d03270dee88e5446d64d36fe23f.jpg","text":"TemporaryFile(/tmp/multipartBody430216199781027459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149113497,"filename":"image_20042025_10_33_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f69dbf2caed4a319e34fb7d012770d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4703195765907309481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149113497,"filename":"image_20042025_10_33_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30c5f37b7303f1f85ee0103a2f66d4dd.jpg","text":"TemporaryFile(/tmp/multipartBody3747431337550913890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149113497,"filename":"image_20042025_10_33_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7bee39b67065dd239ac1e87bad943b5.jpg","text":"TemporaryFile(/tmp/multipartBody754825915317709931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149113497,"filename":"image_20042025_10_34_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229917","file1":"1352229916","file0":"1352229911","file4":"1352229921","file5":"1352229923","file3":"1352229920"},"map_files_photo_id_array":[{"photo_id":"1352229923","filename":"file5"},{"photo_id":"1352229917","filename":"file2"},{"photo_id":"1352229921","filename":"file4"},{"photo_id":"1352229916","filename":"file1"},{"photo_id":"1352229911","filename":"file0"},{"photo_id":"1352229920","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229920":["hashtag1","hashtag2"]},{"1352229923":["hashtag1","hashtag2"]},{"1352229917":["hashtag1","hashtag2"]},{"1352229911":["hashtag1","hashtag2"]},{"1352229916":["hashtag1","hashtag2"]},{"1352229921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229920, 1352229923, 1352229917, 1352229911, 1352229916, 1352229921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.59224843978882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:38:32.265642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_25_9457.jpg', '/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_35_10432.jpg', '/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_45_9413.jpg', '/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_55_10443.jpg', '/home/pi/Desktop/images/20042025/10/34/image_20042025_10_35_06_10344.jpg', '/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_15_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_25_9457.jpg
/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_35_10432.jpg
/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_45_9413.jpg
/home/pi/Desktop/images/20042025/10/34/image_20042025_10_34_55_10443.jpg
/home/pi/Desktop/images/20042025/10/34/image_20042025_10_35_06_10344.jpg
/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_15_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229944","1352229946","1352229955","1352229949","1352229940","1352229951"],"photo_ids_order":["1352229940","1352229944","1352229946","1352229949","1352229951","1352229955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32bb003b00115885399cd0701782e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody9222626512396289302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149172733,"filename":"image_20042025_10_34_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72e630e7bc931f3c0b15a4c0f1c78ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2320946644870454151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149172733,"filename":"image_20042025_10_34_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac1105ba2022dbd2c2d64a58e0511f90.jpg","text":"TemporaryFile(/tmp/multipartBody6349212139939638602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149172733,"filename":"image_20042025_10_35_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/187dfe90bc4885d2c2263634ab19485c.jpg","text":"TemporaryFile(/tmp/multipartBody9127614821226575813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149172733,"filename":"image_20042025_10_34_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a6aa4972a02ef0c837637556f947678.jpg","text":"TemporaryFile(/tmp/multipartBody1528578956890379143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149172733,"filename":"image_20042025_10_34_25_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70b8535b55172ff0c84c9ad047fdb62e.jpg","text":"TemporaryFile(/tmp/multipartBody3406332030041869631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149172733,"filename":"image_20042025_10_35_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229946","file1":"1352229944","file0":"1352229940","file4":"1352229951","file5":"1352229955","file3":"1352229949"},"map_files_photo_id_array":[{"photo_id":"1352229955","filename":"file5"},{"photo_id":"1352229946","filename":"file2"},{"photo_id":"1352229951","filename":"file4"},{"photo_id":"1352229944","filename":"file1"},{"photo_id":"1352229940","filename":"file0"},{"photo_id":"1352229949","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229944":["hashtag1","hashtag2"]},{"1352229946":["hashtag1","hashtag2"]},{"1352229955":["hashtag1","hashtag2"]},{"1352229949":["hashtag1","hashtag2"]},{"1352229940":["hashtag1","hashtag2"]},{"1352229951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229944, 1352229946, 1352229955, 1352229949, 1352229940, 1352229951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.661664962768555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:39:32.473063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_25_10365.jpg', '/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_35_9437.jpg', '/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_45_10403.jpg', '/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_56_10367.jpg', '/home/pi/Desktop/images/20042025/10/35/image_20042025_10_36_05_9364.jpg', '/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_25_10365.jpg
/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_35_9437.jpg
/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_45_10403.jpg
/home/pi/Desktop/images/20042025/10/35/image_20042025_10_35_56_10367.jpg
/home/pi/Desktop/images/20042025/10/35/image_20042025_10_36_05_9364.jpg
/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229974","1352229970","1352229967","1352229981","1352229978","1352229963"],"photo_ids_order":["1352229963","1352229967","1352229970","1352229974","1352229978","1352229981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/619d01089e08eb62761493321a219227.jpg","text":"TemporaryFile(/tmp/multipartBody8822852839169776632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149232930,"filename":"image_20042025_10_35_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d7a7b26fd9612c186811ab0d6b07cca.jpg","text":"TemporaryFile(/tmp/multipartBody218491996473212641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149232930,"filename":"image_20042025_10_35_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e94b0ac8babc9c3dc0182a088d373be.jpg","text":"TemporaryFile(/tmp/multipartBody6688193124004388641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149232930,"filename":"image_20042025_10_35_35_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ee8f121ce3a6c96c02c57a07b4da91c.jpg","text":"TemporaryFile(/tmp/multipartBody5358089157972091546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149232930,"filename":"image_20042025_10_36_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8f0a864fa661fc5f33e7718806fa854.jpg","text":"TemporaryFile(/tmp/multipartBody7688154335083477440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149232930,"filename":"image_20042025_10_36_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe2298aa59abbd503878d94666df64f9.jpg","text":"TemporaryFile(/tmp/multipartBody6320056481735411637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149232930,"filename":"image_20042025_10_35_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229970","file1":"1352229967","file0":"1352229963","file4":"1352229978","file5":"1352229981","file3":"1352229974"},"map_files_photo_id_array":[{"photo_id":"1352229981","filename":"file5"},{"photo_id":"1352229970","filename":"file2"},{"photo_id":"1352229978","filename":"file4"},{"photo_id":"1352229967","filename":"file1"},{"photo_id":"1352229963","filename":"file0"},{"photo_id":"1352229974","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352229974":["hashtag1","hashtag2"]},{"1352229970":["hashtag1","hashtag2"]},{"1352229967":["hashtag1","hashtag2"]},{"1352229981":["hashtag1","hashtag2"]},{"1352229978":["hashtag1","hashtag2"]},{"1352229963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352229974, 1352229970, 1352229967, 1352229981, 1352229978, 1352229963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.190880060195923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:40:32.681382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_26_10350.jpg', '/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_35_9358.jpg', '/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_45_10353.jpg', '/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_55_9395.jpg', '/home/pi/Desktop/images/20042025/10/36/image_20042025_10_37_05_10346.jpg', '/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_15_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_26_10350.jpg
/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_35_9358.jpg
/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_45_10353.jpg
/home/pi/Desktop/images/20042025/10/36/image_20042025_10_36_55_9395.jpg
/home/pi/Desktop/images/20042025/10/36/image_20042025_10_37_05_10346.jpg
/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_15_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230011","1352230020","1352230007","1352230015","1352230018","1352230006"],"photo_ids_order":["1352230006","1352230007","1352230011","1352230015","1352230018","1352230020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/414c31e38556e086a215dde2e9f2b67a.jpg","text":"TemporaryFile(/tmp/multipartBody5555724921923809791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149293138,"filename":"image_20042025_10_36_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6f95a42789463965bf4451b8b7d26cd.jpg","text":"TemporaryFile(/tmp/multipartBody8198539762332956106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149293138,"filename":"image_20042025_10_37_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b401ab92d87f370385ba1924d0beece.jpg","text":"TemporaryFile(/tmp/multipartBody1521658880820710616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149293138,"filename":"image_20042025_10_36_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e39beffb9114e6a2a8b9abed45a6267c.jpg","text":"TemporaryFile(/tmp/multipartBody6486257912760712186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149293138,"filename":"image_20042025_10_36_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dc78f9aabcbf2513ec40f828d1cfe30.jpg","text":"TemporaryFile(/tmp/multipartBody4847638094027255408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149293138,"filename":"image_20042025_10_37_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b230f883e6dfe573180e99f1d82b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody8838664356201273232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149293138,"filename":"image_20042025_10_36_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230011","file1":"1352230007","file0":"1352230006","file4":"1352230018","file5":"1352230020","file3":"1352230015"},"map_files_photo_id_array":[{"photo_id":"1352230020","filename":"file5"},{"photo_id":"1352230011","filename":"file2"},{"photo_id":"1352230018","filename":"file4"},{"photo_id":"1352230007","filename":"file1"},{"photo_id":"1352230006","filename":"file0"},{"photo_id":"1352230015","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352230011":["hashtag1","hashtag2"]},{"1352230020":["hashtag1","hashtag2"]},{"1352230007":["hashtag1","hashtag2"]},{"1352230015":["hashtag1","hashtag2"]},{"1352230018":["hashtag1","hashtag2"]},{"1352230006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352230011, 1352230020, 1352230007, 1352230015, 1352230018, 1352230006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39160990715027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:41:32.978045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_25_9478.jpg', '/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_35_10351.jpg', '/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_46_10340.jpg', '/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_55_9442.jpg', '/home/pi/Desktop/images/20042025/10/37/image_20042025_10_38_05_10396.jpg', '/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_15_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_25_9478.jpg
/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_35_10351.jpg
/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_46_10340.jpg
/home/pi/Desktop/images/20042025/10/37/image_20042025_10_37_55_9442.jpg
/home/pi/Desktop/images/20042025/10/37/image_20042025_10_38_05_10396.jpg
/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_15_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230038","1352230035","1352230043","1352230037","1352230045","1352230041"],"photo_ids_order":["1352230035","1352230037","1352230038","1352230041","1352230043","1352230045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee11d4b97b7823c2493be7b23322756c.jpg","text":"TemporaryFile(/tmp/multipartBody744102572529422851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149353439,"filename":"image_20042025_10_37_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84af330836006ce030aee48625251f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2684643873174466293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149353439,"filename":"image_20042025_10_37_25_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb7e2eebf9923aa7f94c64e90e921398.jpg","text":"TemporaryFile(/tmp/multipartBody4005403301004880801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149353439,"filename":"image_20042025_10_38_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/937b86eee3806f9a86ceabbcb9dbea81.jpg","text":"TemporaryFile(/tmp/multipartBody9139356381154552541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149353439,"filename":"image_20042025_10_37_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff229cc68d02639d1edb769ffe534a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8671894041870865590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149353439,"filename":"image_20042025_10_38_15_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d8943ea569d7dcd7be685c5072a1924.jpg","text":"TemporaryFile(/tmp/multipartBody1312475564967154926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149353439,"filename":"image_20042025_10_37_55_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230038","file1":"1352230037","file0":"1352230035","file4":"1352230043","file5":"1352230045","file3":"1352230041"},"map_files_photo_id_array":[{"photo_id":"1352230045","filename":"file5"},{"photo_id":"1352230038","filename":"file2"},{"photo_id":"1352230043","filename":"file4"},{"photo_id":"1352230037","filename":"file1"},{"photo_id":"1352230035","filename":"file0"},{"photo_id":"1352230041","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352230038":["hashtag1","hashtag2"]},{"1352230035":["hashtag1","hashtag2"]},{"1352230043":["hashtag1","hashtag2"]},{"1352230037":["hashtag1","hashtag2"]},{"1352230045":["hashtag1","hashtag2"]},{"1352230041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352230038, 1352230035, 1352230043, 1352230037, 1352230045, 1352230041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.988596200942993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:42:33.137427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_25_10348.jpg', '/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_36_10348.jpg', '/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_45_9373.jpg', '/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_55_10446.jpg', '/home/pi/Desktop/images/20042025/10/38/image_20042025_10_39_05_9328.jpg', '/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_15_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_25_10348.jpg
/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_36_10348.jpg
/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_45_9373.jpg
/home/pi/Desktop/images/20042025/10/38/image_20042025_10_38_55_10446.jpg
/home/pi/Desktop/images/20042025/10/38/image_20042025_10_39_05_9328.jpg
/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_15_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230071","1352230064","1352230066","1352230074","1352230068","1352230077"],"photo_ids_order":["1352230064","1352230066","1352230068","1352230071","1352230074","1352230077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9186f7d993a4762ee0397292e37cedd5.jpg","text":"TemporaryFile(/tmp/multipartBody5006207830244822716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149413596,"filename":"image_20042025_10_38_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cbbad2310227b2ddca32dd7178355bd.jpg","text":"TemporaryFile(/tmp/multipartBody4357962748268889748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149413596,"filename":"image_20042025_10_38_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f098aa15482deaa815aea3d3a35ebe7.jpg","text":"TemporaryFile(/tmp/multipartBody8178883224461486864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149413596,"filename":"image_20042025_10_38_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92279f8bde645c5775d6c1ea44af5c18.jpg","text":"TemporaryFile(/tmp/multipartBody7015793628500796465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149413596,"filename":"image_20042025_10_39_05_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef1758fe14779af9bac2e909378cf592.jpg","text":"TemporaryFile(/tmp/multipartBody2543145620398705228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149413596,"filename":"image_20042025_10_38_45_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87c35df1bd828908712f4dbd799d07a9.jpg","text":"TemporaryFile(/tmp/multipartBody7907970966901554569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149413596,"filename":"image_20042025_10_39_15_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230068","file1":"1352230066","file0":"1352230064","file4":"1352230074","file5":"1352230077","file3":"1352230071"},"map_files_photo_id_array":[{"photo_id":"1352230077","filename":"file5"},{"photo_id":"1352230068","filename":"file2"},{"photo_id":"1352230074","filename":"file4"},{"photo_id":"1352230066","filename":"file1"},{"photo_id":"1352230064","filename":"file0"},{"photo_id":"1352230071","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352230071":["hashtag1","hashtag2"]},{"1352230064":["hashtag1","hashtag2"]},{"1352230066":["hashtag1","hashtag2"]},{"1352230074":["hashtag1","hashtag2"]},{"1352230068":["hashtag1","hashtag2"]},{"1352230077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352230071, 1352230064, 1352230066, 1352230074, 1352230068, 1352230077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.44107985496521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:43:32.290880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_26_10450.jpg', '/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_35_9394.jpg', '/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_45_10352.jpg', '/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_55_9383.jpg', '/home/pi/Desktop/images/20042025/10/39/image_20042025_10_40_05_10366.jpg', '/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_26_10450.jpg
/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_35_9394.jpg
/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_45_10352.jpg
/home/pi/Desktop/images/20042025/10/39/image_20042025_10_39_55_9383.jpg
/home/pi/Desktop/images/20042025/10/39/image_20042025_10_40_05_10366.jpg
/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230097","1352230091","1352230085","1352230099","1352230095","1352230089"],"photo_ids_order":["1352230085","1352230089","1352230091","1352230095","1352230097","1352230099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7aa7a77e1ccb14d43cd320619bffcda7.jpg","text":"TemporaryFile(/tmp/multipartBody1651538492651688472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149472747,"filename":"image_20042025_10_40_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95af273ab7327e76a2d1896ec2d3e131.jpg","text":"TemporaryFile(/tmp/multipartBody6596978046330430044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149472747,"filename":"image_20042025_10_39_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd8f33f8bdb0d00aef47d077f2f69511.jpg","text":"TemporaryFile(/tmp/multipartBody843574674763359006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149472747,"filename":"image_20042025_10_39_26_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee3545220a3c1a09d8c40dee6e1df581.jpg","text":"TemporaryFile(/tmp/multipartBody5817682162991417772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149472747,"filename":"image_20042025_10_40_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f1ae188744d84ad6ab000a06e9f2899.jpg","text":"TemporaryFile(/tmp/multipartBody7866467733515041005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149472747,"filename":"image_20042025_10_39_55_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e1b2ce1238b9d673cde48b95634f1ea.jpg","text":"TemporaryFile(/tmp/multipartBody1533596546457090364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149472747,"filename":"image_20042025_10_39_35_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230091","file1":"1352230089","file0":"1352230085","file4":"1352230097","file5":"1352230099","file3":"1352230095"},"map_files_photo_id_array":[{"photo_id":"1352230099","filename":"file5"},{"photo_id":"1352230091","filename":"file2"},{"photo_id":"1352230097","filename":"file4"},{"photo_id":"1352230089","filename":"file1"},{"photo_id":"1352230085","filename":"file0"},{"photo_id":"1352230095","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352230097":["hashtag1","hashtag2"]},{"1352230091":["hashtag1","hashtag2"]},{"1352230085":["hashtag1","hashtag2"]},{"1352230099":["hashtag1","hashtag2"]},{"1352230095":["hashtag1","hashtag2"]},{"1352230089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352230097, 1352230091, 1352230085, 1352230099, 1352230095, 1352230089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.980587482452393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:44:32.626504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_25_9447.jpg', '/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_35_10442.jpg', '/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_46_10355.jpg', '/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_55_9436.jpg', '/home/pi/Desktop/images/20042025/10/40/image_20042025_10_41_06_10357.jpg', '/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_15_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_25_9447.jpg
/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_35_10442.jpg
/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_46_10355.jpg
/home/pi/Desktop/images/20042025/10/40/image_20042025_10_40_55_9436.jpg
/home/pi/Desktop/images/20042025/10/40/image_20042025_10_41_06_10357.jpg
/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_15_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230401","1352230317","1352230256","1352230372","1352230288","1352230347"],"photo_ids_order":["1352230256","1352230288","1352230317","1352230347","1352230372","1352230401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82b1b3731979c6c565379f4b06c17a70.jpg","text":"TemporaryFile(/tmp/multipartBody2698192100441421754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149533079,"filename":"image_20042025_10_41_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/572a7853bf8ccf9b414b6d6a15e7e2af.jpg","text":"TemporaryFile(/tmp/multipartBody212587757165504097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149533079,"filename":"image_20042025_10_40_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f5ec8fec064964cc283058987e2bad8.jpg","text":"TemporaryFile(/tmp/multipartBody6839843224866735960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149533079,"filename":"image_20042025_10_40_25_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88518648f6e193b2dfff5337d6851e69.jpg","text":"TemporaryFile(/tmp/multipartBody920363158910939059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149533079,"filename":"image_20042025_10_41_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8588fed0889de2bc81e18cc3f55c3405.jpg","text":"TemporaryFile(/tmp/multipartBody1906535098285607998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149533079,"filename":"image_20042025_10_40_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/424cdd0fd6be03020fa755b53a883689.jpg","text":"TemporaryFile(/tmp/multipartBody8639073886883836721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149533079,"filename":"image_20042025_10_40_55_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230317","file1":"1352230288","file0":"1352230256","file4":"1352230372","file5":"1352230401","file3":"1352230347"},"map_files_photo_id_array":[{"photo_id":"1352230401","filename":"file5"},{"photo_id":"1352230317","filename":"file2"},{"photo_id":"1352230372","filename":"file4"},{"photo_id":"1352230288","filename":"file1"},{"photo_id":"1352230256","filename":"file0"},{"photo_id":"1352230347","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352230401":["hashtag1","hashtag2"]},{"1352230317":["hashtag1","hashtag2"]},{"1352230256":["hashtag1","hashtag2"]},{"1352230372":["hashtag1","hashtag2"]},{"1352230288":["hashtag1","hashtag2"]},{"1352230347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352230401, 1352230317, 1352230256, 1352230372, 1352230288, 1352230347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10006666183472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:45:32.778516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_25_10346.jpg', '/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_36_10411.jpg', '/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_45_9424.jpg', '/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_55_10353.jpg', '/home/pi/Desktop/images/20042025/10/41/image_20042025_10_42_05_9347.jpg', '/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_25_10346.jpg
/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_36_10411.jpg
/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_45_9424.jpg
/home/pi/Desktop/images/20042025/10/41/image_20042025_10_41_55_10353.jpg
/home/pi/Desktop/images/20042025/10/41/image_20042025_10_42_05_9347.jpg
/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_15_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230668","1352230696","1352230808","1352230753","1352230726","1352230782"],"photo_ids_order":["1352230668","1352230696","1352230726","1352230753","1352230782","1352230808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/578d32759d587b515105a8538d33bcee.jpg","text":"TemporaryFile(/tmp/multipartBody5442170325796482129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149593231,"filename":"image_20042025_10_41_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b84e84a67226e7c6100fc3b204e70197.jpg","text":"TemporaryFile(/tmp/multipartBody4424360461351309062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149593231,"filename":"image_20042025_10_41_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1231290ab830a3bb4bc93d768807446f.jpg","text":"TemporaryFile(/tmp/multipartBody7392014724693342417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149593231,"filename":"image_20042025_10_42_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3566d65d876e8a226aeddc4d456bae6c.jpg","text":"TemporaryFile(/tmp/multipartBody5297348472525380369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149593231,"filename":"image_20042025_10_41_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/812ad2ecc2b1e93d953842a2b3a8c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody1155882923767895274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149593231,"filename":"image_20042025_10_41_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70d45418fb4b66d28abf01099422d7da.jpg","text":"TemporaryFile(/tmp/multipartBody7973223435140257989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149593231,"filename":"image_20042025_10_42_05_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230726","file1":"1352230696","file0":"1352230668","file4":"1352230782","file5":"1352230808","file3":"1352230753"},"map_files_photo_id_array":[{"photo_id":"1352230808","filename":"file5"},{"photo_id":"1352230726","filename":"file2"},{"photo_id":"1352230782","filename":"file4"},{"photo_id":"1352230696","filename":"file1"},{"photo_id":"1352230668","filename":"file0"},{"photo_id":"1352230753","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352230668":["hashtag1","hashtag2"]},{"1352230696":["hashtag1","hashtag2"]},{"1352230808":["hashtag1","hashtag2"]},{"1352230753":["hashtag1","hashtag2"]},{"1352230726":["hashtag1","hashtag2"]},{"1352230782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352230668, 1352230696, 1352230808, 1352230753, 1352230726, 1352230782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40793442726135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:46:33.007107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_26_10356.jpg', '/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_35_9441.jpg', '/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_45_10351.jpg', '/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_56_10380.jpg', '/home/pi/Desktop/images/20042025/10/42/image_20042025_10_43_05_9439.jpg', '/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_15_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_26_10356.jpg
/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_35_9441.jpg
/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_45_10351.jpg
/home/pi/Desktop/images/20042025/10/42/image_20042025_10_42_56_10380.jpg
/home/pi/Desktop/images/20042025/10/42/image_20042025_10_43_05_9439.jpg
/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_15_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230902","1352230851","1352230850","1352230856","1352230876","1352230854"],"photo_ids_order":["1352230850","1352230851","1352230854","1352230856","1352230876","1352230902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb7244f24374c19fb2f7f0f472155293.jpg","text":"TemporaryFile(/tmp/multipartBody5587405670619024512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149653459,"filename":"image_20042025_10_43_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2dcb345d1e498f60c729b0fa49da0a7.jpg","text":"TemporaryFile(/tmp/multipartBody9165858976937929355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149653459,"filename":"image_20042025_10_42_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd4bfec7df5d622c66d4212a005e84bb.jpg","text":"TemporaryFile(/tmp/multipartBody2108275258789819667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149653459,"filename":"image_20042025_10_42_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e3cc94febd6310d5ef2d9d5405fa5e0.jpg","text":"TemporaryFile(/tmp/multipartBody8506624635985544591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149653459,"filename":"image_20042025_10_42_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60ed17ac6f01e1102be2d05f71c08c86.jpg","text":"TemporaryFile(/tmp/multipartBody2924281714657163640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149653459,"filename":"image_20042025_10_43_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8abd25e3676822cfaaea7a3214dcbb5f.jpg","text":"TemporaryFile(/tmp/multipartBody9086623390111039355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149653459,"filename":"image_20042025_10_42_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230854","file1":"1352230851","file0":"1352230850","file4":"1352230876","file5":"1352230902","file3":"1352230856"},"map_files_photo_id_array":[{"photo_id":"1352230902","filename":"file5"},{"photo_id":"1352230854","filename":"file2"},{"photo_id":"1352230876","filename":"file4"},{"photo_id":"1352230851","filename":"file1"},{"photo_id":"1352230850","filename":"file0"},{"photo_id":"1352230856","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352230902":["hashtag1","hashtag2"]},{"1352230851":["hashtag1","hashtag2"]},{"1352230850":["hashtag1","hashtag2"]},{"1352230856":["hashtag1","hashtag2"]},{"1352230876":["hashtag1","hashtag2"]},{"1352230854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352230902, 1352230851, 1352230850, 1352230856, 1352230876, 1352230854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.371383666992188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:47:32.274610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_25_9512.jpg', '/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_35_10494.jpg', '/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_45_9418.jpg', '/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_55_10337.jpg', '/home/pi/Desktop/images/20042025/10/43/image_20042025_10_44_06_10373.jpg', '/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_15_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_25_9512.jpg
/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_35_10494.jpg
/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_45_9418.jpg
/home/pi/Desktop/images/20042025/10/43/image_20042025_10_43_55_10337.jpg
/home/pi/Desktop/images/20042025/10/43/image_20042025_10_44_06_10373.jpg
/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_15_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231090","1352231063","1352231057","1352231051","1352231060","1352231054"],"photo_ids_order":["1352231051","1352231054","1352231057","1352231060","1352231063","1352231090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a280c90d925abc58c5464af4d001210b.jpg","text":"TemporaryFile(/tmp/multipartBody4183599000345383936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149712728,"filename":"image_20042025_10_44_15_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46047038ef8b10c962f0afec06b0d944.jpg","text":"TemporaryFile(/tmp/multipartBody380032772496820649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149712728,"filename":"image_20042025_10_44_06_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4de15948e1ce5ae761c46b638530f7a.jpg","text":"TemporaryFile(/tmp/multipartBody731916618930946304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149712728,"filename":"image_20042025_10_43_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f5a7c725c7cdb7fda03491b1f512bb3.jpg","text":"TemporaryFile(/tmp/multipartBody7612059758241391284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149712728,"filename":"image_20042025_10_43_25_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e32c2cc70eb1ddfb76025279530e7a5.jpg","text":"TemporaryFile(/tmp/multipartBody5644401418593312747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149712728,"filename":"image_20042025_10_43_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f008219672e3ce44ebaeda75a060ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5675872419539268200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149712728,"filename":"image_20042025_10_43_35_10494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231057","file1":"1352231054","file0":"1352231051","file4":"1352231063","file5":"1352231090","file3":"1352231060"},"map_files_photo_id_array":[{"photo_id":"1352231090","filename":"file5"},{"photo_id":"1352231057","filename":"file2"},{"photo_id":"1352231063","filename":"file4"},{"photo_id":"1352231054","filename":"file1"},{"photo_id":"1352231051","filename":"file0"},{"photo_id":"1352231060","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231090":["hashtag1","hashtag2"]},{"1352231063":["hashtag1","hashtag2"]},{"1352231057":["hashtag1","hashtag2"]},{"1352231051":["hashtag1","hashtag2"]},{"1352231060":["hashtag1","hashtag2"]},{"1352231054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231090, 1352231063, 1352231057, 1352231051, 1352231060, 1352231054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02533149719238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:48:32.476521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_25_10355.jpg', '/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_35_9427.jpg', '/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_45_10447.jpg', '/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_56_10400.jpg', '/home/pi/Desktop/images/20042025/10/44/image_20042025_10_45_05_9448.jpg', '/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_25_10355.jpg
/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_35_9427.jpg
/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_45_10447.jpg
/home/pi/Desktop/images/20042025/10/44/image_20042025_10_44_56_10400.jpg
/home/pi/Desktop/images/20042025/10/44/image_20042025_10_45_05_9448.jpg
/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_15_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231276","1352231249","1352231221","1352231158","1352231163","1352231192"],"photo_ids_order":["1352231158","1352231163","1352231192","1352231221","1352231249","1352231276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aaef7fc38f99b1c05321111e26faaa4f.jpg","text":"TemporaryFile(/tmp/multipartBody4338978130166343688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149772933,"filename":"image_20042025_10_45_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f9d16a515f5249f7daf1519d376bc26.jpg","text":"TemporaryFile(/tmp/multipartBody8408285386740222130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149772933,"filename":"image_20042025_10_45_05_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d75d51cedb953c9959aa799ae7387bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8328909839043112992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149772933,"filename":"image_20042025_10_44_56_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/864be66d2811fa926be15d153f8a0324.jpg","text":"TemporaryFile(/tmp/multipartBody423743374063792787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149772933,"filename":"image_20042025_10_44_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc9e9b9a30b568c9b96bad93bb93446a.jpg","text":"TemporaryFile(/tmp/multipartBody950074764723490706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149772933,"filename":"image_20042025_10_44_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/308ce21522e85807215c5933b2556ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6724636068898779657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149772933,"filename":"image_20042025_10_44_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231192","file1":"1352231163","file0":"1352231158","file4":"1352231249","file5":"1352231276","file3":"1352231221"},"map_files_photo_id_array":[{"photo_id":"1352231276","filename":"file5"},{"photo_id":"1352231192","filename":"file2"},{"photo_id":"1352231249","filename":"file4"},{"photo_id":"1352231163","filename":"file1"},{"photo_id":"1352231158","filename":"file0"},{"photo_id":"1352231221","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231276":["hashtag1","hashtag2"]},{"1352231249":["hashtag1","hashtag2"]},{"1352231221":["hashtag1","hashtag2"]},{"1352231158":["hashtag1","hashtag2"]},{"1352231163":["hashtag1","hashtag2"]},{"1352231192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231276, 1352231249, 1352231221, 1352231158, 1352231163, 1352231192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.330798387527466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:49:32.589863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_25_9366.jpg', '/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_46_10389.jpg', '/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_55_9411.jpg', '/home/pi/Desktop/images/20042025/10/45/image_20042025_10_46_05_10411.jpg', '/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_15_9398.jpg', '/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_25_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_25_9366.jpg
/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_46_10389.jpg
/home/pi/Desktop/images/20042025/10/45/image_20042025_10_45_55_9411.jpg
/home/pi/Desktop/images/20042025/10/45/image_20042025_10_46_05_10411.jpg
/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_15_9398.jpg
/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_25_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231360","1352231354","1352231362","1352231356","1352231358","1352231352"],"photo_ids_order":["1352231352","1352231354","1352231356","1352231358","1352231360","1352231362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61b82f5e4035689b58da7aff53f8ca76.jpg","text":"TemporaryFile(/tmp/multipartBody3318633039519179798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149833042,"filename":"image_20042025_10_46_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef89ee835a89985973e7b9083a7161b6.jpg","text":"TemporaryFile(/tmp/multipartBody387166707335630651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149833042,"filename":"image_20042025_10_45_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ceda1e822fe98610efcdf9ba61cbbb4.jpg","text":"TemporaryFile(/tmp/multipartBody7238934558254252064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149833042,"filename":"image_20042025_10_46_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/caae818af2f951e4769141cebd5f7ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4596557549913252546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149833042,"filename":"image_20042025_10_45_55_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb111db97de570d55fe119b8edc97c7c.jpg","text":"TemporaryFile(/tmp/multipartBody887731429576177955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149833042,"filename":"image_20042025_10_46_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c40994c2874d28759e0ff2349b38462.jpg","text":"TemporaryFile(/tmp/multipartBody7507411212427846503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149833042,"filename":"image_20042025_10_45_25_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231356","file1":"1352231354","file0":"1352231352","file4":"1352231360","file5":"1352231362","file3":"1352231358"},"map_files_photo_id_array":[{"photo_id":"1352231362","filename":"file5"},{"photo_id":"1352231356","filename":"file2"},{"photo_id":"1352231360","filename":"file4"},{"photo_id":"1352231354","filename":"file1"},{"photo_id":"1352231352","filename":"file0"},{"photo_id":"1352231358","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231360":["hashtag1","hashtag2"]},{"1352231354":["hashtag1","hashtag2"]},{"1352231362":["hashtag1","hashtag2"]},{"1352231356":["hashtag1","hashtag2"]},{"1352231358":["hashtag1","hashtag2"]},{"1352231352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231360, 1352231354, 1352231362, 1352231356, 1352231358, 1352231352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.475210666656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:50:32.865670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_36_10358.jpg', '/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_45_9474.jpg', '/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_55_10360.jpg', '/home/pi/Desktop/images/20042025/10/46/image_20042025_10_47_06_10326.jpg', '/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_15_9340.jpg', '/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_36_10358.jpg
/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_45_9474.jpg
/home/pi/Desktop/images/20042025/10/46/image_20042025_10_46_55_10360.jpg
/home/pi/Desktop/images/20042025/10/46/image_20042025_10_47_06_10326.jpg
/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_15_9340.jpg
/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231387","1352231398","1352231383","1352231380","1352231394","1352231390"],"photo_ids_order":["1352231380","1352231383","1352231387","1352231390","1352231394","1352231398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25ae4875868f2e95bc8fb4bca9603659.jpg","text":"TemporaryFile(/tmp/multipartBody3714068543747713300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149893318,"filename":"image_20042025_10_46_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42d315d5a250739232b5653d5e4bef7e.jpg","text":"TemporaryFile(/tmp/multipartBody1052636354259503937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149893318,"filename":"image_20042025_10_47_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6368077d22555dd6ff78227d2d070fb.jpg","text":"TemporaryFile(/tmp/multipartBody1323839233743374360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149893318,"filename":"image_20042025_10_46_45_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/969da12fb0d0db9951e1d25e48e98d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2212431033160755289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149893318,"filename":"image_20042025_10_46_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4700881f8ca3190a1dc6578bca8dcf9b.jpg","text":"TemporaryFile(/tmp/multipartBody9134764389639599832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149893318,"filename":"image_20042025_10_47_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/526d4c83bd43a85224062270e6e87bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3104244589637843621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149893318,"filename":"image_20042025_10_47_06_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231387","file1":"1352231383","file0":"1352231380","file4":"1352231394","file5":"1352231398","file3":"1352231390"},"map_files_photo_id_array":[{"photo_id":"1352231398","filename":"file5"},{"photo_id":"1352231387","filename":"file2"},{"photo_id":"1352231394","filename":"file4"},{"photo_id":"1352231383","filename":"file1"},{"photo_id":"1352231380","filename":"file0"},{"photo_id":"1352231390","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231387":["hashtag1","hashtag2"]},{"1352231398":["hashtag1","hashtag2"]},{"1352231383":["hashtag1","hashtag2"]},{"1352231380":["hashtag1","hashtag2"]},{"1352231394":["hashtag1","hashtag2"]},{"1352231390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231387, 1352231398, 1352231383, 1352231380, 1352231394, 1352231390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63909673690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:51:32.155464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_35_9354.jpg', '/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_45_10412.jpg', '/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_15_10415.jpg', '/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_25_9367.jpg', '/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_35_10351.jpg', '/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_46_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_35_9354.jpg
/home/pi/Desktop/images/20042025/10/47/image_20042025_10_47_45_10412.jpg
/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_15_10415.jpg
/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_25_9367.jpg
/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_35_10351.jpg
/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_46_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231429","1352231426","1352231431","1352231422","1352231418","1352231415"],"photo_ids_order":["1352231415","1352231418","1352231422","1352231426","1352231429","1352231431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24f7a0389f6bacec88dc9135b14f88ca.jpg","text":"TemporaryFile(/tmp/multipartBody8844425272881143306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149952606,"filename":"image_20042025_10_48_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb366cf3873bc7ccecc93ae442827d8f.jpg","text":"TemporaryFile(/tmp/multipartBody6970784983727284109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149952606,"filename":"image_20042025_10_48_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43c5007c2b6e50233a8669dc47704cee.jpg","text":"TemporaryFile(/tmp/multipartBody2226764084845550015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149952606,"filename":"image_20042025_10_48_46_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f69c05a9b4aff7c46e16b183dea94b30.jpg","text":"TemporaryFile(/tmp/multipartBody2924792349212418891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149952606,"filename":"image_20042025_10_48_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/825ec2a3011ab745b820842b374aebc2.jpg","text":"TemporaryFile(/tmp/multipartBody755887799710875727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149952606,"filename":"image_20042025_10_47_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39b117fc600d95a4d9ab5aea953c19ad.jpg","text":"TemporaryFile(/tmp/multipartBody8357011054657363205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745149952606,"filename":"image_20042025_10_47_35_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231422","file1":"1352231418","file0":"1352231415","file4":"1352231429","file5":"1352231431","file3":"1352231426"},"map_files_photo_id_array":[{"photo_id":"1352231431","filename":"file5"},{"photo_id":"1352231422","filename":"file2"},{"photo_id":"1352231429","filename":"file4"},{"photo_id":"1352231418","filename":"file1"},{"photo_id":"1352231415","filename":"file0"},{"photo_id":"1352231426","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231429":["hashtag1","hashtag2"]},{"1352231426":["hashtag1","hashtag2"]},{"1352231431":["hashtag1","hashtag2"]},{"1352231422":["hashtag1","hashtag2"]},{"1352231418":["hashtag1","hashtag2"]},{"1352231415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231429, 1352231426, 1352231431, 1352231422, 1352231418, 1352231415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.950072288513184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:52:32.459988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_55_9399.jpg', '/home/pi/Desktop/images/20042025/10/48/image_20042025_10_49_05_10355.jpg', '/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_16_10341.jpg', '/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_25_9426.jpg', '/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_35_10355.jpg', '/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_45_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/48/image_20042025_10_48_55_9399.jpg
/home/pi/Desktop/images/20042025/10/48/image_20042025_10_49_05_10355.jpg
/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_16_10341.jpg
/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_25_9426.jpg
/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_35_10355.jpg
/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_45_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231453","1352231456","1352231459","1352231450","1352231446","1352231448"],"photo_ids_order":["1352231446","1352231448","1352231450","1352231453","1352231456","1352231459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7de2c69114c90f6eac0872214027af7b.jpg","text":"TemporaryFile(/tmp/multipartBody7377388991418784922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150012916,"filename":"image_20042025_10_49_25_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db37dadda9f6710f3281fcd179f0a198.jpg","text":"TemporaryFile(/tmp/multipartBody8367162452755713085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150012916,"filename":"image_20042025_10_49_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/640e0e9a03c9d5ec3e28492462608f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8341074908617932664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150012916,"filename":"image_20042025_10_49_45_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d57955d56516e685cd57635cdf4d8e01.jpg","text":"TemporaryFile(/tmp/multipartBody7136060159078443124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150012916,"filename":"image_20042025_10_49_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5d92329417b0bcdf372205c91ef59f7.jpg","text":"TemporaryFile(/tmp/multipartBody3548551162091819749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150012916,"filename":"image_20042025_10_48_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13894c7b1215e18a4e41c21617cbbfe1.jpg","text":"TemporaryFile(/tmp/multipartBody5153266372182534108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150012916,"filename":"image_20042025_10_49_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231450","file1":"1352231448","file0":"1352231446","file4":"1352231456","file5":"1352231459","file3":"1352231453"},"map_files_photo_id_array":[{"photo_id":"1352231459","filename":"file5"},{"photo_id":"1352231450","filename":"file2"},{"photo_id":"1352231456","filename":"file4"},{"photo_id":"1352231448","filename":"file1"},{"photo_id":"1352231446","filename":"file0"},{"photo_id":"1352231453","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231453":["hashtag1","hashtag2"]},{"1352231456":["hashtag1","hashtag2"]},{"1352231459":["hashtag1","hashtag2"]},{"1352231450":["hashtag1","hashtag2"]},{"1352231446":["hashtag1","hashtag2"]},{"1352231448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231453, 1352231456, 1352231459, 1352231450, 1352231446, 1352231448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.79929256439209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:53:32.767641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_55_10420.jpg', '/home/pi/Desktop/images/20042025/10/49/image_20042025_10_50_06_10358.jpg', '/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_15_9456.jpg', '/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_25_10366.jpg', '/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_35_9393.jpg', '/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_45_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/49/image_20042025_10_49_55_10420.jpg
/home/pi/Desktop/images/20042025/10/49/image_20042025_10_50_06_10358.jpg
/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_15_9456.jpg
/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_25_10366.jpg
/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_35_9393.jpg
/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_45_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231494","1352231497","1352231491","1352231485","1352231481","1352231478"],"photo_ids_order":["1352231478","1352231481","1352231485","1352231491","1352231494","1352231497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f50916a2b951adb7eb7f1dc48b9f48f.jpg","text":"TemporaryFile(/tmp/multipartBody532024875628444906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150073233,"filename":"image_20042025_10_50_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a20a7525eaf58d4f3a8d78474025374d.jpg","text":"TemporaryFile(/tmp/multipartBody4424678589004249807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150073233,"filename":"image_20042025_10_50_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fec9f900cb48a4d8e40f6fae6af8ff4b.jpg","text":"TemporaryFile(/tmp/multipartBody8465532046703656272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150073233,"filename":"image_20042025_10_50_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41bd6bcdcf5a5bbcf06685a5f3c459c3.jpg","text":"TemporaryFile(/tmp/multipartBody2464186989692634827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150073233,"filename":"image_20042025_10_50_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90be515d6b8c66677fc5a33fe7b0cd06.jpg","text":"TemporaryFile(/tmp/multipartBody1492435442140062602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150073233,"filename":"image_20042025_10_50_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6545b0e15be36c49b454fbdf2c1a8229.jpg","text":"TemporaryFile(/tmp/multipartBody8526813626769363370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150073233,"filename":"image_20042025_10_49_55_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231485","file1":"1352231481","file0":"1352231478","file4":"1352231494","file5":"1352231497","file3":"1352231491"},"map_files_photo_id_array":[{"photo_id":"1352231497","filename":"file5"},{"photo_id":"1352231485","filename":"file2"},{"photo_id":"1352231494","filename":"file4"},{"photo_id":"1352231481","filename":"file1"},{"photo_id":"1352231478","filename":"file0"},{"photo_id":"1352231491","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231494":["hashtag1","hashtag2"]},{"1352231497":["hashtag1","hashtag2"]},{"1352231491":["hashtag1","hashtag2"]},{"1352231485":["hashtag1","hashtag2"]},{"1352231481":["hashtag1","hashtag2"]},{"1352231478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231494, 1352231497, 1352231491, 1352231485, 1352231481, 1352231478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.851324319839478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:54:32.892579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_56_10455.jpg', '/home/pi/Desktop/images/20042025/10/50/image_20042025_10_51_05_9327.jpg', '/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_15_10359.jpg', '/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_25_9451.jpg', '/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_35_10351.jpg', '/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/50/image_20042025_10_50_56_10455.jpg
/home/pi/Desktop/images/20042025/10/50/image_20042025_10_51_05_9327.jpg
/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_15_10359.jpg
/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_25_9451.jpg
/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_35_10351.jpg
/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_46_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231516","1352231519","1352231530","1352231527","1352231521","1352231529"],"photo_ids_order":["1352231516","1352231519","1352231521","1352231527","1352231529","1352231530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/744d6efc5676ce2a91a230563c807059.jpg","text":"TemporaryFile(/tmp/multipartBody2961615388597379997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150133355,"filename":"image_20042025_10_50_56_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4787a1ac274febbbd89de42ab068f399.jpg","text":"TemporaryFile(/tmp/multipartBody3038111378288515392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150133355,"filename":"image_20042025_10_51_05_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8e560a4016254e1be63a3f1a4bf7eab.jpg","text":"TemporaryFile(/tmp/multipartBody5660908211669751082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150133355,"filename":"image_20042025_10_51_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/baad12986f1b47f7756302d4570d80e8.jpg","text":"TemporaryFile(/tmp/multipartBody6089940669751818424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150133355,"filename":"image_20042025_10_51_25_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84786ad9412f080bc81c50d7e40e2e29.jpg","text":"TemporaryFile(/tmp/multipartBody5807885696640623829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150133355,"filename":"image_20042025_10_51_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48145dabc8fdc593424c14d7c2d7e77e.jpg","text":"TemporaryFile(/tmp/multipartBody175314507287848180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150133355,"filename":"image_20042025_10_51_35_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231521","file1":"1352231519","file0":"1352231516","file4":"1352231529","file5":"1352231530","file3":"1352231527"},"map_files_photo_id_array":[{"photo_id":"1352231530","filename":"file5"},{"photo_id":"1352231521","filename":"file2"},{"photo_id":"1352231529","filename":"file4"},{"photo_id":"1352231519","filename":"file1"},{"photo_id":"1352231516","filename":"file0"},{"photo_id":"1352231527","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231516":["hashtag1","hashtag2"]},{"1352231519":["hashtag1","hashtag2"]},{"1352231530":["hashtag1","hashtag2"]},{"1352231527":["hashtag1","hashtag2"]},{"1352231521":["hashtag1","hashtag2"]},{"1352231529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231516, 1352231519, 1352231530, 1352231527, 1352231521, 1352231529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43116855621338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:55:32.237017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_55_9395.jpg', '/home/pi/Desktop/images/20042025/10/51/image_20042025_10_52_05_10374.jpg', '/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_16_10398.jpg', '/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_25_9425.jpg', '/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_36_10355.jpg', '/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_45_9482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/51/image_20042025_10_51_55_9395.jpg
/home/pi/Desktop/images/20042025/10/51/image_20042025_10_52_05_10374.jpg
/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_16_10398.jpg
/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_25_9425.jpg
/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_36_10355.jpg
/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_45_9482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231549","1352231551","1352231541","1352231550","1352231544","1352231547"],"photo_ids_order":["1352231541","1352231544","1352231547","1352231549","1352231550","1352231551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39dfe09aaa7cf4233559296a98940f47.jpg","text":"TemporaryFile(/tmp/multipartBody561743434463374998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150192701,"filename":"image_20042025_10_52_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/522ca09b797c24ffd683e01c13ae0a02.jpg","text":"TemporaryFile(/tmp/multipartBody4192081908012775973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150192701,"filename":"image_20042025_10_52_45_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4f80f47474d00aac121ccda6539005e.jpg","text":"TemporaryFile(/tmp/multipartBody1965654364385712851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150192701,"filename":"image_20042025_10_51_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b41814864efe94c0cf5325a9063d9ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5117929465238020925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150192701,"filename":"image_20042025_10_52_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43e616e501a24ec50fd13618353fe04b.jpg","text":"TemporaryFile(/tmp/multipartBody7310327656145148384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150192701,"filename":"image_20042025_10_52_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c36bd95e09813a0e22857672c42edfe.jpg","text":"TemporaryFile(/tmp/multipartBody5115551536189367500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150192701,"filename":"image_20042025_10_52_16_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231547","file1":"1352231544","file0":"1352231541","file4":"1352231550","file5":"1352231551","file3":"1352231549"},"map_files_photo_id_array":[{"photo_id":"1352231551","filename":"file5"},{"photo_id":"1352231547","filename":"file2"},{"photo_id":"1352231550","filename":"file4"},{"photo_id":"1352231544","filename":"file1"},{"photo_id":"1352231541","filename":"file0"},{"photo_id":"1352231549","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231549":["hashtag1","hashtag2"]},{"1352231551":["hashtag1","hashtag2"]},{"1352231541":["hashtag1","hashtag2"]},{"1352231550":["hashtag1","hashtag2"]},{"1352231544":["hashtag1","hashtag2"]},{"1352231547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231549, 1352231551, 1352231541, 1352231550, 1352231544, 1352231547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57986783981323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:56:32.561220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_55_10361.jpg', '/home/pi/Desktop/images/20042025/10/52/image_20042025_10_53_06_10351.jpg', '/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_15_9408.jpg', '/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_25_10362.jpg', '/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_35_9406.jpg', '/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_45_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/52/image_20042025_10_52_55_10361.jpg
/home/pi/Desktop/images/20042025/10/52/image_20042025_10_53_06_10351.jpg
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_15_9408.jpg
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_25_10362.jpg
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_35_9406.jpg
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_45_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231693","1352231573","1352231567","1352231662","1352231632","1352231604"],"photo_ids_order":["1352231567","1352231573","1352231604","1352231632","1352231662","1352231693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/daf391138da5230423e5992784163f0f.jpg","text":"TemporaryFile(/tmp/multipartBody9204300167607945545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150253024,"filename":"image_20042025_10_53_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1b422f8e014e67239f2b372174278cc.jpg","text":"TemporaryFile(/tmp/multipartBody3814449948834191995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150253024,"filename":"image_20042025_10_53_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58030d03f0359b79289130a7ca5260e4.jpg","text":"TemporaryFile(/tmp/multipartBody6028824145723403150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150253024,"filename":"image_20042025_10_52_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebd9d60a24463788854a0ce4b9cd444b.jpg","text":"TemporaryFile(/tmp/multipartBody7139808450376836889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150253024,"filename":"image_20042025_10_53_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22687fabdfdcd5d5d7bf79bf2295fea5.jpg","text":"TemporaryFile(/tmp/multipartBody9168746635508162906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150253024,"filename":"image_20042025_10_53_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1fce242e82cfcde538a8d87017462eb.jpg","text":"TemporaryFile(/tmp/multipartBody7567210723933966667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150253024,"filename":"image_20042025_10_53_15_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231604","file1":"1352231573","file0":"1352231567","file4":"1352231662","file5":"1352231693","file3":"1352231632"},"map_files_photo_id_array":[{"photo_id":"1352231693","filename":"file5"},{"photo_id":"1352231604","filename":"file2"},{"photo_id":"1352231662","filename":"file4"},{"photo_id":"1352231573","filename":"file1"},{"photo_id":"1352231567","filename":"file0"},{"photo_id":"1352231632","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352231693":["hashtag1","hashtag2"]},{"1352231573":["hashtag1","hashtag2"]},{"1352231567":["hashtag1","hashtag2"]},{"1352231662":["hashtag1","hashtag2"]},{"1352231632":["hashtag1","hashtag2"]},{"1352231604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352231693, 1352231573, 1352231567, 1352231662, 1352231632, 1352231604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61798906326294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 13:57:32.999027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_56_10474.jpg', '/home/pi/Desktop/images/20042025/10/53/image_20042025_10_54_05_9348.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_15_10398.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_25_9357.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_35_10407.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_46_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_56_10474.jpg
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_54_05_9348.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_15_10398.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_25_9357.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_35_10407.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_46_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 13:59:03.733224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_56_10474.jpg', '/home/pi/Desktop/images/20042025/10/53/image_20042025_10_54_05_9348.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_15_10398.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_25_9357.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_35_10407.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_46_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_53_56_10474.jpg
/home/pi/Desktop/images/20042025/10/53/image_20042025_10_54_05_9348.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_15_10398.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_25_9357.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_35_10407.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_46_10416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352232361","1352232355","1352232346","1352232322","1352232365","1352232350"],"photo_ids_order":["1352232322","1352232346","1352232350","1352232355","1352232361","1352232365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bdeb1afd6336cc4d0335b4cfda4dbe50.jpg","text":"TemporaryFile(/tmp/multipartBody5466703742222636121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150404311,"filename":"image_20042025_10_54_35_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cc84321b392d8edaf6eab2afe38c5f9.jpg","text":"TemporaryFile(/tmp/multipartBody4088985089532984880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150404311,"filename":"image_20042025_10_54_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d74bdbcab54eb0bbf6a7a931c14d12e.jpg","text":"TemporaryFile(/tmp/multipartBody2183367860262173329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150404311,"filename":"image_20042025_10_54_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/507718e29f5f606664203ad8239423ef.jpg","text":"TemporaryFile(/tmp/multipartBody5282297144710386159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150404311,"filename":"image_20042025_10_53_56_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/28f9b9232e714284e5553ef239f5267c.jpg","text":"TemporaryFile(/tmp/multipartBody1664940822232182360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150404311,"filename":"image_20042025_10_54_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d32fd18adf8ac3ebc88025a6646a3b74.jpg","text":"TemporaryFile(/tmp/multipartBody1510688669909077465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150404311,"filename":"image_20042025_10_54_15_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352232350","file1":"1352232346","file0":"1352232322","file4":"1352232361","file5":"1352232365","file3":"1352232355"},"map_files_photo_id_array":[{"photo_id":"1352232365","filename":"file5"},{"photo_id":"1352232350","filename":"file2"},{"photo_id":"1352232361","filename":"file4"},{"photo_id":"1352232346","filename":"file1"},{"photo_id":"1352232322","filename":"file0"},{"photo_id":"1352232355","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352232361":["hashtag1","hashtag2"]},{"1352232355":["hashtag1","hashtag2"]},{"1352232346":["hashtag1","hashtag2"]},{"1352232322":["hashtag1","hashtag2"]},{"1352232365":["hashtag1","hashtag2"]},{"1352232350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352232361, 1352232355, 1352232346, 1352232322, 1352232365, 1352232350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22917914390564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 13:59:42.671490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_55_9444.jpg', '/home/pi/Desktop/images/20042025/10/54/image_20042025_10_55_05_10349.jpg', '/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_15_9336.jpg', '/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_25_10357.jpg', '/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_35_10345.jpg', '/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_55_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_54_55_9444.jpg
/home/pi/Desktop/images/20042025/10/54/image_20042025_10_55_05_10349.jpg
/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_15_9336.jpg
/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_25_10357.jpg
/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_35_10345.jpg
/home/pi/Desktop/images/20042025/10/55/image_20042025_10_55_55_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352232487","1352232404","1352232373","1352232506","1352232430","1352232459"],"photo_ids_order":["1352232373","1352232404","1352232430","1352232459","1352232487","1352232506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4eeb07cd8bba7c42f6cf2c21ad8caaa.jpg","text":"TemporaryFile(/tmp/multipartBody4734782250526286126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150443153,"filename":"image_20042025_10_55_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5371f7635072e851beb9bd25ce865093.jpg","text":"TemporaryFile(/tmp/multipartBody4404275792467218174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150443153,"filename":"image_20042025_10_55_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ce34b0a1b2a5ab1f73d4775a06a1a15.jpg","text":"TemporaryFile(/tmp/multipartBody4162467996710727147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150443153,"filename":"image_20042025_10_54_55_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb8ee3088b3b3382cf350fbde787c00f.jpg","text":"TemporaryFile(/tmp/multipartBody1322428241166649583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150443153,"filename":"image_20042025_10_55_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfd513b69d0f2b719f58f68478cf958c.jpg","text":"TemporaryFile(/tmp/multipartBody1715200620645374272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150443153,"filename":"image_20042025_10_55_15_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6634d5b05c4a69f6f93dcee4bfca8840.jpg","text":"TemporaryFile(/tmp/multipartBody3098943906530440406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150443153,"filename":"image_20042025_10_55_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352232430","file1":"1352232404","file0":"1352232373","file4":"1352232487","file5":"1352232506","file3":"1352232459"},"map_files_photo_id_array":[{"photo_id":"1352232506","filename":"file5"},{"photo_id":"1352232430","filename":"file2"},{"photo_id":"1352232487","filename":"file4"},{"photo_id":"1352232404","filename":"file1"},{"photo_id":"1352232373","filename":"file0"},{"photo_id":"1352232459","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352232487":["hashtag1","hashtag2"]},{"1352232404":["hashtag1","hashtag2"]},{"1352232373":["hashtag1","hashtag2"]},{"1352232506":["hashtag1","hashtag2"]},{"1352232430":["hashtag1","hashtag2"]},{"1352232459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352232487, 1352232404, 1352232373, 1352232506, 1352232430, 1352232459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.415762186050415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:00:32.963537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/55/image_20042025_10_56_06_10420.jpg', '/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_15_9400.jpg', '/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_25_10417.jpg', '/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_35_9498.jpg', '/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_45_10446.jpg', '/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_55_9543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/55/image_20042025_10_56_06_10420.jpg
/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_15_9400.jpg
/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_25_10417.jpg
/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_35_9498.jpg
/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_45_10446.jpg
/home/pi/Desktop/images/20042025/10/56/image_20042025_10_56_55_9543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233185","1352232901","1352233182","1352233134","1352233187","1352232989"],"photo_ids_order":["1352232901","1352232989","1352233134","1352233182","1352233185","1352233187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/421fd5c2f919dda5c2d8c91a254f41ea.jpg","text":"TemporaryFile(/tmp/multipartBody6380034255895778302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150493432,"filename":"image_20042025_10_56_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2740a53df5a5980e19f4faa2ad2e56e.jpg","text":"TemporaryFile(/tmp/multipartBody3513435189648165066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150493432,"filename":"image_20042025_10_56_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfe438a4d3b417053c21f2d093e6e34e.jpg","text":"TemporaryFile(/tmp/multipartBody7164527715405350620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150493432,"filename":"image_20042025_10_56_35_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c14cc1a66783ce7e1729845d284be594.jpg","text":"TemporaryFile(/tmp/multipartBody3628000734057049366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150493432,"filename":"image_20042025_10_56_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a8e89ad66a6c73a8cb3737ad3539d58.jpg","text":"TemporaryFile(/tmp/multipartBody1315855366799700345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150493432,"filename":"image_20042025_10_56_55_9543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16858c58a9f25991a483ac105fe733c8.jpg","text":"TemporaryFile(/tmp/multipartBody5767733010983214657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150493432,"filename":"image_20042025_10_56_15_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233134","file1":"1352232989","file0":"1352232901","file4":"1352233185","file5":"1352233187","file3":"1352233182"},"map_files_photo_id_array":[{"photo_id":"1352233187","filename":"file5"},{"photo_id":"1352233134","filename":"file2"},{"photo_id":"1352233185","filename":"file4"},{"photo_id":"1352232989","filename":"file1"},{"photo_id":"1352232901","filename":"file0"},{"photo_id":"1352233182","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233185":["hashtag1","hashtag2"]},{"1352232901":["hashtag1","hashtag2"]},{"1352233182":["hashtag1","hashtag2"]},{"1352233134":["hashtag1","hashtag2"]},{"1352233187":["hashtag1","hashtag2"]},{"1352232989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233185, 1352232901, 1352233182, 1352233134, 1352233187, 1352232989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.994113445281982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:01:32.213202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/56/image_20042025_10_57_05_10447.jpg', '/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_15_9508.jpg', '/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_25_10455.jpg', '/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_35_9359.jpg', '/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_45_10345.jpg', '/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_56_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/56/image_20042025_10_57_05_10447.jpg
/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_15_9508.jpg
/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_25_10455.jpg
/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_35_9359.jpg
/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_45_10345.jpg
/home/pi/Desktop/images/20042025/10/57/image_20042025_10_57_56_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233203","1352233212","1352233206","1352233214","1352233208","1352233217"],"photo_ids_order":["1352233203","1352233206","1352233208","1352233212","1352233214","1352233217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ba15153d5cca95fa6c17b00d9b68e28.jpg","text":"TemporaryFile(/tmp/multipartBody6369241296545581871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150552672,"filename":"image_20042025_10_57_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8338208fb7200213c09869d45746d5c2.jpg","text":"TemporaryFile(/tmp/multipartBody5726923076460117199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150552672,"filename":"image_20042025_10_57_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e34fdb8c4c9ee0177588527ac7e664f2.jpg","text":"TemporaryFile(/tmp/multipartBody199385476002246963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150552672,"filename":"image_20042025_10_57_15_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd8c573fd151012473840828689d36fa.jpg","text":"TemporaryFile(/tmp/multipartBody574443650303170680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150552672,"filename":"image_20042025_10_57_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3ff1577048668b829def057915c5d26.jpg","text":"TemporaryFile(/tmp/multipartBody6272634530194740513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150552672,"filename":"image_20042025_10_57_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5a6e32cdbaf99a76b7f399920681156.jpg","text":"TemporaryFile(/tmp/multipartBody5260328009543703414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150552672,"filename":"image_20042025_10_57_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233208","file1":"1352233206","file0":"1352233203","file4":"1352233214","file5":"1352233217","file3":"1352233212"},"map_files_photo_id_array":[{"photo_id":"1352233217","filename":"file5"},{"photo_id":"1352233208","filename":"file2"},{"photo_id":"1352233214","filename":"file4"},{"photo_id":"1352233206","filename":"file1"},{"photo_id":"1352233203","filename":"file0"},{"photo_id":"1352233212","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233203":["hashtag1","hashtag2"]},{"1352233212":["hashtag1","hashtag2"]},{"1352233206":["hashtag1","hashtag2"]},{"1352233214":["hashtag1","hashtag2"]},{"1352233208":["hashtag1","hashtag2"]},{"1352233217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233203, 1352233212, 1352233206, 1352233214, 1352233208, 1352233217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.59901404380798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:02:32.425466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_15_10342.jpg', '/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_26_10378.jpg', '/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_35_9430.jpg', '/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_46_10432.jpg', '/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_55_9467.jpg', '/home/pi/Desktop/images/20042025/10/58/image_20042025_10_59_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_15_10342.jpg
/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_26_10378.jpg
/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_35_9430.jpg
/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_46_10432.jpg
/home/pi/Desktop/images/20042025/10/58/image_20042025_10_58_55_9467.jpg
/home/pi/Desktop/images/20042025/10/58/image_20042025_10_59_05_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233699","1352233567","1352233599","1352233696","1352233613","1352233529"],"photo_ids_order":["1352233529","1352233567","1352233599","1352233613","1352233696","1352233699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0d7bcb00c9f717b8c8d0d66a8cdbbc6.jpg","text":"TemporaryFile(/tmp/multipartBody6398164422869227167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150612903,"filename":"image_20042025_10_59_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f2a9bc31a1eaca0dfc6472932343b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7141460471279111287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150612903,"filename":"image_20042025_10_58_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/138a4a4abd14fdaf715a18e00234dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody4345455067374114536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150612903,"filename":"image_20042025_10_58_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89e087619aa29e09df7d842316873ec8.jpg","text":"TemporaryFile(/tmp/multipartBody8009699632923548952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150612903,"filename":"image_20042025_10_58_55_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4e509e29716efd80ef26d24c5ddddb9.jpg","text":"TemporaryFile(/tmp/multipartBody7583329222434669863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150612903,"filename":"image_20042025_10_58_46_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b01a1e419ee1bd1bb361f7689fc85ad.jpg","text":"TemporaryFile(/tmp/multipartBody2245532417230953266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150612903,"filename":"image_20042025_10_58_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233599","file1":"1352233567","file0":"1352233529","file4":"1352233696","file5":"1352233699","file3":"1352233613"},"map_files_photo_id_array":[{"photo_id":"1352233699","filename":"file5"},{"photo_id":"1352233599","filename":"file2"},{"photo_id":"1352233696","filename":"file4"},{"photo_id":"1352233567","filename":"file1"},{"photo_id":"1352233529","filename":"file0"},{"photo_id":"1352233613","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233699":["hashtag1","hashtag2"]},{"1352233567":["hashtag1","hashtag2"]},{"1352233599":["hashtag1","hashtag2"]},{"1352233696":["hashtag1","hashtag2"]},{"1352233613":["hashtag1","hashtag2"]},{"1352233529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233699, 1352233567, 1352233599, 1352233696, 1352233613, 1352233529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.64684319496155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:03:42.729206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_15_9496.jpg', '/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_25_10348.jpg', '/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_36_10409.jpg', '/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_45_9344.jpg', '/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_16_10076.jpg', '/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_15_9496.jpg
/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_25_10348.jpg
/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_36_10409.jpg
/home/pi/Desktop/images/20042025/10/59/image_20042025_10_59_45_9344.jpg
/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_16_10076.jpg
/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_26_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233720","1352233705","1352233710","1352233713","1352233707","1352233716"],"photo_ids_order":["1352233705","1352233707","1352233710","1352233713","1352233716","1352233720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc3e6ad794e3843938f0fae7324bf72e.jpg","text":"TemporaryFile(/tmp/multipartBody5801133448807510266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150683200,"filename":"image_20042025_11_00_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/291a01d3845c96ffe38eaf48f7ddff32.jpg","text":"TemporaryFile(/tmp/multipartBody8760962559797322431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150683200,"filename":"image_20042025_10_59_15_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4549c39c14e4a287133b3108101b09c0.jpg","text":"TemporaryFile(/tmp/multipartBody6406999050063785813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150683200,"filename":"image_20042025_10_59_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42051b619553029ce7dfbfc795ec98a5.jpg","text":"TemporaryFile(/tmp/multipartBody3661018387843874346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150683200,"filename":"image_20042025_10_59_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cde075c4d6efdcb6538d2753c2310077.jpg","text":"TemporaryFile(/tmp/multipartBody5259707482900260257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150683200,"filename":"image_20042025_10_59_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25549daf15706f4ff9c216a08b371ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2518485615454538878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150683200,"filename":"image_20042025_11_00_16_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233710","file1":"1352233707","file0":"1352233705","file4":"1352233716","file5":"1352233720","file3":"1352233713"},"map_files_photo_id_array":[{"photo_id":"1352233720","filename":"file5"},{"photo_id":"1352233710","filename":"file2"},{"photo_id":"1352233716","filename":"file4"},{"photo_id":"1352233707","filename":"file1"},{"photo_id":"1352233705","filename":"file0"},{"photo_id":"1352233713","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233720":["hashtag1","hashtag2"]},{"1352233705":["hashtag1","hashtag2"]},{"1352233710":["hashtag1","hashtag2"]},{"1352233713":["hashtag1","hashtag2"]},{"1352233707":["hashtag1","hashtag2"]},{"1352233716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233720, 1352233705, 1352233710, 1352233713, 1352233707, 1352233716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.279255390167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:04:32.976500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_37_10409.jpg', '/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_46_9356.jpg', '/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_56_10407.jpg', '/home/pi/Desktop/images/20042025/11/00/image_20042025_11_01_06_9480.jpg', '/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_16_10357.jpg', '/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_27_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_37_10409.jpg
/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_46_9356.jpg
/home/pi/Desktop/images/20042025/11/00/image_20042025_11_00_56_10407.jpg
/home/pi/Desktop/images/20042025/11/00/image_20042025_11_01_06_9480.jpg
/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_16_10357.jpg
/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_27_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233750","1352233738","1352233747","1352233752","1352233742","1352233736"],"photo_ids_order":["1352233736","1352233738","1352233742","1352233747","1352233750","1352233752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10d8c4af83d24be7ee8ae36378211a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1339282189931200860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150733453,"filename":"image_20042025_11_01_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afb6395f4da03b7b61fecd8643dba5c6.jpg","text":"TemporaryFile(/tmp/multipartBody7614185239767960224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150733453,"filename":"image_20042025_11_00_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/877d530924aeefb400bd1a115e33fe0d.jpg","text":"TemporaryFile(/tmp/multipartBody5541738868941928454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150733453,"filename":"image_20042025_11_01_06_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b63d009d1de0a147dc91deb1a65adacf.jpg","text":"TemporaryFile(/tmp/multipartBody4389961567012557529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150733453,"filename":"image_20042025_11_01_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bc852e46540c6c8ad27b05e2b7c2608.jpg","text":"TemporaryFile(/tmp/multipartBody6975656948814556899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150733453,"filename":"image_20042025_11_00_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbc6f227b1b70b0893ddeeddee690b37.jpg","text":"TemporaryFile(/tmp/multipartBody4869921223712144075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150733453,"filename":"image_20042025_11_00_37_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233742","file1":"1352233738","file0":"1352233736","file4":"1352233750","file5":"1352233752","file3":"1352233747"},"map_files_photo_id_array":[{"photo_id":"1352233752","filename":"file5"},{"photo_id":"1352233742","filename":"file2"},{"photo_id":"1352233750","filename":"file4"},{"photo_id":"1352233738","filename":"file1"},{"photo_id":"1352233736","filename":"file0"},{"photo_id":"1352233747","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233750":["hashtag1","hashtag2"]},{"1352233738":["hashtag1","hashtag2"]},{"1352233747":["hashtag1","hashtag2"]},{"1352233752":["hashtag1","hashtag2"]},{"1352233742":["hashtag1","hashtag2"]},{"1352233736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233750, 1352233738, 1352233747, 1352233752, 1352233742, 1352233736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15758562088013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:05:33.256097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_36_9429.jpg', '/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_46_10425.jpg', '/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_56_9405.jpg', '/home/pi/Desktop/images/20042025/11/01/image_20042025_11_02_06_10389.jpg', '/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_17_10351.jpg', '/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_26_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_36_9429.jpg
/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_46_10425.jpg
/home/pi/Desktop/images/20042025/11/01/image_20042025_11_01_56_9405.jpg
/home/pi/Desktop/images/20042025/11/01/image_20042025_11_02_06_10389.jpg
/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_17_10351.jpg
/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_26_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233777","1352233768","1352233773","1352233782","1352233784","1352233780"],"photo_ids_order":["1352233768","1352233773","1352233777","1352233780","1352233782","1352233784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5a363700e2f7c34a8a05a4ae4a73c99.jpg","text":"TemporaryFile(/tmp/multipartBody6934121481733833707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150793717,"filename":"image_20042025_11_01_56_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfaff2ace6e9b490e970ddb823e8f46d.jpg","text":"TemporaryFile(/tmp/multipartBody9073910083503903415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150793717,"filename":"image_20042025_11_01_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e0250eab5d39954c6142356fc4f7ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4580011473040691599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150793717,"filename":"image_20042025_11_01_46_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3046c431ef8089f4cc57eaee2a2ce3d.jpg","text":"TemporaryFile(/tmp/multipartBody3054985031269251679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150793717,"filename":"image_20042025_11_02_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba53f527beeffcdf8d2a7b65404b278e.jpg","text":"TemporaryFile(/tmp/multipartBody2852480687583909349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150793717,"filename":"image_20042025_11_02_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a21d5929104a4f9aa3c8a183c580a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody2711954775417674299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150793717,"filename":"image_20042025_11_02_06_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233777","file1":"1352233773","file0":"1352233768","file4":"1352233782","file5":"1352233784","file3":"1352233780"},"map_files_photo_id_array":[{"photo_id":"1352233784","filename":"file5"},{"photo_id":"1352233777","filename":"file2"},{"photo_id":"1352233782","filename":"file4"},{"photo_id":"1352233773","filename":"file1"},{"photo_id":"1352233768","filename":"file0"},{"photo_id":"1352233780","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233777":["hashtag1","hashtag2"]},{"1352233768":["hashtag1","hashtag2"]},{"1352233773":["hashtag1","hashtag2"]},{"1352233782":["hashtag1","hashtag2"]},{"1352233784":["hashtag1","hashtag2"]},{"1352233780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233777, 1352233768, 1352233773, 1352233782, 1352233784, 1352233780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.24891495704651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:06:32.605184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_36_10372.jpg', '/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_47_10425.jpg', '/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_56_9440.jpg', '/home/pi/Desktop/images/20042025/11/02/image_20042025_11_03_07_10366.jpg', '/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_16_9474.jpg', '/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_36_10372.jpg
/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_47_10425.jpg
/home/pi/Desktop/images/20042025/11/02/image_20042025_11_02_56_9440.jpg
/home/pi/Desktop/images/20042025/11/02/image_20042025_11_03_07_10366.jpg
/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_16_9474.jpg
/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_26_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233810","1352233813","1352233806","1352233799","1352233817","1352233802"],"photo_ids_order":["1352233799","1352233802","1352233806","1352233810","1352233813","1352233817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b2b54750cff1116259e8824827c6232.jpg","text":"TemporaryFile(/tmp/multipartBody4324362064212405665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150853070,"filename":"image_20042025_11_03_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc5241dff7bc707977cba5151ae180b3.jpg","text":"TemporaryFile(/tmp/multipartBody2283949528646804324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150853070,"filename":"image_20042025_11_03_16_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbe4d24ce0d756f4215383b38f1685d9.jpg","text":"TemporaryFile(/tmp/multipartBody4242867834845156313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150853070,"filename":"image_20042025_11_02_56_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7365dc740bbb40b3937efd83272045ad.jpg","text":"TemporaryFile(/tmp/multipartBody5359135822645411026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150853070,"filename":"image_20042025_11_02_36_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f3607c303750363b52dee11f5917dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1041176011228724263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150853070,"filename":"image_20042025_11_03_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13e4ff40abb4cf2f260f9ad669c759c5.jpg","text":"TemporaryFile(/tmp/multipartBody4180834932978687192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150853070,"filename":"image_20042025_11_02_47_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233806","file1":"1352233802","file0":"1352233799","file4":"1352233813","file5":"1352233817","file3":"1352233810"},"map_files_photo_id_array":[{"photo_id":"1352233817","filename":"file5"},{"photo_id":"1352233806","filename":"file2"},{"photo_id":"1352233813","filename":"file4"},{"photo_id":"1352233802","filename":"file1"},{"photo_id":"1352233799","filename":"file0"},{"photo_id":"1352233810","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233810":["hashtag1","hashtag2"]},{"1352233813":["hashtag1","hashtag2"]},{"1352233806":["hashtag1","hashtag2"]},{"1352233799":["hashtag1","hashtag2"]},{"1352233817":["hashtag1","hashtag2"]},{"1352233802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233810, 1352233813, 1352233806, 1352233799, 1352233817, 1352233802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.006027936935425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:07:32.817266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_36_9425.jpg', '/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_46_10374.jpg', '/home/pi/Desktop/images/20042025/11/03/image_20042025_11_04_06_9334.jpg', '/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_16_10345.jpg', '/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_27_10408.jpg', '/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_36_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_36_9425.jpg
/home/pi/Desktop/images/20042025/11/03/image_20042025_11_03_46_10374.jpg
/home/pi/Desktop/images/20042025/11/03/image_20042025_11_04_06_9334.jpg
/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_16_10345.jpg
/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_27_10408.jpg
/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_36_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233840","1352233848","1352233830","1352233844","1352233826","1352233835"],"photo_ids_order":["1352233826","1352233830","1352233835","1352233840","1352233844","1352233848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a66fc0b1ac4a7933dd8d8f1133d29f1.jpg","text":"TemporaryFile(/tmp/multipartBody7689776342320342541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150913289,"filename":"image_20042025_11_04_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ddcb6955c2704fd5b98c81946962843.jpg","text":"TemporaryFile(/tmp/multipartBody3287377646313280669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150913289,"filename":"image_20042025_11_04_36_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f625f690b9bf2a068b2e28b6679e73a.jpg","text":"TemporaryFile(/tmp/multipartBody8533487328997749441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150913289,"filename":"image_20042025_11_03_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d846f7aa5daa7d49c9c0e1875dad81a5.jpg","text":"TemporaryFile(/tmp/multipartBody7523069655193098338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150913289,"filename":"image_20042025_11_04_27_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/617fa30a0f230d89a4deaf8210e3f802.jpg","text":"TemporaryFile(/tmp/multipartBody8868152840807420324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150913289,"filename":"image_20042025_11_03_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/593f7c8943654b5339fac43759b167ce.jpg","text":"TemporaryFile(/tmp/multipartBody7764164236170101207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150913289,"filename":"image_20042025_11_04_06_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233835","file1":"1352233830","file0":"1352233826","file4":"1352233844","file5":"1352233848","file3":"1352233840"},"map_files_photo_id_array":[{"photo_id":"1352233848","filename":"file5"},{"photo_id":"1352233835","filename":"file2"},{"photo_id":"1352233844","filename":"file4"},{"photo_id":"1352233830","filename":"file1"},{"photo_id":"1352233826","filename":"file0"},{"photo_id":"1352233840","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233840":["hashtag1","hashtag2"]},{"1352233848":["hashtag1","hashtag2"]},{"1352233830":["hashtag1","hashtag2"]},{"1352233844":["hashtag1","hashtag2"]},{"1352233826":["hashtag1","hashtag2"]},{"1352233835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233840, 1352233848, 1352233830, 1352233844, 1352233826, 1352233835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26833510398865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:08:33.074014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_47_10369.jpg', '/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_56_9464.jpg', '/home/pi/Desktop/images/20042025/11/04/image_20042025_11_05_06_10470.jpg', '/home/pi/Desktop/images/20042025/11/05/image_20042025_11_05_17_10348.jpg', '/home/pi/Desktop/images/20042025/11/05/image_20042025_11_05_26_9447.jpg', '/home/pi/Desktop/images/20042025/11/05/image_20042025_11_05_46_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_47_10369.jpg
/home/pi/Desktop/images/20042025/11/04/image_20042025_11_04_56_9464.jpg
/home/pi/Desktop/images/20042025/11/04/image_20042025_11_05_06_10470.jpg
/home/pi/Desktop/images/20042025/11/05/image_20042025_11_05_17_10348.jpg
/home/pi/Desktop/images/20042025/11/05/image_20042025_11_05_26_9447.jpg
/home/pi/Desktop/images/20042025/11/05/image_20042025_11_05_46_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233855","1352233858","1352233881","1352233860","1352233877","1352233874"],"photo_ids_order":["1352233855","1352233858","1352233860","1352233874","1352233877","1352233881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3134513ca1455d6d77d126a0d0fbd03.jpg","text":"TemporaryFile(/tmp/multipartBody4095313307182978261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150973543,"filename":"image_20042025_11_04_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a15f412835a5e3be12386fa24f6b9517.jpg","text":"TemporaryFile(/tmp/multipartBody2656704739650936808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150973543,"filename":"image_20042025_11_04_56_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/530bf8e65f26c42099d48b9638f7d32b.jpg","text":"TemporaryFile(/tmp/multipartBody2564381517518981971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150973543,"filename":"image_20042025_11_05_46_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/210b10d61b6e4f38f12b6ad1eb2747f9.jpg","text":"TemporaryFile(/tmp/multipartBody2928538581014991801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150973543,"filename":"image_20042025_11_05_06_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79077b3dc3586b07632a27cb97bb14ea.jpg","text":"TemporaryFile(/tmp/multipartBody6656077522004024906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150973543,"filename":"image_20042025_11_05_26_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50d4366cb7ae5442ee5d6fef1e8aa8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4207947032043032193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745150973543,"filename":"image_20042025_11_05_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233860","file1":"1352233858","file0":"1352233855","file4":"1352233877","file5":"1352233881","file3":"1352233874"},"map_files_photo_id_array":[{"photo_id":"1352233881","filename":"file5"},{"photo_id":"1352233860","filename":"file2"},{"photo_id":"1352233877","filename":"file4"},{"photo_id":"1352233858","filename":"file1"},{"photo_id":"1352233855","filename":"file0"},{"photo_id":"1352233874","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233855":["hashtag1","hashtag2"]},{"1352233858":["hashtag1","hashtag2"]},{"1352233881":["hashtag1","hashtag2"]},{"1352233860":["hashtag1","hashtag2"]},{"1352233877":["hashtag1","hashtag2"]},{"1352233874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233855, 1352233858, 1352233881, 1352233860, 1352233877, 1352233874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.98145008087158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:09:32.393045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_16_9411.jpg', '/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_27_10361.jpg', '/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_36_9474.jpg', '/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_46_10405.jpg', '/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_57_10354.jpg', '/home/pi/Desktop/images/20042025/11/06/image_20042025_11_07_06_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_16_9411.jpg
/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_27_10361.jpg
/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_36_9474.jpg
/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_46_10405.jpg
/home/pi/Desktop/images/20042025/11/06/image_20042025_11_06_57_10354.jpg
/home/pi/Desktop/images/20042025/11/06/image_20042025_11_07_06_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233902","1352233905","1352233898","1352233910","1352233894","1352233888"],"photo_ids_order":["1352233888","1352233894","1352233898","1352233902","1352233905","1352233910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bec553bb161645dcd820c84b56294581.jpg","text":"TemporaryFile(/tmp/multipartBody8949378604339554198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151032868,"filename":"image_20042025_11_06_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73f8754d38cec7c2a5c03ff8dac6ec47.jpg","text":"TemporaryFile(/tmp/multipartBody7363951320273540689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151032868,"filename":"image_20042025_11_06_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09de2354529a511037a6fbba58998764.jpg","text":"TemporaryFile(/tmp/multipartBody6831686527489948179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151032868,"filename":"image_20042025_11_06_36_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45f934a4e811bbbe71430a942e2e52d0.jpg","text":"TemporaryFile(/tmp/multipartBody4770247193936755839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151032868,"filename":"image_20042025_11_07_06_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24c5c24a45d1d70cfb032b926209fe8c.jpg","text":"TemporaryFile(/tmp/multipartBody3619419382726776581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151032868,"filename":"image_20042025_11_06_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4c870833c4637af3f6d64c1b3664f49.jpg","text":"TemporaryFile(/tmp/multipartBody5736459381673536963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151032868,"filename":"image_20042025_11_06_16_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233898","file1":"1352233894","file0":"1352233888","file4":"1352233905","file5":"1352233910","file3":"1352233902"},"map_files_photo_id_array":[{"photo_id":"1352233910","filename":"file5"},{"photo_id":"1352233898","filename":"file2"},{"photo_id":"1352233905","filename":"file4"},{"photo_id":"1352233894","filename":"file1"},{"photo_id":"1352233888","filename":"file0"},{"photo_id":"1352233902","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233902":["hashtag1","hashtag2"]},{"1352233905":["hashtag1","hashtag2"]},{"1352233898":["hashtag1","hashtag2"]},{"1352233910":["hashtag1","hashtag2"]},{"1352233894":["hashtag1","hashtag2"]},{"1352233888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233902, 1352233905, 1352233898, 1352233910, 1352233894, 1352233888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23554301261902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:10:32.430199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_17_10377.jpg', '/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_26_9434.jpg', '/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_36_10359.jpg', '/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_47_10402.jpg', '/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_56_9356.jpg', '/home/pi/Desktop/images/20042025/11/07/image_20042025_11_08_06_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_17_10377.jpg
/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_26_9434.jpg
/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_36_10359.jpg
/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_47_10402.jpg
/home/pi/Desktop/images/20042025/11/07/image_20042025_11_07_56_9356.jpg
/home/pi/Desktop/images/20042025/11/07/image_20042025_11_08_06_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233935","1352233932","1352233946","1352233949","1352233940","1352233928"],"photo_ids_order":["1352233928","1352233932","1352233935","1352233940","1352233946","1352233949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44bf35f83dbb7ed71074171c284f18e5.jpg","text":"TemporaryFile(/tmp/multipartBody4015470219928925442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151092905,"filename":"image_20042025_11_07_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e95badfa23624d62889645e393b81820.jpg","text":"TemporaryFile(/tmp/multipartBody82083013753098693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151092905,"filename":"image_20042025_11_07_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56bee70b9a9fe3b1549865af2dd3096d.jpg","text":"TemporaryFile(/tmp/multipartBody5718752046283454301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151092905,"filename":"image_20042025_11_07_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b46d9197c35c942502f5e55787cbe1f6.jpg","text":"TemporaryFile(/tmp/multipartBody2856550092422862298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151092905,"filename":"image_20042025_11_08_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af6255c1fdc98ba99241b88c8cc89f0c.jpg","text":"TemporaryFile(/tmp/multipartBody1972742532914487203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151092905,"filename":"image_20042025_11_07_47_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72fa46b5943e0a3cf5fa3eebad6a992d.jpg","text":"TemporaryFile(/tmp/multipartBody915047630324499100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151092905,"filename":"image_20042025_11_07_17_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233935","file1":"1352233932","file0":"1352233928","file4":"1352233946","file5":"1352233949","file3":"1352233940"},"map_files_photo_id_array":[{"photo_id":"1352233949","filename":"file5"},{"photo_id":"1352233935","filename":"file2"},{"photo_id":"1352233946","filename":"file4"},{"photo_id":"1352233932","filename":"file1"},{"photo_id":"1352233928","filename":"file0"},{"photo_id":"1352233940","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352233935":["hashtag1","hashtag2"]},{"1352233932":["hashtag1","hashtag2"]},{"1352233946":["hashtag1","hashtag2"]},{"1352233949":["hashtag1","hashtag2"]},{"1352233940":["hashtag1","hashtag2"]},{"1352233928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352233935, 1352233932, 1352233946, 1352233949, 1352233940, 1352233928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.239245414733887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:11:32.717380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_17_10365.jpg', '/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_26_9359.jpg', '/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_37_10367.jpg', '/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_46_9472.jpg', '/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_56_10346.jpg', '/home/pi/Desktop/images/20042025/11/09/image_20042025_11_09_16_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_17_10365.jpg
/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_26_9359.jpg
/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_37_10367.jpg
/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_46_9472.jpg
/home/pi/Desktop/images/20042025/11/08/image_20042025_11_08_56_10346.jpg
/home/pi/Desktop/images/20042025/11/09/image_20042025_11_09_16_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352234209","1352234239","1352234154","1352234290","1352234266","1352234182"],"photo_ids_order":["1352234154","1352234182","1352234209","1352234239","1352234266","1352234290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba7613d477e02b17aa7882bc2a77ec0b.jpg","text":"TemporaryFile(/tmp/multipartBody882412670862559576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151153173,"filename":"image_20042025_11_08_37_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bed82665a426840123b7b42c52903947.jpg","text":"TemporaryFile(/tmp/multipartBody105582045632940355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151153173,"filename":"image_20042025_11_08_46_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a186bf620970d3f8a571dadc8bcff438.jpg","text":"TemporaryFile(/tmp/multipartBody6263847855531847280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151153173,"filename":"image_20042025_11_08_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af93dc218493ba82e6d96c33c4c107a3.jpg","text":"TemporaryFile(/tmp/multipartBody7351446808422099252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151153173,"filename":"image_20042025_11_09_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63efea47e2c61ab91800c78452e0db91.jpg","text":"TemporaryFile(/tmp/multipartBody2205483577526546761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151153173,"filename":"image_20042025_11_08_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9cb0ebcba1a572ca1481d2b4ba79990.jpg","text":"TemporaryFile(/tmp/multipartBody5584522342189442372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151153173,"filename":"image_20042025_11_08_26_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352234209","file1":"1352234182","file0":"1352234154","file4":"1352234266","file5":"1352234290","file3":"1352234239"},"map_files_photo_id_array":[{"photo_id":"1352234290","filename":"file5"},{"photo_id":"1352234209","filename":"file2"},{"photo_id":"1352234266","filename":"file4"},{"photo_id":"1352234182","filename":"file1"},{"photo_id":"1352234154","filename":"file0"},{"photo_id":"1352234239","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352234209":["hashtag1","hashtag2"]},{"1352234239":["hashtag1","hashtag2"]},{"1352234154":["hashtag1","hashtag2"]},{"1352234290":["hashtag1","hashtag2"]},{"1352234266":["hashtag1","hashtag2"]},{"1352234182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352234209, 1352234239, 1352234154, 1352234290, 1352234266, 1352234182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.132864713668823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:12:32.900630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/09/image_20042025_11_09_46_10363.jpg', '/home/pi/Desktop/images/20042025/11/09/image_20042025_11_09_57_10373.jpg', '/home/pi/Desktop/images/20042025/11/09/image_20042025_11_10_06_9347.jpg', '/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_17_10356.jpg', '/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_26_9479.jpg', '/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/09/image_20042025_11_09_46_10363.jpg
/home/pi/Desktop/images/20042025/11/09/image_20042025_11_09_57_10373.jpg
/home/pi/Desktop/images/20042025/11/09/image_20042025_11_10_06_9347.jpg
/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_17_10356.jpg
/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_26_9479.jpg
/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352234586","1352234643","1352234693","1352234615","1352234723","1352234560"],"photo_ids_order":["1352234560","1352234586","1352234615","1352234643","1352234693","1352234723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6771fd963c348878053ab5eab8d2d9a.jpg","text":"TemporaryFile(/tmp/multipartBody6514870643008648800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151213372,"filename":"image_20042025_11_09_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd40c729b574caea11877f7ca69ea554.jpg","text":"TemporaryFile(/tmp/multipartBody2262741511933121035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151213372,"filename":"image_20042025_11_10_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c135c9f702344b53ea4f5604826c7a69.jpg","text":"TemporaryFile(/tmp/multipartBody8460427737022692557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151213372,"filename":"image_20042025_11_10_26_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc2c01130d387b657f5daeb7414dade0.jpg","text":"TemporaryFile(/tmp/multipartBody5297144813234243487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151213372,"filename":"image_20042025_11_10_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60b4ee06024a7975dfda04312744adca.jpg","text":"TemporaryFile(/tmp/multipartBody3830175734188448983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151213372,"filename":"image_20042025_11_10_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c0e670db4b14e270b2669154b2bad29.jpg","text":"TemporaryFile(/tmp/multipartBody4780778833957323350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151213372,"filename":"image_20042025_11_09_46_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352234615","file1":"1352234586","file0":"1352234560","file4":"1352234693","file5":"1352234723","file3":"1352234643"},"map_files_photo_id_array":[{"photo_id":"1352234723","filename":"file5"},{"photo_id":"1352234615","filename":"file2"},{"photo_id":"1352234693","filename":"file4"},{"photo_id":"1352234586","filename":"file1"},{"photo_id":"1352234560","filename":"file0"},{"photo_id":"1352234643","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352234586":["hashtag1","hashtag2"]},{"1352234643":["hashtag1","hashtag2"]},{"1352234693":["hashtag1","hashtag2"]},{"1352234615":["hashtag1","hashtag2"]},{"1352234723":["hashtag1","hashtag2"]},{"1352234560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352234586, 1352234643, 1352234693, 1352234615, 1352234723, 1352234560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42048645019531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:13:33.233277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_47_10344.jpg', '/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_56_9414.jpg', '/home/pi/Desktop/images/20042025/11/10/image_20042025_11_11_06_10341.jpg', '/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_17_10363.jpg', '/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_26_9364.jpg', '/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_37_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_47_10344.jpg
/home/pi/Desktop/images/20042025/11/10/image_20042025_11_10_56_9414.jpg
/home/pi/Desktop/images/20042025/11/10/image_20042025_11_11_06_10341.jpg
/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_17_10363.jpg
/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_26_9364.jpg
/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_37_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235030","1352235089","1352234999","1352234972","1352235058","1352235118"],"photo_ids_order":["1352234972","1352234999","1352235030","1352235058","1352235089","1352235118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fef1875df2488ded622235c176758087.jpg","text":"TemporaryFile(/tmp/multipartBody7766968215498658662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151273697,"filename":"image_20042025_11_11_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ac2e772d5661c6020bb4ccb6bc97592.jpg","text":"TemporaryFile(/tmp/multipartBody3232048381207775480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151273697,"filename":"image_20042025_11_11_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ca728626fb7549220990137255c1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4620198303436963866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151273697,"filename":"image_20042025_11_10_56_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0db300595e4817f09e53d39079e5ade.jpg","text":"TemporaryFile(/tmp/multipartBody2732141085499015843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151273697,"filename":"image_20042025_11_10_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/094a54655d8dbf872f312d8d2099299f.jpg","text":"TemporaryFile(/tmp/multipartBody6484454974322766155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151273697,"filename":"image_20042025_11_11_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f7daec2f6dd3f81197ab8b5af9c8416.jpg","text":"TemporaryFile(/tmp/multipartBody4980751315634015305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151273697,"filename":"image_20042025_11_11_37_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235030","file1":"1352234999","file0":"1352234972","file4":"1352235089","file5":"1352235118","file3":"1352235058"},"map_files_photo_id_array":[{"photo_id":"1352235118","filename":"file5"},{"photo_id":"1352235030","filename":"file2"},{"photo_id":"1352235089","filename":"file4"},{"photo_id":"1352234999","filename":"file1"},{"photo_id":"1352234972","filename":"file0"},{"photo_id":"1352235058","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352235030":["hashtag1","hashtag2"]},{"1352235089":["hashtag1","hashtag2"]},{"1352234999":["hashtag1","hashtag2"]},{"1352234972":["hashtag1","hashtag2"]},{"1352235058":["hashtag1","hashtag2"]},{"1352235118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352235030, 1352235089, 1352234999, 1352234972, 1352235058, 1352235118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.07856011390686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:14:32.242577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_46_9385.jpg', '/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_56_10394.jpg', '/home/pi/Desktop/images/20042025/11/11/image_20042025_11_12_07_10346.jpg', '/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_16_9414.jpg', '/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_27_10437.jpg', '/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_36_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_46_9385.jpg
/home/pi/Desktop/images/20042025/11/11/image_20042025_11_11_56_10394.jpg
/home/pi/Desktop/images/20042025/11/11/image_20042025_11_12_07_10346.jpg
/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_16_9414.jpg
/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_27_10437.jpg
/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_36_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235468","1352235522","1352235497","1352235434","1352235404","1352235378"],"photo_ids_order":["1352235378","1352235404","1352235434","1352235468","1352235497","1352235522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4695244b0fcc09dd8f815c20a97dfef9.jpg","text":"TemporaryFile(/tmp/multipartBody6004008077750260219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151332715,"filename":"image_20042025_11_12_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/061adf8d7323e97e6e1f09fcde4776cf.jpg","text":"TemporaryFile(/tmp/multipartBody624413594028963751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151332715,"filename":"image_20042025_11_12_36_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/785c7f582e1c58fa4bffc02712290f2e.jpg","text":"TemporaryFile(/tmp/multipartBody1928383164527079587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151332715,"filename":"image_20042025_11_12_27_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e42b8566eb988c2a47000d86a3447e28.jpg","text":"TemporaryFile(/tmp/multipartBody2157895386260116211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151332715,"filename":"image_20042025_11_12_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a80e1c18fc5f4dfdee2f869ac26ad37.jpg","text":"TemporaryFile(/tmp/multipartBody8244109395295439531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151332715,"filename":"image_20042025_11_11_56_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60128ddd83c7fd95b413ae340956c03f.jpg","text":"TemporaryFile(/tmp/multipartBody7310834984271447027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151332715,"filename":"image_20042025_11_11_46_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235434","file1":"1352235404","file0":"1352235378","file4":"1352235497","file5":"1352235522","file3":"1352235468"},"map_files_photo_id_array":[{"photo_id":"1352235522","filename":"file5"},{"photo_id":"1352235434","filename":"file2"},{"photo_id":"1352235497","filename":"file4"},{"photo_id":"1352235404","filename":"file1"},{"photo_id":"1352235378","filename":"file0"},{"photo_id":"1352235468","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352235468":["hashtag1","hashtag2"]},{"1352235522":["hashtag1","hashtag2"]},{"1352235497":["hashtag1","hashtag2"]},{"1352235434":["hashtag1","hashtag2"]},{"1352235404":["hashtag1","hashtag2"]},{"1352235378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352235468, 1352235522, 1352235497, 1352235434, 1352235404, 1352235378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.764824151992798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:15:32.504710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_46_10369.jpg', '/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_57_10420.jpg', '/home/pi/Desktop/images/20042025/11/12/image_20042025_11_13_06_9352.jpg', '/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_16_10343.jpg', '/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_26_9493.jpg', '/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_46_10369.jpg
/home/pi/Desktop/images/20042025/11/12/image_20042025_11_12_57_10420.jpg
/home/pi/Desktop/images/20042025/11/12/image_20042025_11_13_06_9352.jpg
/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_16_10343.jpg
/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_26_9493.jpg
/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235788","1352235815","1352235871","1352235865","1352235868","1352235841"],"photo_ids_order":["1352235788","1352235815","1352235841","1352235865","1352235868","1352235871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23f253d750bba5fed9b4fa466327955a.jpg","text":"TemporaryFile(/tmp/multipartBody7133469382243502855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151392962,"filename":"image_20042025_11_12_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2768691816b9702098d3557301a22e26.jpg","text":"TemporaryFile(/tmp/multipartBody571468541557495801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151392962,"filename":"image_20042025_11_12_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0206114a886962417ef4a8c1f4f0c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2609190284563793565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151392962,"filename":"image_20042025_11_13_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa4e8eee49e57cfdf10a45ef1d96030c.jpg","text":"TemporaryFile(/tmp/multipartBody7424032628115921398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151392962,"filename":"image_20042025_11_13_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36cbde6610b0709b0ad56ace4b86b04c.jpg","text":"TemporaryFile(/tmp/multipartBody9041748235746467650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151392962,"filename":"image_20042025_11_13_26_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2db0f9e788b1bd84e809c7e03e24f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody7786420460306308642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151392962,"filename":"image_20042025_11_13_06_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235841","file1":"1352235815","file0":"1352235788","file4":"1352235868","file5":"1352235871","file3":"1352235865"},"map_files_photo_id_array":[{"photo_id":"1352235871","filename":"file5"},{"photo_id":"1352235841","filename":"file2"},{"photo_id":"1352235868","filename":"file4"},{"photo_id":"1352235815","filename":"file1"},{"photo_id":"1352235788","filename":"file0"},{"photo_id":"1352235865","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352235788":["hashtag1","hashtag2"]},{"1352235815":["hashtag1","hashtag2"]},{"1352235871":["hashtag1","hashtag2"]},{"1352235865":["hashtag1","hashtag2"]},{"1352235868":["hashtag1","hashtag2"]},{"1352235841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352235788, 1352235815, 1352235871, 1352235865, 1352235868, 1352235841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05062770843506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:16:32.830809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_47_10373.jpg', '/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_56_9399.jpg', '/home/pi/Desktop/images/20042025/11/13/image_20042025_11_14_06_10345.jpg', '/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_17_10353.jpg', '/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_26_9358.jpg', '/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_37_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_47_10373.jpg
/home/pi/Desktop/images/20042025/11/13/image_20042025_11_13_56_9399.jpg
/home/pi/Desktop/images/20042025/11/13/image_20042025_11_14_06_10345.jpg
/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_17_10353.jpg
/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_26_9358.jpg
/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_37_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235899","1352235890","1352235908","1352235886","1352235904","1352235894"],"photo_ids_order":["1352235886","1352235890","1352235894","1352235899","1352235904","1352235908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8502b5c94e2805057054f69da5501ecf.jpg","text":"TemporaryFile(/tmp/multipartBody7327794536307944166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151453291,"filename":"image_20042025_11_14_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7842d8608443b5820af6664562ab13b.jpg","text":"TemporaryFile(/tmp/multipartBody5015413545369695710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151453291,"filename":"image_20042025_11_13_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebd6f89db8d90b925f5fa68c7ff68d69.jpg","text":"TemporaryFile(/tmp/multipartBody2892662917943862494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151453291,"filename":"image_20042025_11_14_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68dca43768e0657c2c026e4affc74783.jpg","text":"TemporaryFile(/tmp/multipartBody162927022440538014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151453291,"filename":"image_20042025_11_13_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52fcb324682f52639ef8332eb1aa08bf.jpg","text":"TemporaryFile(/tmp/multipartBody292632285329991433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151453291,"filename":"image_20042025_11_14_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ece1781f79025ece2391f2196e74365.jpg","text":"TemporaryFile(/tmp/multipartBody4116357710319759343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151453291,"filename":"image_20042025_11_14_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235894","file1":"1352235890","file0":"1352235886","file4":"1352235904","file5":"1352235908","file3":"1352235899"},"map_files_photo_id_array":[{"photo_id":"1352235908","filename":"file5"},{"photo_id":"1352235894","filename":"file2"},{"photo_id":"1352235904","filename":"file4"},{"photo_id":"1352235890","filename":"file1"},{"photo_id":"1352235886","filename":"file0"},{"photo_id":"1352235899","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352235899":["hashtag1","hashtag2"]},{"1352235890":["hashtag1","hashtag2"]},{"1352235908":["hashtag1","hashtag2"]},{"1352235886":["hashtag1","hashtag2"]},{"1352235904":["hashtag1","hashtag2"]},{"1352235894":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352235899, 1352235890, 1352235908, 1352235886, 1352235904, 1352235894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.452265739440918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:17:33.051981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_56_10368.jpg', '/home/pi/Desktop/images/20042025/11/14/image_20042025_11_15_07_10341.jpg', '/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_16_9345.jpg', '/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_26_10424.jpg', '/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_46_9353.jpg', '/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_57_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/14/image_20042025_11_14_56_10368.jpg
/home/pi/Desktop/images/20042025/11/14/image_20042025_11_15_07_10341.jpg
/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_16_9345.jpg
/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_26_10424.jpg
/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_46_9353.jpg
/home/pi/Desktop/images/20042025/11/15/image_20042025_11_15_57_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236116","1352236199","1352236031","1352236090","1352236164","1352236062"],"photo_ids_order":["1352236031","1352236062","1352236090","1352236116","1352236164","1352236199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/417c7a2aca0eacfe4390101a69ec9f59.jpg","text":"TemporaryFile(/tmp/multipartBody2767967010586072411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151513525,"filename":"image_20042025_11_15_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1711b28badbbe405e2492b7e08db360.jpg","text":"TemporaryFile(/tmp/multipartBody4652685088642314049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151513525,"filename":"image_20042025_11_15_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40a07846898f96b3862c1480cad3fe14.jpg","text":"TemporaryFile(/tmp/multipartBody6351624351868064040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151513525,"filename":"image_20042025_11_14_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/841e8812ed7dbc4d902376765cfd1460.jpg","text":"TemporaryFile(/tmp/multipartBody8516982222422571178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151513525,"filename":"image_20042025_11_15_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1403600e8ec1027034b0ab6276bf9a4a.jpg","text":"TemporaryFile(/tmp/multipartBody1531380868937246226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151513525,"filename":"image_20042025_11_15_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/189ae4e7b60a4463d2c9f71c9038d59b.jpg","text":"TemporaryFile(/tmp/multipartBody9048220139143426803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151513525,"filename":"image_20042025_11_15_07_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236090","file1":"1352236062","file0":"1352236031","file4":"1352236164","file5":"1352236199","file3":"1352236116"},"map_files_photo_id_array":[{"photo_id":"1352236199","filename":"file5"},{"photo_id":"1352236090","filename":"file2"},{"photo_id":"1352236164","filename":"file4"},{"photo_id":"1352236062","filename":"file1"},{"photo_id":"1352236031","filename":"file0"},{"photo_id":"1352236116","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352236116":["hashtag1","hashtag2"]},{"1352236199":["hashtag1","hashtag2"]},{"1352236031":["hashtag1","hashtag2"]},{"1352236090":["hashtag1","hashtag2"]},{"1352236164":["hashtag1","hashtag2"]},{"1352236062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352236116, 1352236199, 1352236031, 1352236090, 1352236164, 1352236062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.717607259750366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:18:32.224967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/15/image_20042025_11_16_06_9433.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_16_10351.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_27_10413.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_36_9370.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_17_06_10430.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_17_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/15/image_20042025_11_16_06_9433.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_16_10351.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_27_10413.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_36_9370.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_17_06_10430.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_17_10372.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4497053623199463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:18:42.196056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/15/image_20042025_11_16_06_9433.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_16_10351.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_27_10413.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_36_9370.jpg', '/home/pi/Desktop/images/20042025/11/16/image_20042025_11_17_06_10430.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_17_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/15/image_20042025_11_16_06_9433.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_16_10351.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_27_10413.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_16_36_9370.jpg
/home/pi/Desktop/images/20042025/11/16/image_20042025_11_17_06_10430.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_17_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236308","1352236311","1352236304","1352236312","1352236296","1352236300"],"photo_ids_order":["1352236296","1352236300","1352236304","1352236308","1352236311","1352236312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c08c8b766b1d448e417930d8fbbbd3d2.jpg","text":"TemporaryFile(/tmp/multipartBody106937169735380908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151582669,"filename":"image_20042025_11_16_36_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3eaa5bad2e6ef0645fe881aba539a522.jpg","text":"TemporaryFile(/tmp/multipartBody7882797745146555169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151582669,"filename":"image_20042025_11_17_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e6eb593a53822ede2cbacd13763f7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6768946833034950346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151582669,"filename":"image_20042025_11_16_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b86a91a19cb71597dfdcb20c594dba7.jpg","text":"TemporaryFile(/tmp/multipartBody6216260894537285057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151582669,"filename":"image_20042025_11_17_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24ba5b06034e8d731915317b0697d072.jpg","text":"TemporaryFile(/tmp/multipartBody2021368092874171120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151582669,"filename":"image_20042025_11_16_06_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05bd0ed94f68f4cbbefc83231128115a.jpg","text":"TemporaryFile(/tmp/multipartBody5897460660297974907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151582669,"filename":"image_20042025_11_16_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236304","file1":"1352236300","file0":"1352236296","file4":"1352236311","file5":"1352236312","file3":"1352236308"},"map_files_photo_id_array":[{"photo_id":"1352236312","filename":"file5"},{"photo_id":"1352236304","filename":"file2"},{"photo_id":"1352236311","filename":"file4"},{"photo_id":"1352236300","filename":"file1"},{"photo_id":"1352236296","filename":"file0"},{"photo_id":"1352236308","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352236308":["hashtag1","hashtag2"]},{"1352236311":["hashtag1","hashtag2"]},{"1352236304":["hashtag1","hashtag2"]},{"1352236312":["hashtag1","hashtag2"]},{"1352236296":["hashtag1","hashtag2"]},{"1352236300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352236308, 1352236311, 1352236304, 1352236312, 1352236296, 1352236300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.81324338912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:19:32.561864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_26_9401.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_36_10356.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_47_10361.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_56_9427.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_18_07_10343.jpg', '/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_16_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_26_9401.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_36_10356.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_47_10361.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_56_9427.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_18_07_10343.jpg
/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_16_9479.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3807399272918701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:19:42.429183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_26_9401.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_36_10356.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_47_10361.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_56_9427.jpg', '/home/pi/Desktop/images/20042025/11/17/image_20042025_11_18_07_10343.jpg', '/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_16_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_26_9401.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_36_10356.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_47_10361.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_17_56_9427.jpg
/home/pi/Desktop/images/20042025/11/17/image_20042025_11_18_07_10343.jpg
/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_16_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236349","1352236379","1352236331","1352236441","1352236408","1352236470"],"photo_ids_order":["1352236331","1352236349","1352236379","1352236408","1352236441","1352236470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3f9b1b1bf9c2829f664f5f0a916555d.jpg","text":"TemporaryFile(/tmp/multipartBody5391013213861298455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151642905,"filename":"image_20042025_11_17_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e8a814ca94eacf256a213cb6baa06aa.jpg","text":"TemporaryFile(/tmp/multipartBody5823568589889446133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151642905,"filename":"image_20042025_11_17_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbf357adbb306892e175029beaed964c.jpg","text":"TemporaryFile(/tmp/multipartBody801926975986315255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151642905,"filename":"image_20042025_11_17_26_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61fa51b7e06d4ecda4ead589182844be.jpg","text":"TemporaryFile(/tmp/multipartBody6188964975704593070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151642905,"filename":"image_20042025_11_18_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/011b01b3138c352524eea6047fcea5c3.jpg","text":"TemporaryFile(/tmp/multipartBody6036765006667671867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151642905,"filename":"image_20042025_11_17_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03287dabd08c6616d58e044786e09078.jpg","text":"TemporaryFile(/tmp/multipartBody7203137441353418715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151642905,"filename":"image_20042025_11_18_16_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236379","file1":"1352236349","file0":"1352236331","file4":"1352236441","file5":"1352236470","file3":"1352236408"},"map_files_photo_id_array":[{"photo_id":"1352236470","filename":"file5"},{"photo_id":"1352236379","filename":"file2"},{"photo_id":"1352236441","filename":"file4"},{"photo_id":"1352236349","filename":"file1"},{"photo_id":"1352236331","filename":"file0"},{"photo_id":"1352236408","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352236349":["hashtag1","hashtag2"]},{"1352236379":["hashtag1","hashtag2"]},{"1352236331":["hashtag1","hashtag2"]},{"1352236441":["hashtag1","hashtag2"]},{"1352236408":["hashtag1","hashtag2"]},{"1352236470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352236349, 1352236379, 1352236331, 1352236441, 1352236408, 1352236470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04266023635864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:20:32.712636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_26_10421.jpg', '/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_37_10357.jpg', '/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_46_9432.jpg', '/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_57_10414.jpg', '/home/pi/Desktop/images/20042025/11/18/image_20042025_11_19_06_9337.jpg', '/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_16_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_26_10421.jpg
/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_37_10357.jpg
/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_46_9432.jpg
/home/pi/Desktop/images/20042025/11/18/image_20042025_11_18_57_10414.jpg
/home/pi/Desktop/images/20042025/11/18/image_20042025_11_19_06_9337.jpg
/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_16_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236548","1352236556","1352236541","1352236559","1352236552","1352236546"],"photo_ids_order":["1352236541","1352236546","1352236548","1352236552","1352236556","1352236559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ab23fb24ebd284f991b427dcedeb207.jpg","text":"TemporaryFile(/tmp/multipartBody2481723345793178522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151693182,"filename":"image_20042025_11_18_46_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5eade160931438daf15a9aab48375442.jpg","text":"TemporaryFile(/tmp/multipartBody4406185810138752081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151693182,"filename":"image_20042025_11_19_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5ad557ba3b28e4b5ace299683304254.jpg","text":"TemporaryFile(/tmp/multipartBody1360111206589731031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151693182,"filename":"image_20042025_11_18_26_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d39cb676e188fad8e33b36858777988f.jpg","text":"TemporaryFile(/tmp/multipartBody4321445419798978584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151693182,"filename":"image_20042025_11_19_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b34b3f2f052273ef37b1d4a7511536e5.jpg","text":"TemporaryFile(/tmp/multipartBody6391464180801859503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151693182,"filename":"image_20042025_11_18_57_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5503fb789280a075d37b2dcf3b201367.jpg","text":"TemporaryFile(/tmp/multipartBody296915050464537061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151693182,"filename":"image_20042025_11_18_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236548","file1":"1352236546","file0":"1352236541","file4":"1352236556","file5":"1352236559","file3":"1352236552"},"map_files_photo_id_array":[{"photo_id":"1352236559","filename":"file5"},{"photo_id":"1352236548","filename":"file2"},{"photo_id":"1352236556","filename":"file4"},{"photo_id":"1352236546","filename":"file1"},{"photo_id":"1352236541","filename":"file0"},{"photo_id":"1352236552","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352236548":["hashtag1","hashtag2"]},{"1352236556":["hashtag1","hashtag2"]},{"1352236541":["hashtag1","hashtag2"]},{"1352236559":["hashtag1","hashtag2"]},{"1352236552":["hashtag1","hashtag2"]},{"1352236546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352236548, 1352236556, 1352236541, 1352236559, 1352236552, 1352236546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49073028564453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:21:32.956322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_27_10361.jpg', '/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_36_9425.jpg', '/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_46_10361.jpg', '/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_56_9513.jpg', '/home/pi/Desktop/images/20042025/11/19/image_20042025_11_20_06_10450.jpg', '/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_17_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_27_10361.jpg
/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_36_9425.jpg
/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_46_10361.jpg
/home/pi/Desktop/images/20042025/11/19/image_20042025_11_19_56_9513.jpg
/home/pi/Desktop/images/20042025/11/19/image_20042025_11_20_06_10450.jpg
/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_17_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236580","1352236588","1352236576","1352236671","1352236641","1352236578"],"photo_ids_order":["1352236576","1352236578","1352236580","1352236588","1352236641","1352236671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39dc69d4acf04b9afd645cea8555457c.jpg","text":"TemporaryFile(/tmp/multipartBody469172137627211821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151753413,"filename":"image_20042025_11_19_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b13368460e4d0c998ab2df0d50cfe269.jpg","text":"TemporaryFile(/tmp/multipartBody1655713256245366815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151753413,"filename":"image_20042025_11_19_56_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b623ba349630497cb5394a342f72fbf.jpg","text":"TemporaryFile(/tmp/multipartBody596341089200330772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151753413,"filename":"image_20042025_11_19_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b964b0b4c9af2689a1b75285e11223ef.jpg","text":"TemporaryFile(/tmp/multipartBody8128733104144273084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151753413,"filename":"image_20042025_11_20_17_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/804d97f1e90097fd64906d33fdbe066c.jpg","text":"TemporaryFile(/tmp/multipartBody3461711505159023940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151753413,"filename":"image_20042025_11_20_06_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f225f45f72037b59811041361519f99.jpg","text":"TemporaryFile(/tmp/multipartBody3470383866201948305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151753413,"filename":"image_20042025_11_19_36_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236580","file1":"1352236578","file0":"1352236576","file4":"1352236641","file5":"1352236671","file3":"1352236588"},"map_files_photo_id_array":[{"photo_id":"1352236671","filename":"file5"},{"photo_id":"1352236580","filename":"file2"},{"photo_id":"1352236641","filename":"file4"},{"photo_id":"1352236578","filename":"file1"},{"photo_id":"1352236576","filename":"file0"},{"photo_id":"1352236588","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352236580":["hashtag1","hashtag2"]},{"1352236588":["hashtag1","hashtag2"]},{"1352236576":["hashtag1","hashtag2"]},{"1352236671":["hashtag1","hashtag2"]},{"1352236641":["hashtag1","hashtag2"]},{"1352236578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352236580, 1352236588, 1352236576, 1352236671, 1352236641, 1352236578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04064083099365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:22:33.044381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_26_9435.jpg', '/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_37_10369.jpg', '/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_46_9366.jpg', '/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_56_10453.jpg', '/home/pi/Desktop/images/20042025/11/20/image_20042025_11_21_07_10356.jpg', '/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_16_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_26_9435.jpg
/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_37_10369.jpg
/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_46_9366.jpg
/home/pi/Desktop/images/20042025/11/20/image_20042025_11_20_56_10453.jpg
/home/pi/Desktop/images/20042025/11/20/image_20042025_11_21_07_10356.jpg
/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_16_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236937","1352236931","1352236928","1352236933","1352236941","1352236935"],"photo_ids_order":["1352236928","1352236931","1352236933","1352236935","1352236937","1352236941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/473915ec68afc6cf4922c931f2c59029.jpg","text":"TemporaryFile(/tmp/multipartBody7434224774420486862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151813514,"filename":"image_20042025_11_21_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/245e3963a5e0247fc704e2503bd4ae68.jpg","text":"TemporaryFile(/tmp/multipartBody253897859086644666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151813514,"filename":"image_20042025_11_20_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c45ec9b974d6922a38528d56d440e600.jpg","text":"TemporaryFile(/tmp/multipartBody5765407197576514114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151813514,"filename":"image_20042025_11_20_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63b2d26c02f418493e16df1bf72e436f.jpg","text":"TemporaryFile(/tmp/multipartBody572283770300793048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151813514,"filename":"image_20042025_11_20_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6008c61e942776868db517024783e59.jpg","text":"TemporaryFile(/tmp/multipartBody3585983624698773111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151813514,"filename":"image_20042025_11_21_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b71d1ed1835b975b16aa9340698ad6d.jpg","text":"TemporaryFile(/tmp/multipartBody751024211479607048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151813514,"filename":"image_20042025_11_20_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236933","file1":"1352236931","file0":"1352236928","file4":"1352236937","file5":"1352236941","file3":"1352236935"},"map_files_photo_id_array":[{"photo_id":"1352236941","filename":"file5"},{"photo_id":"1352236933","filename":"file2"},{"photo_id":"1352236937","filename":"file4"},{"photo_id":"1352236931","filename":"file1"},{"photo_id":"1352236928","filename":"file0"},{"photo_id":"1352236935","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352236937":["hashtag1","hashtag2"]},{"1352236931":["hashtag1","hashtag2"]},{"1352236928":["hashtag1","hashtag2"]},{"1352236933":["hashtag1","hashtag2"]},{"1352236941":["hashtag1","hashtag2"]},{"1352236935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352236937, 1352236931, 1352236928, 1352236933, 1352236941, 1352236935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.87507152557373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:23:32.233213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_36_9504.jpg', '/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_46_10382.jpg', '/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_56_10029.jpg', '/home/pi/Desktop/images/20042025/11/21/image_20042025_11_22_06_9472.jpg', '/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_16_10404.jpg', '/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_36_9504.jpg
/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_46_10382.jpg
/home/pi/Desktop/images/20042025/11/21/image_20042025_11_21_56_10029.jpg
/home/pi/Desktop/images/20042025/11/21/image_20042025_11_22_06_9472.jpg
/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_16_10404.jpg
/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_27_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236961","1352236964","1352236971","1352236950","1352236968","1352236956"],"photo_ids_order":["1352236950","1352236956","1352236961","1352236964","1352236968","1352236971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc0b840a41efab4d1eaf56484bb955de.jpg","text":"TemporaryFile(/tmp/multipartBody2049532587942607456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151872703,"filename":"image_20042025_11_21_56_10029.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/107460ac45390639683b7dd628b811a5.jpg","text":"TemporaryFile(/tmp/multipartBody3578216537465041360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151872703,"filename":"image_20042025_11_22_06_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a54e6ab09b4786ecbc3470f4728a0352.jpg","text":"TemporaryFile(/tmp/multipartBody125190219773579472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151872703,"filename":"image_20042025_11_22_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39a07a70a05fc5199e12bdb165255e06.jpg","text":"TemporaryFile(/tmp/multipartBody2108668364194543184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151872703,"filename":"image_20042025_11_21_36_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c50bc18ca674cb4407016d76674e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody1331042292298363894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151872703,"filename":"image_20042025_11_22_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7802f9679eddec9066f100e693c4a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2801941094519282510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151872703,"filename":"image_20042025_11_21_46_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236961","file1":"1352236956","file0":"1352236950","file4":"1352236968","file5":"1352236971","file3":"1352236964"},"map_files_photo_id_array":[{"photo_id":"1352236971","filename":"file5"},{"photo_id":"1352236961","filename":"file2"},{"photo_id":"1352236968","filename":"file4"},{"photo_id":"1352236956","filename":"file1"},{"photo_id":"1352236950","filename":"file0"},{"photo_id":"1352236964","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352236961":["hashtag1","hashtag2"]},{"1352236964":["hashtag1","hashtag2"]},{"1352236971":["hashtag1","hashtag2"]},{"1352236950":["hashtag1","hashtag2"]},{"1352236968":["hashtag1","hashtag2"]},{"1352236956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352236961, 1352236964, 1352236971, 1352236950, 1352236968, 1352236956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.146778345108032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:24:32.484475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_46_10361.jpg', '/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_57_10360.jpg', '/home/pi/Desktop/images/20042025/11/22/image_20042025_11_23_06_9340.jpg', '/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_17_10369.jpg', '/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_26_9454.jpg', '/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_36_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_46_10361.jpg
/home/pi/Desktop/images/20042025/11/22/image_20042025_11_22_57_10360.jpg
/home/pi/Desktop/images/20042025/11/22/image_20042025_11_23_06_9340.jpg
/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_17_10369.jpg
/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_26_9454.jpg
/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_36_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237007","1352237000","1352236996","1352237011","1352237008","1352237004"],"photo_ids_order":["1352236996","1352237000","1352237004","1352237007","1352237008","1352237011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f86467d224a67b0435a75f5838645c90.jpg","text":"TemporaryFile(/tmp/multipartBody2470244005800662530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151932955,"filename":"image_20042025_11_23_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07bc306e85c06647da0a1e8459d40bcd.jpg","text":"TemporaryFile(/tmp/multipartBody5643270102995744102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151932955,"filename":"image_20042025_11_22_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12455fa7685cf6d6505417ecea2eb762.jpg","text":"TemporaryFile(/tmp/multipartBody3674202171411880841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151932955,"filename":"image_20042025_11_22_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05adce00565dfe668f82726553880564.jpg","text":"TemporaryFile(/tmp/multipartBody6021161322406081694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151932955,"filename":"image_20042025_11_23_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7de2f668212dcea65fa16a3e41f87036.jpg","text":"TemporaryFile(/tmp/multipartBody2534934782816955942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151932955,"filename":"image_20042025_11_23_26_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87382ba5139b82d254af07a0d16d8469.jpg","text":"TemporaryFile(/tmp/multipartBody9060204399406967108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151932955,"filename":"image_20042025_11_23_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237004","file1":"1352237000","file0":"1352236996","file4":"1352237008","file5":"1352237011","file3":"1352237007"},"map_files_photo_id_array":[{"photo_id":"1352237011","filename":"file5"},{"photo_id":"1352237004","filename":"file2"},{"photo_id":"1352237008","filename":"file4"},{"photo_id":"1352237000","filename":"file1"},{"photo_id":"1352236996","filename":"file0"},{"photo_id":"1352237007","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237007":["hashtag1","hashtag2"]},{"1352237000":["hashtag1","hashtag2"]},{"1352236996":["hashtag1","hashtag2"]},{"1352237011":["hashtag1","hashtag2"]},{"1352237008":["hashtag1","hashtag2"]},{"1352237004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237007, 1352237000, 1352236996, 1352237011, 1352237008, 1352237004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67601537704468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:25:32.652690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_47_10354.jpg', '/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_56_9427.jpg', '/home/pi/Desktop/images/20042025/11/23/image_20042025_11_24_07_10352.jpg', '/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_16_9446.jpg', '/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_26_10367.jpg', '/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_37_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_47_10354.jpg
/home/pi/Desktop/images/20042025/11/23/image_20042025_11_23_56_9427.jpg
/home/pi/Desktop/images/20042025/11/23/image_20042025_11_24_07_10352.jpg
/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_16_9446.jpg
/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_26_10367.jpg
/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_37_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237030","1352237033","1352237027","1352237032","1352237028","1352237025"],"photo_ids_order":["1352237025","1352237027","1352237028","1352237030","1352237032","1352237033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/145db5b9e22bff38029c3ba89cc6e25c.jpg","text":"TemporaryFile(/tmp/multipartBody1932206843052727400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151993123,"filename":"image_20042025_11_24_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ddb8083897eff349540aedd58944749.jpg","text":"TemporaryFile(/tmp/multipartBody6488492342401160585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151993123,"filename":"image_20042025_11_24_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/739545a7ddaca6fed28ab9ab858223e1.jpg","text":"TemporaryFile(/tmp/multipartBody8718167007532347989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151993123,"filename":"image_20042025_11_23_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0bb19bf29fd7b8a34f7c6171b9ac6761.jpg","text":"TemporaryFile(/tmp/multipartBody5765194844518868513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151993123,"filename":"image_20042025_11_24_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca8e915bb410ad90b2cca33a36188d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5227939762133765470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151993123,"filename":"image_20042025_11_24_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f3fa7898943f7bfbb96e17e1b915ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6937222011567892823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745151993123,"filename":"image_20042025_11_23_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237028","file1":"1352237027","file0":"1352237025","file4":"1352237032","file5":"1352237033","file3":"1352237030"},"map_files_photo_id_array":[{"photo_id":"1352237033","filename":"file5"},{"photo_id":"1352237028","filename":"file2"},{"photo_id":"1352237032","filename":"file4"},{"photo_id":"1352237027","filename":"file1"},{"photo_id":"1352237025","filename":"file0"},{"photo_id":"1352237030","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237030":["hashtag1","hashtag2"]},{"1352237033":["hashtag1","hashtag2"]},{"1352237027":["hashtag1","hashtag2"]},{"1352237032":["hashtag1","hashtag2"]},{"1352237028":["hashtag1","hashtag2"]},{"1352237025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237030, 1352237033, 1352237027, 1352237032, 1352237028, 1352237025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.648062229156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:26:32.900200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_46_9452.jpg', '/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_57_10435.jpg', '/home/pi/Desktop/images/20042025/11/24/image_20042025_11_25_06_9408.jpg', '/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_16_10349.jpg', '/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_27_10354.jpg', '/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_36_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_46_9452.jpg
/home/pi/Desktop/images/20042025/11/24/image_20042025_11_24_57_10435.jpg
/home/pi/Desktop/images/20042025/11/24/image_20042025_11_25_06_9408.jpg
/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_16_10349.jpg
/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_27_10354.jpg
/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_36_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237054","1352237063","1352237057","1352237065","1352237059","1352237061"],"photo_ids_order":["1352237054","1352237057","1352237059","1352237061","1352237063","1352237065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4737058dfe12ee068ca7174c09c3e8e8.jpg","text":"TemporaryFile(/tmp/multipartBody37768343397987586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152053406,"filename":"image_20042025_11_24_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c8ed07dc27dbb2361a8440a08dac734.jpg","text":"TemporaryFile(/tmp/multipartBody4615510978089625546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152053406,"filename":"image_20042025_11_25_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22c2c4ae3986220155059f789dd6db88.jpg","text":"TemporaryFile(/tmp/multipartBody6129931995094196176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152053406,"filename":"image_20042025_11_24_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f01376b04cc888990e36616e629ca1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1623958988899618671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152053406,"filename":"image_20042025_11_25_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/389106798f496e284d74291a0712acfa.jpg","text":"TemporaryFile(/tmp/multipartBody9071825342133556513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152053406,"filename":"image_20042025_11_25_06_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95dec6d0a4d03f57faf817834e89e463.jpg","text":"TemporaryFile(/tmp/multipartBody8683493251575275130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152053406,"filename":"image_20042025_11_25_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237059","file1":"1352237057","file0":"1352237054","file4":"1352237063","file5":"1352237065","file3":"1352237061"},"map_files_photo_id_array":[{"photo_id":"1352237065","filename":"file5"},{"photo_id":"1352237059","filename":"file2"},{"photo_id":"1352237063","filename":"file4"},{"photo_id":"1352237057","filename":"file1"},{"photo_id":"1352237054","filename":"file0"},{"photo_id":"1352237061","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237054":["hashtag1","hashtag2"]},{"1352237063":["hashtag1","hashtag2"]},{"1352237057":["hashtag1","hashtag2"]},{"1352237065":["hashtag1","hashtag2"]},{"1352237059":["hashtag1","hashtag2"]},{"1352237061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237054, 1352237063, 1352237057, 1352237065, 1352237059, 1352237061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.50139093399048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:27:33.238328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_46_10366.jpg', '/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_56_9410.jpg', '/home/pi/Desktop/images/20042025/11/25/image_20042025_11_26_06_10358.jpg', '/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_17_10352.jpg', '/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_26_9415.jpg', '/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_36_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_46_10366.jpg
/home/pi/Desktop/images/20042025/11/25/image_20042025_11_25_56_9410.jpg
/home/pi/Desktop/images/20042025/11/25/image_20042025_11_26_06_10358.jpg
/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_17_10352.jpg
/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_26_9415.jpg
/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_36_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237096","1352237081","1352237092","1352237089","1352237094","1352237085"],"photo_ids_order":["1352237081","1352237085","1352237089","1352237092","1352237094","1352237096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fadde79b772259afbde13af5574976e.jpg","text":"TemporaryFile(/tmp/multipartBody3014275805499017791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152113705,"filename":"image_20042025_11_26_36_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6d660545b3827a19e9cec0d23dd55d0.jpg","text":"TemporaryFile(/tmp/multipartBody6731707036524531955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152113705,"filename":"image_20042025_11_25_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eaac0a58162a02b73843e5f1358dac73.jpg","text":"TemporaryFile(/tmp/multipartBody4905258674807025131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152113705,"filename":"image_20042025_11_26_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fc895390aac7158b6f0ec6c46cecc4a.jpg","text":"TemporaryFile(/tmp/multipartBody230145634581749842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152113705,"filename":"image_20042025_11_26_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/535c4ad179eb93dde128e476556fdb65.jpg","text":"TemporaryFile(/tmp/multipartBody2168597898576689565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152113705,"filename":"image_20042025_11_26_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e902d989c3479ce10b76a1b022ccd2d0.jpg","text":"TemporaryFile(/tmp/multipartBody2458087813976718098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152113705,"filename":"image_20042025_11_25_56_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237089","file1":"1352237085","file0":"1352237081","file4":"1352237094","file5":"1352237096","file3":"1352237092"},"map_files_photo_id_array":[{"photo_id":"1352237096","filename":"file5"},{"photo_id":"1352237089","filename":"file2"},{"photo_id":"1352237094","filename":"file4"},{"photo_id":"1352237085","filename":"file1"},{"photo_id":"1352237081","filename":"file0"},{"photo_id":"1352237092","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237096":["hashtag1","hashtag2"]},{"1352237081":["hashtag1","hashtag2"]},{"1352237092":["hashtag1","hashtag2"]},{"1352237089":["hashtag1","hashtag2"]},{"1352237094":["hashtag1","hashtag2"]},{"1352237085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237096, 1352237081, 1352237092, 1352237089, 1352237094, 1352237085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.589123010635376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:28:32.403824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_47_10361.jpg', '/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_56_9433.jpg', '/home/pi/Desktop/images/20042025/11/26/image_20042025_11_27_07_10402.jpg', '/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_16_9396.jpg', '/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_26_10368.jpg', '/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_37_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_47_10361.jpg
/home/pi/Desktop/images/20042025/11/26/image_20042025_11_26_56_9433.jpg
/home/pi/Desktop/images/20042025/11/26/image_20042025_11_27_07_10402.jpg
/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_16_9396.jpg
/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_26_10368.jpg
/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_37_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237126","1352237116","1352237113","1352237121","1352237124","1352237118"],"photo_ids_order":["1352237113","1352237116","1352237118","1352237121","1352237124","1352237126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85c857a70916201f23e8d39d9ba6a097.jpg","text":"TemporaryFile(/tmp/multipartBody5927300493500267416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152172879,"filename":"image_20042025_11_27_37_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aaada71791803c53760ac7a3700e744d.jpg","text":"TemporaryFile(/tmp/multipartBody2251801506128521773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152172879,"filename":"image_20042025_11_26_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6d5c72df93754fb04851b18bd5e62b0.jpg","text":"TemporaryFile(/tmp/multipartBody3314315643445168967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152172879,"filename":"image_20042025_11_26_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee170969625d77c04181386502bdb05a.jpg","text":"TemporaryFile(/tmp/multipartBody7793735125095442130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152172879,"filename":"image_20042025_11_27_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e47ba0f9ced577b8e2ed45e4180b7f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6180923031583262374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152172879,"filename":"image_20042025_11_27_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e274e09b6ba506bad9d826a754a5c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6467718269892567896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152172879,"filename":"image_20042025_11_27_07_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237118","file1":"1352237116","file0":"1352237113","file4":"1352237124","file5":"1352237126","file3":"1352237121"},"map_files_photo_id_array":[{"photo_id":"1352237126","filename":"file5"},{"photo_id":"1352237118","filename":"file2"},{"photo_id":"1352237124","filename":"file4"},{"photo_id":"1352237116","filename":"file1"},{"photo_id":"1352237113","filename":"file0"},{"photo_id":"1352237121","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237126":["hashtag1","hashtag2"]},{"1352237116":["hashtag1","hashtag2"]},{"1352237113":["hashtag1","hashtag2"]},{"1352237121":["hashtag1","hashtag2"]},{"1352237124":["hashtag1","hashtag2"]},{"1352237118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237126, 1352237116, 1352237113, 1352237121, 1352237124, 1352237118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.22601842880249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:29:32.845209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_46_9418.jpg', '/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_56_10374.jpg', '/home/pi/Desktop/images/20042025/11/27/image_20042025_11_28_06_9463.jpg', '/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_16_10347.jpg', '/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_27_10350.jpg', '/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_36_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_46_9418.jpg
/home/pi/Desktop/images/20042025/11/27/image_20042025_11_27_56_10374.jpg
/home/pi/Desktop/images/20042025/11/27/image_20042025_11_28_06_9463.jpg
/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_16_10347.jpg
/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_27_10350.jpg
/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_36_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237159","1352237146","1352237155","1352237149","1352237158","1352237148"],"photo_ids_order":["1352237146","1352237148","1352237149","1352237155","1352237158","1352237159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6af36c9e711f583e846054ee5c4d7d75.jpg","text":"TemporaryFile(/tmp/multipartBody8836633976940215786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152233307,"filename":"image_20042025_11_28_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c599711fb8363ffd671d77c0a576006e.jpg","text":"TemporaryFile(/tmp/multipartBody5696712355385857014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152233307,"filename":"image_20042025_11_27_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c18fa217a2b47f1443c13b960d15c24.jpg","text":"TemporaryFile(/tmp/multipartBody3648422061656866074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152233307,"filename":"image_20042025_11_28_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8de3d058b49b3cf05523021db2d35d52.jpg","text":"TemporaryFile(/tmp/multipartBody4010459141951206498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152233307,"filename":"image_20042025_11_28_06_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6075040bf6997621a045b9a48eb7b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8099608417628925371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152233307,"filename":"image_20042025_11_28_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ed142de0a2c44529418e342e3deaba3.jpg","text":"TemporaryFile(/tmp/multipartBody5954809544287790051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152233307,"filename":"image_20042025_11_27_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237149","file1":"1352237148","file0":"1352237146","file4":"1352237158","file5":"1352237159","file3":"1352237155"},"map_files_photo_id_array":[{"photo_id":"1352237159","filename":"file5"},{"photo_id":"1352237149","filename":"file2"},{"photo_id":"1352237158","filename":"file4"},{"photo_id":"1352237148","filename":"file1"},{"photo_id":"1352237146","filename":"file0"},{"photo_id":"1352237155","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237159":["hashtag1","hashtag2"]},{"1352237146":["hashtag1","hashtag2"]},{"1352237155":["hashtag1","hashtag2"]},{"1352237149":["hashtag1","hashtag2"]},{"1352237158":["hashtag1","hashtag2"]},{"1352237148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237159, 1352237146, 1352237155, 1352237149, 1352237158, 1352237148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03649377822876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:30:32.965762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_46_10422.jpg', '/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_57_10391.jpg', '/home/pi/Desktop/images/20042025/11/28/image_20042025_11_29_06_9418.jpg', '/home/pi/Desktop/images/20042025/11/29/image_20042025_11_29_17_10327.jpg', '/home/pi/Desktop/images/20042025/11/29/image_20042025_11_29_26_9407.jpg', '/home/pi/Desktop/images/20042025/11/29/image_20042025_11_29_36_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_46_10422.jpg
/home/pi/Desktop/images/20042025/11/28/image_20042025_11_28_57_10391.jpg
/home/pi/Desktop/images/20042025/11/28/image_20042025_11_29_06_9418.jpg
/home/pi/Desktop/images/20042025/11/29/image_20042025_11_29_17_10327.jpg
/home/pi/Desktop/images/20042025/11/29/image_20042025_11_29_26_9407.jpg
/home/pi/Desktop/images/20042025/11/29/image_20042025_11_29_36_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237191","1352237179","1352237188","1352237196","1352237199","1352237198"],"photo_ids_order":["1352237179","1352237188","1352237191","1352237196","1352237198","1352237199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fb0407efb907cd7be08074e0eda416e.jpg","text":"TemporaryFile(/tmp/multipartBody4028389960164130820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152293438,"filename":"image_20042025_11_29_06_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5eda89c7da7d118316331af1548f0ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2674934311039999018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152293438,"filename":"image_20042025_11_28_46_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15aed60ca4977db15c96288559259397.jpg","text":"TemporaryFile(/tmp/multipartBody519161746812383235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152293438,"filename":"image_20042025_11_28_57_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02e8766ba2c040446c6e0dd580bf9103.jpg","text":"TemporaryFile(/tmp/multipartBody3696431742878148666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152293438,"filename":"image_20042025_11_29_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/221b87f51ed0fe629d011ee72e22e076.jpg","text":"TemporaryFile(/tmp/multipartBody8951424008325743009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152293438,"filename":"image_20042025_11_29_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99b8416c5deb86ae358e479767e9c876.jpg","text":"TemporaryFile(/tmp/multipartBody7397482301775878782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152293438,"filename":"image_20042025_11_29_26_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237191","file1":"1352237188","file0":"1352237179","file4":"1352237198","file5":"1352237199","file3":"1352237196"},"map_files_photo_id_array":[{"photo_id":"1352237199","filename":"file5"},{"photo_id":"1352237191","filename":"file2"},{"photo_id":"1352237198","filename":"file4"},{"photo_id":"1352237188","filename":"file1"},{"photo_id":"1352237179","filename":"file0"},{"photo_id":"1352237196","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237191":["hashtag1","hashtag2"]},{"1352237179":["hashtag1","hashtag2"]},{"1352237188":["hashtag1","hashtag2"]},{"1352237196":["hashtag1","hashtag2"]},{"1352237199":["hashtag1","hashtag2"]},{"1352237198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237191, 1352237179, 1352237188, 1352237196, 1352237199, 1352237198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61395597457886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:31:32.402879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/29/image_20042025_11_30_07_10377.jpg', '/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_16_9390.jpg', '/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_26_10364.jpg', '/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_37_10347.jpg', '/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_56_10402.jpg', '/home/pi/Desktop/images/20042025/11/30/image_20042025_11_31_06_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/29/image_20042025_11_30_07_10377.jpg
/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_16_9390.jpg
/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_26_10364.jpg
/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_37_10347.jpg
/home/pi/Desktop/images/20042025/11/30/image_20042025_11_30_56_10402.jpg
/home/pi/Desktop/images/20042025/11/30/image_20042025_11_31_06_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237222","1352237231","1352237225","1352237228","1352237220","1352237217"],"photo_ids_order":["1352237217","1352237220","1352237222","1352237225","1352237228","1352237231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34200daecf8806a3f77478b8f3c6c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody3534499565672306404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152352884,"filename":"image_20042025_11_30_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebec8caea3c6ccd17ec2dc3aa353e3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5435428367047424750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152352884,"filename":"image_20042025_11_31_06_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/996243b4c0992b633999653086117a3a.jpg","text":"TemporaryFile(/tmp/multipartBody256449781654715014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152352884,"filename":"image_20042025_11_30_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8a1ce0bb5c06fb2f7fdacf4c0336ec0.jpg","text":"TemporaryFile(/tmp/multipartBody154243572171380987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152352884,"filename":"image_20042025_11_30_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b416a261602c2a65ce058055ba0edc6.jpg","text":"TemporaryFile(/tmp/multipartBody4754992240205324948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152352884,"filename":"image_20042025_11_30_16_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fff9a5bef4cf8cede0f59bc66ccb984f.jpg","text":"TemporaryFile(/tmp/multipartBody2032286310079063182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152352884,"filename":"image_20042025_11_30_07_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237222","file1":"1352237220","file0":"1352237217","file4":"1352237228","file5":"1352237231","file3":"1352237225"},"map_files_photo_id_array":[{"photo_id":"1352237231","filename":"file5"},{"photo_id":"1352237222","filename":"file2"},{"photo_id":"1352237228","filename":"file4"},{"photo_id":"1352237220","filename":"file1"},{"photo_id":"1352237217","filename":"file0"},{"photo_id":"1352237225","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237222":["hashtag1","hashtag2"]},{"1352237231":["hashtag1","hashtag2"]},{"1352237225":["hashtag1","hashtag2"]},{"1352237228":["hashtag1","hashtag2"]},{"1352237220":["hashtag1","hashtag2"]},{"1352237217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237222, 1352237231, 1352237225, 1352237228, 1352237220, 1352237217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14798092842102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:32:32.455430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_16_10360.jpg', '/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_27_10357.jpg', '/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_36_9348.jpg', '/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_46_10350.jpg', '/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_57_10431.jpg', '/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_17_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_16_10360.jpg
/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_27_10357.jpg
/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_36_9348.jpg
/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_46_10350.jpg
/home/pi/Desktop/images/20042025/11/31/image_20042025_11_31_57_10431.jpg
/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_17_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237267","1352237257","1352237268","1352237262","1352237253","1352237247"],"photo_ids_order":["1352237247","1352237253","1352237257","1352237262","1352237267","1352237268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3287eb637918e6a933cb6a38cc6cb7ab.jpg","text":"TemporaryFile(/tmp/multipartBody4959165691768891775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152413033,"filename":"image_20042025_11_31_57_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a6f309a3cec8bf91f5a73c349bc530d.jpg","text":"TemporaryFile(/tmp/multipartBody6966442387084075840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152413033,"filename":"image_20042025_11_31_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2f865aa016a20d38494d60756e49089.jpg","text":"TemporaryFile(/tmp/multipartBody6446966852697842006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152413033,"filename":"image_20042025_11_32_17_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a524534e40e0573b6157cf52a57441b.jpg","text":"TemporaryFile(/tmp/multipartBody5314903708182177695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152413033,"filename":"image_20042025_11_31_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41456fc3dc7bedff6c8ab513ce203d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4212962601589503341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152413033,"filename":"image_20042025_11_31_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5860906e119a977f3d72b079bfcee930.jpg","text":"TemporaryFile(/tmp/multipartBody5163543066834617268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152413033,"filename":"image_20042025_11_31_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237257","file1":"1352237253","file0":"1352237247","file4":"1352237267","file5":"1352237268","file3":"1352237262"},"map_files_photo_id_array":[{"photo_id":"1352237268","filename":"file5"},{"photo_id":"1352237257","filename":"file2"},{"photo_id":"1352237267","filename":"file4"},{"photo_id":"1352237253","filename":"file1"},{"photo_id":"1352237247","filename":"file0"},{"photo_id":"1352237262","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237267":["hashtag1","hashtag2"]},{"1352237257":["hashtag1","hashtag2"]},{"1352237268":["hashtag1","hashtag2"]},{"1352237262":["hashtag1","hashtag2"]},{"1352237253":["hashtag1","hashtag2"]},{"1352237247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237267, 1352237257, 1352237268, 1352237262, 1352237253, 1352237247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.491655111312866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:33:32.979480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_26_9423.jpg', '/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_36_10351.jpg', '/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_47_10439.jpg', '/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_56_9406.jpg', '/home/pi/Desktop/images/20042025/11/32/image_20042025_11_33_07_10360.jpg', '/home/pi/Desktop/images/20042025/11/33/image_20042025_11_33_16_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_26_9423.jpg
/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_36_10351.jpg
/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_47_10439.jpg
/home/pi/Desktop/images/20042025/11/32/image_20042025_11_32_56_9406.jpg
/home/pi/Desktop/images/20042025/11/32/image_20042025_11_33_07_10360.jpg
/home/pi/Desktop/images/20042025/11/33/image_20042025_11_33_16_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237300","1352237290","1352237287","1352237302","1352237292","1352237297"],"photo_ids_order":["1352237287","1352237290","1352237292","1352237297","1352237300","1352237302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/426f335f73b8d2fe1e16f7b8e5b2ab79.jpg","text":"TemporaryFile(/tmp/multipartBody6280215381300211584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152473454,"filename":"image_20042025_11_33_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/669fcc4ab54680a2c4563643f72537b2.jpg","text":"TemporaryFile(/tmp/multipartBody1270787801115897808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152473454,"filename":"image_20042025_11_32_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e39928765577ac30ddccb176db0fb61e.jpg","text":"TemporaryFile(/tmp/multipartBody8026460683852033753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152473454,"filename":"image_20042025_11_32_26_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3e6bd9c220d855caa4b9fd30144a345.jpg","text":"TemporaryFile(/tmp/multipartBody1820686948769670499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152473454,"filename":"image_20042025_11_33_16_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25f2d5426c8d0fc7cc92277c6f851559.jpg","text":"TemporaryFile(/tmp/multipartBody7987079700673283291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152473454,"filename":"image_20042025_11_32_47_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a24c68a9570162bf070109353d28e4fd.jpg","text":"TemporaryFile(/tmp/multipartBody7987038044235079267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152473454,"filename":"image_20042025_11_32_56_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237292","file1":"1352237290","file0":"1352237287","file4":"1352237300","file5":"1352237302","file3":"1352237297"},"map_files_photo_id_array":[{"photo_id":"1352237302","filename":"file5"},{"photo_id":"1352237292","filename":"file2"},{"photo_id":"1352237300","filename":"file4"},{"photo_id":"1352237290","filename":"file1"},{"photo_id":"1352237287","filename":"file0"},{"photo_id":"1352237297","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237300":["hashtag1","hashtag2"]},{"1352237290":["hashtag1","hashtag2"]},{"1352237287":["hashtag1","hashtag2"]},{"1352237302":["hashtag1","hashtag2"]},{"1352237292":["hashtag1","hashtag2"]},{"1352237297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237300, 1352237290, 1352237287, 1352237302, 1352237292, 1352237297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.781898498535156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:34:33.040684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/33/image_20042025_11_33_37_10392.jpg', '/home/pi/Desktop/images/20042025/11/33/image_20042025_11_33_57_10453.jpg', '/home/pi/Desktop/images/20042025/11/33/image_20042025_11_34_06_9341.jpg', '/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_16_10369.jpg', '/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_27_10369.jpg', '/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/33/image_20042025_11_33_37_10392.jpg
/home/pi/Desktop/images/20042025/11/33/image_20042025_11_33_57_10453.jpg
/home/pi/Desktop/images/20042025/11/33/image_20042025_11_34_06_9341.jpg
/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_16_10369.jpg
/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_27_10369.jpg
/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_46_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237318","1352237327","1352237329","1352237322","1352237325","1352237313"],"photo_ids_order":["1352237313","1352237318","1352237322","1352237325","1352237327","1352237329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbac2f56157e1493c5de4c32eed65512.jpg","text":"TemporaryFile(/tmp/multipartBody5497087886483449638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152533527,"filename":"image_20042025_11_33_57_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a853a6439a1fdb17bf7a49cdfedfe126.jpg","text":"TemporaryFile(/tmp/multipartBody2679413482754746972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152533527,"filename":"image_20042025_11_34_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50aa8a17c2c59968470f77464f7ab55b.jpg","text":"TemporaryFile(/tmp/multipartBody8332648047180189146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152533527,"filename":"image_20042025_11_34_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8dee38eb3420a9a6a9d0a629c8591e7.jpg","text":"TemporaryFile(/tmp/multipartBody7807701429470038403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152533527,"filename":"image_20042025_11_34_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92942bb9caae135d14ec9b1f19f5368d.jpg","text":"TemporaryFile(/tmp/multipartBody5001549516679125785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152533527,"filename":"image_20042025_11_34_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d3a357639008595482643b217a97ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2493833473139777321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152533527,"filename":"image_20042025_11_33_37_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237322","file1":"1352237318","file0":"1352237313","file4":"1352237327","file5":"1352237329","file3":"1352237325"},"map_files_photo_id_array":[{"photo_id":"1352237329","filename":"file5"},{"photo_id":"1352237322","filename":"file2"},{"photo_id":"1352237327","filename":"file4"},{"photo_id":"1352237318","filename":"file1"},{"photo_id":"1352237313","filename":"file0"},{"photo_id":"1352237325","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237318":["hashtag1","hashtag2"]},{"1352237327":["hashtag1","hashtag2"]},{"1352237329":["hashtag1","hashtag2"]},{"1352237322":["hashtag1","hashtag2"]},{"1352237325":["hashtag1","hashtag2"]},{"1352237313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237318, 1352237327, 1352237329, 1352237322, 1352237325, 1352237313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94332718849182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:35:32.361377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_57_10365.jpg', '/home/pi/Desktop/images/20042025/11/34/image_20042025_11_35_06_9438.jpg', '/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_17_10353.jpg', '/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_26_9495.jpg', '/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_36_10406.jpg', '/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_46_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/34/image_20042025_11_34_57_10365.jpg
/home/pi/Desktop/images/20042025/11/34/image_20042025_11_35_06_9438.jpg
/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_17_10353.jpg
/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_26_9495.jpg
/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_36_10406.jpg
/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_46_9535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237348","1352237342","1352237345","1352237338","1352237340","1352237343"],"photo_ids_order":["1352237338","1352237340","1352237342","1352237343","1352237345","1352237348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/725b692c7c447e18a823be92954eb0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2174379650173435246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152592828,"filename":"image_20042025_11_35_46_9535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b338655414893ee4be9bfba7c4d22b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6614052407083456820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152592828,"filename":"image_20042025_11_35_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c44f6198f57652fc3203568766680789.jpg","text":"TemporaryFile(/tmp/multipartBody8345722014608043106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152592828,"filename":"image_20042025_11_35_36_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/827c35c7dfc31649bfa18cd26d905850.jpg","text":"TemporaryFile(/tmp/multipartBody8362816216932043523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152592828,"filename":"image_20042025_11_34_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bba2234fdcd1a40f4bc928690948e178.jpg","text":"TemporaryFile(/tmp/multipartBody2450287601989212371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152592828,"filename":"image_20042025_11_35_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2916376a0c45735e7e82c681326049c7.jpg","text":"TemporaryFile(/tmp/multipartBody1777117368253882780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152592828,"filename":"image_20042025_11_35_26_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237342","file1":"1352237340","file0":"1352237338","file4":"1352237345","file5":"1352237348","file3":"1352237343"},"map_files_photo_id_array":[{"photo_id":"1352237348","filename":"file5"},{"photo_id":"1352237342","filename":"file2"},{"photo_id":"1352237345","filename":"file4"},{"photo_id":"1352237340","filename":"file1"},{"photo_id":"1352237338","filename":"file0"},{"photo_id":"1352237343","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237348":["hashtag1","hashtag2"]},{"1352237342":["hashtag1","hashtag2"]},{"1352237345":["hashtag1","hashtag2"]},{"1352237338":["hashtag1","hashtag2"]},{"1352237340":["hashtag1","hashtag2"]},{"1352237343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237348, 1352237342, 1352237345, 1352237338, 1352237340, 1352237343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.83806085586548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:36:32.445779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_56_10355.jpg', '/home/pi/Desktop/images/20042025/11/35/image_20042025_11_36_07_10433.jpg', '/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_16_9408.jpg', '/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_27_10446.jpg', '/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_36_9366.jpg', '/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_46_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/35/image_20042025_11_35_56_10355.jpg
/home/pi/Desktop/images/20042025/11/35/image_20042025_11_36_07_10433.jpg
/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_16_9408.jpg
/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_27_10446.jpg
/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_36_9366.jpg
/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_46_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237372","1352237369","1352237360","1352237356","1352237376","1352237364"],"photo_ids_order":["1352237356","1352237360","1352237364","1352237369","1352237372","1352237376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8ff773723611c039f865b956b1385d9.jpg","text":"TemporaryFile(/tmp/multipartBody1274399453456533807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152652909,"filename":"image_20042025_11_36_36_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06e7545431299dac5e2d4a2d88197df6.jpg","text":"TemporaryFile(/tmp/multipartBody5618072725019560181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152652909,"filename":"image_20042025_11_36_27_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09ba27104dab63e86bdb2c2296fa6370.jpg","text":"TemporaryFile(/tmp/multipartBody3323877292245758614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152652909,"filename":"image_20042025_11_36_07_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56862d8a710a397db967092f0bcafb67.jpg","text":"TemporaryFile(/tmp/multipartBody6549415442424288759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152652909,"filename":"image_20042025_11_35_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3673ffb5598aafbf0fbad7ce8b5590f3.jpg","text":"TemporaryFile(/tmp/multipartBody3917722917383602611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152652909,"filename":"image_20042025_11_36_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6481611353283ba690803eb62e16fb8b.jpg","text":"TemporaryFile(/tmp/multipartBody5835921185685505782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152652909,"filename":"image_20042025_11_36_16_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237364","file1":"1352237360","file0":"1352237356","file4":"1352237372","file5":"1352237376","file3":"1352237369"},"map_files_photo_id_array":[{"photo_id":"1352237376","filename":"file5"},{"photo_id":"1352237364","filename":"file2"},{"photo_id":"1352237372","filename":"file4"},{"photo_id":"1352237360","filename":"file1"},{"photo_id":"1352237356","filename":"file0"},{"photo_id":"1352237369","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237372":["hashtag1","hashtag2"]},{"1352237369":["hashtag1","hashtag2"]},{"1352237360":["hashtag1","hashtag2"]},{"1352237356":["hashtag1","hashtag2"]},{"1352237376":["hashtag1","hashtag2"]},{"1352237364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237372, 1352237369, 1352237360, 1352237356, 1352237376, 1352237364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.780497074127197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:37:32.852432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_57_10366.jpg', '/home/pi/Desktop/images/20042025/11/36/image_20042025_11_37_06_9357.jpg', '/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_17_10424.jpg', '/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_26_9413.jpg', '/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_36_10359.jpg', '/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_56_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/36/image_20042025_11_36_57_10366.jpg
/home/pi/Desktop/images/20042025/11/36/image_20042025_11_37_06_9357.jpg
/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_17_10424.jpg
/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_26_9413.jpg
/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_36_10359.jpg
/home/pi/Desktop/images/20042025/11/37/image_20042025_11_37_56_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237392","1352237388","1352237403","1352237406","1352237396","1352237399"],"photo_ids_order":["1352237388","1352237392","1352237396","1352237399","1352237403","1352237406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/472a57c638cb57da8d581d8a500626f4.jpg","text":"TemporaryFile(/tmp/multipartBody7041906127401993807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152713340,"filename":"image_20042025_11_37_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9601aa0128f717d2410cec0a17760bc2.jpg","text":"TemporaryFile(/tmp/multipartBody545714740578818680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152713340,"filename":"image_20042025_11_36_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97a7d6c8e6b924da0d5bcb6336174577.jpg","text":"TemporaryFile(/tmp/multipartBody1086785187934555624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152713340,"filename":"image_20042025_11_37_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6d1c132dfdce7e999bbd273f9d5ed52.jpg","text":"TemporaryFile(/tmp/multipartBody6138296196671417191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152713340,"filename":"image_20042025_11_37_56_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95f6cde0a4f9cdc473df65049d15e408.jpg","text":"TemporaryFile(/tmp/multipartBody3145507039894883817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152713340,"filename":"image_20042025_11_37_17_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbe18cb8f2788fb271eb9e2277d25d29.jpg","text":"TemporaryFile(/tmp/multipartBody3225770595661236538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152713340,"filename":"image_20042025_11_37_26_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237396","file1":"1352237392","file0":"1352237388","file4":"1352237403","file5":"1352237406","file3":"1352237399"},"map_files_photo_id_array":[{"photo_id":"1352237406","filename":"file5"},{"photo_id":"1352237396","filename":"file2"},{"photo_id":"1352237403","filename":"file4"},{"photo_id":"1352237392","filename":"file1"},{"photo_id":"1352237388","filename":"file0"},{"photo_id":"1352237399","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237392":["hashtag1","hashtag2"]},{"1352237388":["hashtag1","hashtag2"]},{"1352237403":["hashtag1","hashtag2"]},{"1352237406":["hashtag1","hashtag2"]},{"1352237396":["hashtag1","hashtag2"]},{"1352237399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237392, 1352237388, 1352237403, 1352237406, 1352237396, 1352237399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72292232513428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:38:32.973526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/37/image_20042025_11_38_06_10361.jpg', '/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_17_10361.jpg', '/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_26_9487.jpg', '/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_37_10386.jpg', '/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_56_10359.jpg', '/home/pi/Desktop/images/20042025/11/38/image_20042025_11_39_07_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/37/image_20042025_11_38_06_10361.jpg
/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_17_10361.jpg
/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_26_9487.jpg
/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_37_10386.jpg
/home/pi/Desktop/images/20042025/11/38/image_20042025_11_38_56_10359.jpg
/home/pi/Desktop/images/20042025/11/38/image_20042025_11_39_07_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237432","1352237429","1352237417","1352237425","1352237434","1352237421"],"photo_ids_order":["1352237417","1352237421","1352237425","1352237429","1352237432","1352237434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b4b86b72584b37a4cd859300c94aa7d.jpg","text":"TemporaryFile(/tmp/multipartBody969127683730751918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152773445,"filename":"image_20042025_11_38_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9c7a12a0a58af84cb4eaa21c2db75b7.jpg","text":"TemporaryFile(/tmp/multipartBody6268039000719587200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152773445,"filename":"image_20042025_11_38_37_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a92c3c3d831cfb9315d754c5c2c2e328.jpg","text":"TemporaryFile(/tmp/multipartBody3130437330173175558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152773445,"filename":"image_20042025_11_38_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77266cc878222ae40b9eda32932e9189.jpg","text":"TemporaryFile(/tmp/multipartBody5358188823852634837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152773445,"filename":"image_20042025_11_38_26_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6cda27dbb2a5d6a17ef2bfbd9aa0d4a.jpg","text":"TemporaryFile(/tmp/multipartBody1331040365547539875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152773445,"filename":"image_20042025_11_39_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed4053b2e7aa268eea3758b7a091407a.jpg","text":"TemporaryFile(/tmp/multipartBody8315796520961016978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152773445,"filename":"image_20042025_11_38_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237425","file1":"1352237421","file0":"1352237417","file4":"1352237432","file5":"1352237434","file3":"1352237429"},"map_files_photo_id_array":[{"photo_id":"1352237434","filename":"file5"},{"photo_id":"1352237425","filename":"file2"},{"photo_id":"1352237432","filename":"file4"},{"photo_id":"1352237421","filename":"file1"},{"photo_id":"1352237417","filename":"file0"},{"photo_id":"1352237429","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237432":["hashtag1","hashtag2"]},{"1352237429":["hashtag1","hashtag2"]},{"1352237417":["hashtag1","hashtag2"]},{"1352237425":["hashtag1","hashtag2"]},{"1352237434":["hashtag1","hashtag2"]},{"1352237421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237432, 1352237429, 1352237417, 1352237425, 1352237434, 1352237421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.60629153251648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:39:32.231030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_16_9408.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_27_10376.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_36_9448.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_56_9486.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_40_06_10440.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_17_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_16_9408.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_27_10376.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_36_9448.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_56_9486.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_40_06_10440.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_17_10387.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39191508293151855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:39:42.231861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_16_9408.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_27_10376.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_36_9448.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_56_9486.jpg', '/home/pi/Desktop/images/20042025/11/39/image_20042025_11_40_06_10440.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_17_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_16_9408.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_27_10376.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_36_9448.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_39_56_9486.jpg
/home/pi/Desktop/images/20042025/11/39/image_20042025_11_40_06_10440.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_17_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237474","1352237461","1352237472","1352237466","1352237475","1352237469"],"photo_ids_order":["1352237461","1352237466","1352237469","1352237472","1352237474","1352237475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9ad6c1a0e20b60a22f724962d8045b0.jpg","text":"TemporaryFile(/tmp/multipartBody5836393240918604687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152842697,"filename":"image_20042025_11_40_06_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eabf72b5a4ff249c45c8fec6214879be.jpg","text":"TemporaryFile(/tmp/multipartBody528015543951984646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152842697,"filename":"image_20042025_11_39_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e217ffdacd348c8452b57eea3cf8d9bc.jpg","text":"TemporaryFile(/tmp/multipartBody9076971728087452001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152842697,"filename":"image_20042025_11_39_56_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74a772072efa7b0b1d9b4d304c4592a2.jpg","text":"TemporaryFile(/tmp/multipartBody8791356082096445820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152842697,"filename":"image_20042025_11_39_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acb9a4488c3d8ffe65c5e05a4d04aa27.jpg","text":"TemporaryFile(/tmp/multipartBody4924348895497085513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152842697,"filename":"image_20042025_11_40_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b069b6411d6fe771bb3189269a5090c.jpg","text":"TemporaryFile(/tmp/multipartBody574365574929526499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152842697,"filename":"image_20042025_11_39_36_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237469","file1":"1352237466","file0":"1352237461","file4":"1352237474","file5":"1352237475","file3":"1352237472"},"map_files_photo_id_array":[{"photo_id":"1352237475","filename":"file5"},{"photo_id":"1352237469","filename":"file2"},{"photo_id":"1352237474","filename":"file4"},{"photo_id":"1352237466","filename":"file1"},{"photo_id":"1352237461","filename":"file0"},{"photo_id":"1352237472","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237474":["hashtag1","hashtag2"]},{"1352237461":["hashtag1","hashtag2"]},{"1352237472":["hashtag1","hashtag2"]},{"1352237466":["hashtag1","hashtag2"]},{"1352237475":["hashtag1","hashtag2"]},{"1352237469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237474, 1352237461, 1352237472, 1352237466, 1352237475, 1352237469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.031600952148438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:40:32.466743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_26_9372.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_36_10347.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_47_10372.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_56_9417.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_41_07_10358.jpg', '/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_16_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_26_9372.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_36_10347.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_47_10372.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_56_9417.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_41_07_10358.jpg
/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_16_9397.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3984062671661377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:40:42.411883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_26_9372.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_36_10347.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_47_10372.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_56_9417.jpg', '/home/pi/Desktop/images/20042025/11/40/image_20042025_11_41_07_10358.jpg', '/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_16_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_26_9372.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_36_10347.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_47_10372.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_40_56_9417.jpg
/home/pi/Desktop/images/20042025/11/40/image_20042025_11_41_07_10358.jpg
/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_16_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237519","1352237510","1352237506","1352237503","1352237517","1352237514"],"photo_ids_order":["1352237503","1352237506","1352237510","1352237514","1352237517","1352237519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e734a23b481b88c1dd9031c0d9303027.jpg","text":"TemporaryFile(/tmp/multipartBody675208651316748568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152902879,"filename":"image_20042025_11_41_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89ac2b1b5d93640815c44d99175d8166.jpg","text":"TemporaryFile(/tmp/multipartBody6114920104856569951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152902879,"filename":"image_20042025_11_40_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3cb48dbc8854a5d6260604c68108ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1947282078030728262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152902879,"filename":"image_20042025_11_40_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14747a71f263dd50fe4f45aca79e3a30.jpg","text":"TemporaryFile(/tmp/multipartBody8276898393373722295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152902879,"filename":"image_20042025_11_40_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0dd2795c5ceb1a69d3772e904e6b277.jpg","text":"TemporaryFile(/tmp/multipartBody4610158474090467992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152902879,"filename":"image_20042025_11_41_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf783c5f1f43603ce4c3d6744eec2e73.jpg","text":"TemporaryFile(/tmp/multipartBody4878736445750052885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152902879,"filename":"image_20042025_11_40_56_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237510","file1":"1352237506","file0":"1352237503","file4":"1352237517","file5":"1352237519","file3":"1352237514"},"map_files_photo_id_array":[{"photo_id":"1352237519","filename":"file5"},{"photo_id":"1352237510","filename":"file2"},{"photo_id":"1352237517","filename":"file4"},{"photo_id":"1352237506","filename":"file1"},{"photo_id":"1352237503","filename":"file0"},{"photo_id":"1352237514","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237519":["hashtag1","hashtag2"]},{"1352237510":["hashtag1","hashtag2"]},{"1352237506":["hashtag1","hashtag2"]},{"1352237503":["hashtag1","hashtag2"]},{"1352237517":["hashtag1","hashtag2"]},{"1352237514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237519, 1352237510, 1352237506, 1352237503, 1352237517, 1352237514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.15753674507141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:41:32.735938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_26_10418.jpg', '/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_37_10359.jpg', '/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_46_9438.jpg', '/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_57_10368.jpg', '/home/pi/Desktop/images/20042025/11/41/image_20042025_11_42_06_9458.jpg', '/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_16_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_26_10418.jpg
/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_37_10359.jpg
/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_46_9438.jpg
/home/pi/Desktop/images/20042025/11/41/image_20042025_11_41_57_10368.jpg
/home/pi/Desktop/images/20042025/11/41/image_20042025_11_42_06_9458.jpg
/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_16_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237546","1352237540","1352237543","1352237537","1352237535","1352237532"],"photo_ids_order":["1352237532","1352237535","1352237537","1352237540","1352237543","1352237546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66fea1f62bec483497b680a87548abaf.jpg","text":"TemporaryFile(/tmp/multipartBody2331225835555364335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152953209,"filename":"image_20042025_11_42_16_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/257c2b2f64532f84e8089c72a86bda7c.jpg","text":"TemporaryFile(/tmp/multipartBody5141171567502975516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152953209,"filename":"image_20042025_11_41_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f683eed9500b337656573860e5396c25.jpg","text":"TemporaryFile(/tmp/multipartBody7190603980576737988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152953209,"filename":"image_20042025_11_42_06_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75ec0794d14734a8f4b3b4e0f5970c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5547341670512847557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152953209,"filename":"image_20042025_11_41_46_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b538d63772ed655eeb109749eb4c3a4.jpg","text":"TemporaryFile(/tmp/multipartBody2246416622360366720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152953209,"filename":"image_20042025_11_41_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/260039f8666c4f63c0d0741180ca37c7.jpg","text":"TemporaryFile(/tmp/multipartBody1064821253906187930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745152953209,"filename":"image_20042025_11_41_26_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237537","file1":"1352237535","file0":"1352237532","file4":"1352237543","file5":"1352237546","file3":"1352237540"},"map_files_photo_id_array":[{"photo_id":"1352237546","filename":"file5"},{"photo_id":"1352237537","filename":"file2"},{"photo_id":"1352237543","filename":"file4"},{"photo_id":"1352237535","filename":"file1"},{"photo_id":"1352237532","filename":"file0"},{"photo_id":"1352237540","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237546":["hashtag1","hashtag2"]},{"1352237540":["hashtag1","hashtag2"]},{"1352237543":["hashtag1","hashtag2"]},{"1352237537":["hashtag1","hashtag2"]},{"1352237535":["hashtag1","hashtag2"]},{"1352237532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237546, 1352237540, 1352237543, 1352237537, 1352237535, 1352237532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.370126485824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:42:32.897776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_26_9558.jpg', '/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_36_10434.jpg', '/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_46_9521.jpg', '/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_56_10363.jpg', '/home/pi/Desktop/images/20042025/11/42/image_20042025_11_43_07_10336.jpg', '/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_16_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_26_9558.jpg
/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_36_10434.jpg
/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_46_9521.jpg
/home/pi/Desktop/images/20042025/11/42/image_20042025_11_42_56_10363.jpg
/home/pi/Desktop/images/20042025/11/42/image_20042025_11_43_07_10336.jpg
/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_16_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237564","1352237572","1352237575","1352237560","1352237578","1352237568"],"photo_ids_order":["1352237560","1352237564","1352237568","1352237572","1352237575","1352237578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41ccdee663a07406f3d8783a89a5c3ae.jpg","text":"TemporaryFile(/tmp/multipartBody5437145383296792493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153013366,"filename":"image_20042025_11_42_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47bcc6a04e5b5717d2b38df0520c92ef.jpg","text":"TemporaryFile(/tmp/multipartBody1160932897280832228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153013366,"filename":"image_20042025_11_42_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/763b2e6038961cf802e9d79a03771b07.jpg","text":"TemporaryFile(/tmp/multipartBody8302842649948494934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153013366,"filename":"image_20042025_11_43_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/571ee9f077ade9b8968d75e69bd1ff8b.jpg","text":"TemporaryFile(/tmp/multipartBody7060530419543211548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153013366,"filename":"image_20042025_11_42_26_9558.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d990bf9099c6069cb83969df2ba6b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6751183696463196614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153013366,"filename":"image_20042025_11_43_16_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c6140508f507ee032dcddf78b8b71ac.jpg","text":"TemporaryFile(/tmp/multipartBody2386582100577737014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153013366,"filename":"image_20042025_11_42_46_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237568","file1":"1352237564","file0":"1352237560","file4":"1352237575","file5":"1352237578","file3":"1352237572"},"map_files_photo_id_array":[{"photo_id":"1352237578","filename":"file5"},{"photo_id":"1352237568","filename":"file2"},{"photo_id":"1352237575","filename":"file4"},{"photo_id":"1352237564","filename":"file1"},{"photo_id":"1352237560","filename":"file0"},{"photo_id":"1352237572","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237564":["hashtag1","hashtag2"]},{"1352237572":["hashtag1","hashtag2"]},{"1352237575":["hashtag1","hashtag2"]},{"1352237560":["hashtag1","hashtag2"]},{"1352237578":["hashtag1","hashtag2"]},{"1352237568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237564, 1352237572, 1352237575, 1352237560, 1352237578, 1352237568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28421330451965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:43:33.124856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_26_10371.jpg', '/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_36_9523.jpg', '/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_46_10360.jpg', '/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_57_10366.jpg', '/home/pi/Desktop/images/20042025/11/43/image_20042025_11_44_06_9363.jpg', '/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_17_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_26_10371.jpg
/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_36_9523.jpg
/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_46_10360.jpg
/home/pi/Desktop/images/20042025/11/43/image_20042025_11_43_57_10366.jpg
/home/pi/Desktop/images/20042025/11/43/image_20042025_11_44_06_9363.jpg
/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_17_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237596","1352237592","1352237601","1352237610","1352237604","1352237588"],"photo_ids_order":["1352237588","1352237592","1352237596","1352237601","1352237604","1352237610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a24626be1348c5c93f976aab2f896691.jpg","text":"TemporaryFile(/tmp/multipartBody7806723808581702311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153073599,"filename":"image_20042025_11_43_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dec347f1761f2015e71213a63a417394.jpg","text":"TemporaryFile(/tmp/multipartBody1906657010663605895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153073599,"filename":"image_20042025_11_43_36_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf18c85103f98433df5265bb1346bdcd.jpg","text":"TemporaryFile(/tmp/multipartBody8296583913596511367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153073599,"filename":"image_20042025_11_43_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a6b85d19d19ef99f38f0455976d9520.jpg","text":"TemporaryFile(/tmp/multipartBody6673631188915480421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153073599,"filename":"image_20042025_11_44_17_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97ce834aaedcfc113da5804d1322769e.jpg","text":"TemporaryFile(/tmp/multipartBody9141844678384195198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153073599,"filename":"image_20042025_11_44_06_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d5e522d417a5fea742cd5371f7914d1.jpg","text":"TemporaryFile(/tmp/multipartBody1854874914928084185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153073599,"filename":"image_20042025_11_43_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237596","file1":"1352237592","file0":"1352237588","file4":"1352237604","file5":"1352237610","file3":"1352237601"},"map_files_photo_id_array":[{"photo_id":"1352237610","filename":"file5"},{"photo_id":"1352237596","filename":"file2"},{"photo_id":"1352237604","filename":"file4"},{"photo_id":"1352237592","filename":"file1"},{"photo_id":"1352237588","filename":"file0"},{"photo_id":"1352237601","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237596":["hashtag1","hashtag2"]},{"1352237592":["hashtag1","hashtag2"]},{"1352237601":["hashtag1","hashtag2"]},{"1352237610":["hashtag1","hashtag2"]},{"1352237604":["hashtag1","hashtag2"]},{"1352237588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237596, 1352237592, 1352237601, 1352237610, 1352237604, 1352237588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.190556526184082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:44:32.517888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_26_9495.jpg', '/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_36_10390.jpg', '/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_47_10378.jpg', '/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_56_9435.jpg', '/home/pi/Desktop/images/20042025/11/44/image_20042025_11_45_07_10398.jpg', '/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_16_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_26_9495.jpg
/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_36_10390.jpg
/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_47_10378.jpg
/home/pi/Desktop/images/20042025/11/44/image_20042025_11_44_56_9435.jpg
/home/pi/Desktop/images/20042025/11/44/image_20042025_11_45_07_10398.jpg
/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_16_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237645","1352237635","1352237623","1352237640","1352237628","1352237631"],"photo_ids_order":["1352237623","1352237628","1352237631","1352237635","1352237640","1352237645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d2da0c985956e2df406679dad16438a.jpg","text":"TemporaryFile(/tmp/multipartBody2260871244916404128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153132977,"filename":"image_20042025_11_45_16_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c231937d1619016b8a98506575b4ad93.jpg","text":"TemporaryFile(/tmp/multipartBody5265187854199376177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153132977,"filename":"image_20042025_11_44_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa65f13ea1cfd58150e54a14a77119ce.jpg","text":"TemporaryFile(/tmp/multipartBody4846092713175872047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153132977,"filename":"image_20042025_11_44_26_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d5d009301bee193792a919f5e69554c.jpg","text":"TemporaryFile(/tmp/multipartBody3886135041777556406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153132977,"filename":"image_20042025_11_45_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b6239ad89284e7d4fc816605c0df5c3.jpg","text":"TemporaryFile(/tmp/multipartBody4152821500649224510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153132977,"filename":"image_20042025_11_44_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82cccf41559a85df1e93e9799477e1d4.jpg","text":"TemporaryFile(/tmp/multipartBody6585695058557473151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153132977,"filename":"image_20042025_11_44_47_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237631","file1":"1352237628","file0":"1352237623","file4":"1352237640","file5":"1352237645","file3":"1352237635"},"map_files_photo_id_array":[{"photo_id":"1352237645","filename":"file5"},{"photo_id":"1352237631","filename":"file2"},{"photo_id":"1352237640","filename":"file4"},{"photo_id":"1352237628","filename":"file1"},{"photo_id":"1352237623","filename":"file0"},{"photo_id":"1352237635","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237645":["hashtag1","hashtag2"]},{"1352237635":["hashtag1","hashtag2"]},{"1352237623":["hashtag1","hashtag2"]},{"1352237640":["hashtag1","hashtag2"]},{"1352237628":["hashtag1","hashtag2"]},{"1352237631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237645, 1352237635, 1352237623, 1352237640, 1352237628, 1352237631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.45595121383667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:45:32.840699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_27_10440.jpg', '/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_36_9459.jpg', '/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_46_10369.jpg', '/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_57_10359.jpg', '/home/pi/Desktop/images/20042025/11/45/image_20042025_11_46_06_9428.jpg', '/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_27_10440.jpg
/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_36_9459.jpg
/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_46_10369.jpg
/home/pi/Desktop/images/20042025/11/45/image_20042025_11_45_57_10359.jpg
/home/pi/Desktop/images/20042025/11/45/image_20042025_11_46_06_9428.jpg
/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_16_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237672","1352237680","1352237668","1352237662","1352237664","1352237675"],"photo_ids_order":["1352237662","1352237664","1352237668","1352237672","1352237675","1352237680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2dabaf8eaa871c4461f0084c82236729.jpg","text":"TemporaryFile(/tmp/multipartBody7248786780661044609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153193305,"filename":"image_20042025_11_45_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a469b39598fca895fc34b1eb74eebb2.jpg","text":"TemporaryFile(/tmp/multipartBody4947851457349635724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153193305,"filename":"image_20042025_11_46_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa09a34589b590a4b4e1e03e2e629913.jpg","text":"TemporaryFile(/tmp/multipartBody4943479970217946810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153193305,"filename":"image_20042025_11_45_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18d3ec36d12a4ece7df027aff7350405.jpg","text":"TemporaryFile(/tmp/multipartBody4963773609758073631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153193305,"filename":"image_20042025_11_45_27_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dd50342f4df40b4cbf2688d0fabc428.jpg","text":"TemporaryFile(/tmp/multipartBody4753766479773913165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153193305,"filename":"image_20042025_11_45_36_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7de6a688e0884a3d019195b4b2e90c3.jpg","text":"TemporaryFile(/tmp/multipartBody5604715847165161258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153193305,"filename":"image_20042025_11_46_06_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237668","file1":"1352237664","file0":"1352237662","file4":"1352237675","file5":"1352237680","file3":"1352237672"},"map_files_photo_id_array":[{"photo_id":"1352237680","filename":"file5"},{"photo_id":"1352237668","filename":"file2"},{"photo_id":"1352237675","filename":"file4"},{"photo_id":"1352237664","filename":"file1"},{"photo_id":"1352237662","filename":"file0"},{"photo_id":"1352237672","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237672":["hashtag1","hashtag2"]},{"1352237680":["hashtag1","hashtag2"]},{"1352237668":["hashtag1","hashtag2"]},{"1352237662":["hashtag1","hashtag2"]},{"1352237664":["hashtag1","hashtag2"]},{"1352237675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237672, 1352237680, 1352237668, 1352237662, 1352237664, 1352237675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88403129577637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:46:33.139668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_26_9503.jpg', '/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_36_10390.jpg', '/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_47_10368.jpg', '/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_56_9397.jpg', '/home/pi/Desktop/images/20042025/11/46/image_20042025_11_47_07_10361.jpg', '/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_16_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_26_9503.jpg
/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_36_10390.jpg
/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_47_10368.jpg
/home/pi/Desktop/images/20042025/11/46/image_20042025_11_46_56_9397.jpg
/home/pi/Desktop/images/20042025/11/46/image_20042025_11_47_07_10361.jpg
/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_16_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237702","1352237704","1352237691","1352237700","1352237706","1352237696"],"photo_ids_order":["1352237691","1352237696","1352237700","1352237702","1352237704","1352237706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac258bd4a4a70ab5c63d90253276dc6f.jpg","text":"TemporaryFile(/tmp/multipartBody3387586626743319524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153253600,"filename":"image_20042025_11_46_56_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/951ef2d98bc52a641e6b06820f6d26af.jpg","text":"TemporaryFile(/tmp/multipartBody1928074476425448836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153253600,"filename":"image_20042025_11_47_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f759af158dd6397d40869753ddcaa131.jpg","text":"TemporaryFile(/tmp/multipartBody61209086425715606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153253600,"filename":"image_20042025_11_46_26_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f8c866f1c9d28542ca433f4dadb8462.jpg","text":"TemporaryFile(/tmp/multipartBody3661434176090617078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153253600,"filename":"image_20042025_11_46_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62d610d303c3e885ee72da5b3ee254c4.jpg","text":"TemporaryFile(/tmp/multipartBody9127844639031528186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153253600,"filename":"image_20042025_11_47_16_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/518beb968e130e85e376b6f2c02a2875.jpg","text":"TemporaryFile(/tmp/multipartBody490547374429377667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153253600,"filename":"image_20042025_11_46_36_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237700","file1":"1352237696","file0":"1352237691","file4":"1352237704","file5":"1352237706","file3":"1352237702"},"map_files_photo_id_array":[{"photo_id":"1352237706","filename":"file5"},{"photo_id":"1352237700","filename":"file2"},{"photo_id":"1352237704","filename":"file4"},{"photo_id":"1352237696","filename":"file1"},{"photo_id":"1352237691","filename":"file0"},{"photo_id":"1352237702","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237702":["hashtag1","hashtag2"]},{"1352237704":["hashtag1","hashtag2"]},{"1352237691":["hashtag1","hashtag2"]},{"1352237700":["hashtag1","hashtag2"]},{"1352237706":["hashtag1","hashtag2"]},{"1352237696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237702, 1352237704, 1352237691, 1352237700, 1352237706, 1352237696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.055171012878418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:47:32.214082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_26_10370.jpg', '/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_37_10366.jpg', '/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_46_9430.jpg', '/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_57_10373.jpg', '/home/pi/Desktop/images/20042025/11/47/image_20042025_11_48_06_9494.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_16_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_26_10370.jpg
/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_37_10366.jpg
/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_46_9430.jpg
/home/pi/Desktop/images/20042025/11/47/image_20042025_11_47_57_10373.jpg
/home/pi/Desktop/images/20042025/11/47/image_20042025_11_48_06_9494.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_16_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237732","1352237726","1352237720","1352237734","1352237716","1352237724"],"photo_ids_order":["1352237716","1352237720","1352237724","1352237726","1352237732","1352237734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3172158b5bf746c775dfaaf979dd1128.jpg","text":"TemporaryFile(/tmp/multipartBody1041475201278515310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153312678,"filename":"image_20042025_11_48_06_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9c452c170ece367bab41958b955f3c2.jpg","text":"TemporaryFile(/tmp/multipartBody1231816794971009800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153312678,"filename":"image_20042025_11_47_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb3536e4910daa9263e71976d8aada1d.jpg","text":"TemporaryFile(/tmp/multipartBody8749425646705682817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153312678,"filename":"image_20042025_11_47_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b12095da46e628387d7a4831048a4f42.jpg","text":"TemporaryFile(/tmp/multipartBody5230660282527877796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153312678,"filename":"image_20042025_11_48_16_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cfc072e413afb09396bcb4d1c073e35.jpg","text":"TemporaryFile(/tmp/multipartBody8449111274801471837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153312678,"filename":"image_20042025_11_47_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d52bfb58b86732e51cb12c625322cd14.jpg","text":"TemporaryFile(/tmp/multipartBody8372328661640232032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153312678,"filename":"image_20042025_11_47_46_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237724","file1":"1352237720","file0":"1352237716","file4":"1352237732","file5":"1352237734","file3":"1352237726"},"map_files_photo_id_array":[{"photo_id":"1352237734","filename":"file5"},{"photo_id":"1352237724","filename":"file2"},{"photo_id":"1352237732","filename":"file4"},{"photo_id":"1352237720","filename":"file1"},{"photo_id":"1352237716","filename":"file0"},{"photo_id":"1352237726","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237732":["hashtag1","hashtag2"]},{"1352237726":["hashtag1","hashtag2"]},{"1352237720":["hashtag1","hashtag2"]},{"1352237734":["hashtag1","hashtag2"]},{"1352237716":["hashtag1","hashtag2"]},{"1352237724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237732, 1352237726, 1352237720, 1352237734, 1352237716, 1352237724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.54189491271973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:48:42.478514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_26_9476.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_36_10438.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_47_10354.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_56_9518.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_49_07_10400.jpg', '/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_16_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_26_9476.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_36_10438.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_47_10354.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_56_9518.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_49_07_10400.jpg
/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_16_9412.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4339883327484131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:48:52.504835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_26_9476.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_36_10438.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_47_10354.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_56_9518.jpg', '/home/pi/Desktop/images/20042025/11/48/image_20042025_11_49_07_10400.jpg', '/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_16_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_26_9476.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_36_10438.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_47_10354.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_48_56_9518.jpg
/home/pi/Desktop/images/20042025/11/48/image_20042025_11_49_07_10400.jpg
/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_16_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237762","1352237747","1352237752","1352237755","1352237758","1352237743"],"photo_ids_order":["1352237743","1352237747","1352237752","1352237755","1352237758","1352237762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f24eaef1c47a1b604f81a113e4ee6903.jpg","text":"TemporaryFile(/tmp/multipartBody3017537605712868041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153392977,"filename":"image_20042025_11_49_16_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abb9ba08f271279584f4ca269f678c35.jpg","text":"TemporaryFile(/tmp/multipartBody8498263653935222721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153392977,"filename":"image_20042025_11_48_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e640ac094786c8521129d22e0d341161.jpg","text":"TemporaryFile(/tmp/multipartBody2825168416607422807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153392977,"filename":"image_20042025_11_48_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84daf5851cd45d283e23d73c1354c3a7.jpg","text":"TemporaryFile(/tmp/multipartBody5555647909928253512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153392977,"filename":"image_20042025_11_48_56_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fbff4d2c48c72c150b243defabb471bb.jpg","text":"TemporaryFile(/tmp/multipartBody7293420115827586249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153392977,"filename":"image_20042025_11_49_07_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8e442b506455a80611e013cd4c104f6.jpg","text":"TemporaryFile(/tmp/multipartBody5001161513233244263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153392977,"filename":"image_20042025_11_48_26_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237752","file1":"1352237747","file0":"1352237743","file4":"1352237758","file5":"1352237762","file3":"1352237755"},"map_files_photo_id_array":[{"photo_id":"1352237762","filename":"file5"},{"photo_id":"1352237752","filename":"file2"},{"photo_id":"1352237758","filename":"file4"},{"photo_id":"1352237747","filename":"file1"},{"photo_id":"1352237743","filename":"file0"},{"photo_id":"1352237755","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237762":["hashtag1","hashtag2"]},{"1352237747":["hashtag1","hashtag2"]},{"1352237752":["hashtag1","hashtag2"]},{"1352237755":["hashtag1","hashtag2"]},{"1352237758":["hashtag1","hashtag2"]},{"1352237743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237762, 1352237747, 1352237752, 1352237755, 1352237758, 1352237743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16533422470093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:49:42.813171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_27_10539.jpg', '/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_36_9426.jpg', '/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_46_10368.jpg', '/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_57_10371.jpg', '/home/pi/Desktop/images/20042025/11/49/image_20042025_11_50_06_9439.jpg', '/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_17_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_27_10539.jpg
/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_36_9426.jpg
/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_46_10368.jpg
/home/pi/Desktop/images/20042025/11/49/image_20042025_11_49_57_10371.jpg
/home/pi/Desktop/images/20042025/11/49/image_20042025_11_50_06_9439.jpg
/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_17_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237777","1352237776","1352237784","1352237787","1352237780","1352237774"],"photo_ids_order":["1352237774","1352237776","1352237777","1352237780","1352237784","1352237787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4e2ea6b35200b10229b2c98cab8e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2845641772781494064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153443278,"filename":"image_20042025_11_49_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a18c1fb8356e5b2fb19158e3c85b6167.jpg","text":"TemporaryFile(/tmp/multipartBody2278913037806485804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153443278,"filename":"image_20042025_11_49_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fc5af0b540d967a98730341efe5a561.jpg","text":"TemporaryFile(/tmp/multipartBody7424481151936068913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153443278,"filename":"image_20042025_11_50_06_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7ce50093c5f579f99d5decb51ae5a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8095846397670348154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153443278,"filename":"image_20042025_11_50_17_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b1ce451ea54ec7cbee50cd357e026d6.jpg","text":"TemporaryFile(/tmp/multipartBody5698524975740606988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153443278,"filename":"image_20042025_11_49_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36a2db6ec88c54a4c75979c1c8b11bdc.jpg","text":"TemporaryFile(/tmp/multipartBody65340370592200998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153443278,"filename":"image_20042025_11_49_27_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237777","file1":"1352237776","file0":"1352237774","file4":"1352237784","file5":"1352237787","file3":"1352237780"},"map_files_photo_id_array":[{"photo_id":"1352237787","filename":"file5"},{"photo_id":"1352237777","filename":"file2"},{"photo_id":"1352237784","filename":"file4"},{"photo_id":"1352237776","filename":"file1"},{"photo_id":"1352237774","filename":"file0"},{"photo_id":"1352237780","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237777":["hashtag1","hashtag2"]},{"1352237776":["hashtag1","hashtag2"]},{"1352237784":["hashtag1","hashtag2"]},{"1352237787":["hashtag1","hashtag2"]},{"1352237780":["hashtag1","hashtag2"]},{"1352237774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237777, 1352237776, 1352237784, 1352237787, 1352237780, 1352237774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.511258363723755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:50:32.856097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_26_9396.jpg', '/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_36_10361.jpg', '/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_47_10447.jpg', '/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_56_9357.jpg', '/home/pi/Desktop/images/20042025/11/50/image_20042025_11_51_07_10421.jpg', '/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_16_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_26_9396.jpg
/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_36_10361.jpg
/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_47_10447.jpg
/home/pi/Desktop/images/20042025/11/50/image_20042025_11_50_56_9357.jpg
/home/pi/Desktop/images/20042025/11/50/image_20042025_11_51_07_10421.jpg
/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_16_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237807","1352237821","1352237814","1352237823","1352237817","1352237811"],"photo_ids_order":["1352237807","1352237811","1352237814","1352237817","1352237821","1352237823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59b88c27ad14de7fd3f50d2052d02f1c.jpg","text":"TemporaryFile(/tmp/multipartBody4659708709904559848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153493324,"filename":"image_20042025_11_50_26_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17fe46c9da2d36074d829b6baf32128a.jpg","text":"TemporaryFile(/tmp/multipartBody5661022079433788446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153493324,"filename":"image_20042025_11_51_07_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d203918f6541ed5318aeb3777a1b45c.jpg","text":"TemporaryFile(/tmp/multipartBody7893810831461372293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153493324,"filename":"image_20042025_11_50_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/072191aff73126d8175772f0a762f571.jpg","text":"TemporaryFile(/tmp/multipartBody4501720745214923682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153493324,"filename":"image_20042025_11_51_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c00b7d05d323325cb5c66548153cf76.jpg","text":"TemporaryFile(/tmp/multipartBody5057974314067091681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153493324,"filename":"image_20042025_11_50_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cda7f1994081259d095c407b14f044e9.jpg","text":"TemporaryFile(/tmp/multipartBody6631935612757847567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153493324,"filename":"image_20042025_11_50_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237814","file1":"1352237811","file0":"1352237807","file4":"1352237821","file5":"1352237823","file3":"1352237817"},"map_files_photo_id_array":[{"photo_id":"1352237823","filename":"file5"},{"photo_id":"1352237814","filename":"file2"},{"photo_id":"1352237821","filename":"file4"},{"photo_id":"1352237811","filename":"file1"},{"photo_id":"1352237807","filename":"file0"},{"photo_id":"1352237817","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237807":["hashtag1","hashtag2"]},{"1352237821":["hashtag1","hashtag2"]},{"1352237814":["hashtag1","hashtag2"]},{"1352237823":["hashtag1","hashtag2"]},{"1352237817":["hashtag1","hashtag2"]},{"1352237811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237807, 1352237821, 1352237814, 1352237823, 1352237817, 1352237811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.621665716171265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:51:33.043151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_26_10383.jpg', '/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_37_10372.jpg', '/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_46_9374.jpg', '/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_56_10366.jpg', '/home/pi/Desktop/images/20042025/11/51/image_20042025_11_52_06_9421.jpg', '/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_16_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_26_10383.jpg
/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_37_10372.jpg
/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_46_9374.jpg
/home/pi/Desktop/images/20042025/11/51/image_20042025_11_51_56_10366.jpg
/home/pi/Desktop/images/20042025/11/51/image_20042025_11_52_06_9421.jpg
/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_16_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237855","1352237843","1352237851","1352237857","1352237862","1352237859"],"photo_ids_order":["1352237843","1352237851","1352237855","1352237857","1352237859","1352237862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba37bdd5da2172bd6bf2a25e9e7c4f83.jpg","text":"TemporaryFile(/tmp/multipartBody5217785695537511162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153553504,"filename":"image_20042025_11_51_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a340375d1730d30c9792732043e0ce05.jpg","text":"TemporaryFile(/tmp/multipartBody5441941114175425795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153553504,"filename":"image_20042025_11_51_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b734aa3657587d2f3536c366d927998c.jpg","text":"TemporaryFile(/tmp/multipartBody8772606607868357504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153553504,"filename":"image_20042025_11_51_37_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9070b3e21e83b38b600e52a6c94f7849.jpg","text":"TemporaryFile(/tmp/multipartBody7150023198221410696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153553504,"filename":"image_20042025_11_51_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9908b786542b483749626a2a6292a930.jpg","text":"TemporaryFile(/tmp/multipartBody5593204382923735403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153553504,"filename":"image_20042025_11_52_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/156c1fa12e4a6e358c44d7f72336e6a0.jpg","text":"TemporaryFile(/tmp/multipartBody4136736890152609159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153553504,"filename":"image_20042025_11_52_06_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237855","file1":"1352237851","file0":"1352237843","file4":"1352237859","file5":"1352237862","file3":"1352237857"},"map_files_photo_id_array":[{"photo_id":"1352237862","filename":"file5"},{"photo_id":"1352237855","filename":"file2"},{"photo_id":"1352237859","filename":"file4"},{"photo_id":"1352237851","filename":"file1"},{"photo_id":"1352237843","filename":"file0"},{"photo_id":"1352237857","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237855":["hashtag1","hashtag2"]},{"1352237843":["hashtag1","hashtag2"]},{"1352237851":["hashtag1","hashtag2"]},{"1352237857":["hashtag1","hashtag2"]},{"1352237862":["hashtag1","hashtag2"]},{"1352237859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237855, 1352237843, 1352237851, 1352237857, 1352237862, 1352237859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43686103820801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:52:32.262372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_27_10427.jpg', '/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_36_9369.jpg', '/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_46_10383.jpg', '/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_57_10362.jpg', '/home/pi/Desktop/images/20042025/11/52/image_20042025_11_53_06_9448.jpg', '/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_17_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_27_10427.jpg
/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_36_9369.jpg
/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_46_10383.jpg
/home/pi/Desktop/images/20042025/11/52/image_20042025_11_52_57_10362.jpg
/home/pi/Desktop/images/20042025/11/52/image_20042025_11_53_06_9448.jpg
/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_17_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237890","1352237872","1352237881","1352237877","1352237885","1352237888"],"photo_ids_order":["1352237872","1352237877","1352237881","1352237885","1352237888","1352237890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b2553f65df9dd8c01ac8850e138c3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6240827193526728869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153612727,"filename":"image_20042025_11_53_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f192d88df79091154666081116a63cb.jpg","text":"TemporaryFile(/tmp/multipartBody6795786960098918741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153612727,"filename":"image_20042025_11_52_27_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2d21a752c01e9a4b6ea3049e3d6bc88.jpg","text":"TemporaryFile(/tmp/multipartBody1681640701245424398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153612727,"filename":"image_20042025_11_52_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ae0d15854b1f9d5f5eb166981fe159f.jpg","text":"TemporaryFile(/tmp/multipartBody7376556651411734857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153612727,"filename":"image_20042025_11_52_36_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7c085c38101457702a53816101f3d22.jpg","text":"TemporaryFile(/tmp/multipartBody8694596048618822464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153612727,"filename":"image_20042025_11_52_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0ab4f4db166e6329961cd8bdf48d987.jpg","text":"TemporaryFile(/tmp/multipartBody8473505806564065279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153612727,"filename":"image_20042025_11_53_06_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237881","file1":"1352237877","file0":"1352237872","file4":"1352237888","file5":"1352237890","file3":"1352237885"},"map_files_photo_id_array":[{"photo_id":"1352237890","filename":"file5"},{"photo_id":"1352237881","filename":"file2"},{"photo_id":"1352237888","filename":"file4"},{"photo_id":"1352237877","filename":"file1"},{"photo_id":"1352237872","filename":"file0"},{"photo_id":"1352237885","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237890":["hashtag1","hashtag2"]},{"1352237872":["hashtag1","hashtag2"]},{"1352237881":["hashtag1","hashtag2"]},{"1352237877":["hashtag1","hashtag2"]},{"1352237885":["hashtag1","hashtag2"]},{"1352237888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237890, 1352237872, 1352237881, 1352237877, 1352237885, 1352237888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96012735366821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:53:33.365832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_26_9365.jpg', '/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_37_10687.jpg', '/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_46_9423.jpg', '/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_56_10372.jpg', '/home/pi/Desktop/images/20042025/11/53/image_20042025_11_54_06_9540.jpg', '/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_16_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_26_9365.jpg
/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_37_10687.jpg
/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_46_9423.jpg
/home/pi/Desktop/images/20042025/11/53/image_20042025_11_53_56_10372.jpg
/home/pi/Desktop/images/20042025/11/53/image_20042025_11_54_06_9540.jpg
/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_16_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237912","1352237915","1352237908","1352237923","1352237905","1352237919"],"photo_ids_order":["1352237905","1352237908","1352237912","1352237915","1352237919","1352237923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dc2146a77b6427cf686033507eb5b95.jpg","text":"TemporaryFile(/tmp/multipartBody4073598735299850910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153674067,"filename":"image_20042025_11_53_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/643b824eb197bd944efabf3db4d5c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody2278922143690484531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153674067,"filename":"image_20042025_11_53_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5802bb43a5e0843ee5e6427b9e10a77.jpg","text":"TemporaryFile(/tmp/multipartBody8332374796141533465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153674067,"filename":"image_20042025_11_53_37_10687.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b867208e7320e0ef957c2ff8b24b7df5.jpg","text":"TemporaryFile(/tmp/multipartBody5095389430868407730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153674067,"filename":"image_20042025_11_54_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09d982fcc723ba3424cfccae00fcb9b0.jpg","text":"TemporaryFile(/tmp/multipartBody5050648515493408646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153674067,"filename":"image_20042025_11_53_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb65f61b46eef439118ca8c179467f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2704475458196860528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153674067,"filename":"image_20042025_11_54_06_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237912","file1":"1352237908","file0":"1352237905","file4":"1352237919","file5":"1352237923","file3":"1352237915"},"map_files_photo_id_array":[{"photo_id":"1352237923","filename":"file5"},{"photo_id":"1352237912","filename":"file2"},{"photo_id":"1352237919","filename":"file4"},{"photo_id":"1352237908","filename":"file1"},{"photo_id":"1352237905","filename":"file0"},{"photo_id":"1352237915","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237912":["hashtag1","hashtag2"]},{"1352237915":["hashtag1","hashtag2"]},{"1352237908":["hashtag1","hashtag2"]},{"1352237923":["hashtag1","hashtag2"]},{"1352237905":["hashtag1","hashtag2"]},{"1352237919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237912, 1352237915, 1352237908, 1352237923, 1352237905, 1352237919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00945496559143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:54:32.810552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_27_10434.jpg', '/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_36_9362.jpg', '/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_47_10353.jpg', '/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_56_9440.jpg', '/home/pi/Desktop/images/20042025/11/54/image_20042025_11_55_06_10349.jpg', '/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_27_10434.jpg
/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_36_9362.jpg
/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_47_10353.jpg
/home/pi/Desktop/images/20042025/11/54/image_20042025_11_54_56_9440.jpg
/home/pi/Desktop/images/20042025/11/54/image_20042025_11_55_06_10349.jpg
/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_17_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237942","1352237937","1352237946","1352237931","1352237949","1352237934"],"photo_ids_order":["1352237931","1352237934","1352237937","1352237942","1352237946","1352237949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c8334bdce38232c63596cf1dddcedf7.jpg","text":"TemporaryFile(/tmp/multipartBody5070625164008155185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153733275,"filename":"image_20042025_11_54_56_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aee58cff4b5504d1a8d017ecf56ebc49.jpg","text":"TemporaryFile(/tmp/multipartBody4362933982741605342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153733275,"filename":"image_20042025_11_54_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/699e90aef08ff740ab5e4d576deb9507.jpg","text":"TemporaryFile(/tmp/multipartBody8285507228528901908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153733275,"filename":"image_20042025_11_55_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21f8fb32af13a7ccec992a2ba9d13022.jpg","text":"TemporaryFile(/tmp/multipartBody4011298990931037853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153733275,"filename":"image_20042025_11_54_27_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f157d8c1fd6b28964929ac7e95857887.jpg","text":"TemporaryFile(/tmp/multipartBody6920077692614260936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153733275,"filename":"image_20042025_11_55_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4068b80346950927e4b6ce834b755659.jpg","text":"TemporaryFile(/tmp/multipartBody6774100119684793206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153733275,"filename":"image_20042025_11_54_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237937","file1":"1352237934","file0":"1352237931","file4":"1352237946","file5":"1352237949","file3":"1352237942"},"map_files_photo_id_array":[{"photo_id":"1352237949","filename":"file5"},{"photo_id":"1352237937","filename":"file2"},{"photo_id":"1352237946","filename":"file4"},{"photo_id":"1352237934","filename":"file1"},{"photo_id":"1352237931","filename":"file0"},{"photo_id":"1352237942","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237942":["hashtag1","hashtag2"]},{"1352237937":["hashtag1","hashtag2"]},{"1352237946":["hashtag1","hashtag2"]},{"1352237931":["hashtag1","hashtag2"]},{"1352237949":["hashtag1","hashtag2"]},{"1352237934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237942, 1352237937, 1352237946, 1352237931, 1352237949, 1352237934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38244342803955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:55:33.093954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_26_9417.jpg', '/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_36_10352.jpg', '/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_47_10366.jpg', '/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_56_9373.jpg', '/home/pi/Desktop/images/20042025/11/55/image_20042025_11_56_07_10368.jpg', '/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_16_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_26_9417.jpg
/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_36_10352.jpg
/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_47_10366.jpg
/home/pi/Desktop/images/20042025/11/55/image_20042025_11_55_56_9373.jpg
/home/pi/Desktop/images/20042025/11/55/image_20042025_11_56_07_10368.jpg
/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_16_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237971","1352237965","1352237961","1352237970","1352237958","1352237972"],"photo_ids_order":["1352237958","1352237961","1352237965","1352237970","1352237971","1352237972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b4dfcbf1844a78203f0bfd4db58b9b7.jpg","text":"TemporaryFile(/tmp/multipartBody4164321447039410082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153793553,"filename":"image_20042025_11_56_07_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe8c2a05c922597ae61a58f78aea6d1d.jpg","text":"TemporaryFile(/tmp/multipartBody6443630330320737307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153793553,"filename":"image_20042025_11_55_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b0869e3e0f04c3ef1b452debf9fbada.jpg","text":"TemporaryFile(/tmp/multipartBody1493996116594786385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153793553,"filename":"image_20042025_11_55_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a4a8b803850eeb52ef60af414888c39.jpg","text":"TemporaryFile(/tmp/multipartBody8321022737979821523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153793553,"filename":"image_20042025_11_55_56_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/835dda52046db0f3fd28204f5b9c7895.jpg","text":"TemporaryFile(/tmp/multipartBody3993372885796364035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153793553,"filename":"image_20042025_11_55_26_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bb0e1ed158efe426138ef40be86bc61.jpg","text":"TemporaryFile(/tmp/multipartBody4035526349873309739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153793553,"filename":"image_20042025_11_56_16_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237965","file1":"1352237961","file0":"1352237958","file4":"1352237971","file5":"1352237972","file3":"1352237970"},"map_files_photo_id_array":[{"photo_id":"1352237972","filename":"file5"},{"photo_id":"1352237965","filename":"file2"},{"photo_id":"1352237971","filename":"file4"},{"photo_id":"1352237961","filename":"file1"},{"photo_id":"1352237958","filename":"file0"},{"photo_id":"1352237970","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352237971":["hashtag1","hashtag2"]},{"1352237965":["hashtag1","hashtag2"]},{"1352237961":["hashtag1","hashtag2"]},{"1352237970":["hashtag1","hashtag2"]},{"1352237958":["hashtag1","hashtag2"]},{"1352237972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352237971, 1352237965, 1352237961, 1352237970, 1352237958, 1352237972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58203339576721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:56:32.448465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_26_10462.jpg', '/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_37_10365.jpg', '/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_46_9398.jpg', '/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_57_10454.jpg', '/home/pi/Desktop/images/20042025/11/56/image_20042025_11_57_06_9468.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_17_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_26_10462.jpg
/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_37_10365.jpg
/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_46_9398.jpg
/home/pi/Desktop/images/20042025/11/56/image_20042025_11_56_57_10454.jpg
/home/pi/Desktop/images/20042025/11/56/image_20042025_11_57_06_9468.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_17_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238002","1352237996","1352237981","1352237994","1352237999","1352237990"],"photo_ids_order":["1352237981","1352237990","1352237994","1352237996","1352237999","1352238002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c49ac700887c1754044d3913c300997.jpg","text":"TemporaryFile(/tmp/multipartBody7368022072308063060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153852910,"filename":"image_20042025_11_57_17_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ae4c19887ed44848cb6418f3bf83f8e.jpg","text":"TemporaryFile(/tmp/multipartBody8644438348457424038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153852910,"filename":"image_20042025_11_56_57_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c7a3bf080edec2ac3b89dee914c63fa.jpg","text":"TemporaryFile(/tmp/multipartBody5150519265921246080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153852910,"filename":"image_20042025_11_56_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa812a9cfb5f7a67f74d112f500f9001.jpg","text":"TemporaryFile(/tmp/multipartBody8777930941785747760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153852910,"filename":"image_20042025_11_56_46_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41ea5eb0e19f3171a6be972c0a547498.jpg","text":"TemporaryFile(/tmp/multipartBody5646172217043284363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153852910,"filename":"image_20042025_11_57_06_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52dea1933063460068be0a60d94cd038.jpg","text":"TemporaryFile(/tmp/multipartBody2731622935199136207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745153852910,"filename":"image_20042025_11_56_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237994","file1":"1352237990","file0":"1352237981","file4":"1352237999","file5":"1352238002","file3":"1352237996"},"map_files_photo_id_array":[{"photo_id":"1352238002","filename":"file5"},{"photo_id":"1352237994","filename":"file2"},{"photo_id":"1352237999","filename":"file4"},{"photo_id":"1352237990","filename":"file1"},{"photo_id":"1352237981","filename":"file0"},{"photo_id":"1352237996","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352238002":["hashtag1","hashtag2"]},{"1352237996":["hashtag1","hashtag2"]},{"1352237981":["hashtag1","hashtag2"]},{"1352237994":["hashtag1","hashtag2"]},{"1352237999":["hashtag1","hashtag2"]},{"1352237990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352238002, 1352237996, 1352237981, 1352237994, 1352237999, 1352237990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51401686668396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 14:57:32.650325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_26_9470.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_36_10357.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_47_10376.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_56_9458.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_58_07_10394.jpg', '/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_16_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_26_9470.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_36_10357.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_47_10376.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_56_9458.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_58_07_10394.jpg
/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_16_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:59:03.616351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_26_9470.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_36_10357.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_47_10376.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_56_9458.jpg', '/home/pi/Desktop/images/20042025/11/57/image_20042025_11_58_07_10394.jpg', '/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_16_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_26_9470.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_36_10357.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_47_10376.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_57_56_9458.jpg
/home/pi/Desktop/images/20042025/11/57/image_20042025_11_58_07_10394.jpg
/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_16_9463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238466","1352238538","1352238526","1352238433","1352238497","1352238542"],"photo_ids_order":["1352238433","1352238466","1352238497","1352238526","1352238538","1352238542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03063dc2c28175b0d019915428ac8ae5.jpg","text":"TemporaryFile(/tmp/multipartBody8591406442172759123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154004176,"filename":"image_20042025_11_57_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/929f8b940741af5dbbffcf3a25230e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3985406938082350772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154004176,"filename":"image_20042025_11_58_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b9a350f0b9defce693ddaabeeb68533.jpg","text":"TemporaryFile(/tmp/multipartBody2768031358125996864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154004176,"filename":"image_20042025_11_57_56_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc5fbef033af816ab5712b63b4deff58.jpg","text":"TemporaryFile(/tmp/multipartBody6126832726302830348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154004176,"filename":"image_20042025_11_57_26_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7817d0cb6e952495ddba48611c1c4b0f.jpg","text":"TemporaryFile(/tmp/multipartBody898487370783357442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154004176,"filename":"image_20042025_11_57_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbf62421889f7d79aca54d15a4510bd5.jpg","text":"TemporaryFile(/tmp/multipartBody5948327698049358990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154004176,"filename":"image_20042025_11_58_16_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238497","file1":"1352238466","file0":"1352238433","file4":"1352238538","file5":"1352238542","file3":"1352238526"},"map_files_photo_id_array":[{"photo_id":"1352238542","filename":"file5"},{"photo_id":"1352238497","filename":"file2"},{"photo_id":"1352238538","filename":"file4"},{"photo_id":"1352238466","filename":"file1"},{"photo_id":"1352238433","filename":"file0"},{"photo_id":"1352238526","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352238466":["hashtag1","hashtag2"]},{"1352238538":["hashtag1","hashtag2"]},{"1352238526":["hashtag1","hashtag2"]},{"1352238433":["hashtag1","hashtag2"]},{"1352238497":["hashtag1","hashtag2"]},{"1352238542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352238466, 1352238538, 1352238526, 1352238433, 1352238497, 1352238542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.403295755386353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 14:59:42.291731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_26_10380.jpg', '/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_36_9463.jpg', '/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_46_10373.jpg', '/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_57_10378.jpg', '/home/pi/Desktop/images/20042025/11/58/image_20042025_11_59_06_9460.jpg', '/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_17_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_26_10380.jpg
/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_36_9463.jpg
/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_46_10373.jpg
/home/pi/Desktop/images/20042025/11/58/image_20042025_11_58_57_10378.jpg
/home/pi/Desktop/images/20042025/11/58/image_20042025_11_59_06_9460.jpg
/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_17_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238895","1352238774","1352238675","1352238954","1352238846","1352238638"],"photo_ids_order":["1352238638","1352238675","1352238774","1352238846","1352238895","1352238954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1ac95df0f3b2025de9136432bbb18d6.jpg","text":"TemporaryFile(/tmp/multipartBody580909171165417809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154042766,"filename":"image_20042025_11_59_06_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d05aa4b739a9ed0200697b0bab5ed0ed.jpg","text":"TemporaryFile(/tmp/multipartBody3388137810335078673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154042766,"filename":"image_20042025_11_58_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9d4fe6e557c408f168f96f8162e11d7.jpg","text":"TemporaryFile(/tmp/multipartBody8974795621932285917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154042766,"filename":"image_20042025_11_58_36_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a893bd93bdc94fb5ed1e728b0a90ac12.jpg","text":"TemporaryFile(/tmp/multipartBody2512269049966126650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154042766,"filename":"image_20042025_11_59_17_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c9a751a640b1e42530bfbcf0a72958c.jpg","text":"TemporaryFile(/tmp/multipartBody2398905201627402889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154042766,"filename":"image_20042025_11_58_57_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe66508a60346b1259f7064949966c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6974404595382652148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154042766,"filename":"image_20042025_11_58_26_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238774","file1":"1352238675","file0":"1352238638","file4":"1352238895","file5":"1352238954","file3":"1352238846"},"map_files_photo_id_array":[{"photo_id":"1352238954","filename":"file5"},{"photo_id":"1352238774","filename":"file2"},{"photo_id":"1352238895","filename":"file4"},{"photo_id":"1352238675","filename":"file1"},{"photo_id":"1352238638","filename":"file0"},{"photo_id":"1352238846","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352238895":["hashtag1","hashtag2"]},{"1352238774":["hashtag1","hashtag2"]},{"1352238675":["hashtag1","hashtag2"]},{"1352238954":["hashtag1","hashtag2"]},{"1352238846":["hashtag1","hashtag2"]},{"1352238638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352238895, 1352238774, 1352238675, 1352238954, 1352238846, 1352238638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.238006591796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:00:32.454804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_26_9470.jpg', '/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_36_10378.jpg', '/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_47_10373.jpg', '/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_56_9359.jpg', '/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_15_10073.jpg', '/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_26_9470.jpg
/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_36_10378.jpg
/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_47_10373.jpg
/home/pi/Desktop/images/20042025/11/59/image_20042025_11_59_56_9359.jpg
/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_15_10073.jpg
/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_26_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352239333","1352239833","1352239506","1352239428","1352239751","1352239675"],"photo_ids_order":["1352239333","1352239428","1352239506","1352239675","1352239751","1352239833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/558d2a0821706850a67033ae6550cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody6462531698086386636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154092926,"filename":"image_20042025_11_59_26_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2a418a54fb62fc4a4281d8536b4c633.jpg","text":"TemporaryFile(/tmp/multipartBody2031500319395580855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154092926,"filename":"image_20042025_12_00_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6db6ed1751c106b9cefe5d3df1a37563.jpg","text":"TemporaryFile(/tmp/multipartBody3654953821819338860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154092926,"filename":"image_20042025_11_59_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56b5a2fdb3ee6639e77871f5a1032e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6803446793675870277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154092926,"filename":"image_20042025_11_59_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f4c3d46e8b8c36a6f7c824ee2859e4f.jpg","text":"TemporaryFile(/tmp/multipartBody7740450744828228857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154092926,"filename":"image_20042025_12_00_15_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e8c2e95e326f83f51c03f20cdffcbe8.jpg","text":"TemporaryFile(/tmp/multipartBody4929051843961857624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154092926,"filename":"image_20042025_11_59_56_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239506","file1":"1352239428","file0":"1352239333","file4":"1352239751","file5":"1352239833","file3":"1352239675"},"map_files_photo_id_array":[{"photo_id":"1352239833","filename":"file5"},{"photo_id":"1352239506","filename":"file2"},{"photo_id":"1352239751","filename":"file4"},{"photo_id":"1352239428","filename":"file1"},{"photo_id":"1352239333","filename":"file0"},{"photo_id":"1352239675","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352239333":["hashtag1","hashtag2"]},{"1352239833":["hashtag1","hashtag2"]},{"1352239506":["hashtag1","hashtag2"]},{"1352239428":["hashtag1","hashtag2"]},{"1352239751":["hashtag1","hashtag2"]},{"1352239675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352239333, 1352239833, 1352239506, 1352239428, 1352239751, 1352239675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74549674987793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:01:32.634692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_36_10430.jpg', '/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_46_9358.jpg', '/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_56_10429.jpg', '/home/pi/Desktop/images/20042025/12/00/image_20042025_12_01_05_9353.jpg', '/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_16_10337.jpg', '/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_26_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_36_10430.jpg
/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_46_9358.jpg
/home/pi/Desktop/images/20042025/12/00/image_20042025_12_00_56_10429.jpg
/home/pi/Desktop/images/20042025/12/00/image_20042025_12_01_05_9353.jpg
/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_16_10337.jpg
/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_26_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240386","1352240359","1352240311","1352240384","1352240381","1352240261"],"photo_ids_order":["1352240261","1352240311","1352240359","1352240381","1352240384","1352240386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e003a174476522fbabe32ccc73aa7067.jpg","text":"TemporaryFile(/tmp/multipartBody6336086579429039091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154153096,"filename":"image_20042025_12_01_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8999bc70f3ba1a987bb99e298a94bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody5879810796074925804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154153096,"filename":"image_20042025_12_00_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9ea8cf4a4cbf0e42a60d13219dbdcc4.jpg","text":"TemporaryFile(/tmp/multipartBody8666258557867846135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154153096,"filename":"image_20042025_12_00_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a71e55200ec578d8aab785984a1af0f1.jpg","text":"TemporaryFile(/tmp/multipartBody6487624422159530404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154153096,"filename":"image_20042025_12_01_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8f51c5405a793b2254dd82bb596494b.jpg","text":"TemporaryFile(/tmp/multipartBody1287583525577643299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154153096,"filename":"image_20042025_12_01_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/274558343c8e410334c8610178ac9007.jpg","text":"TemporaryFile(/tmp/multipartBody1355039293633070476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154153096,"filename":"image_20042025_12_00_36_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240359","file1":"1352240311","file0":"1352240261","file4":"1352240384","file5":"1352240386","file3":"1352240381"},"map_files_photo_id_array":[{"photo_id":"1352240386","filename":"file5"},{"photo_id":"1352240359","filename":"file2"},{"photo_id":"1352240384","filename":"file4"},{"photo_id":"1352240311","filename":"file1"},{"photo_id":"1352240261","filename":"file0"},{"photo_id":"1352240381","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352240386":["hashtag1","hashtag2"]},{"1352240359":["hashtag1","hashtag2"]},{"1352240311":["hashtag1","hashtag2"]},{"1352240384":["hashtag1","hashtag2"]},{"1352240381":["hashtag1","hashtag2"]},{"1352240261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352240386, 1352240359, 1352240311, 1352240384, 1352240381, 1352240261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00432515144348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:02:32.860451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_35_9333.jpg', '/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_46_10354.jpg', '/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_56_10380.jpg', '/home/pi/Desktop/images/20042025/12/01/image_20042025_12_02_05_9344.jpg', '/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_16_10363.jpg', '/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_26_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_35_9333.jpg
/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_46_10354.jpg
/home/pi/Desktop/images/20042025/12/01/image_20042025_12_01_56_10380.jpg
/home/pi/Desktop/images/20042025/12/01/image_20042025_12_02_05_9344.jpg
/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_16_10363.jpg
/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_26_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240833","1352240641","1352240697","1352240772","1352240589","1352240561"],"photo_ids_order":["1352240561","1352240589","1352240641","1352240697","1352240772","1352240833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/747366dc5713e2b1d68a62288976296b.jpg","text":"TemporaryFile(/tmp/multipartBody2272252941483189723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154213324,"filename":"image_20042025_12_02_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4ecd36495670640e8c934ca4518357d.jpg","text":"TemporaryFile(/tmp/multipartBody6950157190912966096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154213324,"filename":"image_20042025_12_01_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/878fe8026478ba5dc18c9107b18007cd.jpg","text":"TemporaryFile(/tmp/multipartBody964911196450926694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154213324,"filename":"image_20042025_12_02_05_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df88603b4357e3ef79e5615444016768.jpg","text":"TemporaryFile(/tmp/multipartBody8587476830614596594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154213324,"filename":"image_20042025_12_02_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/160a648c26c14cc08e4b2ed7b13455bf.jpg","text":"TemporaryFile(/tmp/multipartBody7859763834142888309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154213324,"filename":"image_20042025_12_01_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20215e054655bcf288179a6e0e74c6a4.jpg","text":"TemporaryFile(/tmp/multipartBody1214194733059857502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154213324,"filename":"image_20042025_12_01_35_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240641","file1":"1352240589","file0":"1352240561","file4":"1352240772","file5":"1352240833","file3":"1352240697"},"map_files_photo_id_array":[{"photo_id":"1352240833","filename":"file5"},{"photo_id":"1352240641","filename":"file2"},{"photo_id":"1352240772","filename":"file4"},{"photo_id":"1352240589","filename":"file1"},{"photo_id":"1352240561","filename":"file0"},{"photo_id":"1352240697","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352240833":["hashtag1","hashtag2"]},{"1352240641":["hashtag1","hashtag2"]},{"1352240697":["hashtag1","hashtag2"]},{"1352240772":["hashtag1","hashtag2"]},{"1352240589":["hashtag1","hashtag2"]},{"1352240561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352240833, 1352240641, 1352240697, 1352240772, 1352240589, 1352240561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52878403663635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:03:33.127546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_36_9339.jpg', '/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_46_10369.jpg', '/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_55_9430.jpg', '/home/pi/Desktop/images/20042025/12/02/image_20042025_12_03_06_10353.jpg', '/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_16_9960.jpg', '/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_26_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_36_9339.jpg
/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_46_10369.jpg
/home/pi/Desktop/images/20042025/12/02/image_20042025_12_02_55_9430.jpg
/home/pi/Desktop/images/20042025/12/02/image_20042025_12_03_06_10353.jpg
/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_16_9960.jpg
/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_26_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241262","1352241198","1352241234","1352241290","1352241317","1352241169"],"photo_ids_order":["1352241169","1352241198","1352241234","1352241262","1352241290","1352241317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/413ecdf4c90c74cda6dc8475a706edc6.jpg","text":"TemporaryFile(/tmp/multipartBody4118937634112892773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154273592,"filename":"image_20042025_12_03_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c7d9d2133822b6479f514d00bf4a7b8.jpg","text":"TemporaryFile(/tmp/multipartBody4275261721934962040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154273592,"filename":"image_20042025_12_02_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a11b08042d860261e83430ec9f93bcf.jpg","text":"TemporaryFile(/tmp/multipartBody5144278169905973997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154273592,"filename":"image_20042025_12_02_55_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c17a0168cf40a207ae804b31b272adb.jpg","text":"TemporaryFile(/tmp/multipartBody5013056664619313080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154273592,"filename":"image_20042025_12_03_16_9960.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eccff4279172561f666de931956bd990.jpg","text":"TemporaryFile(/tmp/multipartBody8385783662723297089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154273592,"filename":"image_20042025_12_03_26_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6a1175c27d7f4e502774b0696167b66.jpg","text":"TemporaryFile(/tmp/multipartBody6522078569602693791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154273592,"filename":"image_20042025_12_02_36_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241234","file1":"1352241198","file0":"1352241169","file4":"1352241290","file5":"1352241317","file3":"1352241262"},"map_files_photo_id_array":[{"photo_id":"1352241317","filename":"file5"},{"photo_id":"1352241234","filename":"file2"},{"photo_id":"1352241290","filename":"file4"},{"photo_id":"1352241198","filename":"file1"},{"photo_id":"1352241169","filename":"file0"},{"photo_id":"1352241262","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352241262":["hashtag1","hashtag2"]},{"1352241198":["hashtag1","hashtag2"]},{"1352241234":["hashtag1","hashtag2"]},{"1352241290":["hashtag1","hashtag2"]},{"1352241317":["hashtag1","hashtag2"]},{"1352241169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352241262, 1352241198, 1352241234, 1352241290, 1352241317, 1352241169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69395685195923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:04:32.457628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_35_9357.jpg', '/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_46_10419.jpg', '/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_55_9426.jpg', '/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_16_10364.jpg', '/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_26_9350.jpg', '/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_36_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_35_9357.jpg
/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_46_10419.jpg
/home/pi/Desktop/images/20042025/12/03/image_20042025_12_03_55_9426.jpg
/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_16_10364.jpg
/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_26_9350.jpg
/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_36_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241628","1352241567","1352241714","1352241686","1352241598","1352241658"],"photo_ids_order":["1352241567","1352241598","1352241628","1352241658","1352241686","1352241714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c227116e9762deaa6f1075df3c948e25.jpg","text":"TemporaryFile(/tmp/multipartBody8441415433849616337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154332922,"filename":"image_20042025_12_03_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfbc76e0079f574d6498f97ad817c530.jpg","text":"TemporaryFile(/tmp/multipartBody8206158707886695257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154332922,"filename":"image_20042025_12_03_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f1934eded3f89c1b8d5b70ebcae61a3.jpg","text":"TemporaryFile(/tmp/multipartBody6242243743598539227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154332922,"filename":"image_20042025_12_04_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bfc24be8674fb6119bf5064119438d2.jpg","text":"TemporaryFile(/tmp/multipartBody6453792406415336362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154332922,"filename":"image_20042025_12_04_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d00ed23a14c3fb4be5b41592d9dc7d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8069084846772080147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154332922,"filename":"image_20042025_12_03_46_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/760d7ee6dbc23cc88f9229badd872676.jpg","text":"TemporaryFile(/tmp/multipartBody1874917039074417477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154332922,"filename":"image_20042025_12_04_16_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241628","file1":"1352241598","file0":"1352241567","file4":"1352241686","file5":"1352241714","file3":"1352241658"},"map_files_photo_id_array":[{"photo_id":"1352241714","filename":"file5"},{"photo_id":"1352241628","filename":"file2"},{"photo_id":"1352241686","filename":"file4"},{"photo_id":"1352241598","filename":"file1"},{"photo_id":"1352241567","filename":"file0"},{"photo_id":"1352241658","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352241628":["hashtag1","hashtag2"]},{"1352241567":["hashtag1","hashtag2"]},{"1352241714":["hashtag1","hashtag2"]},{"1352241686":["hashtag1","hashtag2"]},{"1352241598":["hashtag1","hashtag2"]},{"1352241658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352241628, 1352241567, 1352241714, 1352241686, 1352241598, 1352241658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57021737098694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:05:32.535703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_45_9361.jpg', '/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_56_10373.jpg', '/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_15_9339.jpg', '/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_36_10388.jpg', '/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_46_9359.jpg', '/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_56_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_45_9361.jpg
/home/pi/Desktop/images/20042025/12/04/image_20042025_12_04_56_10373.jpg
/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_15_9339.jpg
/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_36_10388.jpg
/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_46_9359.jpg
/home/pi/Desktop/images/20042025/12/05/image_20042025_12_05_56_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241979","1352242080","1352242110","1352242052","1352242025","1352241998"],"photo_ids_order":["1352241979","1352241998","1352242025","1352242052","1352242080","1352242110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7f7a5c38e2fe261fbfef330fbcbd203.jpg","text":"TemporaryFile(/tmp/multipartBody6080993005410063437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154392994,"filename":"image_20042025_12_04_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ebaf6483f7e1631fbf161be59dd09c7.jpg","text":"TemporaryFile(/tmp/multipartBody2483721392881476330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154392994,"filename":"image_20042025_12_05_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96b0f5aec367f350e13b7a47aac441fa.jpg","text":"TemporaryFile(/tmp/multipartBody1890287727358042304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154392994,"filename":"image_20042025_12_05_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81529d65bd4d7cdf32ba4257c55c0080.jpg","text":"TemporaryFile(/tmp/multipartBody1949022974901047485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154392994,"filename":"image_20042025_12_05_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76a3a1be877da9de8ad6572550b93c2b.jpg","text":"TemporaryFile(/tmp/multipartBody8433170015831011010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154392994,"filename":"image_20042025_12_05_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e585e403b84a8c91386132683ece1e1.jpg","text":"TemporaryFile(/tmp/multipartBody3214996820608501466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154392994,"filename":"image_20042025_12_04_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352242025","file1":"1352241998","file0":"1352241979","file4":"1352242080","file5":"1352242110","file3":"1352242052"},"map_files_photo_id_array":[{"photo_id":"1352242110","filename":"file5"},{"photo_id":"1352242025","filename":"file2"},{"photo_id":"1352242080","filename":"file4"},{"photo_id":"1352241998","filename":"file1"},{"photo_id":"1352241979","filename":"file0"},{"photo_id":"1352242052","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352241979":["hashtag1","hashtag2"]},{"1352242080":["hashtag1","hashtag2"]},{"1352242110":["hashtag1","hashtag2"]},{"1352242052":["hashtag1","hashtag2"]},{"1352242025":["hashtag1","hashtag2"]},{"1352241998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352241979, 1352242080, 1352242110, 1352242052, 1352242025, 1352241998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.86667561531067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:06:32.894604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/05/image_20042025_12_06_05_9408.jpg', '/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_16_10359.jpg', '/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_26_10388.jpg', '/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_36_9431.jpg', '/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_46_10471.jpg', '/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_55_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/05/image_20042025_12_06_05_9408.jpg
/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_16_10359.jpg
/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_26_10388.jpg
/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_36_9431.jpg
/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_46_10471.jpg
/home/pi/Desktop/images/20042025/12/06/image_20042025_12_06_55_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352242389","1352242449","1352242421","1352242538","1352242508","1352242477"],"photo_ids_order":["1352242389","1352242421","1352242449","1352242477","1352242508","1352242538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ca7e6564c2353023761f574d35a1d00.jpg","text":"TemporaryFile(/tmp/multipartBody220361710805802477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154453352,"filename":"image_20042025_12_06_05_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddaebec7de405ec5f4931f42981bd8c2.jpg","text":"TemporaryFile(/tmp/multipartBody2067017780813066939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154453352,"filename":"image_20042025_12_06_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9775b5f31f81a4db16c0a374b965ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7194607593868680296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154453352,"filename":"image_20042025_12_06_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d975b1988a5e41516333ef5a03ea5dc.jpg","text":"TemporaryFile(/tmp/multipartBody3513451330745625340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154453352,"filename":"image_20042025_12_06_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04319b619450323deece6d9139c806b1.jpg","text":"TemporaryFile(/tmp/multipartBody8010110462492651274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154453352,"filename":"image_20042025_12_06_46_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3f698b1b324168e3bab2f620ac74f91.jpg","text":"TemporaryFile(/tmp/multipartBody1694147876444177044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154453352,"filename":"image_20042025_12_06_36_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352242449","file1":"1352242421","file0":"1352242389","file4":"1352242508","file5":"1352242538","file3":"1352242477"},"map_files_photo_id_array":[{"photo_id":"1352242538","filename":"file5"},{"photo_id":"1352242449","filename":"file2"},{"photo_id":"1352242508","filename":"file4"},{"photo_id":"1352242421","filename":"file1"},{"photo_id":"1352242389","filename":"file0"},{"photo_id":"1352242477","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352242389":["hashtag1","hashtag2"]},{"1352242449":["hashtag1","hashtag2"]},{"1352242421":["hashtag1","hashtag2"]},{"1352242538":["hashtag1","hashtag2"]},{"1352242508":["hashtag1","hashtag2"]},{"1352242477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352242389, 1352242449, 1352242421, 1352242538, 1352242508, 1352242477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.6256422996521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:07:33.106689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/06/image_20042025_12_07_06_10341.jpg', '/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_16_10355.jpg', '/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_25_9356.jpg', '/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_36_10428.jpg', '/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_46_10344.jpg', '/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/06/image_20042025_12_07_06_10341.jpg
/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_16_10355.jpg
/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_25_9356.jpg
/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_36_10428.jpg
/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_46_10344.jpg
/home/pi/Desktop/images/20042025/12/07/image_20042025_12_07_56_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352242933","1352242959","1352242968","1352242970","1352242808","1352242966"],"photo_ids_order":["1352242808","1352242933","1352242959","1352242966","1352242968","1352242970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/553b0da4778573203020f190162d4978.jpg","text":"TemporaryFile(/tmp/multipartBody804313389766207258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154513630,"filename":"image_20042025_12_07_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd494d4043732c3b2385b933911df1e1.jpg","text":"TemporaryFile(/tmp/multipartBody18676867631014192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154513630,"filename":"image_20042025_12_07_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47cd99468a3a79519de340038253e715.jpg","text":"TemporaryFile(/tmp/multipartBody6344584649748105317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154513630,"filename":"image_20042025_12_07_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e182b3363ce50535b84408f07794225.jpg","text":"TemporaryFile(/tmp/multipartBody5094923789638520967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154513630,"filename":"image_20042025_12_07_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc7b5db4b63a9fe8553657a5ac2205b4.jpg","text":"TemporaryFile(/tmp/multipartBody103879041521009986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154513630,"filename":"image_20042025_12_07_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c493841b5d36a07c14b06009e48c6c51.jpg","text":"TemporaryFile(/tmp/multipartBody8807568524339209330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154513630,"filename":"image_20042025_12_07_36_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352242959","file1":"1352242933","file0":"1352242808","file4":"1352242968","file5":"1352242970","file3":"1352242966"},"map_files_photo_id_array":[{"photo_id":"1352242970","filename":"file5"},{"photo_id":"1352242959","filename":"file2"},{"photo_id":"1352242968","filename":"file4"},{"photo_id":"1352242933","filename":"file1"},{"photo_id":"1352242808","filename":"file0"},{"photo_id":"1352242966","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352242933":["hashtag1","hashtag2"]},{"1352242959":["hashtag1","hashtag2"]},{"1352242968":["hashtag1","hashtag2"]},{"1352242970":["hashtag1","hashtag2"]},{"1352242808":["hashtag1","hashtag2"]},{"1352242966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352242933, 1352242959, 1352242968, 1352242970, 1352242808, 1352242966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47081804275513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:08:32.481428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/07/image_20042025_12_08_06_10370.jpg', '/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_15_9390.jpg', '/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_26_10350.jpg', '/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_36_10436.jpg', '/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_46_9371.jpg', '/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_56_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/07/image_20042025_12_08_06_10370.jpg
/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_15_9390.jpg
/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_26_10350.jpg
/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_36_10436.jpg
/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_46_9371.jpg
/home/pi/Desktop/images/20042025/12/08/image_20042025_12_08_56_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352242980","1352242998","1352243001","1352242991","1352242994","1352242988"],"photo_ids_order":["1352242980","1352242988","1352242991","1352242994","1352242998","1352243001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6741432e4a0c8e7a0fd11bec966e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody9184729017673690416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154572941,"filename":"image_20042025_12_08_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3adcabc0ae83b3409a83bde48236e6ea.jpg","text":"TemporaryFile(/tmp/multipartBody1153494373072833064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154572941,"filename":"image_20042025_12_08_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0bad51ab7adc8d3d2b54389d5679074.jpg","text":"TemporaryFile(/tmp/multipartBody5943075047038662557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154572941,"filename":"image_20042025_12_08_56_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c41457e34a3fd38e6edd50dae865dddb.jpg","text":"TemporaryFile(/tmp/multipartBody9032038599401967041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154572941,"filename":"image_20042025_12_08_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5451a12d2bbe7e985d91fade4e86dd29.jpg","text":"TemporaryFile(/tmp/multipartBody5883840590539903735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154572941,"filename":"image_20042025_12_08_36_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63cfa993d995fd3e2c2f566517ae6314.jpg","text":"TemporaryFile(/tmp/multipartBody1740097723106727011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154572941,"filename":"image_20042025_12_08_15_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352242991","file1":"1352242988","file0":"1352242980","file4":"1352242998","file5":"1352243001","file3":"1352242994"},"map_files_photo_id_array":[{"photo_id":"1352243001","filename":"file5"},{"photo_id":"1352242991","filename":"file2"},{"photo_id":"1352242998","filename":"file4"},{"photo_id":"1352242988","filename":"file1"},{"photo_id":"1352242980","filename":"file0"},{"photo_id":"1352242994","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352242980":["hashtag1","hashtag2"]},{"1352242998":["hashtag1","hashtag2"]},{"1352243001":["hashtag1","hashtag2"]},{"1352242991":["hashtag1","hashtag2"]},{"1352242994":["hashtag1","hashtag2"]},{"1352242988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352242980, 1352242998, 1352243001, 1352242991, 1352242994, 1352242988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77648687362671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:09:32.738915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/08/image_20042025_12_09_05_9353.jpg', '/home/pi/Desktop/images/20042025/12/09/image_20042025_12_09_16_10368.jpg', '/home/pi/Desktop/images/20042025/12/09/image_20042025_12_09_26_10520.jpg', '/home/pi/Desktop/images/20042025/12/09/image_20042025_12_09_36_9366.jpg', '/home/pi/Desktop/images/20042025/12/09/image_20042025_12_10_06_10382.jpg', '/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_16_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/08/image_20042025_12_09_05_9353.jpg
/home/pi/Desktop/images/20042025/12/09/image_20042025_12_09_16_10368.jpg
/home/pi/Desktop/images/20042025/12/09/image_20042025_12_09_26_10520.jpg
/home/pi/Desktop/images/20042025/12/09/image_20042025_12_09_36_9366.jpg
/home/pi/Desktop/images/20042025/12/09/image_20042025_12_10_06_10382.jpg
/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_16_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243145","1352243055","1352243084","1352243027","1352243173","1352243113"],"photo_ids_order":["1352243027","1352243055","1352243084","1352243113","1352243145","1352243173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e874da240501228423cf4497b9b7301.jpg","text":"TemporaryFile(/tmp/multipartBody6029303163182965811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154633215,"filename":"image_20042025_12_10_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcadc224c50502e0e848b568729ca687.jpg","text":"TemporaryFile(/tmp/multipartBody8412198890588339159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154633215,"filename":"image_20042025_12_09_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3781b6b8656595371fc5238c226dcbd1.jpg","text":"TemporaryFile(/tmp/multipartBody2759841373106530650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154633215,"filename":"image_20042025_12_09_26_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce5a87f1e1325d122e229f04e49ab7da.jpg","text":"TemporaryFile(/tmp/multipartBody3496139550893487130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154633215,"filename":"image_20042025_12_09_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48e0ae05acd43d37c55c3e2ef754c8a5.jpg","text":"TemporaryFile(/tmp/multipartBody1084845326553502535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154633215,"filename":"image_20042025_12_10_16_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce7a42bb92529808806075d1776f61b4.jpg","text":"TemporaryFile(/tmp/multipartBody2594704627685870554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154633215,"filename":"image_20042025_12_09_36_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352243084","file1":"1352243055","file0":"1352243027","file4":"1352243145","file5":"1352243173","file3":"1352243113"},"map_files_photo_id_array":[{"photo_id":"1352243173","filename":"file5"},{"photo_id":"1352243084","filename":"file2"},{"photo_id":"1352243145","filename":"file4"},{"photo_id":"1352243055","filename":"file1"},{"photo_id":"1352243027","filename":"file0"},{"photo_id":"1352243113","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352243145":["hashtag1","hashtag2"]},{"1352243055":["hashtag1","hashtag2"]},{"1352243084":["hashtag1","hashtag2"]},{"1352243027":["hashtag1","hashtag2"]},{"1352243173":["hashtag1","hashtag2"]},{"1352243113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352243145, 1352243055, 1352243084, 1352243027, 1352243173, 1352243113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.39725661277771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:10:32.950219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_26_9433.jpg', '/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_36_10432.jpg', '/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_45_9372.jpg', '/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_56_10483.jpg', '/home/pi/Desktop/images/20042025/12/10/image_20042025_12_11_05_9366.jpg', '/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_16_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_26_9433.jpg
/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_36_10432.jpg
/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_45_9372.jpg
/home/pi/Desktop/images/20042025/12/10/image_20042025_12_10_56_10483.jpg
/home/pi/Desktop/images/20042025/12/10/image_20042025_12_11_05_9366.jpg
/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_16_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243462","1352243465","1352243453","1352243456","1352243428","1352243413"],"photo_ids_order":["1352243413","1352243428","1352243453","1352243456","1352243462","1352243465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd99821f9a89249ae3d71ba76cf6c808.jpg","text":"TemporaryFile(/tmp/multipartBody7524874598622340074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154693444,"filename":"image_20042025_12_11_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5d61bff8fa1cda5016fe262c87b65fb.jpg","text":"TemporaryFile(/tmp/multipartBody3836768707338251156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154693444,"filename":"image_20042025_12_11_16_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9beb6baa425ecaf3bc27971af668fa6b.jpg","text":"TemporaryFile(/tmp/multipartBody1757177432615407300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154693444,"filename":"image_20042025_12_10_45_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67fafb74849555560e96d54c23dae08d.jpg","text":"TemporaryFile(/tmp/multipartBody7426174459419445470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154693444,"filename":"image_20042025_12_10_56_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9705a14351de09faa239ad1ff307cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5378939495627172909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154693444,"filename":"image_20042025_12_10_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6bb2e2cac14ace3529b58ac027ce9c5.jpg","text":"TemporaryFile(/tmp/multipartBody3024311167948983350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154693444,"filename":"image_20042025_12_10_26_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352243453","file1":"1352243428","file0":"1352243413","file4":"1352243462","file5":"1352243465","file3":"1352243456"},"map_files_photo_id_array":[{"photo_id":"1352243465","filename":"file5"},{"photo_id":"1352243453","filename":"file2"},{"photo_id":"1352243462","filename":"file4"},{"photo_id":"1352243428","filename":"file1"},{"photo_id":"1352243413","filename":"file0"},{"photo_id":"1352243456","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352243462":["hashtag1","hashtag2"]},{"1352243465":["hashtag1","hashtag2"]},{"1352243453":["hashtag1","hashtag2"]},{"1352243456":["hashtag1","hashtag2"]},{"1352243428":["hashtag1","hashtag2"]},{"1352243413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352243462, 1352243465, 1352243453, 1352243456, 1352243428, 1352243413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.20594310760498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:11:32.228080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_26_10384.jpg', '/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_36_9353.jpg', '/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_46_10399.jpg', '/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_55_9362.jpg', '/home/pi/Desktop/images/20042025/12/11/image_20042025_12_12_06_10397.jpg', '/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_16_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_26_10384.jpg
/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_36_9353.jpg
/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_46_10399.jpg
/home/pi/Desktop/images/20042025/12/11/image_20042025_12_11_55_9362.jpg
/home/pi/Desktop/images/20042025/12/11/image_20042025_12_12_06_10397.jpg
/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_16_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243646","1352243610","1352243642","1352243648","1352243583","1352243559"],"photo_ids_order":["1352243559","1352243583","1352243610","1352243642","1352243646","1352243648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c05e1f243f516065f383d10879a402f.jpg","text":"TemporaryFile(/tmp/multipartBody8014226701775327298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154752691,"filename":"image_20042025_12_12_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7cd526fa6e37002a2eb32be11144b83.jpg","text":"TemporaryFile(/tmp/multipartBody7887178772800657128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154752691,"filename":"image_20042025_12_11_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96c51f29450a52fe959e16b7ea1f78a5.jpg","text":"TemporaryFile(/tmp/multipartBody7608032202524045743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154752691,"filename":"image_20042025_12_11_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/914dcf0784c3c40b746e7c28a12cd010.jpg","text":"TemporaryFile(/tmp/multipartBody2499845544370715971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154752691,"filename":"image_20042025_12_12_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/162251a842610835715c8f4c5a211f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4919146357133899943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154752691,"filename":"image_20042025_12_11_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9ab612e9c2d1a1f26449fb4cc201ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3851625476092015779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154752691,"filename":"image_20042025_12_11_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352243610","file1":"1352243583","file0":"1352243559","file4":"1352243646","file5":"1352243648","file3":"1352243642"},"map_files_photo_id_array":[{"photo_id":"1352243648","filename":"file5"},{"photo_id":"1352243610","filename":"file2"},{"photo_id":"1352243646","filename":"file4"},{"photo_id":"1352243583","filename":"file1"},{"photo_id":"1352243559","filename":"file0"},{"photo_id":"1352243642","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352243646":["hashtag1","hashtag2"]},{"1352243610":["hashtag1","hashtag2"]},{"1352243642":["hashtag1","hashtag2"]},{"1352243648":["hashtag1","hashtag2"]},{"1352243583":["hashtag1","hashtag2"]},{"1352243559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352243646, 1352243610, 1352243642, 1352243648, 1352243583, 1352243559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.340919971466064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:12:32.462512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_25_9368.jpg', '/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_36_10352.jpg', '/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_46_10406.jpg', '/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_56_9388.jpg', '/home/pi/Desktop/images/20042025/12/12/image_20042025_12_13_06_10356.jpg', '/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_15_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_25_9368.jpg
/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_36_10352.jpg
/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_46_10406.jpg
/home/pi/Desktop/images/20042025/12/12/image_20042025_12_12_56_9388.jpg
/home/pi/Desktop/images/20042025/12/12/image_20042025_12_13_06_10356.jpg
/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_15_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243673","1352243681","1352243669","1352243678","1352243672","1352243676"],"photo_ids_order":["1352243669","1352243672","1352243673","1352243676","1352243678","1352243681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/563a09185dcf4a64b5da8e52d2a57310.jpg","text":"TemporaryFile(/tmp/multipartBody8201034176027003243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154813009,"filename":"image_20042025_12_12_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03724027633948f9331400c6e869f060.jpg","text":"TemporaryFile(/tmp/multipartBody2207060138866694731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154813009,"filename":"image_20042025_12_13_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17292ea95b04139624260b9c181de307.jpg","text":"TemporaryFile(/tmp/multipartBody7094381085587440849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154813009,"filename":"image_20042025_12_12_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71a0094a56caf87f383d7d1bd48a792e.jpg","text":"TemporaryFile(/tmp/multipartBody6455528139888252182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154813009,"filename":"image_20042025_12_13_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a33350a81d8ed9ef97809ffd9a2b0c8b.jpg","text":"TemporaryFile(/tmp/multipartBody5998825892123779028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154813009,"filename":"image_20042025_12_12_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d71289bc8e03cbb270de4e7a014a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody2122774980337527516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154813009,"filename":"image_20042025_12_12_56_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352243673","file1":"1352243672","file0":"1352243669","file4":"1352243678","file5":"1352243681","file3":"1352243676"},"map_files_photo_id_array":[{"photo_id":"1352243681","filename":"file5"},{"photo_id":"1352243673","filename":"file2"},{"photo_id":"1352243678","filename":"file4"},{"photo_id":"1352243672","filename":"file1"},{"photo_id":"1352243669","filename":"file0"},{"photo_id":"1352243676","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352243673":["hashtag1","hashtag2"]},{"1352243681":["hashtag1","hashtag2"]},{"1352243669":["hashtag1","hashtag2"]},{"1352243678":["hashtag1","hashtag2"]},{"1352243672":["hashtag1","hashtag2"]},{"1352243676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352243673, 1352243681, 1352243669, 1352243678, 1352243672, 1352243676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43129324913025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:13:32.701998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_26_10377.jpg', '/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_36_10363.jpg', '/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_45_9371.jpg', '/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_56_10380.jpg', '/home/pi/Desktop/images/20042025/12/13/image_20042025_12_14_06_10431.jpg', '/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_16_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_26_10377.jpg
/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_36_10363.jpg
/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_45_9371.jpg
/home/pi/Desktop/images/20042025/12/13/image_20042025_12_13_56_10380.jpg
/home/pi/Desktop/images/20042025/12/13/image_20042025_12_14_06_10431.jpg
/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_16_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243699","1352243706","1352243702","1352243788","1352243761","1352243734"],"photo_ids_order":["1352243699","1352243702","1352243706","1352243734","1352243761","1352243788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b3f805c01d76bcd04d61376d8599859.jpg","text":"TemporaryFile(/tmp/multipartBody4604497566771210250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154873161,"filename":"image_20042025_12_13_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de141028ebb2406e967032303227cb54.jpg","text":"TemporaryFile(/tmp/multipartBody7914037372214499155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154873161,"filename":"image_20042025_12_13_45_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c172a1b667eaff1391b95600ef54d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2895935490307443567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154873161,"filename":"image_20042025_12_13_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/481e0ae1daa729dc34cd94624853c1f1.jpg","text":"TemporaryFile(/tmp/multipartBody8328058090917467733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154873161,"filename":"image_20042025_12_14_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4189c6e5f025411d724ac2f1046c8c2.jpg","text":"TemporaryFile(/tmp/multipartBody3604681025169900065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154873161,"filename":"image_20042025_12_14_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc37e676972ef62b9786b4602fec85bf.jpg","text":"TemporaryFile(/tmp/multipartBody6989182364948890527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154873161,"filename":"image_20042025_12_13_56_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352243706","file1":"1352243702","file0":"1352243699","file4":"1352243761","file5":"1352243788","file3":"1352243734"},"map_files_photo_id_array":[{"photo_id":"1352243788","filename":"file5"},{"photo_id":"1352243706","filename":"file2"},{"photo_id":"1352243761","filename":"file4"},{"photo_id":"1352243702","filename":"file1"},{"photo_id":"1352243699","filename":"file0"},{"photo_id":"1352243734","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352243699":["hashtag1","hashtag2"]},{"1352243706":["hashtag1","hashtag2"]},{"1352243702":["hashtag1","hashtag2"]},{"1352243788":["hashtag1","hashtag2"]},{"1352243761":["hashtag1","hashtag2"]},{"1352243734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352243699, 1352243706, 1352243702, 1352243788, 1352243761, 1352243734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.809014081954956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:14:32.948664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_26_10365.jpg', '/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_35_9362.jpg', '/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_46_10348.jpg', '/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_56_10472.jpg', '/home/pi/Desktop/images/20042025/12/14/image_20042025_12_15_06_9344.jpg', '/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_16_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_26_10365.jpg
/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_35_9362.jpg
/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_46_10348.jpg
/home/pi/Desktop/images/20042025/12/14/image_20042025_12_14_56_10472.jpg
/home/pi/Desktop/images/20042025/12/14/image_20042025_12_15_06_9344.jpg
/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_16_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244102","1352244065","1352244101","1352244107","1352244084","1352244103"],"photo_ids_order":["1352244065","1352244084","1352244101","1352244102","1352244103","1352244107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e87ae02544159d398469dc9fc02154fb.jpg","text":"TemporaryFile(/tmp/multipartBody6152778208430543481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154933420,"filename":"image_20042025_12_14_56_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e6dba552f6a121fc1b646103fd0cfc6.jpg","text":"TemporaryFile(/tmp/multipartBody7019948272105015306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154933420,"filename":"image_20042025_12_14_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1d6a22491af02d4f2b945c8ded945ae.jpg","text":"TemporaryFile(/tmp/multipartBody346011660334618776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154933420,"filename":"image_20042025_12_14_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d27073b3b01a2d83b6d92cccad0c2dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2776226140650290095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154933420,"filename":"image_20042025_12_15_16_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2b573aa8fa7c682858d5c2cae4aa751.jpg","text":"TemporaryFile(/tmp/multipartBody9155870920701857985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154933420,"filename":"image_20042025_12_14_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05860232e49568b0f0fea70155e5352e.jpg","text":"TemporaryFile(/tmp/multipartBody1465914200830031520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154933420,"filename":"image_20042025_12_15_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244101","file1":"1352244084","file0":"1352244065","file4":"1352244103","file5":"1352244107","file3":"1352244102"},"map_files_photo_id_array":[{"photo_id":"1352244107","filename":"file5"},{"photo_id":"1352244101","filename":"file2"},{"photo_id":"1352244103","filename":"file4"},{"photo_id":"1352244084","filename":"file1"},{"photo_id":"1352244065","filename":"file0"},{"photo_id":"1352244102","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244102":["hashtag1","hashtag2"]},{"1352244065":["hashtag1","hashtag2"]},{"1352244101":["hashtag1","hashtag2"]},{"1352244107":["hashtag1","hashtag2"]},{"1352244084":["hashtag1","hashtag2"]},{"1352244103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244102, 1352244065, 1352244101, 1352244107, 1352244084, 1352244103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.91232395172119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:15:33.257431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_25_9366.jpg', '/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_36_10382.jpg', '/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_46_10449.jpg', '/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_56_9360.jpg', '/home/pi/Desktop/images/20042025/12/15/image_20042025_12_16_06_10439.jpg', '/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_15_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_25_9366.jpg
/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_36_10382.jpg
/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_46_10449.jpg
/home/pi/Desktop/images/20042025/12/15/image_20042025_12_15_56_9360.jpg
/home/pi/Desktop/images/20042025/12/15/image_20042025_12_16_06_10439.jpg
/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_15_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244120","1352244122","1352244125","1352244124","1352244127","1352244129"],"photo_ids_order":["1352244120","1352244122","1352244124","1352244125","1352244127","1352244129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b618b789a2e46ac2e61d1103b8ad1908.jpg","text":"TemporaryFile(/tmp/multipartBody7160024031492785766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154993736,"filename":"image_20042025_12_15_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cb289afb374ae4d5623bd29cbb40d31.jpg","text":"TemporaryFile(/tmp/multipartBody200213182073922534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154993736,"filename":"image_20042025_12_15_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f4fcd54413d65876f92c3feee76312f.jpg","text":"TemporaryFile(/tmp/multipartBody6875749489138998829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154993736,"filename":"image_20042025_12_15_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b307b9e61c62c33310c803d4fb7ee887.jpg","text":"TemporaryFile(/tmp/multipartBody5983769284072410612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154993736,"filename":"image_20042025_12_15_46_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72551e401c50a1a8436043445dff6005.jpg","text":"TemporaryFile(/tmp/multipartBody8112280489504329298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154993736,"filename":"image_20042025_12_16_06_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/972045df30e843f328ceed541fad08c8.jpg","text":"TemporaryFile(/tmp/multipartBody7510046670611119978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745154993736,"filename":"image_20042025_12_16_15_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244124","file1":"1352244122","file0":"1352244120","file4":"1352244127","file5":"1352244129","file3":"1352244125"},"map_files_photo_id_array":[{"photo_id":"1352244129","filename":"file5"},{"photo_id":"1352244124","filename":"file2"},{"photo_id":"1352244127","filename":"file4"},{"photo_id":"1352244122","filename":"file1"},{"photo_id":"1352244120","filename":"file0"},{"photo_id":"1352244125","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244120":["hashtag1","hashtag2"]},{"1352244122":["hashtag1","hashtag2"]},{"1352244125":["hashtag1","hashtag2"]},{"1352244124":["hashtag1","hashtag2"]},{"1352244127":["hashtag1","hashtag2"]},{"1352244129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244120, 1352244122, 1352244125, 1352244124, 1352244127, 1352244129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98762035369873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:16:32.507560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_26_10365.jpg', '/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_36_10432.jpg', '/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_46_9359.jpg', '/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_56_10437.jpg', '/home/pi/Desktop/images/20042025/12/16/image_20042025_12_17_05_9356.jpg', '/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_16_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_26_10365.jpg
/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_36_10432.jpg
/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_46_9359.jpg
/home/pi/Desktop/images/20042025/12/16/image_20042025_12_16_56_10437.jpg
/home/pi/Desktop/images/20042025/12/16/image_20042025_12_17_05_9356.jpg
/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_16_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244158","1352244163","1352244145","1352244148","1352244153","1352244162"],"photo_ids_order":["1352244145","1352244148","1352244153","1352244158","1352244162","1352244163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30594392536cd6629deae192805bf903.jpg","text":"TemporaryFile(/tmp/multipartBody2270887947217222382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155052982,"filename":"image_20042025_12_16_56_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/409b1a845735a15afd07571db14e24cc.jpg","text":"TemporaryFile(/tmp/multipartBody8951248090462906879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155052982,"filename":"image_20042025_12_17_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4923153448b4ae9d546b1221720278de.jpg","text":"TemporaryFile(/tmp/multipartBody4574803339510855866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155052982,"filename":"image_20042025_12_16_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e35b5dea5ffdd734be9462424c19e045.jpg","text":"TemporaryFile(/tmp/multipartBody633246234250639388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155052982,"filename":"image_20042025_12_16_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab35a8965e195ffe462ec2651f66ff78.jpg","text":"TemporaryFile(/tmp/multipartBody8039607635551230633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155052982,"filename":"image_20042025_12_16_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9b31729af1c429b2c40949fd815de5f.jpg","text":"TemporaryFile(/tmp/multipartBody1728102354997010800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155052982,"filename":"image_20042025_12_17_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244153","file1":"1352244148","file0":"1352244145","file4":"1352244162","file5":"1352244163","file3":"1352244158"},"map_files_photo_id_array":[{"photo_id":"1352244163","filename":"file5"},{"photo_id":"1352244153","filename":"file2"},{"photo_id":"1352244162","filename":"file4"},{"photo_id":"1352244148","filename":"file1"},{"photo_id":"1352244145","filename":"file0"},{"photo_id":"1352244158","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244158":["hashtag1","hashtag2"]},{"1352244163":["hashtag1","hashtag2"]},{"1352244145":["hashtag1","hashtag2"]},{"1352244148":["hashtag1","hashtag2"]},{"1352244153":["hashtag1","hashtag2"]},{"1352244162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244158, 1352244163, 1352244145, 1352244148, 1352244153, 1352244162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51408624649048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:17:32.697729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_26_10471.jpg', '/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_36_9371.jpg', '/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_46_10416.jpg', '/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_55_9356.jpg', '/home/pi/Desktop/images/20042025/12/17/image_20042025_12_18_06_10354.jpg', '/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_16_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_26_10471.jpg
/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_36_9371.jpg
/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_46_10416.jpg
/home/pi/Desktop/images/20042025/12/17/image_20042025_12_17_55_9356.jpg
/home/pi/Desktop/images/20042025/12/17/image_20042025_12_18_06_10354.jpg
/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_16_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244176","1352244179","1352244187","1352244183","1352244186","1352244189"],"photo_ids_order":["1352244176","1352244179","1352244183","1352244186","1352244187","1352244189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47845c8f7c1858d3ee905dd560cea0d2.jpg","text":"TemporaryFile(/tmp/multipartBody286312678088357237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155113173,"filename":"image_20042025_12_17_26_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25072939cc2ec6dd270d6e69f1e068ec.jpg","text":"TemporaryFile(/tmp/multipartBody7839815636495168185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155113173,"filename":"image_20042025_12_17_36_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92a47a287684150f8ea13ba7176efd8d.jpg","text":"TemporaryFile(/tmp/multipartBody1333678708417639229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155113173,"filename":"image_20042025_12_18_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e59c2474b8421d349c6a1ae9041603d.jpg","text":"TemporaryFile(/tmp/multipartBody1719329199969146487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155113173,"filename":"image_20042025_12_17_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b0c0d29975857f405214b09a55b54d6.jpg","text":"TemporaryFile(/tmp/multipartBody3867318622568765141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155113173,"filename":"image_20042025_12_17_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a8163b36df2c46e1b3f369f1a3e0862.jpg","text":"TemporaryFile(/tmp/multipartBody3175230855555517319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155113173,"filename":"image_20042025_12_18_16_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244183","file1":"1352244179","file0":"1352244176","file4":"1352244187","file5":"1352244189","file3":"1352244186"},"map_files_photo_id_array":[{"photo_id":"1352244189","filename":"file5"},{"photo_id":"1352244183","filename":"file2"},{"photo_id":"1352244187","filename":"file4"},{"photo_id":"1352244179","filename":"file1"},{"photo_id":"1352244176","filename":"file0"},{"photo_id":"1352244186","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244176":["hashtag1","hashtag2"]},{"1352244179":["hashtag1","hashtag2"]},{"1352244187":["hashtag1","hashtag2"]},{"1352244183":["hashtag1","hashtag2"]},{"1352244186":["hashtag1","hashtag2"]},{"1352244189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244176, 1352244179, 1352244187, 1352244183, 1352244186, 1352244189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.387605667114258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:18:32.972614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_25_9368.jpg', '/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_36_10383.jpg', '/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_46_10389.jpg', '/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_56_9348.jpg', '/home/pi/Desktop/images/20042025/12/18/image_20042025_12_19_06_10463.jpg', '/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_15_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_25_9368.jpg
/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_36_10383.jpg
/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_46_10389.jpg
/home/pi/Desktop/images/20042025/12/18/image_20042025_12_18_56_9348.jpg
/home/pi/Desktop/images/20042025/12/18/image_20042025_12_19_06_10463.jpg
/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_15_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244219","1352244210","1352244224","1352244206","1352244214","1352244222"],"photo_ids_order":["1352244206","1352244210","1352244214","1352244219","1352244222","1352244224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f888092b304e9e2931d97a111ebeef3.jpg","text":"TemporaryFile(/tmp/multipartBody342276921668635273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155173439,"filename":"image_20042025_12_18_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c602b133d932f7073970297c3141cbb.jpg","text":"TemporaryFile(/tmp/multipartBody984487602921098578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155173439,"filename":"image_20042025_12_18_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/136e7850dd9995ff9ee838170f2a00d8.jpg","text":"TemporaryFile(/tmp/multipartBody6917316735030176323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155173439,"filename":"image_20042025_12_19_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e2770400554c42b11c8e0a585d1f277.jpg","text":"TemporaryFile(/tmp/multipartBody327204284150518367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155173439,"filename":"image_20042025_12_18_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d22b758440be80fef2ddddf58e403904.jpg","text":"TemporaryFile(/tmp/multipartBody7401470264867964085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155173439,"filename":"image_20042025_12_18_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/870f11b57b04c24f1c8789e985867f24.jpg","text":"TemporaryFile(/tmp/multipartBody4902496900366601346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155173439,"filename":"image_20042025_12_19_06_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244214","file1":"1352244210","file0":"1352244206","file4":"1352244222","file5":"1352244224","file3":"1352244219"},"map_files_photo_id_array":[{"photo_id":"1352244224","filename":"file5"},{"photo_id":"1352244214","filename":"file2"},{"photo_id":"1352244222","filename":"file4"},{"photo_id":"1352244210","filename":"file1"},{"photo_id":"1352244206","filename":"file0"},{"photo_id":"1352244219","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244219":["hashtag1","hashtag2"]},{"1352244210":["hashtag1","hashtag2"]},{"1352244224":["hashtag1","hashtag2"]},{"1352244206":["hashtag1","hashtag2"]},{"1352244214":["hashtag1","hashtag2"]},{"1352244222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244219, 1352244210, 1352244224, 1352244206, 1352244214, 1352244222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82028818130493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:19:32.132797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_26_10395.jpg', '/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_36_10395.jpg', '/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_46_9347.jpg', '/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_56_10489.jpg', '/home/pi/Desktop/images/20042025/12/19/image_20042025_12_20_05_9341.jpg', '/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_16_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_26_10395.jpg
/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_36_10395.jpg
/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_46_9347.jpg
/home/pi/Desktop/images/20042025/12/19/image_20042025_12_19_56_10489.jpg
/home/pi/Desktop/images/20042025/12/19/image_20042025_12_20_05_9341.jpg
/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_16_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244245","1352244248","1352244242","1352244250","1352244249","1352244240"],"photo_ids_order":["1352244240","1352244242","1352244245","1352244248","1352244249","1352244250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/770a52cdd0fe6ee3015b1faef623f8ba.jpg","text":"TemporaryFile(/tmp/multipartBody5972611642511200777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155232611,"filename":"image_20042025_12_19_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2bdad870a7eb962f1c43c2f12d18153.jpg","text":"TemporaryFile(/tmp/multipartBody5347809692822485067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155232611,"filename":"image_20042025_12_19_56_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41c20a41997bb80f07c82462cbfb1d9c.jpg","text":"TemporaryFile(/tmp/multipartBody9196783710504900047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155232611,"filename":"image_20042025_12_19_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/670cd8831c3b88de14079ab5a0350c72.jpg","text":"TemporaryFile(/tmp/multipartBody4976854252295603941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155232611,"filename":"image_20042025_12_20_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df441e19458cb0450e7108d70f94edf4.jpg","text":"TemporaryFile(/tmp/multipartBody4061818089543103923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155232611,"filename":"image_20042025_12_20_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6492600d127fae1286119911a2ca2478.jpg","text":"TemporaryFile(/tmp/multipartBody8419152460279362249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155232611,"filename":"image_20042025_12_19_26_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244245","file1":"1352244242","file0":"1352244240","file4":"1352244249","file5":"1352244250","file3":"1352244248"},"map_files_photo_id_array":[{"photo_id":"1352244250","filename":"file5"},{"photo_id":"1352244245","filename":"file2"},{"photo_id":"1352244249","filename":"file4"},{"photo_id":"1352244242","filename":"file1"},{"photo_id":"1352244240","filename":"file0"},{"photo_id":"1352244248","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244245":["hashtag1","hashtag2"]},{"1352244248":["hashtag1","hashtag2"]},{"1352244242":["hashtag1","hashtag2"]},{"1352244250":["hashtag1","hashtag2"]},{"1352244249":["hashtag1","hashtag2"]},{"1352244240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244245, 1352244248, 1352244242, 1352244250, 1352244249, 1352244240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.580015659332275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:20:32.428186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_26_10422.jpg', '/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_36_9367.jpg', '/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_46_10392.jpg', '/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_55_9355.jpg', '/home/pi/Desktop/images/20042025/12/20/image_20042025_12_21_06_10353.jpg', '/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_16_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_26_10422.jpg
/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_36_9367.jpg
/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_46_10392.jpg
/home/pi/Desktop/images/20042025/12/20/image_20042025_12_20_55_9355.jpg
/home/pi/Desktop/images/20042025/12/20/image_20042025_12_21_06_10353.jpg
/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_16_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244284","1352244287","1352244272","1352244280","1352244274","1352244276"],"photo_ids_order":["1352244272","1352244274","1352244276","1352244280","1352244284","1352244287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7adf63ec13210fb0d89abb93ebe12a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5778354723137799294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155292901,"filename":"image_20042025_12_21_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9358b32a89a4e5585f8582a537423cfd.jpg","text":"TemporaryFile(/tmp/multipartBody5297234803581857838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155292901,"filename":"image_20042025_12_21_16_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/949a580551b36ea89861d70415d00a2a.jpg","text":"TemporaryFile(/tmp/multipartBody9144568872000226395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155292901,"filename":"image_20042025_12_20_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3233c405f0fec0740d7ae20dc913e30b.jpg","text":"TemporaryFile(/tmp/multipartBody7029222341362857396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155292901,"filename":"image_20042025_12_20_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/819a1bf6537cb6b2ceb301eb1234f56b.jpg","text":"TemporaryFile(/tmp/multipartBody224353473710447453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155292901,"filename":"image_20042025_12_20_36_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb17d350bab5175f33280b0210c35bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4087237875003182888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155292901,"filename":"image_20042025_12_20_46_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244276","file1":"1352244274","file0":"1352244272","file4":"1352244284","file5":"1352244287","file3":"1352244280"},"map_files_photo_id_array":[{"photo_id":"1352244287","filename":"file5"},{"photo_id":"1352244276","filename":"file2"},{"photo_id":"1352244284","filename":"file4"},{"photo_id":"1352244274","filename":"file1"},{"photo_id":"1352244272","filename":"file0"},{"photo_id":"1352244280","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244284":["hashtag1","hashtag2"]},{"1352244287":["hashtag1","hashtag2"]},{"1352244272":["hashtag1","hashtag2"]},{"1352244280":["hashtag1","hashtag2"]},{"1352244274":["hashtag1","hashtag2"]},{"1352244276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244284, 1352244287, 1352244272, 1352244280, 1352244274, 1352244276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46291923522949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:21:32.653145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_26_9442.jpg', '/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_36_10390.jpg', '/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_45_9421.jpg', '/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_56_10384.jpg', '/home/pi/Desktop/images/20042025/12/21/image_20042025_12_22_06_10427.jpg', '/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_16_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_26_9442.jpg
/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_36_10390.jpg
/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_45_9421.jpg
/home/pi/Desktop/images/20042025/12/21/image_20042025_12_21_56_10384.jpg
/home/pi/Desktop/images/20042025/12/21/image_20042025_12_22_06_10427.jpg
/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_16_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244308","1352244316","1352244319","1352244310","1352244313","1352244321"],"photo_ids_order":["1352244308","1352244310","1352244313","1352244316","1352244319","1352244321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7faf628be5d805f897f53860de02e5ef.jpg","text":"TemporaryFile(/tmp/multipartBody9039960441811898079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155353112,"filename":"image_20042025_12_21_26_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76f71aa2716011045e9518a930424528.jpg","text":"TemporaryFile(/tmp/multipartBody1327241006713307403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155353112,"filename":"image_20042025_12_21_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a664ecd95079ab169e05e471910ce2d.jpg","text":"TemporaryFile(/tmp/multipartBody3446237372629225245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155353112,"filename":"image_20042025_12_22_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e928f99df999cc772587126d2995d82b.jpg","text":"TemporaryFile(/tmp/multipartBody8246154885056023306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155353112,"filename":"image_20042025_12_21_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f13583169562d7e4813bf0df78aac39d.jpg","text":"TemporaryFile(/tmp/multipartBody4725377391187282159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155353112,"filename":"image_20042025_12_21_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/729317f4aed21180ca79c4dc1c825a52.jpg","text":"TemporaryFile(/tmp/multipartBody1241351178653412503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155353112,"filename":"image_20042025_12_22_16_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244313","file1":"1352244310","file0":"1352244308","file4":"1352244319","file5":"1352244321","file3":"1352244316"},"map_files_photo_id_array":[{"photo_id":"1352244321","filename":"file5"},{"photo_id":"1352244313","filename":"file2"},{"photo_id":"1352244319","filename":"file4"},{"photo_id":"1352244310","filename":"file1"},{"photo_id":"1352244308","filename":"file0"},{"photo_id":"1352244316","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244308":["hashtag1","hashtag2"]},{"1352244316":["hashtag1","hashtag2"]},{"1352244319":["hashtag1","hashtag2"]},{"1352244310":["hashtag1","hashtag2"]},{"1352244313":["hashtag1","hashtag2"]},{"1352244321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244308, 1352244316, 1352244319, 1352244310, 1352244313, 1352244321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4091637134552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:22:32.718188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_26_10399.jpg', '/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_35_9354.jpg', '/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_46_10467.jpg', '/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_56_10372.jpg', '/home/pi/Desktop/images/20042025/12/22/image_20042025_12_23_06_9338.jpg', '/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_16_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_26_10399.jpg
/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_35_9354.jpg
/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_46_10467.jpg
/home/pi/Desktop/images/20042025/12/22/image_20042025_12_22_56_10372.jpg
/home/pi/Desktop/images/20042025/12/22/image_20042025_12_23_06_9338.jpg
/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_16_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244350","1352244353","1352244341","1352244355","1352244346","1352244336"],"photo_ids_order":["1352244336","1352244341","1352244346","1352244350","1352244353","1352244355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c2e727038e4e89d3c35523ae8d794ed.jpg","text":"TemporaryFile(/tmp/multipartBody8385232530434412327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155413183,"filename":"image_20042025_12_22_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f98f5b38661ae5ce28a368c2142ec91.jpg","text":"TemporaryFile(/tmp/multipartBody6521887018523252723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155413183,"filename":"image_20042025_12_23_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59021d91ddf99470545cac4d60b6539a.jpg","text":"TemporaryFile(/tmp/multipartBody1154280986773125622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155413183,"filename":"image_20042025_12_22_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de61d04f55c8176f4e5ba88a1e7206df.jpg","text":"TemporaryFile(/tmp/multipartBody2078111909126896966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155413183,"filename":"image_20042025_12_23_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fe786c9e1c08054088d3e57197fff0a.jpg","text":"TemporaryFile(/tmp/multipartBody2799293967245880441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155413183,"filename":"image_20042025_12_22_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4aac5ec210c6de787e59c4a879a9dcde.jpg","text":"TemporaryFile(/tmp/multipartBody8524012646268732623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155413183,"filename":"image_20042025_12_22_26_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244346","file1":"1352244341","file0":"1352244336","file4":"1352244353","file5":"1352244355","file3":"1352244350"},"map_files_photo_id_array":[{"photo_id":"1352244355","filename":"file5"},{"photo_id":"1352244346","filename":"file2"},{"photo_id":"1352244353","filename":"file4"},{"photo_id":"1352244341","filename":"file1"},{"photo_id":"1352244336","filename":"file0"},{"photo_id":"1352244350","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244350":["hashtag1","hashtag2"]},{"1352244353":["hashtag1","hashtag2"]},{"1352244341":["hashtag1","hashtag2"]},{"1352244355":["hashtag1","hashtag2"]},{"1352244346":["hashtag1","hashtag2"]},{"1352244336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244350, 1352244353, 1352244341, 1352244355, 1352244346, 1352244336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69992685317993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:23:32.899876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_25_9358.jpg', '/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_36_10371.jpg', '/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_46_10362.jpg', '/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_55_9348.jpg', '/home/pi/Desktop/images/20042025/12/23/image_20042025_12_24_06_10366.jpg', '/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_16_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_25_9358.jpg
/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_36_10371.jpg
/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_46_10362.jpg
/home/pi/Desktop/images/20042025/12/23/image_20042025_12_23_55_9348.jpg
/home/pi/Desktop/images/20042025/12/23/image_20042025_12_24_06_10366.jpg
/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_16_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244389","1352244380","1352244377","1352244371","1352244367","1352244384"],"photo_ids_order":["1352244367","1352244371","1352244377","1352244380","1352244384","1352244389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecc03d5bf7368415877ea01039c5a82f.jpg","text":"TemporaryFile(/tmp/multipartBody1653623960459915333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155473359,"filename":"image_20042025_12_24_16_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b128cadbadde467fa2257a2e549d2f9.jpg","text":"TemporaryFile(/tmp/multipartBody8535348858235358213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155473359,"filename":"image_20042025_12_23_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3e663ea75fd5870b9458a7eff0402b2.jpg","text":"TemporaryFile(/tmp/multipartBody6173332323586962613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155473359,"filename":"image_20042025_12_23_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6913ef3ae006af2f041157981cc5a3d.jpg","text":"TemporaryFile(/tmp/multipartBody9079716909544731158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155473359,"filename":"image_20042025_12_23_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1553b928b5080f019e32ccce6d145e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2778922460607846892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155473359,"filename":"image_20042025_12_23_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fcb7f464633819e5d6236dd7af3fcc1.jpg","text":"TemporaryFile(/tmp/multipartBody2580357095362697296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155473359,"filename":"image_20042025_12_24_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244377","file1":"1352244371","file0":"1352244367","file4":"1352244384","file5":"1352244389","file3":"1352244380"},"map_files_photo_id_array":[{"photo_id":"1352244389","filename":"file5"},{"photo_id":"1352244377","filename":"file2"},{"photo_id":"1352244384","filename":"file4"},{"photo_id":"1352244371","filename":"file1"},{"photo_id":"1352244367","filename":"file0"},{"photo_id":"1352244380","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244389":["hashtag1","hashtag2"]},{"1352244380":["hashtag1","hashtag2"]},{"1352244377":["hashtag1","hashtag2"]},{"1352244371":["hashtag1","hashtag2"]},{"1352244367":["hashtag1","hashtag2"]},{"1352244384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244389, 1352244380, 1352244377, 1352244371, 1352244367, 1352244384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.91067099571228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:24:32.224782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_26_9457.jpg', '/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_36_10453.jpg', '/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_45_9417.jpg', '/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_56_10427.jpg', '/home/pi/Desktop/images/20042025/12/24/image_20042025_12_25_05_9384.jpg', '/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_16_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_26_9457.jpg
/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_36_10453.jpg
/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_45_9417.jpg
/home/pi/Desktop/images/20042025/12/24/image_20042025_12_24_56_10427.jpg
/home/pi/Desktop/images/20042025/12/24/image_20042025_12_25_05_9384.jpg
/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_16_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244411","1352244405","1352244395","1352244413","1352244400","1352244414"],"photo_ids_order":["1352244395","1352244400","1352244405","1352244411","1352244413","1352244414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e091cc3ed0bccabfa07f3c293c8ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody8441009008362298959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155532686,"filename":"image_20042025_12_24_56_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c28086abbb7dbb744e25a1d2f8955fa7.jpg","text":"TemporaryFile(/tmp/multipartBody26619429721441770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155532686,"filename":"image_20042025_12_24_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8be01eb297bb7269ba1b0bca4ae6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody9003898738049755822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155532686,"filename":"image_20042025_12_24_26_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7ff41cbd19fd249a715f92c79d49088.jpg","text":"TemporaryFile(/tmp/multipartBody7414334952220299513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155532686,"filename":"image_20042025_12_25_05_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35ff46f7ed369e8e37223688b83150d1.jpg","text":"TemporaryFile(/tmp/multipartBody3626596165316008361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155532686,"filename":"image_20042025_12_24_36_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/245a87bff2db19af3d44996a5fcb6d43.jpg","text":"TemporaryFile(/tmp/multipartBody2224823649599181213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155532686,"filename":"image_20042025_12_25_16_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244405","file1":"1352244400","file0":"1352244395","file4":"1352244413","file5":"1352244414","file3":"1352244411"},"map_files_photo_id_array":[{"photo_id":"1352244414","filename":"file5"},{"photo_id":"1352244405","filename":"file2"},{"photo_id":"1352244413","filename":"file4"},{"photo_id":"1352244400","filename":"file1"},{"photo_id":"1352244395","filename":"file0"},{"photo_id":"1352244411","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244411":["hashtag1","hashtag2"]},{"1352244405":["hashtag1","hashtag2"]},{"1352244395":["hashtag1","hashtag2"]},{"1352244413":["hashtag1","hashtag2"]},{"1352244400":["hashtag1","hashtag2"]},{"1352244414":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244411, 1352244405, 1352244395, 1352244413, 1352244400, 1352244414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34441900253296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:25:32.531090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_26_10447.jpg', '/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_36_9348.jpg', '/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_46_10505.jpg', '/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_55_9351.jpg', '/home/pi/Desktop/images/20042025/12/25/image_20042025_12_26_06_10380.jpg', '/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_16_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_26_10447.jpg
/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_36_9348.jpg
/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_46_10505.jpg
/home/pi/Desktop/images/20042025/12/25/image_20042025_12_25_55_9351.jpg
/home/pi/Desktop/images/20042025/12/25/image_20042025_12_26_06_10380.jpg
/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_16_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244437","1352244434","1352244436","1352244430","1352244427","1352244432"],"photo_ids_order":["1352244427","1352244430","1352244432","1352244434","1352244436","1352244437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdb34ea132ea9c569212c8b1724b9f61.jpg","text":"TemporaryFile(/tmp/multipartBody249716413641977073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155592989,"filename":"image_20042025_12_26_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72809a63b9d38d16473774c1cfafe45c.jpg","text":"TemporaryFile(/tmp/multipartBody6882555945369330011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155592989,"filename":"image_20042025_12_25_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5e63991b7c1f189fe3c03853b3de936.jpg","text":"TemporaryFile(/tmp/multipartBody6089371894177722492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155592989,"filename":"image_20042025_12_26_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ac3f73bcba20300f0ee0a7991198756.jpg","text":"TemporaryFile(/tmp/multipartBody2947359482914386344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155592989,"filename":"image_20042025_12_25_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/766f02036cb9e7a55d59ee4dffe9aa93.jpg","text":"TemporaryFile(/tmp/multipartBody4886061029107595803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155592989,"filename":"image_20042025_12_25_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcbf7870ef08fda6e88573ffe0bf1d3d.jpg","text":"TemporaryFile(/tmp/multipartBody8565409784649748631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155592989,"filename":"image_20042025_12_25_46_10505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244432","file1":"1352244430","file0":"1352244427","file4":"1352244436","file5":"1352244437","file3":"1352244434"},"map_files_photo_id_array":[{"photo_id":"1352244437","filename":"file5"},{"photo_id":"1352244432","filename":"file2"},{"photo_id":"1352244436","filename":"file4"},{"photo_id":"1352244430","filename":"file1"},{"photo_id":"1352244427","filename":"file0"},{"photo_id":"1352244434","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244437":["hashtag1","hashtag2"]},{"1352244434":["hashtag1","hashtag2"]},{"1352244436":["hashtag1","hashtag2"]},{"1352244430":["hashtag1","hashtag2"]},{"1352244427":["hashtag1","hashtag2"]},{"1352244432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244437, 1352244434, 1352244436, 1352244430, 1352244427, 1352244432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.826749086380005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:26:32.646142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_26_9411.jpg', '/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_36_10478.jpg', '/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_45_9405.jpg', '/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_56_10383.jpg', '/home/pi/Desktop/images/20042025/12/26/image_20042025_12_27_06_10433.jpg', '/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_16_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_26_9411.jpg
/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_36_10478.jpg
/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_45_9405.jpg
/home/pi/Desktop/images/20042025/12/26/image_20042025_12_26_56_10383.jpg
/home/pi/Desktop/images/20042025/12/26/image_20042025_12_27_06_10433.jpg
/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_16_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244464","1352244458","1352244466","1352244451","1352244462","1352244468"],"photo_ids_order":["1352244451","1352244458","1352244462","1352244464","1352244466","1352244468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/867efd52f8c66d37a2b4221ad24a5431.jpg","text":"TemporaryFile(/tmp/multipartBody8927295868942435468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155653113,"filename":"image_20042025_12_26_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f9c23f826f67bf1f2825a78a519be2b.jpg","text":"TemporaryFile(/tmp/multipartBody3797887006710262108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155653113,"filename":"image_20042025_12_26_36_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc53ffb2ef5e2dc8e8599cff6042cb0f.jpg","text":"TemporaryFile(/tmp/multipartBody5798881930722106055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155653113,"filename":"image_20042025_12_27_06_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3fe1a4912790c86076b9cffd691d38a5.jpg","text":"TemporaryFile(/tmp/multipartBody6941135602552145262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155653113,"filename":"image_20042025_12_26_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0d8f3d577a14b0a1444ae70692e0438.jpg","text":"TemporaryFile(/tmp/multipartBody8669078408217464697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155653113,"filename":"image_20042025_12_26_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/751b90bcc7b554703cfdb7529aa74d81.jpg","text":"TemporaryFile(/tmp/multipartBody6953169920558493899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155653113,"filename":"image_20042025_12_27_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244462","file1":"1352244458","file0":"1352244451","file4":"1352244466","file5":"1352244468","file3":"1352244464"},"map_files_photo_id_array":[{"photo_id":"1352244468","filename":"file5"},{"photo_id":"1352244462","filename":"file2"},{"photo_id":"1352244466","filename":"file4"},{"photo_id":"1352244458","filename":"file1"},{"photo_id":"1352244451","filename":"file0"},{"photo_id":"1352244464","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244464":["hashtag1","hashtag2"]},{"1352244458":["hashtag1","hashtag2"]},{"1352244466":["hashtag1","hashtag2"]},{"1352244451":["hashtag1","hashtag2"]},{"1352244462":["hashtag1","hashtag2"]},{"1352244468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244464, 1352244458, 1352244466, 1352244451, 1352244462, 1352244468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19280982017517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:27:33.034992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_26_10417.jpg', '/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_35_9357.jpg', '/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_46_10416.jpg', '/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_56_10373.jpg', '/home/pi/Desktop/images/20042025/12/27/image_20042025_12_28_06_9415.jpg', '/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_16_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_26_10417.jpg
/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_35_9357.jpg
/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_46_10416.jpg
/home/pi/Desktop/images/20042025/12/27/image_20042025_12_27_56_10373.jpg
/home/pi/Desktop/images/20042025/12/27/image_20042025_12_28_06_9415.jpg
/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_16_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244485","1352244488","1352244482","1352244490","1352244478","1352244480"],"photo_ids_order":["1352244478","1352244480","1352244482","1352244485","1352244488","1352244490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40d36f54dea0515716b1b1fb5a5eebbf.jpg","text":"TemporaryFile(/tmp/multipartBody2747790082346458222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155713722,"filename":"image_20042025_12_27_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1bf91ed0bc53359a4acf26573567d27.jpg","text":"TemporaryFile(/tmp/multipartBody2012888507407703672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155713722,"filename":"image_20042025_12_28_06_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a343247a3b9557476f9d74756559ceb.jpg","text":"TemporaryFile(/tmp/multipartBody4543703760355617855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155713722,"filename":"image_20042025_12_27_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/921b758e1ed61df4f183f7ce146eb6d1.jpg","text":"TemporaryFile(/tmp/multipartBody814780397964941154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155713722,"filename":"image_20042025_12_28_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2474537b87ca3489812942f327225549.jpg","text":"TemporaryFile(/tmp/multipartBody4927840669011246493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155713722,"filename":"image_20042025_12_27_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b59d570fe7eed899796818884a8db02a.jpg","text":"TemporaryFile(/tmp/multipartBody9084880979975724215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155713722,"filename":"image_20042025_12_27_35_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244482","file1":"1352244480","file0":"1352244478","file4":"1352244488","file5":"1352244490","file3":"1352244485"},"map_files_photo_id_array":[{"photo_id":"1352244490","filename":"file5"},{"photo_id":"1352244482","filename":"file2"},{"photo_id":"1352244488","filename":"file4"},{"photo_id":"1352244480","filename":"file1"},{"photo_id":"1352244478","filename":"file0"},{"photo_id":"1352244485","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244485":["hashtag1","hashtag2"]},{"1352244488":["hashtag1","hashtag2"]},{"1352244482":["hashtag1","hashtag2"]},{"1352244490":["hashtag1","hashtag2"]},{"1352244478":["hashtag1","hashtag2"]},{"1352244480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244485, 1352244488, 1352244482, 1352244490, 1352244478, 1352244480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.23145627975464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:28:32.146434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_25_9347.jpg', '/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_36_10451.jpg', '/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_46_10359.jpg', '/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_55_9374.jpg', '/home/pi/Desktop/images/20042025/12/28/image_20042025_12_29_06_10533.jpg', '/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_15_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_25_9347.jpg
/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_36_10451.jpg
/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_46_10359.jpg
/home/pi/Desktop/images/20042025/12/28/image_20042025_12_28_55_9374.jpg
/home/pi/Desktop/images/20042025/12/28/image_20042025_12_29_06_10533.jpg
/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_15_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244519","1352244521","1352244515","1352244517","1352244508","1352244513"],"photo_ids_order":["1352244508","1352244513","1352244515","1352244517","1352244519","1352244521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fbb41a8b2d7858dadc417388cf583e88.jpg","text":"TemporaryFile(/tmp/multipartBody7920555054849196860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155772612,"filename":"image_20042025_12_29_06_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/861720d79595566b68ebe7344b14b0e3.jpg","text":"TemporaryFile(/tmp/multipartBody1888102287775114546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155772612,"filename":"image_20042025_12_29_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f61957ba925bd32f48a3f0e7aac37a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2216938329983074550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155772612,"filename":"image_20042025_12_28_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1867a82fd6c9bb2711bed1b898259078.jpg","text":"TemporaryFile(/tmp/multipartBody2590860362706623070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155772612,"filename":"image_20042025_12_28_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5af0393f756c817fed0cd5aaeee63bce.jpg","text":"TemporaryFile(/tmp/multipartBody1589469130508841979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155772612,"filename":"image_20042025_12_28_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93ea9389e4d5ce43494c054789ff637f.jpg","text":"TemporaryFile(/tmp/multipartBody8183699947018175212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155772612,"filename":"image_20042025_12_28_36_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244515","file1":"1352244513","file0":"1352244508","file4":"1352244519","file5":"1352244521","file3":"1352244517"},"map_files_photo_id_array":[{"photo_id":"1352244521","filename":"file5"},{"photo_id":"1352244515","filename":"file2"},{"photo_id":"1352244519","filename":"file4"},{"photo_id":"1352244513","filename":"file1"},{"photo_id":"1352244508","filename":"file0"},{"photo_id":"1352244517","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244519":["hashtag1","hashtag2"]},{"1352244521":["hashtag1","hashtag2"]},{"1352244515":["hashtag1","hashtag2"]},{"1352244517":["hashtag1","hashtag2"]},{"1352244508":["hashtag1","hashtag2"]},{"1352244513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244519, 1352244521, 1352244515, 1352244517, 1352244508, 1352244513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.795337200164795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:29:32.332614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_26_10375.jpg', '/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_36_10366.jpg', '/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_46_9371.jpg', '/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_56_10417.jpg', '/home/pi/Desktop/images/20042025/12/29/image_20042025_12_30_05_9358.jpg', '/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_16_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_26_10375.jpg
/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_36_10366.jpg
/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_46_9371.jpg
/home/pi/Desktop/images/20042025/12/29/image_20042025_12_29_56_10417.jpg
/home/pi/Desktop/images/20042025/12/29/image_20042025_12_30_05_9358.jpg
/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_16_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244537","1352244547","1352244541","1352244546","1352244549","1352244534"],"photo_ids_order":["1352244534","1352244537","1352244541","1352244546","1352244547","1352244549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22bd71101c7711d30f2ea2c84dc61c5f.jpg","text":"TemporaryFile(/tmp/multipartBody4144974693574701250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155832793,"filename":"image_20042025_12_29_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e814409797d4d81de95f2977094c81e6.jpg","text":"TemporaryFile(/tmp/multipartBody4654609331557004462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155832793,"filename":"image_20042025_12_30_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee92420ad980ced857c7773a0b5cd8e3.jpg","text":"TemporaryFile(/tmp/multipartBody761675054732656279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155832793,"filename":"image_20042025_12_29_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d1d3e16013309c79b51bca76a967928.jpg","text":"TemporaryFile(/tmp/multipartBody7332703832812757584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155832793,"filename":"image_20042025_12_29_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd7912be744aa578c5ee4305632df482.jpg","text":"TemporaryFile(/tmp/multipartBody3671184126781131646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155832793,"filename":"image_20042025_12_30_16_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a4211557749cfe6cedfe6534e39a037.jpg","text":"TemporaryFile(/tmp/multipartBody1748424223866082985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155832793,"filename":"image_20042025_12_29_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244541","file1":"1352244537","file0":"1352244534","file4":"1352244547","file5":"1352244549","file3":"1352244546"},"map_files_photo_id_array":[{"photo_id":"1352244549","filename":"file5"},{"photo_id":"1352244541","filename":"file2"},{"photo_id":"1352244547","filename":"file4"},{"photo_id":"1352244537","filename":"file1"},{"photo_id":"1352244534","filename":"file0"},{"photo_id":"1352244546","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244537":["hashtag1","hashtag2"]},{"1352244547":["hashtag1","hashtag2"]},{"1352244541":["hashtag1","hashtag2"]},{"1352244546":["hashtag1","hashtag2"]},{"1352244549":["hashtag1","hashtag2"]},{"1352244534":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244537, 1352244547, 1352244541, 1352244546, 1352244549, 1352244534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40499234199524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:30:32.567587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_35_9355.jpg', '/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_46_10342.jpg', '/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_56_10389.jpg', '/home/pi/Desktop/images/20042025/12/30/image_20042025_12_31_06_9350.jpg', '/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_16_10438.jpg', '/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_25_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_35_9355.jpg
/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_46_10342.jpg
/home/pi/Desktop/images/20042025/12/30/image_20042025_12_30_56_10389.jpg
/home/pi/Desktop/images/20042025/12/30/image_20042025_12_31_06_9350.jpg
/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_16_10438.jpg
/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_25_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244572","1352244563","1352244568","1352244570","1352244573","1352244567"],"photo_ids_order":["1352244563","1352244567","1352244568","1352244570","1352244572","1352244573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bd267ca3a1a3f477a7d51ec474eb694.jpg","text":"TemporaryFile(/tmp/multipartBody7244116226861555463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155893053,"filename":"image_20042025_12_31_16_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2352c53eaca1af8839ae3e829cc6996b.jpg","text":"TemporaryFile(/tmp/multipartBody6942535744955017857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155893053,"filename":"image_20042025_12_30_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44341013274245ce7490bc9ba30fe77b.jpg","text":"TemporaryFile(/tmp/multipartBody8018129934385860555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155893053,"filename":"image_20042025_12_30_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d522d06b81cdc60436d808b1a725c80b.jpg","text":"TemporaryFile(/tmp/multipartBody1869251382330628699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155893053,"filename":"image_20042025_12_31_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6ab9f5bf8c2d3dd6f2ee8252aab7b29.jpg","text":"TemporaryFile(/tmp/multipartBody3502856307857209225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155893053,"filename":"image_20042025_12_31_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f8ba86b6a6a3972245a82696dd2a31d.jpg","text":"TemporaryFile(/tmp/multipartBody460947015431812294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155893053,"filename":"image_20042025_12_30_46_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244568","file1":"1352244567","file0":"1352244563","file4":"1352244572","file5":"1352244573","file3":"1352244570"},"map_files_photo_id_array":[{"photo_id":"1352244573","filename":"file5"},{"photo_id":"1352244568","filename":"file2"},{"photo_id":"1352244572","filename":"file4"},{"photo_id":"1352244567","filename":"file1"},{"photo_id":"1352244563","filename":"file0"},{"photo_id":"1352244570","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244572":["hashtag1","hashtag2"]},{"1352244563":["hashtag1","hashtag2"]},{"1352244568":["hashtag1","hashtag2"]},{"1352244570":["hashtag1","hashtag2"]},{"1352244573":["hashtag1","hashtag2"]},{"1352244567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244572, 1352244563, 1352244568, 1352244570, 1352244573, 1352244567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43367910385132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:31:32.801501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_36_10364.jpg', '/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_46_10435.jpg', '/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_55_9357.jpg', '/home/pi/Desktop/images/20042025/12/31/image_20042025_12_32_06_10358.jpg', '/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_16_10350.jpg', '/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_26_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_36_10364.jpg
/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_46_10435.jpg
/home/pi/Desktop/images/20042025/12/31/image_20042025_12_31_55_9357.jpg
/home/pi/Desktop/images/20042025/12/31/image_20042025_12_32_06_10358.jpg
/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_16_10350.jpg
/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_26_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244599","1352244603","1352244593","1352244595","1352244601","1352244588"],"photo_ids_order":["1352244588","1352244593","1352244595","1352244599","1352244601","1352244603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eedbe6525f31f219d71b2602da1c013f.jpg","text":"TemporaryFile(/tmp/multipartBody6547270558692440041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155953264,"filename":"image_20042025_12_32_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/602bae59f9854ec5e8e7e85e60a50981.jpg","text":"TemporaryFile(/tmp/multipartBody7860465940280596367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155953264,"filename":"image_20042025_12_32_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/831199613f01bf7c66edec1039adb036.jpg","text":"TemporaryFile(/tmp/multipartBody2355975858717865466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155953264,"filename":"image_20042025_12_31_46_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a276e5ebbea121ffc805c97cf5020e4.jpg","text":"TemporaryFile(/tmp/multipartBody1138399245016773791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155953264,"filename":"image_20042025_12_31_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ebb928516bcc8f68b4547fdc4f1eb63.jpg","text":"TemporaryFile(/tmp/multipartBody8503041265090668724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155953264,"filename":"image_20042025_12_32_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dbeec38ac4227a1835b56f48ebf8fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody7793213927005909118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745155953264,"filename":"image_20042025_12_31_36_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244595","file1":"1352244593","file0":"1352244588","file4":"1352244601","file5":"1352244603","file3":"1352244599"},"map_files_photo_id_array":[{"photo_id":"1352244603","filename":"file5"},{"photo_id":"1352244595","filename":"file2"},{"photo_id":"1352244601","filename":"file4"},{"photo_id":"1352244593","filename":"file1"},{"photo_id":"1352244588","filename":"file0"},{"photo_id":"1352244599","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244599":["hashtag1","hashtag2"]},{"1352244603":["hashtag1","hashtag2"]},{"1352244593":["hashtag1","hashtag2"]},{"1352244595":["hashtag1","hashtag2"]},{"1352244601":["hashtag1","hashtag2"]},{"1352244588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244599, 1352244603, 1352244593, 1352244595, 1352244601, 1352244588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19685912132263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:32:33.014551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_36_10502.jpg', '/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_45_9376.jpg', '/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_56_10503.jpg', '/home/pi/Desktop/images/20042025/12/32/image_20042025_12_33_05_9365.jpg', '/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_16_10362.jpg', '/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_26_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_36_10502.jpg
/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_45_9376.jpg
/home/pi/Desktop/images/20042025/12/32/image_20042025_12_32_56_10503.jpg
/home/pi/Desktop/images/20042025/12/32/image_20042025_12_33_05_9365.jpg
/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_16_10362.jpg
/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_26_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244615","1352244620","1352244623","1352244626","1352244628","1352244612"],"photo_ids_order":["1352244612","1352244615","1352244620","1352244623","1352244626","1352244628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1974badaf2317f2730f295cdedb02b2.jpg","text":"TemporaryFile(/tmp/multipartBody4216452401729216842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156013542,"filename":"image_20042025_12_32_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/426fdc166f790f1be79ca2cd6021aa99.jpg","text":"TemporaryFile(/tmp/multipartBody4899690982302409457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156013542,"filename":"image_20042025_12_32_56_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/375e764696f17003f8b8dbaafbd17bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5380127799350016925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156013542,"filename":"image_20042025_12_33_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbb80c59540dd851561f11422ab31148.jpg","text":"TemporaryFile(/tmp/multipartBody7663161824192908097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156013542,"filename":"image_20042025_12_33_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e3a483bf28e185bd0d5182e4399c2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1141686296241237043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156013542,"filename":"image_20042025_12_33_26_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81343c112d3fe07b35dfbccd2186b45b.jpg","text":"TemporaryFile(/tmp/multipartBody3525862505006023901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156013542,"filename":"image_20042025_12_32_36_10502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244620","file1":"1352244615","file0":"1352244612","file4":"1352244626","file5":"1352244628","file3":"1352244623"},"map_files_photo_id_array":[{"photo_id":"1352244628","filename":"file5"},{"photo_id":"1352244620","filename":"file2"},{"photo_id":"1352244626","filename":"file4"},{"photo_id":"1352244615","filename":"file1"},{"photo_id":"1352244612","filename":"file0"},{"photo_id":"1352244623","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244615":["hashtag1","hashtag2"]},{"1352244620":["hashtag1","hashtag2"]},{"1352244623":["hashtag1","hashtag2"]},{"1352244626":["hashtag1","hashtag2"]},{"1352244628":["hashtag1","hashtag2"]},{"1352244612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244615, 1352244620, 1352244623, 1352244626, 1352244628, 1352244612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07246685028076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:33:32.251630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_35_9351.jpg', '/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_46_10366.jpg', '/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_56_10405.jpg', '/home/pi/Desktop/images/20042025/12/33/image_20042025_12_34_06_9351.jpg', '/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_16_10566.jpg', '/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_25_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_35_9351.jpg
/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_46_10366.jpg
/home/pi/Desktop/images/20042025/12/33/image_20042025_12_33_56_10405.jpg
/home/pi/Desktop/images/20042025/12/33/image_20042025_12_34_06_9351.jpg
/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_16_10566.jpg
/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_25_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244647","1352244635","1352244650","1352244652","1352244643","1352244639"],"photo_ids_order":["1352244635","1352244639","1352244643","1352244647","1352244650","1352244652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18e00679db55b46af1f43d0aa2d5843f.jpg","text":"TemporaryFile(/tmp/multipartBody3968810702628557971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156072735,"filename":"image_20042025_12_34_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79b1e147e6b6a320ff83975de396a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody5238291228213574590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156072735,"filename":"image_20042025_12_33_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dfecceff19f23eb6baa8b1a1c9d7d70.jpg","text":"TemporaryFile(/tmp/multipartBody2344290588369229293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156072735,"filename":"image_20042025_12_34_16_10566.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fce1f6aaeda370dc37cd7081f5749332.jpg","text":"TemporaryFile(/tmp/multipartBody6498608183120871732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156072735,"filename":"image_20042025_12_34_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b653d47a4444ab407f0a1e271166623.jpg","text":"TemporaryFile(/tmp/multipartBody1907912291924729989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156072735,"filename":"image_20042025_12_33_56_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd395b151676e91c527e1da796f9423d.jpg","text":"TemporaryFile(/tmp/multipartBody2228799824475258634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156072735,"filename":"image_20042025_12_33_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244643","file1":"1352244639","file0":"1352244635","file4":"1352244650","file5":"1352244652","file3":"1352244647"},"map_files_photo_id_array":[{"photo_id":"1352244652","filename":"file5"},{"photo_id":"1352244643","filename":"file2"},{"photo_id":"1352244650","filename":"file4"},{"photo_id":"1352244639","filename":"file1"},{"photo_id":"1352244635","filename":"file0"},{"photo_id":"1352244647","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244647":["hashtag1","hashtag2"]},{"1352244635":["hashtag1","hashtag2"]},{"1352244650":["hashtag1","hashtag2"]},{"1352244652":["hashtag1","hashtag2"]},{"1352244643":["hashtag1","hashtag2"]},{"1352244639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244647, 1352244635, 1352244650, 1352244652, 1352244643, 1352244639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.081777572631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:34:32.403068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_36_10496.jpg', '/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_45_9348.jpg', '/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_56_10375.jpg', '/home/pi/Desktop/images/20042025/12/34/image_20042025_12_35_06_10433.jpg', '/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_15_9356.jpg', '/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_26_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_36_10496.jpg
/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_45_9348.jpg
/home/pi/Desktop/images/20042025/12/34/image_20042025_12_34_56_10375.jpg
/home/pi/Desktop/images/20042025/12/34/image_20042025_12_35_06_10433.jpg
/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_15_9356.jpg
/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_26_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244665","1352244676","1352244679","1352244673","1352244661","1352244669"],"photo_ids_order":["1352244661","1352244665","1352244669","1352244673","1352244676","1352244679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d52fa10b9ccf75c1589fc73969495d4.jpg","text":"TemporaryFile(/tmp/multipartBody2303207137297082989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156132879,"filename":"image_20042025_12_34_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4df92c7988d8f97aba455a7198366ce.jpg","text":"TemporaryFile(/tmp/multipartBody8150698865110718711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156132879,"filename":"image_20042025_12_35_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d29b35c0f819660157140019e1984fab.jpg","text":"TemporaryFile(/tmp/multipartBody5475833036054383399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156132879,"filename":"image_20042025_12_35_26_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9c738f9b515dd965aff7bffabb26fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8952800455321944226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156132879,"filename":"image_20042025_12_35_06_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecdd032b4da380016b24d0425ac30def.jpg","text":"TemporaryFile(/tmp/multipartBody3677530150705114120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156132879,"filename":"image_20042025_12_34_36_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/930ce86fa77a70be3bc78b5815dac6cb.jpg","text":"TemporaryFile(/tmp/multipartBody2863920660946989361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156132879,"filename":"image_20042025_12_34_56_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244669","file1":"1352244665","file0":"1352244661","file4":"1352244676","file5":"1352244679","file3":"1352244673"},"map_files_photo_id_array":[{"photo_id":"1352244679","filename":"file5"},{"photo_id":"1352244669","filename":"file2"},{"photo_id":"1352244676","filename":"file4"},{"photo_id":"1352244665","filename":"file1"},{"photo_id":"1352244661","filename":"file0"},{"photo_id":"1352244673","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244665":["hashtag1","hashtag2"]},{"1352244676":["hashtag1","hashtag2"]},{"1352244679":["hashtag1","hashtag2"]},{"1352244673":["hashtag1","hashtag2"]},{"1352244661":["hashtag1","hashtag2"]},{"1352244669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244665, 1352244676, 1352244679, 1352244673, 1352244661, 1352244669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.13311219215393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:35:32.645272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_35_9348.jpg', '/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_46_10362.jpg', '/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_56_10466.jpg', '/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_16_10352.jpg', '/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_26_10440.jpg', '/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_36_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_35_9348.jpg
/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_46_10362.jpg
/home/pi/Desktop/images/20042025/12/35/image_20042025_12_35_56_10466.jpg
/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_16_10352.jpg
/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_26_10440.jpg
/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_36_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244707","1352244691","1352244699","1352244703","1352244696","1352244711"],"photo_ids_order":["1352244691","1352244696","1352244699","1352244703","1352244707","1352244711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65f956bb03481c82cf684ddbbe818dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4120023537802092431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156193110,"filename":"image_20042025_12_36_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98a0b7129fa9891ccb0122ce773039d3.jpg","text":"TemporaryFile(/tmp/multipartBody5038371030375274103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156193110,"filename":"image_20042025_12_35_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b64d0f65fbd55e189b38badd039a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3168329902098333027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156193110,"filename":"image_20042025_12_35_56_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d286e7650be7606f05d26bf4367dfc4.jpg","text":"TemporaryFile(/tmp/multipartBody5709880646906228290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156193110,"filename":"image_20042025_12_36_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c423a16b85081e9771e984a6b7a33a7.jpg","text":"TemporaryFile(/tmp/multipartBody2136673005469773339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156193110,"filename":"image_20042025_12_35_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f4b2c2987ea245ed5c5344f53dc1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5448360677382709721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156193110,"filename":"image_20042025_12_36_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244699","file1":"1352244696","file0":"1352244691","file4":"1352244707","file5":"1352244711","file3":"1352244703"},"map_files_photo_id_array":[{"photo_id":"1352244711","filename":"file5"},{"photo_id":"1352244699","filename":"file2"},{"photo_id":"1352244707","filename":"file4"},{"photo_id":"1352244696","filename":"file1"},{"photo_id":"1352244691","filename":"file0"},{"photo_id":"1352244703","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244707":["hashtag1","hashtag2"]},{"1352244691":["hashtag1","hashtag2"]},{"1352244699":["hashtag1","hashtag2"]},{"1352244703":["hashtag1","hashtag2"]},{"1352244696":["hashtag1","hashtag2"]},{"1352244711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244707, 1352244691, 1352244699, 1352244703, 1352244696, 1352244711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.338879108428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:36:32.933442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_46_10469.jpg', '/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_55_9385.jpg', '/home/pi/Desktop/images/20042025/12/36/image_20042025_12_37_06_10426.jpg', '/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_15_9367.jpg', '/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_26_10366.jpg', '/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_36_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_46_10469.jpg
/home/pi/Desktop/images/20042025/12/36/image_20042025_12_36_55_9385.jpg
/home/pi/Desktop/images/20042025/12/36/image_20042025_12_37_06_10426.jpg
/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_15_9367.jpg
/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_26_10366.jpg
/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_36_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244755","1352244731","1352244745","1352244735","1352244750","1352244738"],"photo_ids_order":["1352244731","1352244735","1352244738","1352244745","1352244750","1352244755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af0fa144b1ae29153649043c4a7fa41c.jpg","text":"TemporaryFile(/tmp/multipartBody8796588100481532427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156253396,"filename":"image_20042025_12_37_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/635718b45f9cec96662de500bd7dc55e.jpg","text":"TemporaryFile(/tmp/multipartBody3949564381245904248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156253396,"filename":"image_20042025_12_36_46_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37d311c05fed33dd49b470681e4db926.jpg","text":"TemporaryFile(/tmp/multipartBody4584624484778643796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156253396,"filename":"image_20042025_12_37_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b66bb78ee631e527e2886b41809fe92a.jpg","text":"TemporaryFile(/tmp/multipartBody7796314225373740664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156253396,"filename":"image_20042025_12_36_55_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c4ab0130b15928007d49ac14e2708a2.jpg","text":"TemporaryFile(/tmp/multipartBody6278690893472858934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156253396,"filename":"image_20042025_12_37_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c7a5c007b2dd0d3399f69c2cdbdac0a.jpg","text":"TemporaryFile(/tmp/multipartBody3786208041119274796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156253396,"filename":"image_20042025_12_37_06_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244738","file1":"1352244735","file0":"1352244731","file4":"1352244750","file5":"1352244755","file3":"1352244745"},"map_files_photo_id_array":[{"photo_id":"1352244755","filename":"file5"},{"photo_id":"1352244738","filename":"file2"},{"photo_id":"1352244750","filename":"file4"},{"photo_id":"1352244735","filename":"file1"},{"photo_id":"1352244731","filename":"file0"},{"photo_id":"1352244745","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244755":["hashtag1","hashtag2"]},{"1352244731":["hashtag1","hashtag2"]},{"1352244745":["hashtag1","hashtag2"]},{"1352244735":["hashtag1","hashtag2"]},{"1352244750":["hashtag1","hashtag2"]},{"1352244738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244755, 1352244731, 1352244745, 1352244735, 1352244750, 1352244738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68144392967224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:37:33.219521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_45_9374.jpg', '/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_56_10374.jpg', '/home/pi/Desktop/images/20042025/12/37/image_20042025_12_38_06_10348.jpg', '/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_15_9335.jpg', '/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_26_10446.jpg', '/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_35_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_45_9374.jpg
/home/pi/Desktop/images/20042025/12/37/image_20042025_12_37_56_10374.jpg
/home/pi/Desktop/images/20042025/12/37/image_20042025_12_38_06_10348.jpg
/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_15_9335.jpg
/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_26_10446.jpg
/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_35_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244809","1352244800","1352244806","1352244811","1352244814","1352244804"],"photo_ids_order":["1352244800","1352244804","1352244806","1352244809","1352244811","1352244814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29235abec0f0b5007726a9f12e4169cf.jpg","text":"TemporaryFile(/tmp/multipartBody2442640849466546099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156313694,"filename":"image_20042025_12_38_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33f10e0700451822e9aaeb1a0bd56c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1308487549228418375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156313694,"filename":"image_20042025_12_37_45_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d00ff645632f1c1b6c0b33996e309b30.jpg","text":"TemporaryFile(/tmp/multipartBody6901749310159953675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156313694,"filename":"image_20042025_12_38_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bba03639ed1c86b0e278185d45e25595.jpg","text":"TemporaryFile(/tmp/multipartBody8596283809658582053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156313694,"filename":"image_20042025_12_38_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8b18f8d4e454ca0fc2b2c7a86f55d38.jpg","text":"TemporaryFile(/tmp/multipartBody2505110746446131340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156313694,"filename":"image_20042025_12_38_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9f5c31e153450f7b88b92b3d722af3c.jpg","text":"TemporaryFile(/tmp/multipartBody7952372131349368620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156313694,"filename":"image_20042025_12_37_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244806","file1":"1352244804","file0":"1352244800","file4":"1352244811","file5":"1352244814","file3":"1352244809"},"map_files_photo_id_array":[{"photo_id":"1352244814","filename":"file5"},{"photo_id":"1352244806","filename":"file2"},{"photo_id":"1352244811","filename":"file4"},{"photo_id":"1352244804","filename":"file1"},{"photo_id":"1352244800","filename":"file0"},{"photo_id":"1352244809","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244809":["hashtag1","hashtag2"]},{"1352244800":["hashtag1","hashtag2"]},{"1352244806":["hashtag1","hashtag2"]},{"1352244811":["hashtag1","hashtag2"]},{"1352244814":["hashtag1","hashtag2"]},{"1352244804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244809, 1352244800, 1352244806, 1352244811, 1352244814, 1352244804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.739474773406982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:38:32.370514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_46_10353.jpg', '/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_56_10374.jpg', '/home/pi/Desktop/images/20042025/12/38/image_20042025_12_39_05_9342.jpg', '/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_16_10360.jpg', '/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_26_10449.jpg', '/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_36_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_46_10353.jpg
/home/pi/Desktop/images/20042025/12/38/image_20042025_12_38_56_10374.jpg
/home/pi/Desktop/images/20042025/12/38/image_20042025_12_39_05_9342.jpg
/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_16_10360.jpg
/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_26_10449.jpg
/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_36_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244851","1352244830","1352244844","1352244847","1352244840","1352244834"],"photo_ids_order":["1352244830","1352244834","1352244840","1352244844","1352244847","1352244851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/556b6a44cd64cde6124a0ff34c8fa48c.jpg","text":"TemporaryFile(/tmp/multipartBody6840022359359734875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156372831,"filename":"image_20042025_12_39_36_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9f1d660be9b5d32ae5b622a3e438fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5800448817224216606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156372831,"filename":"image_20042025_12_38_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b4c9aac6904729e35cc65fc0c307886.jpg","text":"TemporaryFile(/tmp/multipartBody3722681370655841790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156372831,"filename":"image_20042025_12_39_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/986fac3ce8376d7af317fdf73a040deb.jpg","text":"TemporaryFile(/tmp/multipartBody3753385239783464804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156372831,"filename":"image_20042025_12_39_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e03740abf14e811ebc98da2dc8ad2ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8524732851239434501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156372831,"filename":"image_20042025_12_39_05_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ec3a8b41565212178232e1d7f496fd3.jpg","text":"TemporaryFile(/tmp/multipartBody4566205156505955496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156372831,"filename":"image_20042025_12_38_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244840","file1":"1352244834","file0":"1352244830","file4":"1352244847","file5":"1352244851","file3":"1352244844"},"map_files_photo_id_array":[{"photo_id":"1352244851","filename":"file5"},{"photo_id":"1352244840","filename":"file2"},{"photo_id":"1352244847","filename":"file4"},{"photo_id":"1352244834","filename":"file1"},{"photo_id":"1352244830","filename":"file0"},{"photo_id":"1352244844","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244851":["hashtag1","hashtag2"]},{"1352244830":["hashtag1","hashtag2"]},{"1352244844":["hashtag1","hashtag2"]},{"1352244847":["hashtag1","hashtag2"]},{"1352244840":["hashtag1","hashtag2"]},{"1352244834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244851, 1352244830, 1352244844, 1352244847, 1352244840, 1352244834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.848418951034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:39:32.719342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_46_10459.jpg', '/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_55_9366.jpg', '/home/pi/Desktop/images/20042025/12/39/image_20042025_12_40_06_10367.jpg', '/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_16_10403.jpg', '/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_26_9361.jpg', '/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_36_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_46_10459.jpg
/home/pi/Desktop/images/20042025/12/39/image_20042025_12_39_55_9366.jpg
/home/pi/Desktop/images/20042025/12/39/image_20042025_12_40_06_10367.jpg
/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_16_10403.jpg
/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_26_9361.jpg
/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_36_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244881","1352244884","1352244869","1352244886","1352244877","1352244873"],"photo_ids_order":["1352244869","1352244873","1352244877","1352244881","1352244884","1352244886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de717309c499b04b9f5bb8637335fe22.jpg","text":"TemporaryFile(/tmp/multipartBody305588853168176132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156433186,"filename":"image_20042025_12_40_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ffea277b104b9916a43a5712c7c33f0.jpg","text":"TemporaryFile(/tmp/multipartBody2625191908243757964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156433186,"filename":"image_20042025_12_40_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7f9ae40a17317ccf2c495f6fce00556.jpg","text":"TemporaryFile(/tmp/multipartBody3137380229472747613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156433186,"filename":"image_20042025_12_39_46_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75cadd770760907717c7a41856f6424b.jpg","text":"TemporaryFile(/tmp/multipartBody1704706196968515127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156433186,"filename":"image_20042025_12_40_36_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8ac0247c0a2484237c1da6e98fce14a.jpg","text":"TemporaryFile(/tmp/multipartBody8906561901005910968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156433186,"filename":"image_20042025_12_40_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09168b36ed60b5070ec4a70a4f3b328d.jpg","text":"TemporaryFile(/tmp/multipartBody9090587619214588511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156433186,"filename":"image_20042025_12_39_55_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244877","file1":"1352244873","file0":"1352244869","file4":"1352244884","file5":"1352244886","file3":"1352244881"},"map_files_photo_id_array":[{"photo_id":"1352244886","filename":"file5"},{"photo_id":"1352244877","filename":"file2"},{"photo_id":"1352244884","filename":"file4"},{"photo_id":"1352244873","filename":"file1"},{"photo_id":"1352244869","filename":"file0"},{"photo_id":"1352244881","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244881":["hashtag1","hashtag2"]},{"1352244884":["hashtag1","hashtag2"]},{"1352244869":["hashtag1","hashtag2"]},{"1352244886":["hashtag1","hashtag2"]},{"1352244877":["hashtag1","hashtag2"]},{"1352244873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244881, 1352244884, 1352244869, 1352244886, 1352244877, 1352244873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.21864938735962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:40:32.884722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_45_9364.jpg', '/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_56_10363.jpg', '/home/pi/Desktop/images/20042025/12/40/image_20042025_12_41_06_10430.jpg', '/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_16_9402.jpg', '/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_26_10411.jpg', '/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_45_9364.jpg
/home/pi/Desktop/images/20042025/12/40/image_20042025_12_40_56_10363.jpg
/home/pi/Desktop/images/20042025/12/40/image_20042025_12_41_06_10430.jpg
/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_16_9402.jpg
/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_26_10411.jpg
/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244899","1352244947","1352244905","1352244934","1352244942","1352244915"],"photo_ids_order":["1352244899","1352244905","1352244915","1352244934","1352244942","1352244947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/374b113cf1aa3d58ec27caed9d1e83b7.jpg","text":"TemporaryFile(/tmp/multipartBody9035994347136702475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156493363,"filename":"image_20042025_12_40_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa23a84d91736de9400cfc17940dcff3.jpg","text":"TemporaryFile(/tmp/multipartBody6447257892179883170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156493363,"filename":"image_20042025_12_41_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ae58e0b6faad85d665b4337c49bab1d.jpg","text":"TemporaryFile(/tmp/multipartBody3421971364169638944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156493363,"filename":"image_20042025_12_40_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d51c268acd9ff37956d3ef3f99c17ce5.jpg","text":"TemporaryFile(/tmp/multipartBody694074959867980420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156493363,"filename":"image_20042025_12_41_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c22e1c46050fa7262ab13e637b51d101.jpg","text":"TemporaryFile(/tmp/multipartBody582904327707376790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156493363,"filename":"image_20042025_12_41_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/937517dd5f2b4e84f0ea4509a7d676b4.jpg","text":"TemporaryFile(/tmp/multipartBody2666610846416369180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156493363,"filename":"image_20042025_12_41_06_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244915","file1":"1352244905","file0":"1352244899","file4":"1352244942","file5":"1352244947","file3":"1352244934"},"map_files_photo_id_array":[{"photo_id":"1352244947","filename":"file5"},{"photo_id":"1352244915","filename":"file2"},{"photo_id":"1352244942","filename":"file4"},{"photo_id":"1352244905","filename":"file1"},{"photo_id":"1352244899","filename":"file0"},{"photo_id":"1352244934","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244899":["hashtag1","hashtag2"]},{"1352244947":["hashtag1","hashtag2"]},{"1352244905":["hashtag1","hashtag2"]},{"1352244934":["hashtag1","hashtag2"]},{"1352244942":["hashtag1","hashtag2"]},{"1352244915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244899, 1352244947, 1352244905, 1352244934, 1352244942, 1352244915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.423375606536865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 15:41:43.104779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_46_10374.jpg', '/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_56_10392.jpg', '/home/pi/Desktop/images/20042025/12/41/image_20042025_12_42_05_9357.jpg', '/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_16_10443.jpg', '/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_26_10376.jpg', '/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_36_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_46_10374.jpg
/home/pi/Desktop/images/20042025/12/41/image_20042025_12_41_56_10392.jpg
/home/pi/Desktop/images/20042025/12/41/image_20042025_12_42_05_9357.jpg
/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_16_10443.jpg
/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_26_10376.jpg
/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_36_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244962","1352244968","1352244973","1352244976","1352244955","1352244957"],"photo_ids_order":["1352244955","1352244957","1352244962","1352244968","1352244973","1352244976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61a85dd7757c5e752c88d59e304a97c1.jpg","text":"TemporaryFile(/tmp/multipartBody7326706030819301614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156563574,"filename":"image_20042025_12_42_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/942f2399e0621a7476755b883ec8e44b.jpg","text":"TemporaryFile(/tmp/multipartBody8694125748893767540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156563574,"filename":"image_20042025_12_42_16_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77da4d1474db2b3c48249643414a881e.jpg","text":"TemporaryFile(/tmp/multipartBody5125413812747435260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156563574,"filename":"image_20042025_12_42_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a69c1c31f3da008e9fd3cb8c25c0c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3809159340499691039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156563574,"filename":"image_20042025_12_42_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebcd64c68e2cbca15062a9dc788bbda7.jpg","text":"TemporaryFile(/tmp/multipartBody7465075338349687417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156563574,"filename":"image_20042025_12_41_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfe783a26e8539b9719ec719256b2cd1.jpg","text":"TemporaryFile(/tmp/multipartBody4136415216405090270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156563574,"filename":"image_20042025_12_41_56_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244962","file1":"1352244957","file0":"1352244955","file4":"1352244973","file5":"1352244976","file3":"1352244968"},"map_files_photo_id_array":[{"photo_id":"1352244976","filename":"file5"},{"photo_id":"1352244962","filename":"file2"},{"photo_id":"1352244973","filename":"file4"},{"photo_id":"1352244957","filename":"file1"},{"photo_id":"1352244955","filename":"file0"},{"photo_id":"1352244968","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244962":["hashtag1","hashtag2"]},{"1352244968":["hashtag1","hashtag2"]},{"1352244973":["hashtag1","hashtag2"]},{"1352244976":["hashtag1","hashtag2"]},{"1352244955":["hashtag1","hashtag2"]},{"1352244957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244962, 1352244968, 1352244973, 1352244976, 1352244955, 1352244957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.322999477386475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:42:32.264745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_46_10357.jpg', '/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_55_9358.jpg', '/home/pi/Desktop/images/20042025/12/42/image_20042025_12_43_06_10382.jpg', '/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_16_10425.jpg', '/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_26_9417.jpg', '/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_36_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_46_10357.jpg
/home/pi/Desktop/images/20042025/12/42/image_20042025_12_42_55_9358.jpg
/home/pi/Desktop/images/20042025/12/42/image_20042025_12_43_06_10382.jpg
/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_16_10425.jpg
/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_26_9417.jpg
/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_36_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244980","1352244991","1352244994","1352244997","1352244999","1352244987"],"photo_ids_order":["1352244980","1352244987","1352244991","1352244994","1352244997","1352244999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/158826220bdf60aab1afbc2db47f222d.jpg","text":"TemporaryFile(/tmp/multipartBody5082839307311573996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156612742,"filename":"image_20042025_12_42_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4fd680af31772dc9f460b0556a5ff0d.jpg","text":"TemporaryFile(/tmp/multipartBody7746888165618301058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156612742,"filename":"image_20042025_12_43_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fb7e31f5b7d351a75bbd360301eca37.jpg","text":"TemporaryFile(/tmp/multipartBody8449561408026963576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156612742,"filename":"image_20042025_12_43_16_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ae9aabf87be55c7b85ecca2b65dbc22.jpg","text":"TemporaryFile(/tmp/multipartBody8347341270855996897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156612742,"filename":"image_20042025_12_43_26_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d63ecdeb0720a6420031922043efc950.jpg","text":"TemporaryFile(/tmp/multipartBody6960372739756623695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156612742,"filename":"image_20042025_12_43_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fe7a3ba34114ce548e9f5619e7e6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8111798488930094658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156612742,"filename":"image_20042025_12_42_55_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244991","file1":"1352244987","file0":"1352244980","file4":"1352244997","file5":"1352244999","file3":"1352244994"},"map_files_photo_id_array":[{"photo_id":"1352244999","filename":"file5"},{"photo_id":"1352244991","filename":"file2"},{"photo_id":"1352244997","filename":"file4"},{"photo_id":"1352244987","filename":"file1"},{"photo_id":"1352244980","filename":"file0"},{"photo_id":"1352244994","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352244980":["hashtag1","hashtag2"]},{"1352244991":["hashtag1","hashtag2"]},{"1352244994":["hashtag1","hashtag2"]},{"1352244997":["hashtag1","hashtag2"]},{"1352244999":["hashtag1","hashtag2"]},{"1352244987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352244980, 1352244991, 1352244994, 1352244997, 1352244999, 1352244987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.637799978256226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:43:32.452410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_45_9357.jpg', '/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_56_10369.jpg', '/home/pi/Desktop/images/20042025/12/43/image_20042025_12_44_06_10379.jpg', '/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_16_9412.jpg', '/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_26_10418.jpg', '/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_35_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_45_9357.jpg
/home/pi/Desktop/images/20042025/12/43/image_20042025_12_43_56_10369.jpg
/home/pi/Desktop/images/20042025/12/43/image_20042025_12_44_06_10379.jpg
/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_16_9412.jpg
/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_26_10418.jpg
/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_35_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245025","1352245018","1352245021","1352245029","1352245014","1352245023"],"photo_ids_order":["1352245014","1352245018","1352245021","1352245023","1352245025","1352245029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44b1a52c8a0b400305ca9e759a49e470.jpg","text":"TemporaryFile(/tmp/multipartBody2297277292758997378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156672929,"filename":"image_20042025_12_44_26_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d04520c6c5f016831662a2779891397.jpg","text":"TemporaryFile(/tmp/multipartBody9219573749440158409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156672929,"filename":"image_20042025_12_43_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c717231391271d372a92d62613d055a.jpg","text":"TemporaryFile(/tmp/multipartBody8532004607413495961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156672929,"filename":"image_20042025_12_44_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c3c697508cdec71f705c8d1fe83d17a.jpg","text":"TemporaryFile(/tmp/multipartBody715685958329375175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156672929,"filename":"image_20042025_12_44_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8c91b4ca2f7a7022c9feec10e7f722b.jpg","text":"TemporaryFile(/tmp/multipartBody1704402888136591058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156672929,"filename":"image_20042025_12_43_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/321e4517edb2a5839d2de74ad7f0d6c4.jpg","text":"TemporaryFile(/tmp/multipartBody6711254825465260898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156672929,"filename":"image_20042025_12_44_16_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245021","file1":"1352245018","file0":"1352245014","file4":"1352245025","file5":"1352245029","file3":"1352245023"},"map_files_photo_id_array":[{"photo_id":"1352245029","filename":"file5"},{"photo_id":"1352245021","filename":"file2"},{"photo_id":"1352245025","filename":"file4"},{"photo_id":"1352245018","filename":"file1"},{"photo_id":"1352245014","filename":"file0"},{"photo_id":"1352245023","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245025":["hashtag1","hashtag2"]},{"1352245018":["hashtag1","hashtag2"]},{"1352245021":["hashtag1","hashtag2"]},{"1352245029":["hashtag1","hashtag2"]},{"1352245014":["hashtag1","hashtag2"]},{"1352245023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245025, 1352245018, 1352245021, 1352245029, 1352245014, 1352245023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.534314393997192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:44:32.659979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_46_10419.jpg', '/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_56_10371.jpg', '/home/pi/Desktop/images/20042025/12/44/image_20042025_12_45_05_9341.jpg', '/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_16_10402.jpg', '/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_26_10367.jpg', '/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_36_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_46_10419.jpg
/home/pi/Desktop/images/20042025/12/44/image_20042025_12_44_56_10371.jpg
/home/pi/Desktop/images/20042025/12/44/image_20042025_12_45_05_9341.jpg
/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_16_10402.jpg
/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_26_10367.jpg
/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_36_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245043","1352245046","1352245060","1352245054","1352245063","1352245050"],"photo_ids_order":["1352245043","1352245046","1352245050","1352245054","1352245060","1352245063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1df857139f38e3077b218c784c890d5e.jpg","text":"TemporaryFile(/tmp/multipartBody37274665739569271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156733127,"filename":"image_20042025_12_44_46_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93a3de094f0f3c6170fdcd4ffcdf3f6b.jpg","text":"TemporaryFile(/tmp/multipartBody3990302900784110186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156733127,"filename":"image_20042025_12_44_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b7987b633518600bce360b8c36455fe.jpg","text":"TemporaryFile(/tmp/multipartBody6809297079876526394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156733127,"filename":"image_20042025_12_45_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3a2290207be8be460fd4c0cf7d51872.jpg","text":"TemporaryFile(/tmp/multipartBody2109356200822208934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156733127,"filename":"image_20042025_12_45_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b43d06e245a5c9e83d1a572b7c9d1ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6805856847649324240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156733127,"filename":"image_20042025_12_45_36_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b5ce27529a4b5f83f6187f03a9ea1a6.jpg","text":"TemporaryFile(/tmp/multipartBody6217678849738482566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156733127,"filename":"image_20042025_12_45_05_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245050","file1":"1352245046","file0":"1352245043","file4":"1352245060","file5":"1352245063","file3":"1352245054"},"map_files_photo_id_array":[{"photo_id":"1352245063","filename":"file5"},{"photo_id":"1352245050","filename":"file2"},{"photo_id":"1352245060","filename":"file4"},{"photo_id":"1352245046","filename":"file1"},{"photo_id":"1352245043","filename":"file0"},{"photo_id":"1352245054","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245043":["hashtag1","hashtag2"]},{"1352245046":["hashtag1","hashtag2"]},{"1352245060":["hashtag1","hashtag2"]},{"1352245054":["hashtag1","hashtag2"]},{"1352245063":["hashtag1","hashtag2"]},{"1352245050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245043, 1352245046, 1352245060, 1352245054, 1352245063, 1352245050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.985129833221436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:45:32.889390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_46_9972.jpg', '/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_56_10437.jpg', '/home/pi/Desktop/images/20042025/12/45/image_20042025_12_46_05_9350.jpg', '/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_16_10362.jpg', '/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_26_10375.jpg', '/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_36_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_46_9972.jpg
/home/pi/Desktop/images/20042025/12/45/image_20042025_12_45_56_10437.jpg
/home/pi/Desktop/images/20042025/12/45/image_20042025_12_46_05_9350.jpg
/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_16_10362.jpg
/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_26_10375.jpg
/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_36_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245087","1352245083","1352245086","1352245071","1352245089","1352245088"],"photo_ids_order":["1352245071","1352245083","1352245086","1352245087","1352245088","1352245089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dba7a9159fa3a7596ec68911b6dd16d.jpg","text":"TemporaryFile(/tmp/multipartBody3268541600662605096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156793351,"filename":"image_20042025_12_46_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8288321ba068a8180d0e59d33dd5877.jpg","text":"TemporaryFile(/tmp/multipartBody338248569899998259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156793351,"filename":"image_20042025_12_45_56_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19615634b2d9e499a499a6b910e13162.jpg","text":"TemporaryFile(/tmp/multipartBody4521525336447907507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156793351,"filename":"image_20042025_12_46_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb54fe85c6c8e3011239f1c9113dc6d3.jpg","text":"TemporaryFile(/tmp/multipartBody846845005675389344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156793351,"filename":"image_20042025_12_45_46_9972.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afc1fafae1b64c780d408a0ff68c87e6.jpg","text":"TemporaryFile(/tmp/multipartBody6317674840073261635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156793351,"filename":"image_20042025_12_46_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd3f33b5dc2cf801dd9faf304e095066.jpg","text":"TemporaryFile(/tmp/multipartBody2472669056459295254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156793351,"filename":"image_20042025_12_46_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245086","file1":"1352245083","file0":"1352245071","file4":"1352245088","file5":"1352245089","file3":"1352245087"},"map_files_photo_id_array":[{"photo_id":"1352245089","filename":"file5"},{"photo_id":"1352245086","filename":"file2"},{"photo_id":"1352245088","filename":"file4"},{"photo_id":"1352245083","filename":"file1"},{"photo_id":"1352245071","filename":"file0"},{"photo_id":"1352245087","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245087":["hashtag1","hashtag2"]},{"1352245083":["hashtag1","hashtag2"]},{"1352245086":["hashtag1","hashtag2"]},{"1352245071":["hashtag1","hashtag2"]},{"1352245089":["hashtag1","hashtag2"]},{"1352245088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245087, 1352245083, 1352245086, 1352245071, 1352245089, 1352245088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.26213884353638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:46:33.058142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_46_10495.jpg', '/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_55_9389.jpg', '/home/pi/Desktop/images/20042025/12/46/image_20042025_12_47_06_10359.jpg', '/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_16_10369.jpg', '/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_26_9356.jpg', '/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_36_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_46_10495.jpg
/home/pi/Desktop/images/20042025/12/46/image_20042025_12_46_55_9389.jpg
/home/pi/Desktop/images/20042025/12/46/image_20042025_12_47_06_10359.jpg
/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_16_10369.jpg
/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_26_9356.jpg
/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_36_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245106","1352245100","1352245103","1352245111","1352245105","1352245095"],"photo_ids_order":["1352245095","1352245100","1352245103","1352245105","1352245106","1352245111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a4f326d8ebd3be63a934e79998019467.jpg","text":"TemporaryFile(/tmp/multipartBody1560457274932065317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156853519,"filename":"image_20042025_12_47_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95079634aa7b34890e0036b5bbdf84c4.jpg","text":"TemporaryFile(/tmp/multipartBody3474203465990151584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156853519,"filename":"image_20042025_12_46_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c23092e1d3433176c6898b7195b0c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5136760443020516245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156853519,"filename":"image_20042025_12_47_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ccdfd0dedb500a3cb41c8828c57acaac.jpg","text":"TemporaryFile(/tmp/multipartBody6601333017629509145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156853519,"filename":"image_20042025_12_47_36_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b07f3c7b5da0b5fb2990f32606daefe.jpg","text":"TemporaryFile(/tmp/multipartBody6228606741983328217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156853519,"filename":"image_20042025_12_47_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25d5a20f64a6ed79a99b3c5e61b950ee.jpg","text":"TemporaryFile(/tmp/multipartBody4333548398952227294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156853519,"filename":"image_20042025_12_46_46_10495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245103","file1":"1352245100","file0":"1352245095","file4":"1352245106","file5":"1352245111","file3":"1352245105"},"map_files_photo_id_array":[{"photo_id":"1352245111","filename":"file5"},{"photo_id":"1352245103","filename":"file2"},{"photo_id":"1352245106","filename":"file4"},{"photo_id":"1352245100","filename":"file1"},{"photo_id":"1352245095","filename":"file0"},{"photo_id":"1352245105","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245106":["hashtag1","hashtag2"]},{"1352245100":["hashtag1","hashtag2"]},{"1352245103":["hashtag1","hashtag2"]},{"1352245111":["hashtag1","hashtag2"]},{"1352245105":["hashtag1","hashtag2"]},{"1352245095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245106, 1352245100, 1352245103, 1352245111, 1352245105, 1352245095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00133466720581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:47:32.228189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_45_9357.jpg', '/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_56_10377.jpg', '/home/pi/Desktop/images/20042025/12/47/image_20042025_12_48_06_10375.jpg', '/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_15_9401.jpg', '/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_26_10509.jpg', '/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_35_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_45_9357.jpg
/home/pi/Desktop/images/20042025/12/47/image_20042025_12_47_56_10377.jpg
/home/pi/Desktop/images/20042025/12/47/image_20042025_12_48_06_10375.jpg
/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_15_9401.jpg
/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_26_10509.jpg
/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_35_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245130","1352245138","1352245123","1352245126","1352245134","1352245119"],"photo_ids_order":["1352245119","1352245123","1352245126","1352245130","1352245134","1352245138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d455d71f2f1997f3595ecf056f79676a.jpg","text":"TemporaryFile(/tmp/multipartBody1305683952932762228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156912690,"filename":"image_20042025_12_48_15_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0b3d1a4bf45d1d8b4f597206a458feb.jpg","text":"TemporaryFile(/tmp/multipartBody6112320252367061422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156912690,"filename":"image_20042025_12_48_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b52ee5ad0b4dbe33ad765795eb0e85a.jpg","text":"TemporaryFile(/tmp/multipartBody4583564664273323440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156912690,"filename":"image_20042025_12_47_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4db3e64e30dae8f3acab6a861a2f1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6212634578937487941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156912690,"filename":"image_20042025_12_48_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95e4307ed647ccc7e4624e752c1a9400.jpg","text":"TemporaryFile(/tmp/multipartBody5878409701207203719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156912690,"filename":"image_20042025_12_48_26_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c7dca7324220ba072ff0494e57cef82.jpg","text":"TemporaryFile(/tmp/multipartBody4779600273173321031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156912690,"filename":"image_20042025_12_47_45_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245126","file1":"1352245123","file0":"1352245119","file4":"1352245134","file5":"1352245138","file3":"1352245130"},"map_files_photo_id_array":[{"photo_id":"1352245138","filename":"file5"},{"photo_id":"1352245126","filename":"file2"},{"photo_id":"1352245134","filename":"file4"},{"photo_id":"1352245123","filename":"file1"},{"photo_id":"1352245119","filename":"file0"},{"photo_id":"1352245130","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245130":["hashtag1","hashtag2"]},{"1352245138":["hashtag1","hashtag2"]},{"1352245123":["hashtag1","hashtag2"]},{"1352245126":["hashtag1","hashtag2"]},{"1352245134":["hashtag1","hashtag2"]},{"1352245119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245130, 1352245138, 1352245123, 1352245126, 1352245134, 1352245119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68835735321045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:48:32.550256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_46_10368.jpg', '/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_56_10394.jpg', '/home/pi/Desktop/images/20042025/12/48/image_20042025_12_49_05_9366.jpg', '/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_16_10424.jpg', '/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_26_10377.jpg', '/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_36_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_46_10368.jpg
/home/pi/Desktop/images/20042025/12/48/image_20042025_12_48_56_10394.jpg
/home/pi/Desktop/images/20042025/12/48/image_20042025_12_49_05_9366.jpg
/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_16_10424.jpg
/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_26_10377.jpg
/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_36_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245168","1352245150","1352245164","1352245158","1352245161","1352245154"],"photo_ids_order":["1352245150","1352245154","1352245158","1352245161","1352245164","1352245168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/889b7a8e246bec785a877ffdec753a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4939882145061552207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156973039,"filename":"image_20042025_12_49_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b012d081c5ef5877497ee05fd1d4c15.jpg","text":"TemporaryFile(/tmp/multipartBody1635295819244055177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156973039,"filename":"image_20042025_12_48_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/638e88dd57292b66e8d2aa941a4b5d95.jpg","text":"TemporaryFile(/tmp/multipartBody8399736105310243266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156973039,"filename":"image_20042025_12_49_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f41a5b11c8044df8134bd9635006176.jpg","text":"TemporaryFile(/tmp/multipartBody2091316836369362965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156973039,"filename":"image_20042025_12_49_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/202c0d0f4e37e1ee5131b99478089942.jpg","text":"TemporaryFile(/tmp/multipartBody3910778604547726582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156973039,"filename":"image_20042025_12_49_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53575f2c1653358b6ca0170ca74de76d.jpg","text":"TemporaryFile(/tmp/multipartBody5381019019924566448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745156973039,"filename":"image_20042025_12_48_56_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245158","file1":"1352245154","file0":"1352245150","file4":"1352245164","file5":"1352245168","file3":"1352245161"},"map_files_photo_id_array":[{"photo_id":"1352245168","filename":"file5"},{"photo_id":"1352245158","filename":"file2"},{"photo_id":"1352245164","filename":"file4"},{"photo_id":"1352245154","filename":"file1"},{"photo_id":"1352245150","filename":"file0"},{"photo_id":"1352245161","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245168":["hashtag1","hashtag2"]},{"1352245150":["hashtag1","hashtag2"]},{"1352245164":["hashtag1","hashtag2"]},{"1352245158":["hashtag1","hashtag2"]},{"1352245161":["hashtag1","hashtag2"]},{"1352245154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245168, 1352245150, 1352245164, 1352245158, 1352245161, 1352245154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.066505670547485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:49:32.729652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_46_10374.jpg', '/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_55_9362.jpg', '/home/pi/Desktop/images/20042025/12/49/image_20042025_12_50_06_10381.jpg', '/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_16_10355.jpg', '/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_25_9379.jpg', '/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_36_10491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_46_10374.jpg
/home/pi/Desktop/images/20042025/12/49/image_20042025_12_49_55_9362.jpg
/home/pi/Desktop/images/20042025/12/49/image_20042025_12_50_06_10381.jpg
/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_16_10355.jpg
/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_25_9379.jpg
/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_36_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245198","1352245186","1352245180","1352245194","1352245197","1352245190"],"photo_ids_order":["1352245180","1352245186","1352245190","1352245194","1352245197","1352245198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66c260303f689d364a2d21a1969a1bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5369831604386928174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157033207,"filename":"image_20042025_12_50_36_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09a23d574d3bfae7ea78eedf1f0fb2f6.jpg","text":"TemporaryFile(/tmp/multipartBody3107328586618079059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157033207,"filename":"image_20042025_12_49_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a632e31b046ba702c3c449f927a17b14.jpg","text":"TemporaryFile(/tmp/multipartBody8360716967410977025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157033207,"filename":"image_20042025_12_49_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/484100063b4854fd6ab6943fae9b6c45.jpg","text":"TemporaryFile(/tmp/multipartBody251016794776352182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157033207,"filename":"image_20042025_12_50_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9bd73f3bb3ddf4e20be07f3315a9ef8d.jpg","text":"TemporaryFile(/tmp/multipartBody503033832665426077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157033207,"filename":"image_20042025_12_50_25_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a7bc3a9b8058e175d78647fc9369282.jpg","text":"TemporaryFile(/tmp/multipartBody1403338818765729435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157033207,"filename":"image_20042025_12_50_06_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245190","file1":"1352245186","file0":"1352245180","file4":"1352245197","file5":"1352245198","file3":"1352245194"},"map_files_photo_id_array":[{"photo_id":"1352245198","filename":"file5"},{"photo_id":"1352245190","filename":"file2"},{"photo_id":"1352245197","filename":"file4"},{"photo_id":"1352245186","filename":"file1"},{"photo_id":"1352245180","filename":"file0"},{"photo_id":"1352245194","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245198":["hashtag1","hashtag2"]},{"1352245186":["hashtag1","hashtag2"]},{"1352245180":["hashtag1","hashtag2"]},{"1352245194":["hashtag1","hashtag2"]},{"1352245197":["hashtag1","hashtag2"]},{"1352245190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245198, 1352245186, 1352245180, 1352245194, 1352245197, 1352245190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68909502029419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:50:32.941059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_45_9360.jpg', '/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_56_10361.jpg', '/home/pi/Desktop/images/20042025/12/50/image_20042025_12_51_06_10350.jpg', '/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_15_9362.jpg', '/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_26_10366.jpg', '/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_36_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_45_9360.jpg
/home/pi/Desktop/images/20042025/12/50/image_20042025_12_50_56_10361.jpg
/home/pi/Desktop/images/20042025/12/50/image_20042025_12_51_06_10350.jpg
/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_15_9362.jpg
/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_26_10366.jpg
/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_36_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245229","1352245220","1352245216","1352245225","1352245213","1352245209"],"photo_ids_order":["1352245209","1352245213","1352245216","1352245220","1352245225","1352245229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/381447f22f7ff97bb34eff860f47cdd0.jpg","text":"TemporaryFile(/tmp/multipartBody7885949462623929751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157093410,"filename":"image_20042025_12_51_36_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f178ea85c2027abebed1a5b04a6bc59.jpg","text":"TemporaryFile(/tmp/multipartBody2907744630338608282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157093410,"filename":"image_20042025_12_51_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52c0dd319d144cfb25271baacccbc762.jpg","text":"TemporaryFile(/tmp/multipartBody3913339703701632161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157093410,"filename":"image_20042025_12_51_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6a908c87168bf99c1c653a343a0a0f1.jpg","text":"TemporaryFile(/tmp/multipartBody7392400377131569971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157093410,"filename":"image_20042025_12_51_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54efe5bf818ef56b2c95cb78b11962bb.jpg","text":"TemporaryFile(/tmp/multipartBody1148045026923149553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157093410,"filename":"image_20042025_12_50_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e69ebc736837797fff73557ee739eb51.jpg","text":"TemporaryFile(/tmp/multipartBody6979323852568095310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157093410,"filename":"image_20042025_12_50_45_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245216","file1":"1352245213","file0":"1352245209","file4":"1352245225","file5":"1352245229","file3":"1352245220"},"map_files_photo_id_array":[{"photo_id":"1352245229","filename":"file5"},{"photo_id":"1352245216","filename":"file2"},{"photo_id":"1352245225","filename":"file4"},{"photo_id":"1352245213","filename":"file1"},{"photo_id":"1352245209","filename":"file0"},{"photo_id":"1352245220","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245229":["hashtag1","hashtag2"]},{"1352245220":["hashtag1","hashtag2"]},{"1352245216":["hashtag1","hashtag2"]},{"1352245225":["hashtag1","hashtag2"]},{"1352245213":["hashtag1","hashtag2"]},{"1352245209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245229, 1352245220, 1352245216, 1352245225, 1352245213, 1352245209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.839773416519165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:51:33.112551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_46_9407.jpg', '/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_56_10447.jpg', '/home/pi/Desktop/images/20042025/12/51/image_20042025_12_52_05_9349.jpg', '/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_16_10365.jpg', '/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_26_10448.jpg', '/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_36_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_46_9407.jpg
/home/pi/Desktop/images/20042025/12/51/image_20042025_12_51_56_10447.jpg
/home/pi/Desktop/images/20042025/12/51/image_20042025_12_52_05_9349.jpg
/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_16_10365.jpg
/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_26_10448.jpg
/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_36_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245256","1352245241","1352245244","1352245249","1352245237","1352245253"],"photo_ids_order":["1352245237","1352245241","1352245244","1352245249","1352245253","1352245256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9ef3e5df99e67baadb2af8ad119f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody1310609565038239328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157153581,"filename":"image_20042025_12_52_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/612ed78b4705100f3fd879a7514996e4.jpg","text":"TemporaryFile(/tmp/multipartBody6561097899082430220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157153581,"filename":"image_20042025_12_51_56_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0c349c23b64c3e86ca71e264fe0fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody2576428351925428960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157153581,"filename":"image_20042025_12_52_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/822d38c417f62b96f51318bdb82b4b87.jpg","text":"TemporaryFile(/tmp/multipartBody1389717829111440921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157153581,"filename":"image_20042025_12_52_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74b4eff75da405f95595a640a96eb00c.jpg","text":"TemporaryFile(/tmp/multipartBody4553967508686805030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157153581,"filename":"image_20042025_12_51_46_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab2a1516c47c754d2f1cbd95d9ea3546.jpg","text":"TemporaryFile(/tmp/multipartBody701723699616016395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157153581,"filename":"image_20042025_12_52_26_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245244","file1":"1352245241","file0":"1352245237","file4":"1352245253","file5":"1352245256","file3":"1352245249"},"map_files_photo_id_array":[{"photo_id":"1352245256","filename":"file5"},{"photo_id":"1352245244","filename":"file2"},{"photo_id":"1352245253","filename":"file4"},{"photo_id":"1352245241","filename":"file1"},{"photo_id":"1352245237","filename":"file0"},{"photo_id":"1352245249","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245256":["hashtag1","hashtag2"]},{"1352245241":["hashtag1","hashtag2"]},{"1352245244":["hashtag1","hashtag2"]},{"1352245249":["hashtag1","hashtag2"]},{"1352245237":["hashtag1","hashtag2"]},{"1352245253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245256, 1352245241, 1352245244, 1352245249, 1352245237, 1352245253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98155379295349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:52:32.283601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_46_10364.jpg', '/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_55_9367.jpg', '/home/pi/Desktop/images/20042025/12/52/image_20042025_12_53_06_10350.jpg', '/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_16_10355.jpg', '/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_25_9370.jpg', '/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_36_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_46_10364.jpg
/home/pi/Desktop/images/20042025/12/52/image_20042025_12_52_55_9367.jpg
/home/pi/Desktop/images/20042025/12/52/image_20042025_12_53_06_10350.jpg
/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_16_10355.jpg
/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_25_9370.jpg
/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_36_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245276","1352245284","1352245263","1352245286","1352245280","1352245268"],"photo_ids_order":["1352245263","1352245268","1352245276","1352245280","1352245284","1352245286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acd9e72e06701bd04f21070e97b3817c.jpg","text":"TemporaryFile(/tmp/multipartBody9012696234432763560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157212755,"filename":"image_20042025_12_53_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ccdb31b1d111d784bebfb131339b98e.jpg","text":"TemporaryFile(/tmp/multipartBody2880093878838191074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157212755,"filename":"image_20042025_12_53_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db3617eb81101534b1b72023898a388c.jpg","text":"TemporaryFile(/tmp/multipartBody4685543293635193563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157212755,"filename":"image_20042025_12_52_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/187244a74527b2f7d84fa39eee747bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7499683144149136719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157212755,"filename":"image_20042025_12_53_36_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61512410e6ba3ed29baf9216acdccad1.jpg","text":"TemporaryFile(/tmp/multipartBody8372370248407229001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157212755,"filename":"image_20042025_12_53_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c7355c70ffb6e47279b9e3a068e085d.jpg","text":"TemporaryFile(/tmp/multipartBody1933372180850660948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157212755,"filename":"image_20042025_12_52_55_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245276","file1":"1352245268","file0":"1352245263","file4":"1352245284","file5":"1352245286","file3":"1352245280"},"map_files_photo_id_array":[{"photo_id":"1352245286","filename":"file5"},{"photo_id":"1352245276","filename":"file2"},{"photo_id":"1352245284","filename":"file4"},{"photo_id":"1352245268","filename":"file1"},{"photo_id":"1352245263","filename":"file0"},{"photo_id":"1352245280","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245276":["hashtag1","hashtag2"]},{"1352245284":["hashtag1","hashtag2"]},{"1352245263":["hashtag1","hashtag2"]},{"1352245286":["hashtag1","hashtag2"]},{"1352245280":["hashtag1","hashtag2"]},{"1352245268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245276, 1352245284, 1352245263, 1352245286, 1352245280, 1352245268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4347140789032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:53:32.552845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_45_9406.jpg', '/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_56_10371.jpg', '/home/pi/Desktop/images/20042025/12/53/image_20042025_12_54_06_10460.jpg', '/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_15_9342.jpg', '/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_26_10362.jpg', '/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_36_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_45_9406.jpg
/home/pi/Desktop/images/20042025/12/53/image_20042025_12_53_56_10371.jpg
/home/pi/Desktop/images/20042025/12/53/image_20042025_12_54_06_10460.jpg
/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_15_9342.jpg
/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_26_10362.jpg
/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_36_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245297","1352245321","1352245315","1352245318","1352245293","1352245312"],"photo_ids_order":["1352245293","1352245297","1352245312","1352245315","1352245318","1352245321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a41f9f05fb2ecfde7ff39a78af4de21.jpg","text":"TemporaryFile(/tmp/multipartBody3530156160162375314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157273031,"filename":"image_20042025_12_53_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c382b31023626e3edf15bb77b408b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5357421704030521986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157273031,"filename":"image_20042025_12_54_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6c0b38cc10115faf3798806842c2bd2.jpg","text":"TemporaryFile(/tmp/multipartBody4581990564990300196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157273031,"filename":"image_20042025_12_54_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0affc4ab00d4c577a222975f53c9cf88.jpg","text":"TemporaryFile(/tmp/multipartBody230099791792023391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157273031,"filename":"image_20042025_12_54_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c81ef5dbcced0102a6c0fc164917975b.jpg","text":"TemporaryFile(/tmp/multipartBody5018949900501792653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157273031,"filename":"image_20042025_12_53_45_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe74b14d473723c1f4bc3dd253739cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8044062805888498332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157273031,"filename":"image_20042025_12_54_06_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245312","file1":"1352245297","file0":"1352245293","file4":"1352245318","file5":"1352245321","file3":"1352245315"},"map_files_photo_id_array":[{"photo_id":"1352245321","filename":"file5"},{"photo_id":"1352245312","filename":"file2"},{"photo_id":"1352245318","filename":"file4"},{"photo_id":"1352245297","filename":"file1"},{"photo_id":"1352245293","filename":"file0"},{"photo_id":"1352245315","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245297":["hashtag1","hashtag2"]},{"1352245321":["hashtag1","hashtag2"]},{"1352245315":["hashtag1","hashtag2"]},{"1352245318":["hashtag1","hashtag2"]},{"1352245293":["hashtag1","hashtag2"]},{"1352245312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245297, 1352245321, 1352245315, 1352245318, 1352245293, 1352245312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.18910193443298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:54:32.691540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_46_9397.jpg', '/home/pi/Desktop/images/20042025/12/54/image_20042025_12_55_05_9339.jpg', '/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_16_10352.jpg', '/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_26_10433.jpg', '/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_36_9382.jpg', '/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_46_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/54/image_20042025_12_54_46_9397.jpg
/home/pi/Desktop/images/20042025/12/54/image_20042025_12_55_05_9339.jpg
/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_16_10352.jpg
/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_26_10433.jpg
/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_36_9382.jpg
/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_46_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245334","1352245331","1352245327","1352245342","1352245344","1352245338"],"photo_ids_order":["1352245327","1352245331","1352245334","1352245338","1352245342","1352245344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f5978b4d637e0fd9ab43e77fa01fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody7549931961999657653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157333155,"filename":"image_20042025_12_55_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3cbe2de27f060bbd36dad211881a7e5.jpg","text":"TemporaryFile(/tmp/multipartBody8462644265173392352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157333155,"filename":"image_20042025_12_55_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2ad9eeb37b428dab6443a4a5671e47e.jpg","text":"TemporaryFile(/tmp/multipartBody1747632805327787287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157333155,"filename":"image_20042025_12_54_46_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe4752d659257e4c1f42f709ffdf370d.jpg","text":"TemporaryFile(/tmp/multipartBody4910376159500861019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157333155,"filename":"image_20042025_12_55_36_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2c72bf11fc0dfdfe6fec4d159956b0b.jpg","text":"TemporaryFile(/tmp/multipartBody7087556408383719847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157333155,"filename":"image_20042025_12_55_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81bfd24ff2509dc324d93e979f1b34f6.jpg","text":"TemporaryFile(/tmp/multipartBody5108369153779564920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157333155,"filename":"image_20042025_12_55_26_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245334","file1":"1352245331","file0":"1352245327","file4":"1352245342","file5":"1352245344","file3":"1352245338"},"map_files_photo_id_array":[{"photo_id":"1352245344","filename":"file5"},{"photo_id":"1352245334","filename":"file2"},{"photo_id":"1352245342","filename":"file4"},{"photo_id":"1352245331","filename":"file1"},{"photo_id":"1352245327","filename":"file0"},{"photo_id":"1352245338","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245334":["hashtag1","hashtag2"]},{"1352245331":["hashtag1","hashtag2"]},{"1352245327":["hashtag1","hashtag2"]},{"1352245342":["hashtag1","hashtag2"]},{"1352245344":["hashtag1","hashtag2"]},{"1352245338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245334, 1352245331, 1352245327, 1352245342, 1352245344, 1352245338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.765336513519287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:55:32.873849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_55_9413.jpg', '/home/pi/Desktop/images/20042025/12/55/image_20042025_12_56_06_10360.jpg', '/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_16_10429.jpg', '/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_26_9376.jpg', '/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_36_10351.jpg', '/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_45_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/55/image_20042025_12_55_55_9413.jpg
/home/pi/Desktop/images/20042025/12/55/image_20042025_12_56_06_10360.jpg
/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_16_10429.jpg
/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_26_9376.jpg
/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_36_10351.jpg
/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_45_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245717","1352245633","1352245603","1352245662","1352245691","1352245571"],"photo_ids_order":["1352245571","1352245603","1352245633","1352245662","1352245691","1352245717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea3982dc085a3ab7735db83fdb259f63.jpg","text":"TemporaryFile(/tmp/multipartBody7758853919659395458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157393335,"filename":"image_20042025_12_56_45_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/466d0282f50634df44c39c3d779f9ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8580537524533651252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157393335,"filename":"image_20042025_12_56_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e32d329c0d4296585fcf00c5ec7dc895.jpg","text":"TemporaryFile(/tmp/multipartBody571809512624893617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157393335,"filename":"image_20042025_12_56_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/248cc4ba115784fe2a3465d16f344537.jpg","text":"TemporaryFile(/tmp/multipartBody1448761679035760687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157393335,"filename":"image_20042025_12_56_26_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e362ce6fa041881e46a7cc8cd7a265bf.jpg","text":"TemporaryFile(/tmp/multipartBody6483922871554747446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157393335,"filename":"image_20042025_12_56_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e581ca0c13f689983d5eecd67945a36.jpg","text":"TemporaryFile(/tmp/multipartBody5051348769557902465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157393335,"filename":"image_20042025_12_55_55_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245633","file1":"1352245603","file0":"1352245571","file4":"1352245691","file5":"1352245717","file3":"1352245662"},"map_files_photo_id_array":[{"photo_id":"1352245717","filename":"file5"},{"photo_id":"1352245633","filename":"file2"},{"photo_id":"1352245691","filename":"file4"},{"photo_id":"1352245603","filename":"file1"},{"photo_id":"1352245571","filename":"file0"},{"photo_id":"1352245662","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352245717":["hashtag1","hashtag2"]},{"1352245633":["hashtag1","hashtag2"]},{"1352245603":["hashtag1","hashtag2"]},{"1352245662":["hashtag1","hashtag2"]},{"1352245691":["hashtag1","hashtag2"]},{"1352245571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352245717, 1352245633, 1352245603, 1352245662, 1352245691, 1352245571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.187647342681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:56:33.123224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_56_10385.jpg', '/home/pi/Desktop/images/20042025/12/56/image_20042025_12_57_06_10449.jpg', '/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_16_9354.jpg', '/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_26_10415.jpg', '/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_35_9421.jpg', '/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/56/image_20042025_12_56_56_10385.jpg
/home/pi/Desktop/images/20042025/12/56/image_20042025_12_57_06_10449.jpg
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_16_9354.jpg
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_26_10415.jpg
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_35_9421.jpg
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_46_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352246014","1352246070","1352246130","1352245986","1352246103","1352246042"],"photo_ids_order":["1352245986","1352246014","1352246042","1352246070","1352246103","1352246130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19750cbdf53699c3055eea042e0d9aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7261663587437719473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157453598,"filename":"image_20042025_12_57_06_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c5ec5722558d82f114a557e90d1a5f5.jpg","text":"TemporaryFile(/tmp/multipartBody379628838424337141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157453598,"filename":"image_20042025_12_57_26_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e91c62811a1992499d793eba05ca3433.jpg","text":"TemporaryFile(/tmp/multipartBody9067166916970561218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157453598,"filename":"image_20042025_12_57_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5560030fa87ce422ad6ff0390dc98b9.jpg","text":"TemporaryFile(/tmp/multipartBody7330551251954384099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157453598,"filename":"image_20042025_12_56_56_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6751e3083113dfa712cf267cf0f2b703.jpg","text":"TemporaryFile(/tmp/multipartBody5208661948900837948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157453598,"filename":"image_20042025_12_57_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0b12e1bb58c2e7003a54bf8cdc049ce.jpg","text":"TemporaryFile(/tmp/multipartBody664071050368722565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157453598,"filename":"image_20042025_12_57_16_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352246042","file1":"1352246014","file0":"1352245986","file4":"1352246103","file5":"1352246130","file3":"1352246070"},"map_files_photo_id_array":[{"photo_id":"1352246130","filename":"file5"},{"photo_id":"1352246042","filename":"file2"},{"photo_id":"1352246103","filename":"file4"},{"photo_id":"1352246014","filename":"file1"},{"photo_id":"1352245986","filename":"file0"},{"photo_id":"1352246070","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352246014":["hashtag1","hashtag2"]},{"1352246070":["hashtag1","hashtag2"]},{"1352246130":["hashtag1","hashtag2"]},{"1352245986":["hashtag1","hashtag2"]},{"1352246103":["hashtag1","hashtag2"]},{"1352246042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352246014, 1352246070, 1352246130, 1352245986, 1352246103, 1352246042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.84953784942627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 15:57:32.405726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_56_10439.jpg', '/home/pi/Desktop/images/20042025/12/57/image_20042025_12_58_06_9374.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_16_10488.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_25_9366.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_36_10362.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_56_10439.jpg
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_58_06_9374.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_16_10488.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_25_9366.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_36_10362.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 15:59:04.116490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_56_10439.jpg', '/home/pi/Desktop/images/20042025/12/57/image_20042025_12_58_06_9374.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_16_10488.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_25_9366.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_36_10362.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_57_56_10439.jpg
/home/pi/Desktop/images/20042025/12/57/image_20042025_12_58_06_9374.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_16_10488.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_25_9366.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_36_10362.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_46_10364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248702","1352248515","1352248640","1352248436","1352248579","1352248486"],"photo_ids_order":["1352248436","1352248486","1352248515","1352248579","1352248640","1352248702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d02f5486e0b59690355d757bbac74b3.jpg","text":"TemporaryFile(/tmp/multipartBody1821974621947975874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157604709,"filename":"image_20042025_12_58_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c0806407fe0d99f43b0f6a7e5c958e8.jpg","text":"TemporaryFile(/tmp/multipartBody4830324762598572552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157604709,"filename":"image_20042025_12_58_16_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bedc54426e9777bab80f0f338884931e.jpg","text":"TemporaryFile(/tmp/multipartBody1853254675855274575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157604709,"filename":"image_20042025_12_58_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/838a6ef10dc063c3c333c3fe2ef618a1.jpg","text":"TemporaryFile(/tmp/multipartBody3490489933036741873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157604709,"filename":"image_20042025_12_57_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/150a2c6b62a393d58b198e179f393aa5.jpg","text":"TemporaryFile(/tmp/multipartBody120098856744688366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157604709,"filename":"image_20042025_12_58_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b16850f66819a92a0e2adb97c5b1bd16.jpg","text":"TemporaryFile(/tmp/multipartBody8101459870040618838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157604709,"filename":"image_20042025_12_58_06_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248515","file1":"1352248486","file0":"1352248436","file4":"1352248640","file5":"1352248702","file3":"1352248579"},"map_files_photo_id_array":[{"photo_id":"1352248702","filename":"file5"},{"photo_id":"1352248515","filename":"file2"},{"photo_id":"1352248640","filename":"file4"},{"photo_id":"1352248486","filename":"file1"},{"photo_id":"1352248436","filename":"file0"},{"photo_id":"1352248579","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352248702":["hashtag1","hashtag2"]},{"1352248515":["hashtag1","hashtag2"]},{"1352248640":["hashtag1","hashtag2"]},{"1352248436":["hashtag1","hashtag2"]},{"1352248579":["hashtag1","hashtag2"]},{"1352248486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352248702, 1352248515, 1352248640, 1352248436, 1352248579, 1352248486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9002628326416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 15:59:43.111647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_55_9355.jpg', '/home/pi/Desktop/images/20042025/12/58/image_20042025_12_59_06_10404.jpg', '/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_16_10354.jpg', '/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_26_9362.jpg', '/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_36_10373.jpg', '/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_45_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_58_55_9355.jpg
/home/pi/Desktop/images/20042025/12/58/image_20042025_12_59_06_10404.jpg
/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_16_10354.jpg
/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_26_9362.jpg
/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_36_10373.jpg
/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_45_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248965","1352248941","1352248994","1352248897","1352248978","1352249005"],"photo_ids_order":["1352248897","1352248941","1352248965","1352248978","1352248994","1352249005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/681fbcda71ccef6394127e672eefe4d2.jpg","text":"TemporaryFile(/tmp/multipartBody315566284946963561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157643642,"filename":"image_20042025_12_59_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/735a2ee5a949b04ce7c3a98d3d8d2730.jpg","text":"TemporaryFile(/tmp/multipartBody1383113505979625557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157643642,"filename":"image_20042025_12_59_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c10d68e8fe40ac9aa9ebc537ead9519c.jpg","text":"TemporaryFile(/tmp/multipartBody8883315001376380291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157643642,"filename":"image_20042025_12_59_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12daeca3fb998edfc2e9f3c168641967.jpg","text":"TemporaryFile(/tmp/multipartBody4603880578925641859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157643642,"filename":"image_20042025_12_58_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7ae6b8d39fea37e326bb05805b9ed43.jpg","text":"TemporaryFile(/tmp/multipartBody1944921854625560440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157643642,"filename":"image_20042025_12_59_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78907d728e07bd8c870267ee3c0b2a9b.jpg","text":"TemporaryFile(/tmp/multipartBody6879957627520966417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157643642,"filename":"image_20042025_12_59_45_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248965","file1":"1352248941","file0":"1352248897","file4":"1352248994","file5":"1352249005","file3":"1352248978"},"map_files_photo_id_array":[{"photo_id":"1352249005","filename":"file5"},{"photo_id":"1352248965","filename":"file2"},{"photo_id":"1352248994","filename":"file4"},{"photo_id":"1352248941","filename":"file1"},{"photo_id":"1352248897","filename":"file0"},{"photo_id":"1352248978","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352248965":["hashtag1","hashtag2"]},{"1352248941":["hashtag1","hashtag2"]},{"1352248994":["hashtag1","hashtag2"]},{"1352248897":["hashtag1","hashtag2"]},{"1352248978":["hashtag1","hashtag2"]},{"1352249005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352248965, 1352248941, 1352248994, 1352248897, 1352248978, 1352249005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.313508987426758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:00:32.314264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_56_10376.jpg', '/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_14_10078.jpg', '/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_24_10478.jpg', '/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_35_10370.jpg', '/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_44_9470.jpg', '/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/12/59/image_20042025_12_59_56_10376.jpg
/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_14_10078.jpg
/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_24_10478.jpg
/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_35_10370.jpg
/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_44_9470.jpg
/home/pi/Desktop/images/20042025/13/01/image_20042025_13_01_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249046","1352249049","1352249057","1352249059","1352249053","1352249061"],"photo_ids_order":["1352249046","1352249049","1352249053","1352249057","1352249059","1352249061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9195a9dd2d98a9e6621476d088c5aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4258502549210518456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157692787,"filename":"image_20042025_12_59_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d3e4fcbfb20aa289ec66db6e2ab05b7.jpg","text":"TemporaryFile(/tmp/multipartBody526967042859520089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157692787,"filename":"image_20042025_13_01_14_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7418dba812d05092b8f8f868a6ce0805.jpg","text":"TemporaryFile(/tmp/multipartBody8622919126945786639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157692787,"filename":"image_20042025_13_01_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43b970265d40bcc57b6cc273f1edd63b.jpg","text":"TemporaryFile(/tmp/multipartBody5489946676898738271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157692787,"filename":"image_20042025_13_01_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2943f77076fd8dbce20a8afd792a43b.jpg","text":"TemporaryFile(/tmp/multipartBody4438789367021544937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157692787,"filename":"image_20042025_13_01_24_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca5e81e13ee24125627ce1a3838b11d7.jpg","text":"TemporaryFile(/tmp/multipartBody5484585633310266843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157692787,"filename":"image_20042025_13_01_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249053","file1":"1352249049","file0":"1352249046","file4":"1352249059","file5":"1352249061","file3":"1352249057"},"map_files_photo_id_array":[{"photo_id":"1352249061","filename":"file5"},{"photo_id":"1352249053","filename":"file2"},{"photo_id":"1352249059","filename":"file4"},{"photo_id":"1352249049","filename":"file1"},{"photo_id":"1352249046","filename":"file0"},{"photo_id":"1352249057","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352249046":["hashtag1","hashtag2"]},{"1352249049":["hashtag1","hashtag2"]},{"1352249057":["hashtag1","hashtag2"]},{"1352249059":["hashtag1","hashtag2"]},{"1352249053":["hashtag1","hashtag2"]},{"1352249061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352249046, 1352249049, 1352249057, 1352249059, 1352249053, 1352249061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74877381324768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:01:32.578808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/01/image_20042025_13_02_04_9409.jpg', '/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_14_10364.jpg', '/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_25_10374.jpg', '/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_34_9458.jpg', '/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_45_10392.jpg', '/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_54_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/01/image_20042025_13_02_04_9409.jpg
/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_14_10364.jpg
/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_25_10374.jpg
/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_34_9458.jpg
/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_45_10392.jpg
/home/pi/Desktop/images/20042025/13/02/image_20042025_13_02_54_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249211","1352249183","1352249296","1352249269","1352249323","1352249239"],"photo_ids_order":["1352249183","1352249211","1352249239","1352249269","1352249296","1352249323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9d2d004519c7551c078986be578ddad.jpg","text":"TemporaryFile(/tmp/multipartBody5546605370415563564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157753036,"filename":"image_20042025_13_02_14_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc1b5a4b2f0763033294682fbf2f826f.jpg","text":"TemporaryFile(/tmp/multipartBody4016803395397754309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157753036,"filename":"image_20042025_13_02_04_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fddad0f20817b9637a81281057592008.jpg","text":"TemporaryFile(/tmp/multipartBody8501803694457859209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157753036,"filename":"image_20042025_13_02_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3056eadfaf8475c6c030399cc62fb7ea.jpg","text":"TemporaryFile(/tmp/multipartBody2950776954213624256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157753036,"filename":"image_20042025_13_02_34_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a045f49301cd44ba00e1e2ea5cf648d.jpg","text":"TemporaryFile(/tmp/multipartBody7262082856990282736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157753036,"filename":"image_20042025_13_02_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/399863016973936acaa3b8091db8b66e.jpg","text":"TemporaryFile(/tmp/multipartBody9095675023612417634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157753036,"filename":"image_20042025_13_02_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249239","file1":"1352249211","file0":"1352249183","file4":"1352249296","file5":"1352249323","file3":"1352249269"},"map_files_photo_id_array":[{"photo_id":"1352249323","filename":"file5"},{"photo_id":"1352249239","filename":"file2"},{"photo_id":"1352249296","filename":"file4"},{"photo_id":"1352249211","filename":"file1"},{"photo_id":"1352249183","filename":"file0"},{"photo_id":"1352249269","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352249211":["hashtag1","hashtag2"]},{"1352249183":["hashtag1","hashtag2"]},{"1352249296":["hashtag1","hashtag2"]},{"1352249269":["hashtag1","hashtag2"]},{"1352249323":["hashtag1","hashtag2"]},{"1352249239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352249211, 1352249183, 1352249296, 1352249269, 1352249323, 1352249239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.94118022918701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:02:32.701753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/02/image_20042025_13_03_04_10473.jpg', '/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_14_9352.jpg', '/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_24_10382.jpg', '/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_35_10421.jpg', '/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_44_9438.jpg', '/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_54_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/02/image_20042025_13_03_04_10473.jpg
/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_14_9352.jpg
/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_24_10382.jpg
/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_35_10421.jpg
/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_44_9438.jpg
/home/pi/Desktop/images/20042025/13/03/image_20042025_13_03_54_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249489","1352249497","1352249485","1352249503","1352249499","1352249493"],"photo_ids_order":["1352249485","1352249489","1352249493","1352249497","1352249499","1352249503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f50a2f1c4ccd080130a59c8e2cdda0e.jpg","text":"TemporaryFile(/tmp/multipartBody6109892160818898375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157813166,"filename":"image_20042025_13_03_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1c9d870bf6ad706cce609ebc545cb50.jpg","text":"TemporaryFile(/tmp/multipartBody35839903097684291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157813166,"filename":"image_20042025_13_03_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/532541053912b81dd907376d155a61a7.jpg","text":"TemporaryFile(/tmp/multipartBody5888557925306782029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157813166,"filename":"image_20042025_13_03_04_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f37b67d5882a16f294242d0543d089c3.jpg","text":"TemporaryFile(/tmp/multipartBody247681698819610639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157813166,"filename":"image_20042025_13_03_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16a964d8b62425e9d72d435192528cec.jpg","text":"TemporaryFile(/tmp/multipartBody8562303223117898378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157813166,"filename":"image_20042025_13_03_44_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/877170c990dbf2d3e5e47931b83815cc.jpg","text":"TemporaryFile(/tmp/multipartBody7210668056106277643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157813166,"filename":"image_20042025_13_03_24_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249493","file1":"1352249489","file0":"1352249485","file4":"1352249499","file5":"1352249503","file3":"1352249497"},"map_files_photo_id_array":[{"photo_id":"1352249503","filename":"file5"},{"photo_id":"1352249493","filename":"file2"},{"photo_id":"1352249499","filename":"file4"},{"photo_id":"1352249489","filename":"file1"},{"photo_id":"1352249485","filename":"file0"},{"photo_id":"1352249497","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352249489":["hashtag1","hashtag2"]},{"1352249497":["hashtag1","hashtag2"]},{"1352249485":["hashtag1","hashtag2"]},{"1352249503":["hashtag1","hashtag2"]},{"1352249499":["hashtag1","hashtag2"]},{"1352249493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352249489, 1352249497, 1352249485, 1352249503, 1352249499, 1352249493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.569154500961304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:03:32.856718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/03/image_20042025_13_04_04_9615.jpg', '/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_14_10365.jpg', '/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_25_10379.jpg', '/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_34_9506.jpg', '/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_45_10382.jpg', '/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_54_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/03/image_20042025_13_04_04_9615.jpg
/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_14_10365.jpg
/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_25_10379.jpg
/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_34_9506.jpg
/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_45_10382.jpg
/home/pi/Desktop/images/20042025/13/04/image_20042025_13_04_54_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249673","1352249721","1352249715","1352249717","1352249719","1352249707"],"photo_ids_order":["1352249673","1352249707","1352249715","1352249717","1352249719","1352249721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20f494dc8e441c58a337c3658b69ba48.jpg","text":"TemporaryFile(/tmp/multipartBody3630662345513498769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157873322,"filename":"image_20042025_13_04_04_9615.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba6af60eba33597d78f0c451b8da5ccf.jpg","text":"TemporaryFile(/tmp/multipartBody4028433533249126080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157873322,"filename":"image_20042025_13_04_54_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3da153eb7784197225885cfea00d397.jpg","text":"TemporaryFile(/tmp/multipartBody7726362901338961459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157873322,"filename":"image_20042025_13_04_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b148afb98be87161a53c7ccfcbb52fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3111012929359555867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157873322,"filename":"image_20042025_13_04_34_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52b72ed622196595b829ffb05afec25a.jpg","text":"TemporaryFile(/tmp/multipartBody8052186545187286436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157873322,"filename":"image_20042025_13_04_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a31d62f8a988313e25135799afe7dff.jpg","text":"TemporaryFile(/tmp/multipartBody4106861014944187698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157873322,"filename":"image_20042025_13_04_14_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249715","file1":"1352249707","file0":"1352249673","file4":"1352249719","file5":"1352249721","file3":"1352249717"},"map_files_photo_id_array":[{"photo_id":"1352249721","filename":"file5"},{"photo_id":"1352249715","filename":"file2"},{"photo_id":"1352249719","filename":"file4"},{"photo_id":"1352249707","filename":"file1"},{"photo_id":"1352249673","filename":"file0"},{"photo_id":"1352249717","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352249673":["hashtag1","hashtag2"]},{"1352249721":["hashtag1","hashtag2"]},{"1352249715":["hashtag1","hashtag2"]},{"1352249717":["hashtag1","hashtag2"]},{"1352249719":["hashtag1","hashtag2"]},{"1352249707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352249673, 1352249721, 1352249715, 1352249717, 1352249719, 1352249707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.152868032455444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:04:33.126061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/04/image_20042025_13_05_04_10377.jpg', '/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_15_10338.jpg', '/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_24_9483.jpg', '/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_35_10364.jpg', '/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_44_9466.jpg', '/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_54_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/04/image_20042025_13_05_04_10377.jpg
/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_15_10338.jpg
/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_24_9483.jpg
/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_35_10364.jpg
/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_44_9466.jpg
/home/pi/Desktop/images/20042025/13/05/image_20042025_13_05_54_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249748","1352249738","1352249746","1352249740","1352249743","1352249736"],"photo_ids_order":["1352249736","1352249738","1352249740","1352249743","1352249746","1352249748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8c29dab18c1dee40308127bed14451d.jpg","text":"TemporaryFile(/tmp/multipartBody4392006034499240535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157933588,"filename":"image_20042025_13_05_54_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45bb5397dba3aaa891b9692ddf2da776.jpg","text":"TemporaryFile(/tmp/multipartBody1952980327230898106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157933588,"filename":"image_20042025_13_05_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be499e736db66b0be677f0c34416340c.jpg","text":"TemporaryFile(/tmp/multipartBody4536312798764303050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157933588,"filename":"image_20042025_13_05_44_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35fb18a2a3cc55d0bd2d8915c3fd4307.jpg","text":"TemporaryFile(/tmp/multipartBody5053934670401346545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157933588,"filename":"image_20042025_13_05_24_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3e23871aa9b0f9b9051eef373bf2672.jpg","text":"TemporaryFile(/tmp/multipartBody1956998076650696954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157933588,"filename":"image_20042025_13_05_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e25f7a125d28f64d743ff3880d61e468.jpg","text":"TemporaryFile(/tmp/multipartBody3418091295342997948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157933588,"filename":"image_20042025_13_05_04_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249740","file1":"1352249738","file0":"1352249736","file4":"1352249746","file5":"1352249748","file3":"1352249743"},"map_files_photo_id_array":[{"photo_id":"1352249748","filename":"file5"},{"photo_id":"1352249740","filename":"file2"},{"photo_id":"1352249746","filename":"file4"},{"photo_id":"1352249738","filename":"file1"},{"photo_id":"1352249736","filename":"file0"},{"photo_id":"1352249743","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352249748":["hashtag1","hashtag2"]},{"1352249738":["hashtag1","hashtag2"]},{"1352249746":["hashtag1","hashtag2"]},{"1352249740":["hashtag1","hashtag2"]},{"1352249743":["hashtag1","hashtag2"]},{"1352249736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352249748, 1352249738, 1352249746, 1352249740, 1352249743, 1352249736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31289219856262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:05:32.459112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/05/image_20042025_13_06_04_9495.jpg', '/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_14_10387.jpg', '/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_25_10422.jpg', '/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_34_9422.jpg', '/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_45_10429.jpg', '/home/pi/Desktop/images/20042025/13/06/image_20042025_13_07_04_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/05/image_20042025_13_06_04_9495.jpg
/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_14_10387.jpg
/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_25_10422.jpg
/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_34_9422.jpg
/home/pi/Desktop/images/20042025/13/06/image_20042025_13_06_45_10429.jpg
/home/pi/Desktop/images/20042025/13/06/image_20042025_13_07_04_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249844","1352249981","1352249897","1352249957","1352249926","1352249871"],"photo_ids_order":["1352249844","1352249871","1352249897","1352249926","1352249957","1352249981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40720d55c0df254819d736e66326439a.jpg","text":"TemporaryFile(/tmp/multipartBody1925933248707578105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157992928,"filename":"image_20042025_13_06_04_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2947ad6d116330e064bf7814781284b1.jpg","text":"TemporaryFile(/tmp/multipartBody2135410695243969301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157992928,"filename":"image_20042025_13_07_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e2705fd4e4827affc518dfdd508d3b8.jpg","text":"TemporaryFile(/tmp/multipartBody8708308100310897672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157992928,"filename":"image_20042025_13_06_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/031b5e0481f340e690061c9ccfc9761e.jpg","text":"TemporaryFile(/tmp/multipartBody7279355455276250024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157992928,"filename":"image_20042025_13_06_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a49549daa527fd9a8dab3927946d4d77.jpg","text":"TemporaryFile(/tmp/multipartBody1829132733538088109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157992928,"filename":"image_20042025_13_06_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/883886892890b884fe53c20ebbace4db.jpg","text":"TemporaryFile(/tmp/multipartBody1871231306975408848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745157992928,"filename":"image_20042025_13_06_14_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249897","file1":"1352249871","file0":"1352249844","file4":"1352249957","file5":"1352249981","file3":"1352249926"},"map_files_photo_id_array":[{"photo_id":"1352249981","filename":"file5"},{"photo_id":"1352249897","filename":"file2"},{"photo_id":"1352249957","filename":"file4"},{"photo_id":"1352249871","filename":"file1"},{"photo_id":"1352249844","filename":"file0"},{"photo_id":"1352249926","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352249844":["hashtag1","hashtag2"]},{"1352249981":["hashtag1","hashtag2"]},{"1352249897":["hashtag1","hashtag2"]},{"1352249957":["hashtag1","hashtag2"]},{"1352249926":["hashtag1","hashtag2"]},{"1352249871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352249844, 1352249981, 1352249897, 1352249957, 1352249926, 1352249871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.507601737976074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:06:32.645313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_14_9341.jpg', '/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_24_10388.jpg', '/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_35_10363.jpg', '/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_44_9470.jpg', '/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_54_10363.jpg', '/home/pi/Desktop/images/20042025/13/07/image_20042025_13_08_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_14_9341.jpg
/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_24_10388.jpg
/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_35_10363.jpg
/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_44_9470.jpg
/home/pi/Desktop/images/20042025/13/07/image_20042025_13_07_54_10363.jpg
/home/pi/Desktop/images/20042025/13/07/image_20042025_13_08_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250147","1352250141","1352250135","1352250144","1352250138","1352250132"],"photo_ids_order":["1352250132","1352250135","1352250138","1352250141","1352250144","1352250147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd214703c285530754a4d6a167388ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2912760951599367006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158053128,"filename":"image_20042025_13_08_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61fa711ccc171bc4f23a0b70a051965e.jpg","text":"TemporaryFile(/tmp/multipartBody152502774530337260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158053128,"filename":"image_20042025_13_07_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c79113ee6a3b05fbf1e82c709928974.jpg","text":"TemporaryFile(/tmp/multipartBody4747922488400096122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158053128,"filename":"image_20042025_13_07_24_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f95ac5d717e1db9b22b627f95a82391d.jpg","text":"TemporaryFile(/tmp/multipartBody1072931228114100095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158053128,"filename":"image_20042025_13_07_54_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e5f7dc3c0d7ac5406703999c2d57ed3.jpg","text":"TemporaryFile(/tmp/multipartBody5124493454897840359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158053128,"filename":"image_20042025_13_07_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75dd2c494c6cfb344713f3b47eb157ff.jpg","text":"TemporaryFile(/tmp/multipartBody2979546809676991115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158053128,"filename":"image_20042025_13_07_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250138","file1":"1352250135","file0":"1352250132","file4":"1352250144","file5":"1352250147","file3":"1352250141"},"map_files_photo_id_array":[{"photo_id":"1352250147","filename":"file5"},{"photo_id":"1352250138","filename":"file2"},{"photo_id":"1352250144","filename":"file4"},{"photo_id":"1352250135","filename":"file1"},{"photo_id":"1352250132","filename":"file0"},{"photo_id":"1352250141","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250147":["hashtag1","hashtag2"]},{"1352250141":["hashtag1","hashtag2"]},{"1352250135":["hashtag1","hashtag2"]},{"1352250144":["hashtag1","hashtag2"]},{"1352250138":["hashtag1","hashtag2"]},{"1352250132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250147, 1352250141, 1352250135, 1352250144, 1352250138, 1352250132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60697150230408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:07:32.905057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_14_9415.jpg', '/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_25_10348.jpg', '/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_34_9450.jpg', '/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_44_10426.jpg', '/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_55_10371.jpg', '/home/pi/Desktop/images/20042025/13/08/image_20042025_13_09_04_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_14_9415.jpg
/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_25_10348.jpg
/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_34_9450.jpg
/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_44_10426.jpg
/home/pi/Desktop/images/20042025/13/08/image_20042025_13_08_55_10371.jpg
/home/pi/Desktop/images/20042025/13/08/image_20042025_13_09_04_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250159","1352250164","1352250167","1352250161","1352250155","1352250172"],"photo_ids_order":["1352250155","1352250159","1352250161","1352250164","1352250167","1352250172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3143092964628d5bf31a38441daeca6e.jpg","text":"TemporaryFile(/tmp/multipartBody16261483996495370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158113365,"filename":"image_20042025_13_08_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62b2058311070c2e2978db59d096d137.jpg","text":"TemporaryFile(/tmp/multipartBody6671102006802496981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158113365,"filename":"image_20042025_13_08_44_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4254937b6b607cf951bbd0c013d12b32.jpg","text":"TemporaryFile(/tmp/multipartBody2889836548359781318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158113365,"filename":"image_20042025_13_08_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d565b0fc7b9ffb3a42d1c8cae2124d8.jpg","text":"TemporaryFile(/tmp/multipartBody4373270468015970151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158113365,"filename":"image_20042025_13_08_34_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ef855533373986f47d364c16cf74004.jpg","text":"TemporaryFile(/tmp/multipartBody8493274035401435749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158113365,"filename":"image_20042025_13_08_14_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/300cd69abe64c36754b2e577050eeacf.jpg","text":"TemporaryFile(/tmp/multipartBody2213893190237609622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158113365,"filename":"image_20042025_13_09_04_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250161","file1":"1352250159","file0":"1352250155","file4":"1352250167","file5":"1352250172","file3":"1352250164"},"map_files_photo_id_array":[{"photo_id":"1352250172","filename":"file5"},{"photo_id":"1352250161","filename":"file2"},{"photo_id":"1352250167","filename":"file4"},{"photo_id":"1352250159","filename":"file1"},{"photo_id":"1352250155","filename":"file0"},{"photo_id":"1352250164","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250159":["hashtag1","hashtag2"]},{"1352250164":["hashtag1","hashtag2"]},{"1352250167":["hashtag1","hashtag2"]},{"1352250161":["hashtag1","hashtag2"]},{"1352250155":["hashtag1","hashtag2"]},{"1352250172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250159, 1352250164, 1352250167, 1352250161, 1352250155, 1352250172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.343374729156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:08:32.149249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_15_10410.jpg', '/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_24_9480.jpg', '/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_34_10362.jpg', '/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_44_9440.jpg', '/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_54_10419.jpg', '/home/pi/Desktop/images/20042025/13/09/image_20042025_13_10_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_15_10410.jpg
/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_24_9480.jpg
/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_34_10362.jpg
/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_44_9440.jpg
/home/pi/Desktop/images/20042025/13/09/image_20042025_13_09_54_10419.jpg
/home/pi/Desktop/images/20042025/13/09/image_20042025_13_10_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250186","1352250189","1352250194","1352250182","1352250179","1352250193"],"photo_ids_order":["1352250179","1352250182","1352250186","1352250189","1352250193","1352250194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6663eede9e02e08fccbb2ca62488301c.jpg","text":"TemporaryFile(/tmp/multipartBody1984824421390824811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158172611,"filename":"image_20042025_13_09_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09e42254704726cdbd0b891c6cf27600.jpg","text":"TemporaryFile(/tmp/multipartBody8020752288128426892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158172611,"filename":"image_20042025_13_09_44_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/974c6338c3b5f7a780ab7a25cf31d3fc.jpg","text":"TemporaryFile(/tmp/multipartBody6530185092247945651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158172611,"filename":"image_20042025_13_10_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bcbc8ec8e4aae045df602b3e1245fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7470483398704788507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158172611,"filename":"image_20042025_13_09_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e77d28eac163d9da3be3051629d24bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2948950810887613829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158172611,"filename":"image_20042025_13_09_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d07375820d2ac628127a681198434c44.jpg","text":"TemporaryFile(/tmp/multipartBody4371583197050102611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158172611,"filename":"image_20042025_13_09_54_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250186","file1":"1352250182","file0":"1352250179","file4":"1352250193","file5":"1352250194","file3":"1352250189"},"map_files_photo_id_array":[{"photo_id":"1352250194","filename":"file5"},{"photo_id":"1352250186","filename":"file2"},{"photo_id":"1352250193","filename":"file4"},{"photo_id":"1352250182","filename":"file1"},{"photo_id":"1352250179","filename":"file0"},{"photo_id":"1352250189","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250186":["hashtag1","hashtag2"]},{"1352250189":["hashtag1","hashtag2"]},{"1352250194":["hashtag1","hashtag2"]},{"1352250182":["hashtag1","hashtag2"]},{"1352250179":["hashtag1","hashtag2"]},{"1352250193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250186, 1352250189, 1352250194, 1352250182, 1352250179, 1352250193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86883735656738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:09:32.439849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_14_9386.jpg', '/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_24_10406.jpg', '/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_35_10359.jpg', '/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_44_9359.jpg', '/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_54_10372.jpg', '/home/pi/Desktop/images/20042025/13/10/image_20042025_13_11_04_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_14_9386.jpg
/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_24_10406.jpg
/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_35_10359.jpg
/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_44_9359.jpg
/home/pi/Desktop/images/20042025/13/10/image_20042025_13_10_54_10372.jpg
/home/pi/Desktop/images/20042025/13/10/image_20042025_13_11_04_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250214","1352250208","1352250216","1352250210","1352250212","1352250218"],"photo_ids_order":["1352250208","1352250210","1352250212","1352250214","1352250216","1352250218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56705a9309af656617075aaae2a166a4.jpg","text":"TemporaryFile(/tmp/multipartBody6409304746426717225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158232904,"filename":"image_20042025_13_10_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adca75b0227a1bb3327fd96db5a80b72.jpg","text":"TemporaryFile(/tmp/multipartBody299463185892535709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158232904,"filename":"image_20042025_13_10_14_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d7b6934867df828de414688e5986590.jpg","text":"TemporaryFile(/tmp/multipartBody2013992644513041741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158232904,"filename":"image_20042025_13_10_54_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b5b6e3841e518d10f93ae55f11d0964.jpg","text":"TemporaryFile(/tmp/multipartBody3805274677540875433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158232904,"filename":"image_20042025_13_10_24_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dda8e99abe2189a41e51bdfd6cde27c5.jpg","text":"TemporaryFile(/tmp/multipartBody3853546807507707789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158232904,"filename":"image_20042025_13_10_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13a292ad057c4d6a88aae8949d989ce1.jpg","text":"TemporaryFile(/tmp/multipartBody1884448912464132447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158232904,"filename":"image_20042025_13_11_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250212","file1":"1352250210","file0":"1352250208","file4":"1352250216","file5":"1352250218","file3":"1352250214"},"map_files_photo_id_array":[{"photo_id":"1352250218","filename":"file5"},{"photo_id":"1352250212","filename":"file2"},{"photo_id":"1352250216","filename":"file4"},{"photo_id":"1352250210","filename":"file1"},{"photo_id":"1352250208","filename":"file0"},{"photo_id":"1352250214","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250214":["hashtag1","hashtag2"]},{"1352250208":["hashtag1","hashtag2"]},{"1352250216":["hashtag1","hashtag2"]},{"1352250210":["hashtag1","hashtag2"]},{"1352250212":["hashtag1","hashtag2"]},{"1352250218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250214, 1352250208, 1352250216, 1352250210, 1352250212, 1352250218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.482855081558228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:10:32.802086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_14_10361.jpg', '/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_25_10369.jpg', '/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_34_9415.jpg', '/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_44_10384.jpg', '/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_55_10361.jpg', '/home/pi/Desktop/images/20042025/13/11/image_20042025_13_12_04_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_14_10361.jpg
/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_25_10369.jpg
/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_34_9415.jpg
/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_44_10384.jpg
/home/pi/Desktop/images/20042025/13/11/image_20042025_13_11_55_10361.jpg
/home/pi/Desktop/images/20042025/13/11/image_20042025_13_12_04_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250240","1352250242","1352250227","1352250235","1352250238","1352250232"],"photo_ids_order":["1352250227","1352250232","1352250235","1352250238","1352250240","1352250242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee9be47aa932ee1b082504705811dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody4176721310499805197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158293272,"filename":"image_20042025_13_11_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b4a90d79e0b7477b5ebe51f3e71dffb.jpg","text":"TemporaryFile(/tmp/multipartBody3381756293542467566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158293272,"filename":"image_20042025_13_12_04_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b488352c065e646a945662fcf7574b88.jpg","text":"TemporaryFile(/tmp/multipartBody7560181827911714543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158293272,"filename":"image_20042025_13_11_14_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c424f39613ed35e80f0875d76a16da1.jpg","text":"TemporaryFile(/tmp/multipartBody8523518907831540816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158293272,"filename":"image_20042025_13_11_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8d53b98ee90601b9657a36c03b1a912.jpg","text":"TemporaryFile(/tmp/multipartBody1467347139402513674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158293272,"filename":"image_20042025_13_11_44_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de1b62bc5b5726e344ebb0f94edbe140.jpg","text":"TemporaryFile(/tmp/multipartBody3094595165665222875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158293272,"filename":"image_20042025_13_11_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250235","file1":"1352250232","file0":"1352250227","file4":"1352250240","file5":"1352250242","file3":"1352250238"},"map_files_photo_id_array":[{"photo_id":"1352250242","filename":"file5"},{"photo_id":"1352250235","filename":"file2"},{"photo_id":"1352250240","filename":"file4"},{"photo_id":"1352250232","filename":"file1"},{"photo_id":"1352250227","filename":"file0"},{"photo_id":"1352250238","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250240":["hashtag1","hashtag2"]},{"1352250242":["hashtag1","hashtag2"]},{"1352250227":["hashtag1","hashtag2"]},{"1352250235":["hashtag1","hashtag2"]},{"1352250238":["hashtag1","hashtag2"]},{"1352250232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250240, 1352250242, 1352250227, 1352250235, 1352250238, 1352250232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.36328673362732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:11:33.151520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_15_10452.jpg', '/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_24_9431.jpg', '/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_34_10367.jpg', '/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_44_9369.jpg', '/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_54_10461.jpg', '/home/pi/Desktop/images/20042025/13/12/image_20042025_13_13_05_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_15_10452.jpg
/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_24_9431.jpg
/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_34_10367.jpg
/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_44_9369.jpg
/home/pi/Desktop/images/20042025/13/12/image_20042025_13_12_54_10461.jpg
/home/pi/Desktop/images/20042025/13/12/image_20042025_13_13_05_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250264","1352250260","1352250266","1352250268","1352250262","1352250256"],"photo_ids_order":["1352250256","1352250260","1352250262","1352250264","1352250266","1352250268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a34bd5a3008f4a3b72802354fbab6593.jpg","text":"TemporaryFile(/tmp/multipartBody5245210989215443393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158353611,"filename":"image_20042025_13_12_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5f1f4c76524b62cf5e4db7f96425715.jpg","text":"TemporaryFile(/tmp/multipartBody7023912430493512431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158353611,"filename":"image_20042025_13_12_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ffab3a21da1578b3bcb64acc907aa7e4.jpg","text":"TemporaryFile(/tmp/multipartBody5291006023579303023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158353611,"filename":"image_20042025_13_12_54_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df82312e50d967c75b04ec8143fcc4da.jpg","text":"TemporaryFile(/tmp/multipartBody648688654475428985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158353611,"filename":"image_20042025_13_13_05_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d340db294ca4b170de731222773d1075.jpg","text":"TemporaryFile(/tmp/multipartBody719757419524917386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158353611,"filename":"image_20042025_13_12_34_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d11149837c0797cce7dff49311678121.jpg","text":"TemporaryFile(/tmp/multipartBody1496742620326254431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158353611,"filename":"image_20042025_13_12_15_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250262","file1":"1352250260","file0":"1352250256","file4":"1352250266","file5":"1352250268","file3":"1352250264"},"map_files_photo_id_array":[{"photo_id":"1352250268","filename":"file5"},{"photo_id":"1352250262","filename":"file2"},{"photo_id":"1352250266","filename":"file4"},{"photo_id":"1352250260","filename":"file1"},{"photo_id":"1352250256","filename":"file0"},{"photo_id":"1352250264","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250264":["hashtag1","hashtag2"]},{"1352250260":["hashtag1","hashtag2"]},{"1352250266":["hashtag1","hashtag2"]},{"1352250268":["hashtag1","hashtag2"]},{"1352250262":["hashtag1","hashtag2"]},{"1352250256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250264, 1352250260, 1352250266, 1352250268, 1352250262, 1352250256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.75874948501587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:12:32.279877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_14_9456.jpg', '/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_25_10365.jpg', '/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_34_9463.jpg', '/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_44_10368.jpg', '/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_55_10358.jpg', '/home/pi/Desktop/images/20042025/13/13/image_20042025_13_14_04_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_14_9456.jpg
/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_25_10365.jpg
/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_34_9463.jpg
/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_44_10368.jpg
/home/pi/Desktop/images/20042025/13/13/image_20042025_13_13_55_10358.jpg
/home/pi/Desktop/images/20042025/13/13/image_20042025_13_14_04_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250282","1352250300","1352250293","1352250296","1352250286","1352250289"],"photo_ids_order":["1352250282","1352250286","1352250289","1352250293","1352250296","1352250300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2bdb15e914c68f0e81540523bffa1d7f.jpg","text":"TemporaryFile(/tmp/multipartBody3662271668070191541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158412757,"filename":"image_20042025_13_13_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f6c010cf7d120aa43daa933bd03aada.jpg","text":"TemporaryFile(/tmp/multipartBody5559224611061483407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158412757,"filename":"image_20042025_13_14_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e6057dbfe8b59a9792d8a9524865c01.jpg","text":"TemporaryFile(/tmp/multipartBody7060041320698875297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158412757,"filename":"image_20042025_13_13_44_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7d0220bc6ee41450b1d261515a4d4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6064424649121131100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158412757,"filename":"image_20042025_13_13_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0b74784b62fb9e38c6994a4f69b5538.jpg","text":"TemporaryFile(/tmp/multipartBody5970158140674886300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158412757,"filename":"image_20042025_13_13_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/deabed0509c99e51b1e696cf3fc26eb6.jpg","text":"TemporaryFile(/tmp/multipartBody5215672536878092233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158412757,"filename":"image_20042025_13_13_34_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250289","file1":"1352250286","file0":"1352250282","file4":"1352250296","file5":"1352250300","file3":"1352250293"},"map_files_photo_id_array":[{"photo_id":"1352250300","filename":"file5"},{"photo_id":"1352250289","filename":"file2"},{"photo_id":"1352250296","filename":"file4"},{"photo_id":"1352250286","filename":"file1"},{"photo_id":"1352250282","filename":"file0"},{"photo_id":"1352250293","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250282":["hashtag1","hashtag2"]},{"1352250300":["hashtag1","hashtag2"]},{"1352250293":["hashtag1","hashtag2"]},{"1352250296":["hashtag1","hashtag2"]},{"1352250286":["hashtag1","hashtag2"]},{"1352250289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250282, 1352250300, 1352250293, 1352250296, 1352250286, 1352250289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.727291107177734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:13:32.502760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_14_10357.jpg', '/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_25_10381.jpg', '/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_34_9345.jpg', '/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_44_10355.jpg', '/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_54_9446.jpg', '/home/pi/Desktop/images/20042025/13/14/image_20042025_13_15_04_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_14_10357.jpg
/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_25_10381.jpg
/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_34_9345.jpg
/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_44_10355.jpg
/home/pi/Desktop/images/20042025/13/14/image_20042025_13_14_54_9446.jpg
/home/pi/Desktop/images/20042025/13/14/image_20042025_13_15_04_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250324","1352250326","1352250322","1352250316","1352250319","1352250310"],"photo_ids_order":["1352250310","1352250316","1352250319","1352250322","1352250324","1352250326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14f062fc10dde9962ab2efdcd9e32631.jpg","text":"TemporaryFile(/tmp/multipartBody3619182714794617647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158472968,"filename":"image_20042025_13_14_54_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82aa45144c83c5a9fed2b766a5521863.jpg","text":"TemporaryFile(/tmp/multipartBody2318465461420622015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158472968,"filename":"image_20042025_13_15_04_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02974a7cb758f44727dfb201cdbccfcc.jpg","text":"TemporaryFile(/tmp/multipartBody6098093543791444837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158472968,"filename":"image_20042025_13_14_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdc65615221c073a0c62a4489146cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody3785556522601544106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158472968,"filename":"image_20042025_13_14_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e31aa5377262bf35516e4805a5596d6.jpg","text":"TemporaryFile(/tmp/multipartBody144621453788984412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158472968,"filename":"image_20042025_13_14_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5acbc741facc0ba899124877ee390d6.jpg","text":"TemporaryFile(/tmp/multipartBody5840656745610856857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158472968,"filename":"image_20042025_13_14_14_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250319","file1":"1352250316","file0":"1352250310","file4":"1352250324","file5":"1352250326","file3":"1352250322"},"map_files_photo_id_array":[{"photo_id":"1352250326","filename":"file5"},{"photo_id":"1352250319","filename":"file2"},{"photo_id":"1352250324","filename":"file4"},{"photo_id":"1352250316","filename":"file1"},{"photo_id":"1352250310","filename":"file0"},{"photo_id":"1352250322","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250324":["hashtag1","hashtag2"]},{"1352250326":["hashtag1","hashtag2"]},{"1352250322":["hashtag1","hashtag2"]},{"1352250316":["hashtag1","hashtag2"]},{"1352250319":["hashtag1","hashtag2"]},{"1352250310":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250324, 1352250326, 1352250322, 1352250316, 1352250319, 1352250310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.557677030563354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:14:32.770223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_15_10419.jpg', '/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_24_9459.jpg', '/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_35_10356.jpg', '/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_44_9448.jpg', '/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_54_10350.jpg', '/home/pi/Desktop/images/20042025/13/15/image_20042025_13_16_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_15_10419.jpg
/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_24_9459.jpg
/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_35_10356.jpg
/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_44_9448.jpg
/home/pi/Desktop/images/20042025/13/15/image_20042025_13_15_54_10350.jpg
/home/pi/Desktop/images/20042025/13/15/image_20042025_13_16_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250351","1352250345","1352250353","1352250347","1352250349","1352250346"],"photo_ids_order":["1352250345","1352250346","1352250347","1352250349","1352250351","1352250353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7268b9c90b2d85856cdb986be3a09bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6361225950740770653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158533237,"filename":"image_20042025_13_15_54_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69e04e3edd1d9ee2de2207dc53f6a947.jpg","text":"TemporaryFile(/tmp/multipartBody1721776773731879481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158533237,"filename":"image_20042025_13_15_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a60dfe8dffbba5607a31d3b5051ca53f.jpg","text":"TemporaryFile(/tmp/multipartBody2530230149058092141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158533237,"filename":"image_20042025_13_16_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e2bbb62d245d28a0f019bcf7a837e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8592393536463654706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158533237,"filename":"image_20042025_13_15_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eff35a15a0979521918246d85f15210b.jpg","text":"TemporaryFile(/tmp/multipartBody2227486558237650445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158533237,"filename":"image_20042025_13_15_44_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b754dc4475239b9632aed9726e9719e3.jpg","text":"TemporaryFile(/tmp/multipartBody7593031260150862134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158533237,"filename":"image_20042025_13_15_24_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250347","file1":"1352250346","file0":"1352250345","file4":"1352250351","file5":"1352250353","file3":"1352250349"},"map_files_photo_id_array":[{"photo_id":"1352250353","filename":"file5"},{"photo_id":"1352250347","filename":"file2"},{"photo_id":"1352250351","filename":"file4"},{"photo_id":"1352250346","filename":"file1"},{"photo_id":"1352250345","filename":"file0"},{"photo_id":"1352250349","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250351":["hashtag1","hashtag2"]},{"1352250345":["hashtag1","hashtag2"]},{"1352250353":["hashtag1","hashtag2"]},{"1352250347":["hashtag1","hashtag2"]},{"1352250349":["hashtag1","hashtag2"]},{"1352250346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250351, 1352250345, 1352250353, 1352250347, 1352250349, 1352250346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.9427809715271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:15:32.852792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_14_9364.jpg', '/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_24_10370.jpg', '/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_35_10351.jpg', '/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_44_9421.jpg', '/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_55_10356.jpg', '/home/pi/Desktop/images/20042025/13/16/image_20042025_13_17_04_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_14_9364.jpg
/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_24_10370.jpg
/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_35_10351.jpg
/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_44_9421.jpg
/home/pi/Desktop/images/20042025/13/16/image_20042025_13_16_55_10356.jpg
/home/pi/Desktop/images/20042025/13/16/image_20042025_13_17_04_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250372","1352250369","1352250371","1352250373","1352250367","1352250364"],"photo_ids_order":["1352250364","1352250367","1352250369","1352250371","1352250372","1352250373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a6e71d391ee1f7276dda9f3bdcd8bae.jpg","text":"TemporaryFile(/tmp/multipartBody913374697299317542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158593331,"filename":"image_20042025_13_16_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c05aaaeca9545191272a03a2337ce6f0.jpg","text":"TemporaryFile(/tmp/multipartBody5174585668042334616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158593331,"filename":"image_20042025_13_16_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73bae4fa93251a1d6f3e0d601f30b2ca.jpg","text":"TemporaryFile(/tmp/multipartBody7092229351602773793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158593331,"filename":"image_20042025_13_16_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75f60cfd768062fe7920af4a34efc9d8.jpg","text":"TemporaryFile(/tmp/multipartBody1816863080684234941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158593331,"filename":"image_20042025_13_17_04_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45060430298ffb984d001146b035b8df.jpg","text":"TemporaryFile(/tmp/multipartBody7157486997374283794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158593331,"filename":"image_20042025_13_16_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/868387d6f55ec3ab5d4d1e59df045a09.jpg","text":"TemporaryFile(/tmp/multipartBody2873344724009101058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158593331,"filename":"image_20042025_13_16_14_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250369","file1":"1352250367","file0":"1352250364","file4":"1352250372","file5":"1352250373","file3":"1352250371"},"map_files_photo_id_array":[{"photo_id":"1352250373","filename":"file5"},{"photo_id":"1352250369","filename":"file2"},{"photo_id":"1352250372","filename":"file4"},{"photo_id":"1352250367","filename":"file1"},{"photo_id":"1352250364","filename":"file0"},{"photo_id":"1352250371","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250372":["hashtag1","hashtag2"]},{"1352250369":["hashtag1","hashtag2"]},{"1352250371":["hashtag1","hashtag2"]},{"1352250373":["hashtag1","hashtag2"]},{"1352250367":["hashtag1","hashtag2"]},{"1352250364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250372, 1352250369, 1352250371, 1352250373, 1352250367, 1352250364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.86036467552185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:16:33.125414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_14_10443.jpg', '/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_24_9356.jpg', '/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_34_10476.jpg', '/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_45_10367.jpg', '/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_54_9439.jpg', '/home/pi/Desktop/images/20042025/13/17/image_20042025_13_18_04_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_14_10443.jpg
/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_24_9356.jpg
/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_34_10476.jpg
/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_45_10367.jpg
/home/pi/Desktop/images/20042025/13/17/image_20042025_13_17_54_9439.jpg
/home/pi/Desktop/images/20042025/13/17/image_20042025_13_18_04_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250387","1352250392","1352250395","1352250389","1352250398","1352250385"],"photo_ids_order":["1352250385","1352250387","1352250389","1352250392","1352250395","1352250398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07a1a95f82c6214806e8ef7b454ccece.jpg","text":"TemporaryFile(/tmp/multipartBody592614386171007455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158653599,"filename":"image_20042025_13_17_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/368de6639f8cb4b2b116c857802d3cec.jpg","text":"TemporaryFile(/tmp/multipartBody5557397492632050232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158653599,"filename":"image_20042025_13_17_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7283502af440cfc21918287a6ec4549e.jpg","text":"TemporaryFile(/tmp/multipartBody825958968046676100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158653599,"filename":"image_20042025_13_17_54_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec35c869546b5a58167374890aac0fb7.jpg","text":"TemporaryFile(/tmp/multipartBody2464347729557926520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158653599,"filename":"image_20042025_13_17_34_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f57a02d0e9e88ae35c1eb4f16ef38646.jpg","text":"TemporaryFile(/tmp/multipartBody9197752599755540360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158653599,"filename":"image_20042025_13_18_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc492b52fa58f5d4f02523a863aec718.jpg","text":"TemporaryFile(/tmp/multipartBody2456632793507275368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158653599,"filename":"image_20042025_13_17_14_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250389","file1":"1352250387","file0":"1352250385","file4":"1352250395","file5":"1352250398","file3":"1352250392"},"map_files_photo_id_array":[{"photo_id":"1352250398","filename":"file5"},{"photo_id":"1352250389","filename":"file2"},{"photo_id":"1352250395","filename":"file4"},{"photo_id":"1352250387","filename":"file1"},{"photo_id":"1352250385","filename":"file0"},{"photo_id":"1352250392","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250387":["hashtag1","hashtag2"]},{"1352250392":["hashtag1","hashtag2"]},{"1352250395":["hashtag1","hashtag2"]},{"1352250389":["hashtag1","hashtag2"]},{"1352250398":["hashtag1","hashtag2"]},{"1352250385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250387, 1352250392, 1352250395, 1352250389, 1352250398, 1352250385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.35610008239746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:17:32.375843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_14_9342.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_24_10378.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_35_10359.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_44_9471.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_54_10362.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_19_04_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_14_9342.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_24_10378.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_35_10359.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_44_9471.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_54_10362.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_19_04_9414.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.396198034286499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 16:17:42.505925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_14_9342.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_24_10378.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_35_10359.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_44_9471.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_54_10362.jpg', '/home/pi/Desktop/images/20042025/13/18/image_20042025_13_19_04_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_14_9342.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_24_10378.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_35_10359.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_44_9471.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_18_54_10362.jpg
/home/pi/Desktop/images/20042025/13/18/image_20042025_13_19_04_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250429","1352250431","1352250425","1352250433","1352250436","1352250421"],"photo_ids_order":["1352250421","1352250425","1352250429","1352250431","1352250433","1352250436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99666e12ce326c278983d66a48609387.jpg","text":"TemporaryFile(/tmp/multipartBody5032366932329362403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158723002,"filename":"image_20042025_13_18_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fac6f2a452e2fd4d7d7c126617ee0317.jpg","text":"TemporaryFile(/tmp/multipartBody5143887703430955723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158723002,"filename":"image_20042025_13_18_44_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4f067b1d3f390a3e358ad1ad5385071.jpg","text":"TemporaryFile(/tmp/multipartBody8665828154024526715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158723002,"filename":"image_20042025_13_18_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09b214cd1578c10cfcb2716b25f9036f.jpg","text":"TemporaryFile(/tmp/multipartBody3540102853094701082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158723002,"filename":"image_20042025_13_18_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fed79a0f82241b900862b611d8c0151.jpg","text":"TemporaryFile(/tmp/multipartBody7989054668244947922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158723002,"filename":"image_20042025_13_19_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/073fbb083b5761a42f8e174278f1b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1084950831519155852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158723002,"filename":"image_20042025_13_18_14_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250429","file1":"1352250425","file0":"1352250421","file4":"1352250433","file5":"1352250436","file3":"1352250431"},"map_files_photo_id_array":[{"photo_id":"1352250436","filename":"file5"},{"photo_id":"1352250429","filename":"file2"},{"photo_id":"1352250433","filename":"file4"},{"photo_id":"1352250425","filename":"file1"},{"photo_id":"1352250421","filename":"file0"},{"photo_id":"1352250431","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250429":["hashtag1","hashtag2"]},{"1352250431":["hashtag1","hashtag2"]},{"1352250425":["hashtag1","hashtag2"]},{"1352250433":["hashtag1","hashtag2"]},{"1352250436":["hashtag1","hashtag2"]},{"1352250421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250429, 1352250431, 1352250425, 1352250433, 1352250436, 1352250421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23491168022156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:18:32.548805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_14_10390.jpg', '/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_25_10451.jpg', '/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_34_9457.jpg', '/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_45_10438.jpg', '/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_54_9410.jpg', '/home/pi/Desktop/images/20042025/13/19/image_20042025_13_20_04_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_14_10390.jpg
/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_25_10451.jpg
/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_34_9457.jpg
/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_45_10438.jpg
/home/pi/Desktop/images/20042025/13/19/image_20042025_13_19_54_9410.jpg
/home/pi/Desktop/images/20042025/13/19/image_20042025_13_20_04_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250444","1352250455","1352250451","1352250448","1352250457","1352250442"],"photo_ids_order":["1352250442","1352250444","1352250448","1352250451","1352250455","1352250457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c490d7523bdd38d6bbb71b6106524a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7708204752387221805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158773010,"filename":"image_20042025_13_19_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/746c29ffa4370630ddf9ef721f93dc83.jpg","text":"TemporaryFile(/tmp/multipartBody727717964731949288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158773010,"filename":"image_20042025_13_19_54_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cf349fe22b9f8465c18e1ddf54c291d.jpg","text":"TemporaryFile(/tmp/multipartBody351489528692811131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158773010,"filename":"image_20042025_13_19_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a3227df2ae9002d9fe68855bdeae9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3756730627098960463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158773010,"filename":"image_20042025_13_19_34_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a4a493f19f13f3af909f6ca5d66d794.jpg","text":"TemporaryFile(/tmp/multipartBody3351182955248108949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158773010,"filename":"image_20042025_13_20_04_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e98700ab24f54254667672ecc9540c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7795442397728084553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158773010,"filename":"image_20042025_13_19_14_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250448","file1":"1352250444","file0":"1352250442","file4":"1352250455","file5":"1352250457","file3":"1352250451"},"map_files_photo_id_array":[{"photo_id":"1352250457","filename":"file5"},{"photo_id":"1352250448","filename":"file2"},{"photo_id":"1352250455","filename":"file4"},{"photo_id":"1352250444","filename":"file1"},{"photo_id":"1352250442","filename":"file0"},{"photo_id":"1352250451","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250444":["hashtag1","hashtag2"]},{"1352250455":["hashtag1","hashtag2"]},{"1352250451":["hashtag1","hashtag2"]},{"1352250448":["hashtag1","hashtag2"]},{"1352250457":["hashtag1","hashtag2"]},{"1352250442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250444, 1352250455, 1352250451, 1352250448, 1352250457, 1352250442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71124029159546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:19:32.853446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_15_10371.jpg', '/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_24_9369.jpg', '/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_34_10356.jpg', '/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_44_9394.jpg', '/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_54_10422.jpg', '/home/pi/Desktop/images/20042025/13/20/image_20042025_13_21_05_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_15_10371.jpg
/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_24_9369.jpg
/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_34_10356.jpg
/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_44_9394.jpg
/home/pi/Desktop/images/20042025/13/20/image_20042025_13_20_54_10422.jpg
/home/pi/Desktop/images/20042025/13/20/image_20042025_13_21_05_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250480","1352250483","1352250477","1352250468","1352250485","1352250473"],"photo_ids_order":["1352250468","1352250473","1352250477","1352250480","1352250483","1352250485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b553d6aa36e2c6db49430c1846e9de77.jpg","text":"TemporaryFile(/tmp/multipartBody9182309395661231310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158833330,"filename":"image_20042025_13_20_44_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1d88c52d75b2ed746b68d2825d530b6.jpg","text":"TemporaryFile(/tmp/multipartBody8641963802359291908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158833330,"filename":"image_20042025_13_20_54_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9919757fccab3fc6575f934907636cd.jpg","text":"TemporaryFile(/tmp/multipartBody1847999061158798134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158833330,"filename":"image_20042025_13_20_34_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/143a55b23aefed3db5e8b6891a9e2692.jpg","text":"TemporaryFile(/tmp/multipartBody1074433866737656614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158833330,"filename":"image_20042025_13_20_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce450549b002a4ea9fb3f3a0ada9c6db.jpg","text":"TemporaryFile(/tmp/multipartBody3983120572075608655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158833330,"filename":"image_20042025_13_21_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f7ee95b5140874e1e19f778824770db.jpg","text":"TemporaryFile(/tmp/multipartBody8328198157649508104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158833330,"filename":"image_20042025_13_20_24_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250477","file1":"1352250473","file0":"1352250468","file4":"1352250483","file5":"1352250485","file3":"1352250480"},"map_files_photo_id_array":[{"photo_id":"1352250485","filename":"file5"},{"photo_id":"1352250477","filename":"file2"},{"photo_id":"1352250483","filename":"file4"},{"photo_id":"1352250473","filename":"file1"},{"photo_id":"1352250468","filename":"file0"},{"photo_id":"1352250480","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250480":["hashtag1","hashtag2"]},{"1352250483":["hashtag1","hashtag2"]},{"1352250477":["hashtag1","hashtag2"]},{"1352250468":["hashtag1","hashtag2"]},{"1352250485":["hashtag1","hashtag2"]},{"1352250473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250480, 1352250483, 1352250477, 1352250468, 1352250485, 1352250473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8764283657074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:20:33.033019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_14_9380.jpg', '/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_24_10353.jpg', '/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_35_10341.jpg', '/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_44_9348.jpg', '/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_54_10375.jpg', '/home/pi/Desktop/images/20042025/13/21/image_20042025_13_22_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_14_9380.jpg
/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_24_10353.jpg
/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_35_10341.jpg
/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_44_9348.jpg
/home/pi/Desktop/images/20042025/13/21/image_20042025_13_21_54_10375.jpg
/home/pi/Desktop/images/20042025/13/21/image_20042025_13_22_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250506","1352250496","1352250509","1352250500","1352250493","1352250502"],"photo_ids_order":["1352250493","1352250496","1352250500","1352250502","1352250506","1352250509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d4cd71d1d14e6573fcf48f4eb11512c.jpg","text":"TemporaryFile(/tmp/multipartBody6628996002990253122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158893509,"filename":"image_20042025_13_21_54_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16c89fe8914502c4c5a7a046eafa52e8.jpg","text":"TemporaryFile(/tmp/multipartBody6039358258353994215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158893509,"filename":"image_20042025_13_21_24_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59a33a5efcf64270dd407c9c3ef842d1.jpg","text":"TemporaryFile(/tmp/multipartBody4812764252256475741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158893509,"filename":"image_20042025_13_22_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec52f94b3849104148848efb46cff146.jpg","text":"TemporaryFile(/tmp/multipartBody6486930231200604998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158893509,"filename":"image_20042025_13_21_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/919568c8ceed7a3bd43ffd196f8bfa65.jpg","text":"TemporaryFile(/tmp/multipartBody6986852919355696824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158893509,"filename":"image_20042025_13_21_14_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fd3d2a05a6a15a9fe47a5a7f8594da1.jpg","text":"TemporaryFile(/tmp/multipartBody420572895392477603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158893509,"filename":"image_20042025_13_21_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250500","file1":"1352250496","file0":"1352250493","file4":"1352250506","file5":"1352250509","file3":"1352250502"},"map_files_photo_id_array":[{"photo_id":"1352250509","filename":"file5"},{"photo_id":"1352250500","filename":"file2"},{"photo_id":"1352250506","filename":"file4"},{"photo_id":"1352250496","filename":"file1"},{"photo_id":"1352250493","filename":"file0"},{"photo_id":"1352250502","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250506":["hashtag1","hashtag2"]},{"1352250496":["hashtag1","hashtag2"]},{"1352250509":["hashtag1","hashtag2"]},{"1352250500":["hashtag1","hashtag2"]},{"1352250493":["hashtag1","hashtag2"]},{"1352250502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250506, 1352250496, 1352250509, 1352250500, 1352250493, 1352250502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.242645502090454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:21:32.263186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_14_9358.jpg', '/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_25_10455.jpg', '/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_34_9464.jpg', '/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_44_10365.jpg', '/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_55_10354.jpg', '/home/pi/Desktop/images/20042025/13/22/image_20042025_13_23_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_14_9358.jpg
/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_25_10455.jpg
/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_34_9464.jpg
/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_44_10365.jpg
/home/pi/Desktop/images/20042025/13/22/image_20042025_13_22_55_10354.jpg
/home/pi/Desktop/images/20042025/13/22/image_20042025_13_23_04_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250519","1352250536","1352250530","1352250533","1352250535","1352250523"],"photo_ids_order":["1352250519","1352250523","1352250530","1352250533","1352250535","1352250536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b29b42a3665d159d1096633bee5a967c.jpg","text":"TemporaryFile(/tmp/multipartBody8491913002773840822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158952741,"filename":"image_20042025_13_22_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee7e2a128cc36f72a0f8935d113d8f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3980558293591015120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158952741,"filename":"image_20042025_13_23_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d471e3ac3152efc3b0d203652f214df6.jpg","text":"TemporaryFile(/tmp/multipartBody482388806737509762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158952741,"filename":"image_20042025_13_22_34_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b9aca26a8b0d0f2b76fc61eefc0c20e.jpg","text":"TemporaryFile(/tmp/multipartBody6412583950335902883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158952741,"filename":"image_20042025_13_22_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f90d9165023687237cb9e89449a113a.jpg","text":"TemporaryFile(/tmp/multipartBody5062475206133033815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158952741,"filename":"image_20042025_13_22_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6042ac7d464d7538d26de6981d15bfe4.jpg","text":"TemporaryFile(/tmp/multipartBody4941152327844666242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745158952741,"filename":"image_20042025_13_22_25_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250530","file1":"1352250523","file0":"1352250519","file4":"1352250535","file5":"1352250536","file3":"1352250533"},"map_files_photo_id_array":[{"photo_id":"1352250536","filename":"file5"},{"photo_id":"1352250530","filename":"file2"},{"photo_id":"1352250535","filename":"file4"},{"photo_id":"1352250523","filename":"file1"},{"photo_id":"1352250519","filename":"file0"},{"photo_id":"1352250533","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250519":["hashtag1","hashtag2"]},{"1352250536":["hashtag1","hashtag2"]},{"1352250530":["hashtag1","hashtag2"]},{"1352250533":["hashtag1","hashtag2"]},{"1352250535":["hashtag1","hashtag2"]},{"1352250523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250519, 1352250536, 1352250530, 1352250533, 1352250535, 1352250523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.821871519088745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:22:32.507039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_15_10347.jpg', '/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_24_9419.jpg', '/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_34_10364.jpg', '/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_45_10347.jpg', '/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_54_9343.jpg', '/home/pi/Desktop/images/20042025/13/23/image_20042025_13_24_04_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_15_10347.jpg
/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_24_9419.jpg
/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_34_10364.jpg
/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_45_10347.jpg
/home/pi/Desktop/images/20042025/13/23/image_20042025_13_23_54_9343.jpg
/home/pi/Desktop/images/20042025/13/23/image_20042025_13_24_04_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250561","1352250548","1352250551","1352250559","1352250553","1352250556"],"photo_ids_order":["1352250548","1352250551","1352250553","1352250556","1352250559","1352250561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27aebb07c9d0859b1213003a144859bd.jpg","text":"TemporaryFile(/tmp/multipartBody6099296127548033222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159012979,"filename":"image_20042025_13_24_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f34d4b880724616abd65520c39d54f2.jpg","text":"TemporaryFile(/tmp/multipartBody2263639124414000966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159012979,"filename":"image_20042025_13_23_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3aa1b0a05c429b5d66d76599cf037e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7999220194272070996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159012979,"filename":"image_20042025_13_23_24_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab881fa5ccb15d7265f084609f91e40b.jpg","text":"TemporaryFile(/tmp/multipartBody6003548230571548675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159012979,"filename":"image_20042025_13_23_54_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7100fb7abc828b65e5a2c36216a14b14.jpg","text":"TemporaryFile(/tmp/multipartBody1936033506364243501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159012979,"filename":"image_20042025_13_23_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b321e613f14a019f44b07d9bfdf1e70.jpg","text":"TemporaryFile(/tmp/multipartBody6817894541917912201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159012979,"filename":"image_20042025_13_23_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250553","file1":"1352250551","file0":"1352250548","file4":"1352250559","file5":"1352250561","file3":"1352250556"},"map_files_photo_id_array":[{"photo_id":"1352250561","filename":"file5"},{"photo_id":"1352250553","filename":"file2"},{"photo_id":"1352250559","filename":"file4"},{"photo_id":"1352250551","filename":"file1"},{"photo_id":"1352250548","filename":"file0"},{"photo_id":"1352250556","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250561":["hashtag1","hashtag2"]},{"1352250548":["hashtag1","hashtag2"]},{"1352250551":["hashtag1","hashtag2"]},{"1352250559":["hashtag1","hashtag2"]},{"1352250553":["hashtag1","hashtag2"]},{"1352250556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250561, 1352250548, 1352250551, 1352250559, 1352250553, 1352250556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.707605600357056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:23:32.730862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_14_9453.jpg', '/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_24_10404.jpg', '/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_35_10379.jpg', '/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_44_9436.jpg', '/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_54_10363.jpg', '/home/pi/Desktop/images/20042025/13/24/image_20042025_13_25_05_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_14_9453.jpg
/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_24_10404.jpg
/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_35_10379.jpg
/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_44_9436.jpg
/home/pi/Desktop/images/20042025/13/24/image_20042025_13_24_54_10363.jpg
/home/pi/Desktop/images/20042025/13/24/image_20042025_13_25_05_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250573","1352250576","1352250585","1352250579","1352250581","1352250583"],"photo_ids_order":["1352250573","1352250576","1352250579","1352250581","1352250583","1352250585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8791c6607f55ec232bd3680a26350785.jpg","text":"TemporaryFile(/tmp/multipartBody6065324894022254495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159073202,"filename":"image_20042025_13_24_14_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b63668aad7fe016a3713bd5dab5a989.jpg","text":"TemporaryFile(/tmp/multipartBody5683064470205532447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159073202,"filename":"image_20042025_13_24_24_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebfbe7bc7fe5839130040ba8a016f69b.jpg","text":"TemporaryFile(/tmp/multipartBody4712417635256963932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159073202,"filename":"image_20042025_13_25_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f18dc51a9702de68170ab7d4f93893a0.jpg","text":"TemporaryFile(/tmp/multipartBody2654923474598315990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159073202,"filename":"image_20042025_13_24_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c7ffb24d45e87a8de0cd135fc4df381.jpg","text":"TemporaryFile(/tmp/multipartBody1876998518382507638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159073202,"filename":"image_20042025_13_24_44_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6acb982b07acd292f7f3e864cf7f4883.jpg","text":"TemporaryFile(/tmp/multipartBody8022907801200850288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159073202,"filename":"image_20042025_13_24_54_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250579","file1":"1352250576","file0":"1352250573","file4":"1352250583","file5":"1352250585","file3":"1352250581"},"map_files_photo_id_array":[{"photo_id":"1352250585","filename":"file5"},{"photo_id":"1352250579","filename":"file2"},{"photo_id":"1352250583","filename":"file4"},{"photo_id":"1352250576","filename":"file1"},{"photo_id":"1352250573","filename":"file0"},{"photo_id":"1352250581","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250573":["hashtag1","hashtag2"]},{"1352250576":["hashtag1","hashtag2"]},{"1352250585":["hashtag1","hashtag2"]},{"1352250579":["hashtag1","hashtag2"]},{"1352250581":["hashtag1","hashtag2"]},{"1352250583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250573, 1352250576, 1352250585, 1352250579, 1352250581, 1352250583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.91859459877014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:24:32.972591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_14_9332.jpg', '/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_25_10372.jpg', '/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_34_9408.jpg', '/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_44_10361.jpg', '/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_55_10356.jpg', '/home/pi/Desktop/images/20042025/13/25/image_20042025_13_26_04_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_14_9332.jpg
/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_25_10372.jpg
/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_34_9408.jpg
/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_44_10361.jpg
/home/pi/Desktop/images/20042025/13/25/image_20042025_13_25_55_10356.jpg
/home/pi/Desktop/images/20042025/13/25/image_20042025_13_26_04_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250599","1352250602","1352250611","1352250605","1352250614","1352250608"],"photo_ids_order":["1352250599","1352250602","1352250605","1352250608","1352250611","1352250614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b44a6c336e54f3754bb4fb60b96010e8.jpg","text":"TemporaryFile(/tmp/multipartBody2312392377095668459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159133433,"filename":"image_20042025_13_25_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb4ca6e8b9824bd54312259fc1242711.jpg","text":"TemporaryFile(/tmp/multipartBody2622118284349627336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159133433,"filename":"image_20042025_13_25_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecb604c74d0ff736209f426fdde04d05.jpg","text":"TemporaryFile(/tmp/multipartBody2702792324322518171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159133433,"filename":"image_20042025_13_25_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a69682f149d025176076bd53c7cff7f3.jpg","text":"TemporaryFile(/tmp/multipartBody956387432489719768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159133433,"filename":"image_20042025_13_25_34_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e063987f116cce1ed227c1316924f44e.jpg","text":"TemporaryFile(/tmp/multipartBody3028459738504027891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159133433,"filename":"image_20042025_13_26_04_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bca6e06d1e289d3bbd7e48c25316186a.jpg","text":"TemporaryFile(/tmp/multipartBody565315787161757795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159133433,"filename":"image_20042025_13_25_44_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250605","file1":"1352250602","file0":"1352250599","file4":"1352250611","file5":"1352250614","file3":"1352250608"},"map_files_photo_id_array":[{"photo_id":"1352250614","filename":"file5"},{"photo_id":"1352250605","filename":"file2"},{"photo_id":"1352250611","filename":"file4"},{"photo_id":"1352250602","filename":"file1"},{"photo_id":"1352250599","filename":"file0"},{"photo_id":"1352250608","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250599":["hashtag1","hashtag2"]},{"1352250602":["hashtag1","hashtag2"]},{"1352250611":["hashtag1","hashtag2"]},{"1352250605":["hashtag1","hashtag2"]},{"1352250614":["hashtag1","hashtag2"]},{"1352250608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250599, 1352250602, 1352250611, 1352250605, 1352250614, 1352250608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.563931941986084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:25:32.205442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_14_10377.jpg', '/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_24_9369.jpg', '/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_34_10408.jpg', '/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_45_10411.jpg', '/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_54_9363.jpg', '/home/pi/Desktop/images/20042025/13/26/image_20042025_13_27_04_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_14_10377.jpg
/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_24_9369.jpg
/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_34_10408.jpg
/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_45_10411.jpg
/home/pi/Desktop/images/20042025/13/26/image_20042025_13_26_54_9363.jpg
/home/pi/Desktop/images/20042025/13/26/image_20042025_13_27_04_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250636","1352250630","1352250633","1352250635","1352250628","1352250637"],"photo_ids_order":["1352250628","1352250630","1352250633","1352250635","1352250636","1352250637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f220af9ae33bad1f81ba28599906617.jpg","text":"TemporaryFile(/tmp/multipartBody6923557182592055359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159192669,"filename":"image_20042025_13_26_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59f9a96538d957c1eec2e1c25173877a.jpg","text":"TemporaryFile(/tmp/multipartBody6875730961078918311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159192669,"filename":"image_20042025_13_26_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8234a7ab97dd470a41259915813eb76f.jpg","text":"TemporaryFile(/tmp/multipartBody5003431035154901372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159192669,"filename":"image_20042025_13_26_34_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09f3bd90eedf08e4fe90d52ae526e8ea.jpg","text":"TemporaryFile(/tmp/multipartBody8554946770353378317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159192669,"filename":"image_20042025_13_26_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c36508ef2fd92f2131b8e5a8c23e3dbd.jpg","text":"TemporaryFile(/tmp/multipartBody934449908235045704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159192669,"filename":"image_20042025_13_26_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dee5afb8958d7b357e0c5dc43f3903cf.jpg","text":"TemporaryFile(/tmp/multipartBody867224373112581227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159192669,"filename":"image_20042025_13_27_04_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250633","file1":"1352250630","file0":"1352250628","file4":"1352250636","file5":"1352250637","file3":"1352250635"},"map_files_photo_id_array":[{"photo_id":"1352250637","filename":"file5"},{"photo_id":"1352250633","filename":"file2"},{"photo_id":"1352250636","filename":"file4"},{"photo_id":"1352250630","filename":"file1"},{"photo_id":"1352250628","filename":"file0"},{"photo_id":"1352250635","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250636":["hashtag1","hashtag2"]},{"1352250630":["hashtag1","hashtag2"]},{"1352250633":["hashtag1","hashtag2"]},{"1352250635":["hashtag1","hashtag2"]},{"1352250628":["hashtag1","hashtag2"]},{"1352250637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250636, 1352250630, 1352250633, 1352250635, 1352250628, 1352250637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.490466833114624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:26:32.482665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_24_9437.jpg', '/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_35_10366.jpg', '/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_44_9425.jpg', '/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_54_10372.jpg', '/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_25_10423.jpg', '/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_34_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_24_9437.jpg
/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_35_10366.jpg
/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_44_9425.jpg
/home/pi/Desktop/images/20042025/13/27/image_20042025_13_27_54_10372.jpg
/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_25_10423.jpg
/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_34_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250651","1352250661","1352250664","1352250658","1352250667","1352250655"],"photo_ids_order":["1352250651","1352250655","1352250658","1352250661","1352250664","1352250667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/083de817e547d5f6a09511cdb67e1fec.jpg","text":"TemporaryFile(/tmp/multipartBody5926032905274174861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159252944,"filename":"image_20042025_13_27_24_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fbf499a959fb8cb984340b0b7c356719.jpg","text":"TemporaryFile(/tmp/multipartBody4307133873777998273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159252944,"filename":"image_20042025_13_27_54_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4651243d5cda9bac10ae66ba0b6479d3.jpg","text":"TemporaryFile(/tmp/multipartBody2612701209281339241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159252944,"filename":"image_20042025_13_28_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09653d3e554eba32a948e45e66cbf6d0.jpg","text":"TemporaryFile(/tmp/multipartBody1095641971173418883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159252944,"filename":"image_20042025_13_27_44_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b12ed77721136baebc0dc512b092d1f.jpg","text":"TemporaryFile(/tmp/multipartBody5413795157988221709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159252944,"filename":"image_20042025_13_28_34_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e291e5458059a741c6c5cb08201cff6e.jpg","text":"TemporaryFile(/tmp/multipartBody8642290382111754608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159252944,"filename":"image_20042025_13_27_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250658","file1":"1352250655","file0":"1352250651","file4":"1352250664","file5":"1352250667","file3":"1352250661"},"map_files_photo_id_array":[{"photo_id":"1352250667","filename":"file5"},{"photo_id":"1352250658","filename":"file2"},{"photo_id":"1352250664","filename":"file4"},{"photo_id":"1352250655","filename":"file1"},{"photo_id":"1352250651","filename":"file0"},{"photo_id":"1352250661","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250651":["hashtag1","hashtag2"]},{"1352250661":["hashtag1","hashtag2"]},{"1352250664":["hashtag1","hashtag2"]},{"1352250658":["hashtag1","hashtag2"]},{"1352250667":["hashtag1","hashtag2"]},{"1352250655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250651, 1352250661, 1352250664, 1352250658, 1352250667, 1352250655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.328011512756348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:27:32.868272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_44_10366.jpg', '/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_55_10373.jpg', '/home/pi/Desktop/images/20042025/13/28/image_20042025_13_29_04_9453.jpg', '/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_15_10348.jpg', '/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_24_9426.jpg', '/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_34_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_44_10366.jpg
/home/pi/Desktop/images/20042025/13/28/image_20042025_13_28_55_10373.jpg
/home/pi/Desktop/images/20042025/13/28/image_20042025_13_29_04_9453.jpg
/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_15_10348.jpg
/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_24_9426.jpg
/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_34_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250684","1352250695","1352250692","1352250680","1352250688","1352250676"],"photo_ids_order":["1352250676","1352250680","1352250684","1352250688","1352250692","1352250695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/384a0c5eca7a65ce0ebef47a0c93e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody3341630892958530589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159313329,"filename":"image_20042025_13_29_04_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da0a40dd5fa8f52adfbddb91c3c67763.jpg","text":"TemporaryFile(/tmp/multipartBody2375357001600896376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159313329,"filename":"image_20042025_13_29_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/471a492116098af3fc62bc9e92537e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4915601077676837394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159313329,"filename":"image_20042025_13_29_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d91a43ee6a234965ad4772e71f5df503.jpg","text":"TemporaryFile(/tmp/multipartBody2518756464389937223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159313329,"filename":"image_20042025_13_28_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5e30910c538bcea9262661c9c7fac4f.jpg","text":"TemporaryFile(/tmp/multipartBody1401633698987630305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159313329,"filename":"image_20042025_13_29_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a92ec9693c7e5863dfd761af21ed7147.jpg","text":"TemporaryFile(/tmp/multipartBody2411236084489281170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159313329,"filename":"image_20042025_13_28_44_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250684","file1":"1352250680","file0":"1352250676","file4":"1352250692","file5":"1352250695","file3":"1352250688"},"map_files_photo_id_array":[{"photo_id":"1352250695","filename":"file5"},{"photo_id":"1352250684","filename":"file2"},{"photo_id":"1352250692","filename":"file4"},{"photo_id":"1352250680","filename":"file1"},{"photo_id":"1352250676","filename":"file0"},{"photo_id":"1352250688","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250684":["hashtag1","hashtag2"]},{"1352250695":["hashtag1","hashtag2"]},{"1352250692":["hashtag1","hashtag2"]},{"1352250680":["hashtag1","hashtag2"]},{"1352250688":["hashtag1","hashtag2"]},{"1352250676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250684, 1352250695, 1352250692, 1352250680, 1352250688, 1352250676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.476284980773926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:28:33.115160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_45_10376.jpg', '/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_54_9460.jpg', '/home/pi/Desktop/images/20042025/13/29/image_20042025_13_30_05_10361.jpg', '/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_14_9462.jpg', '/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_24_10439.jpg', '/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_34_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_45_10376.jpg
/home/pi/Desktop/images/20042025/13/29/image_20042025_13_29_54_9460.jpg
/home/pi/Desktop/images/20042025/13/29/image_20042025_13_30_05_10361.jpg
/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_14_9462.jpg
/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_24_10439.jpg
/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_34_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250722","1352250701","1352250719","1352250710","1352250706","1352250721"],"photo_ids_order":["1352250701","1352250706","1352250710","1352250719","1352250721","1352250722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c17ff528dde6af36c053bc055522b000.jpg","text":"TemporaryFile(/tmp/multipartBody8093525217795588443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159373580,"filename":"image_20042025_13_30_34_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/972da4a42c3f222399fe80edacf870e9.jpg","text":"TemporaryFile(/tmp/multipartBody5403146967305076969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159373580,"filename":"image_20042025_13_29_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/833bc735e7f10a6b3fb242f37309b5e6.jpg","text":"TemporaryFile(/tmp/multipartBody6462540373965587452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159373580,"filename":"image_20042025_13_30_14_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24d6a8d30da2566fa09e22d2fa77a279.jpg","text":"TemporaryFile(/tmp/multipartBody4560610262946017688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159373580,"filename":"image_20042025_13_30_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09f7066f8c1e6eedddc858af2570f297.jpg","text":"TemporaryFile(/tmp/multipartBody7509972158001787166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159373580,"filename":"image_20042025_13_29_54_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/838e52aa6b0389cbb1b1f3bb29a9239f.jpg","text":"TemporaryFile(/tmp/multipartBody5525760011636445308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159373580,"filename":"image_20042025_13_30_24_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250710","file1":"1352250706","file0":"1352250701","file4":"1352250721","file5":"1352250722","file3":"1352250719"},"map_files_photo_id_array":[{"photo_id":"1352250722","filename":"file5"},{"photo_id":"1352250710","filename":"file2"},{"photo_id":"1352250721","filename":"file4"},{"photo_id":"1352250706","filename":"file1"},{"photo_id":"1352250701","filename":"file0"},{"photo_id":"1352250719","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250722":["hashtag1","hashtag2"]},{"1352250701":["hashtag1","hashtag2"]},{"1352250719":["hashtag1","hashtag2"]},{"1352250710":["hashtag1","hashtag2"]},{"1352250706":["hashtag1","hashtag2"]},{"1352250721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250722, 1352250701, 1352250719, 1352250710, 1352250706, 1352250721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64560794830322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:29:32.227745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_44_10426.jpg', '/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_55_10369.jpg', '/home/pi/Desktop/images/20042025/13/30/image_20042025_13_31_04_9362.jpg', '/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_14_10362.jpg', '/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_25_10424.jpg', '/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_34_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_44_10426.jpg
/home/pi/Desktop/images/20042025/13/30/image_20042025_13_30_55_10369.jpg
/home/pi/Desktop/images/20042025/13/30/image_20042025_13_31_04_9362.jpg
/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_14_10362.jpg
/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_25_10424.jpg
/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_34_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250738","1352250729","1352250743","1352250745","1352250748","1352250733"],"photo_ids_order":["1352250729","1352250733","1352250738","1352250743","1352250745","1352250748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/801aa6d626a0992b7ad22916a0241a32.jpg","text":"TemporaryFile(/tmp/multipartBody764850922155555545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159432685,"filename":"image_20042025_13_31_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/679cab0f70ba64ba0e4f45b0f44442c4.jpg","text":"TemporaryFile(/tmp/multipartBody3969367290296678686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159432685,"filename":"image_20042025_13_30_44_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90eea9f61a20654c2f13d95ab5fe0433.jpg","text":"TemporaryFile(/tmp/multipartBody4562158252097655686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159432685,"filename":"image_20042025_13_31_14_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb24b7fce802bd0c34e28997c64096f9.jpg","text":"TemporaryFile(/tmp/multipartBody4613002357644013117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159432685,"filename":"image_20042025_13_31_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5c22e73d76a0efd23992183e1f51d84.jpg","text":"TemporaryFile(/tmp/multipartBody6307780449489058499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159432685,"filename":"image_20042025_13_31_34_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f03c2af10fac8b9003135b57c448a6f6.jpg","text":"TemporaryFile(/tmp/multipartBody8650133038248694552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159432685,"filename":"image_20042025_13_30_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250738","file1":"1352250733","file0":"1352250729","file4":"1352250745","file5":"1352250748","file3":"1352250743"},"map_files_photo_id_array":[{"photo_id":"1352250748","filename":"file5"},{"photo_id":"1352250738","filename":"file2"},{"photo_id":"1352250745","filename":"file4"},{"photo_id":"1352250733","filename":"file1"},{"photo_id":"1352250729","filename":"file0"},{"photo_id":"1352250743","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250738":["hashtag1","hashtag2"]},{"1352250729":["hashtag1","hashtag2"]},{"1352250743":["hashtag1","hashtag2"]},{"1352250745":["hashtag1","hashtag2"]},{"1352250748":["hashtag1","hashtag2"]},{"1352250733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250738, 1352250729, 1352250743, 1352250745, 1352250748, 1352250733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.903270959854126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:30:32.528642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_54_9388.jpg', '/home/pi/Desktop/images/20042025/13/31/image_20042025_13_32_04_10463.jpg', '/home/pi/Desktop/images/20042025/13/32/image_20042025_13_32_35_10385.jpg', '/home/pi/Desktop/images/20042025/13/32/image_20042025_13_32_44_9348.jpg', '/home/pi/Desktop/images/20042025/13/32/image_20042025_13_32_54_10373.jpg', '/home/pi/Desktop/images/20042025/13/32/image_20042025_13_33_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/31/image_20042025_13_31_54_9388.jpg
/home/pi/Desktop/images/20042025/13/31/image_20042025_13_32_04_10463.jpg
/home/pi/Desktop/images/20042025/13/32/image_20042025_13_32_35_10385.jpg
/home/pi/Desktop/images/20042025/13/32/image_20042025_13_32_44_9348.jpg
/home/pi/Desktop/images/20042025/13/32/image_20042025_13_32_54_10373.jpg
/home/pi/Desktop/images/20042025/13/32/image_20042025_13_33_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250770","1352250764","1352250758","1352250767","1352250761","1352250772"],"photo_ids_order":["1352250758","1352250761","1352250764","1352250767","1352250770","1352250772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7ad009a38f36b63e2aa7c0248e267c8.jpg","text":"TemporaryFile(/tmp/multipartBody8352647953015081362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159493005,"filename":"image_20042025_13_32_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ded8311b5bae96cadb34fa11db22572b.jpg","text":"TemporaryFile(/tmp/multipartBody1383560298250351405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159493005,"filename":"image_20042025_13_32_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42cfed47b4e6b92e6dd0273c5745112a.jpg","text":"TemporaryFile(/tmp/multipartBody5070197229879392614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159493005,"filename":"image_20042025_13_31_54_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cb4afb578e61916848df46bf10492e5.jpg","text":"TemporaryFile(/tmp/multipartBody508634188925965611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159493005,"filename":"image_20042025_13_32_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f49fcb83e762d5cc705fefe5fd1eb8eb.jpg","text":"TemporaryFile(/tmp/multipartBody323852451402664561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159493005,"filename":"image_20042025_13_32_04_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de40a306f9a1e792cfd243424a3f93c7.jpg","text":"TemporaryFile(/tmp/multipartBody1964977807637218088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159493005,"filename":"image_20042025_13_33_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250764","file1":"1352250761","file0":"1352250758","file4":"1352250770","file5":"1352250772","file3":"1352250767"},"map_files_photo_id_array":[{"photo_id":"1352250772","filename":"file5"},{"photo_id":"1352250764","filename":"file2"},{"photo_id":"1352250770","filename":"file4"},{"photo_id":"1352250761","filename":"file1"},{"photo_id":"1352250758","filename":"file0"},{"photo_id":"1352250767","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250770":["hashtag1","hashtag2"]},{"1352250764":["hashtag1","hashtag2"]},{"1352250758":["hashtag1","hashtag2"]},{"1352250767":["hashtag1","hashtag2"]},{"1352250761":["hashtag1","hashtag2"]},{"1352250772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250770, 1352250764, 1352250758, 1352250767, 1352250761, 1352250772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.625391006469727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:31:32.806262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_14_9392.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_25_10377.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_34_9410.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_44_10362.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_34_04_9473.jpg', '/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_14_9392.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_25_10377.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_34_9410.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_44_10362.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_34_04_9473.jpg
/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_15_10374.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37885499000549316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 16:31:42.805672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_14_9392.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_25_10377.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_34_9410.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_44_10362.jpg', '/home/pi/Desktop/images/20042025/13/33/image_20042025_13_34_04_9473.jpg', '/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_14_9392.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_25_10377.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_34_9410.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_33_44_10362.jpg
/home/pi/Desktop/images/20042025/13/33/image_20042025_13_34_04_9473.jpg
/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250797","1352250801","1352250791","1352250812","1352250803","1352250793"],"photo_ids_order":["1352250791","1352250793","1352250797","1352250801","1352250803","1352250812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c3b9aa3c25fd795a8312405d05a0468.jpg","text":"TemporaryFile(/tmp/multipartBody7405491028499909009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159563266,"filename":"image_20042025_13_33_34_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47edc6bec611aacc94d0cb900b0cdeaf.jpg","text":"TemporaryFile(/tmp/multipartBody439418009421512101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159563266,"filename":"image_20042025_13_33_44_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/475fd1d92b3b037a24300649d647f46f.jpg","text":"TemporaryFile(/tmp/multipartBody988792187618101452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159563266,"filename":"image_20042025_13_33_14_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb90374deff0c42d9663618a566e7730.jpg","text":"TemporaryFile(/tmp/multipartBody3181886136494896303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159563266,"filename":"image_20042025_13_34_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2acba37f33a3e72b0d17beb02511f03f.jpg","text":"TemporaryFile(/tmp/multipartBody6654156848357571075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159563266,"filename":"image_20042025_13_34_04_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41742e6ec16ccf9df698f234bee7c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4696532709990007793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159563266,"filename":"image_20042025_13_33_25_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250797","file1":"1352250793","file0":"1352250791","file4":"1352250803","file5":"1352250812","file3":"1352250801"},"map_files_photo_id_array":[{"photo_id":"1352250812","filename":"file5"},{"photo_id":"1352250797","filename":"file2"},{"photo_id":"1352250803","filename":"file4"},{"photo_id":"1352250793","filename":"file1"},{"photo_id":"1352250791","filename":"file0"},{"photo_id":"1352250801","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250797":["hashtag1","hashtag2"]},{"1352250801":["hashtag1","hashtag2"]},{"1352250791":["hashtag1","hashtag2"]},{"1352250812":["hashtag1","hashtag2"]},{"1352250803":["hashtag1","hashtag2"]},{"1352250793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250797, 1352250801, 1352250791, 1352250812, 1352250803, 1352250793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.49558591842651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:32:52.984042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_24_9440.jpg', '/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_34_10469.jpg', '/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_44_9402.jpg', '/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_54_10441.jpg', '/home/pi/Desktop/images/20042025/13/34/image_20042025_13_35_05_10358.jpg', '/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_14_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_24_9440.jpg
/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_34_10469.jpg
/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_44_9402.jpg
/home/pi/Desktop/images/20042025/13/34/image_20042025_13_34_54_10441.jpg
/home/pi/Desktop/images/20042025/13/34/image_20042025_13_35_05_10358.jpg
/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_14_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250817","1352250816","1352250828","1352250821","1352250824","1352250826"],"photo_ids_order":["1352250816","1352250817","1352250821","1352250824","1352250826","1352250828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ec78a27b7a1176b44b29ed688ed9fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5098540319562472765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159633449,"filename":"image_20042025_13_34_34_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f590a537d0ab1a70a8032b6adc18bf7.jpg","text":"TemporaryFile(/tmp/multipartBody664947563126810458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159633449,"filename":"image_20042025_13_34_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd588b7bd84a0d5872ca769b7de874ee.jpg","text":"TemporaryFile(/tmp/multipartBody523090725492211225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159633449,"filename":"image_20042025_13_35_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6bc3c9fe0946fde9cbafd654090c8d54.jpg","text":"TemporaryFile(/tmp/multipartBody3041892523114231154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159633449,"filename":"image_20042025_13_34_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13f76d65ba9321277ab21e752bc49eed.jpg","text":"TemporaryFile(/tmp/multipartBody3441071702508164960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159633449,"filename":"image_20042025_13_34_54_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23af731d5f15aaf7f2447439d5d4e6a2.jpg","text":"TemporaryFile(/tmp/multipartBody4563535159309802088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159633449,"filename":"image_20042025_13_35_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250821","file1":"1352250817","file0":"1352250816","file4":"1352250826","file5":"1352250828","file3":"1352250824"},"map_files_photo_id_array":[{"photo_id":"1352250828","filename":"file5"},{"photo_id":"1352250821","filename":"file2"},{"photo_id":"1352250826","filename":"file4"},{"photo_id":"1352250817","filename":"file1"},{"photo_id":"1352250816","filename":"file0"},{"photo_id":"1352250824","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250817":["hashtag1","hashtag2"]},{"1352250816":["hashtag1","hashtag2"]},{"1352250828":["hashtag1","hashtag2"]},{"1352250821":["hashtag1","hashtag2"]},{"1352250824":["hashtag1","hashtag2"]},{"1352250826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250817, 1352250816, 1352250828, 1352250821, 1352250824, 1352250826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.993305683135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 16:33:42.232401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_24_10369.jpg', '/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_35_10368.jpg', '/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_44_9430.jpg', '/home/pi/Desktop/images/20042025/13/35/image_20042025_13_36_04_9434.jpg', '/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_14_10358.jpg', '/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_24_10369.jpg
/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_35_10368.jpg
/home/pi/Desktop/images/20042025/13/35/image_20042025_13_35_44_9430.jpg
/home/pi/Desktop/images/20042025/13/35/image_20042025_13_36_04_9434.jpg
/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_14_10358.jpg
/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_25_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250852","1352250854","1352250841","1352250850","1352250844","1352250847"],"photo_ids_order":["1352250841","1352250844","1352250847","1352250850","1352250852","1352250854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44908192465ee3c0a8eda1c6c22f9da2.jpg","text":"TemporaryFile(/tmp/multipartBody493932339989109053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159682688,"filename":"image_20042025_13_36_14_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/559e8e3e5880f71f29601e568928e109.jpg","text":"TemporaryFile(/tmp/multipartBody3903773191399770704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159682688,"filename":"image_20042025_13_36_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b97c6067428b09a992d20cda76d785e0.jpg","text":"TemporaryFile(/tmp/multipartBody6717742177010289003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159682688,"filename":"image_20042025_13_35_24_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65bad290aa9c40247a9eee328d264e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6425541983349276788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159682688,"filename":"image_20042025_13_36_04_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/312c16b77f6737dfb1cf7f01fc49e938.jpg","text":"TemporaryFile(/tmp/multipartBody7201129302780496237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159682688,"filename":"image_20042025_13_35_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87a0fe300fe3d6bc5530a19421561e21.jpg","text":"TemporaryFile(/tmp/multipartBody1244854931563573859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159682688,"filename":"image_20042025_13_35_44_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250847","file1":"1352250844","file0":"1352250841","file4":"1352250852","file5":"1352250854","file3":"1352250850"},"map_files_photo_id_array":[{"photo_id":"1352250854","filename":"file5"},{"photo_id":"1352250847","filename":"file2"},{"photo_id":"1352250852","filename":"file4"},{"photo_id":"1352250844","filename":"file1"},{"photo_id":"1352250841","filename":"file0"},{"photo_id":"1352250850","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250852":["hashtag1","hashtag2"]},{"1352250854":["hashtag1","hashtag2"]},{"1352250841":["hashtag1","hashtag2"]},{"1352250850":["hashtag1","hashtag2"]},{"1352250844":["hashtag1","hashtag2"]},{"1352250847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250852, 1352250854, 1352250841, 1352250850, 1352250844, 1352250847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.775116443634033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:34:32.463291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_34_9453.jpg', '/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_45_10362.jpg', '/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_54_9450.jpg', '/home/pi/Desktop/images/20042025/13/36/image_20042025_13_37_04_10344.jpg', '/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_15_10342.jpg', '/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_24_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_34_9453.jpg
/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_45_10362.jpg
/home/pi/Desktop/images/20042025/13/36/image_20042025_13_36_54_9450.jpg
/home/pi/Desktop/images/20042025/13/36/image_20042025_13_37_04_10344.jpg
/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_15_10342.jpg
/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_24_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250875","1352250863","1352250872","1352250866","1352250869","1352250860"],"photo_ids_order":["1352250860","1352250863","1352250866","1352250869","1352250872","1352250875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/daa53805b7a3adb2562c1bbc9e814478.jpg","text":"TemporaryFile(/tmp/multipartBody107953700730215903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159732945,"filename":"image_20042025_13_37_24_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c3f3651d18d678159a01c16be16a4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4698998392844966114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159732945,"filename":"image_20042025_13_36_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71cbd45961b39af6852b39da2aa8de14.jpg","text":"TemporaryFile(/tmp/multipartBody9133908347402987471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159732945,"filename":"image_20042025_13_37_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b2d9d4c2ae081f5f6594f86946d4c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7132184645118540826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159732945,"filename":"image_20042025_13_36_54_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b31b0d1bdb0e5e22d066e0e24db42ff.jpg","text":"TemporaryFile(/tmp/multipartBody4009369076221970043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159732945,"filename":"image_20042025_13_37_04_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f61a655c184399f1486f8d290867669.jpg","text":"TemporaryFile(/tmp/multipartBody6901260424451976716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159732945,"filename":"image_20042025_13_36_34_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250866","file1":"1352250863","file0":"1352250860","file4":"1352250872","file5":"1352250875","file3":"1352250869"},"map_files_photo_id_array":[{"photo_id":"1352250875","filename":"file5"},{"photo_id":"1352250866","filename":"file2"},{"photo_id":"1352250872","filename":"file4"},{"photo_id":"1352250863","filename":"file1"},{"photo_id":"1352250860","filename":"file0"},{"photo_id":"1352250869","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250875":["hashtag1","hashtag2"]},{"1352250863":["hashtag1","hashtag2"]},{"1352250872":["hashtag1","hashtag2"]},{"1352250866":["hashtag1","hashtag2"]},{"1352250869":["hashtag1","hashtag2"]},{"1352250860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250875, 1352250863, 1352250872, 1352250866, 1352250869, 1352250860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.279017210006714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:35:32.627810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_35_10387.jpg', '/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_44_9419.jpg', '/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_54_10360.jpg', '/home/pi/Desktop/images/20042025/13/37/image_20042025_13_38_05_10346.jpg', '/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_14_9452.jpg', '/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_35_10387.jpg
/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_44_9419.jpg
/home/pi/Desktop/images/20042025/13/37/image_20042025_13_37_54_10360.jpg
/home/pi/Desktop/images/20042025/13/37/image_20042025_13_38_05_10346.jpg
/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_14_9452.jpg
/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250891","1352250888","1352250882","1352250884","1352250892","1352250886"],"photo_ids_order":["1352250882","1352250884","1352250886","1352250888","1352250891","1352250892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78ca81644057a1ee020953a8c4e5f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody8954693651039267286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159793089,"filename":"image_20042025_13_38_14_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2070781b670f1c3269097dc1c0817bcf.jpg","text":"TemporaryFile(/tmp/multipartBody223771757152516535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159793089,"filename":"image_20042025_13_38_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51f7770bcfbb00e0a2898693c1a6f5b6.jpg","text":"TemporaryFile(/tmp/multipartBody2813540370262146454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159793089,"filename":"image_20042025_13_37_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fc88c174037e83b7ea65ad920548558.jpg","text":"TemporaryFile(/tmp/multipartBody3240306917589976276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159793089,"filename":"image_20042025_13_37_44_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ef29748258bb1b8ad854b82d4ecdc95.jpg","text":"TemporaryFile(/tmp/multipartBody7834964630455917480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159793089,"filename":"image_20042025_13_38_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e483cb4e53f9a8a8aa925cc4a6241ed.jpg","text":"TemporaryFile(/tmp/multipartBody4632572957260542123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159793089,"filename":"image_20042025_13_37_54_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250886","file1":"1352250884","file0":"1352250882","file4":"1352250891","file5":"1352250892","file3":"1352250888"},"map_files_photo_id_array":[{"photo_id":"1352250892","filename":"file5"},{"photo_id":"1352250886","filename":"file2"},{"photo_id":"1352250891","filename":"file4"},{"photo_id":"1352250884","filename":"file1"},{"photo_id":"1352250882","filename":"file0"},{"photo_id":"1352250888","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250891":["hashtag1","hashtag2"]},{"1352250888":["hashtag1","hashtag2"]},{"1352250882":["hashtag1","hashtag2"]},{"1352250884":["hashtag1","hashtag2"]},{"1352250892":["hashtag1","hashtag2"]},{"1352250886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250891, 1352250888, 1352250882, 1352250884, 1352250892, 1352250886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34425926208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:36:32.859484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_34_9398.jpg', '/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_44_10487.jpg', '/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_55_10376.jpg', '/home/pi/Desktop/images/20042025/13/38/image_20042025_13_39_04_9452.jpg', '/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_15_10340.jpg', '/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_24_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_34_9398.jpg
/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_44_10487.jpg
/home/pi/Desktop/images/20042025/13/38/image_20042025_13_38_55_10376.jpg
/home/pi/Desktop/images/20042025/13/38/image_20042025_13_39_04_9452.jpg
/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_15_10340.jpg
/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_24_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250901","1352250903","1352250908","1352250905","1352250913","1352250897"],"photo_ids_order":["1352250897","1352250901","1352250903","1352250905","1352250908","1352250913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c7c4b6ce067a9745efa51b5ff640284.jpg","text":"TemporaryFile(/tmp/multipartBody7730878436196621095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159853318,"filename":"image_20042025_13_38_44_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66b12bb1893459277620c9c0972b383b.jpg","text":"TemporaryFile(/tmp/multipartBody8760901000554861236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159853318,"filename":"image_20042025_13_38_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52229afc2dc2a2338878c1c93b8f60d7.jpg","text":"TemporaryFile(/tmp/multipartBody6566334672694634924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159853318,"filename":"image_20042025_13_39_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85bb904dc63f7847180f8aaeb99fc26e.jpg","text":"TemporaryFile(/tmp/multipartBody3101204061703317260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159853318,"filename":"image_20042025_13_39_04_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ee88e1420551da309df5b58174b90cd.jpg","text":"TemporaryFile(/tmp/multipartBody2508158752943366006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159853318,"filename":"image_20042025_13_39_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92b3d370f7427b54f20c657134065d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2955867667404499129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159853318,"filename":"image_20042025_13_38_34_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250903","file1":"1352250901","file0":"1352250897","file4":"1352250908","file5":"1352250913","file3":"1352250905"},"map_files_photo_id_array":[{"photo_id":"1352250913","filename":"file5"},{"photo_id":"1352250903","filename":"file2"},{"photo_id":"1352250908","filename":"file4"},{"photo_id":"1352250901","filename":"file1"},{"photo_id":"1352250897","filename":"file0"},{"photo_id":"1352250905","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250901":["hashtag1","hashtag2"]},{"1352250903":["hashtag1","hashtag2"]},{"1352250908":["hashtag1","hashtag2"]},{"1352250905":["hashtag1","hashtag2"]},{"1352250913":["hashtag1","hashtag2"]},{"1352250897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250901, 1352250903, 1352250908, 1352250905, 1352250913, 1352250897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11035203933716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:37:33.161914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_34_10374.jpg', '/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_45_10430.jpg', '/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_54_9361.jpg', '/home/pi/Desktop/images/20042025/13/39/image_20042025_13_40_05_10405.jpg', '/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_14_9402.jpg', '/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_24_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_34_10374.jpg
/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_45_10430.jpg
/home/pi/Desktop/images/20042025/13/39/image_20042025_13_39_54_9361.jpg
/home/pi/Desktop/images/20042025/13/39/image_20042025_13_40_05_10405.jpg
/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_14_9402.jpg
/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_24_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250933","1352250921","1352250918","1352250929","1352250931","1352250925"],"photo_ids_order":["1352250918","1352250921","1352250925","1352250929","1352250931","1352250933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bad6f0b7b7941dd049f9d415e61c627.jpg","text":"TemporaryFile(/tmp/multipartBody2354454109329302346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159913620,"filename":"image_20042025_13_40_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8df4a6736310407e69dd0de7d6725fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3015584624632249812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159913620,"filename":"image_20042025_13_39_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0520c56c6789a5895094bb8dd8cd93c4.jpg","text":"TemporaryFile(/tmp/multipartBody156713190644395275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159913620,"filename":"image_20042025_13_39_34_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db53628ff0d323841025ff8035919f61.jpg","text":"TemporaryFile(/tmp/multipartBody7465744952229861280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159913620,"filename":"image_20042025_13_40_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfb3f620ff530096363e106471c0b2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8246906234699825827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159913620,"filename":"image_20042025_13_40_14_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c41171352508607c2430a20d14b8755c.jpg","text":"TemporaryFile(/tmp/multipartBody1753068047631094707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159913620,"filename":"image_20042025_13_39_54_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250925","file1":"1352250921","file0":"1352250918","file4":"1352250931","file5":"1352250933","file3":"1352250929"},"map_files_photo_id_array":[{"photo_id":"1352250933","filename":"file5"},{"photo_id":"1352250925","filename":"file2"},{"photo_id":"1352250931","filename":"file4"},{"photo_id":"1352250921","filename":"file1"},{"photo_id":"1352250918","filename":"file0"},{"photo_id":"1352250929","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250933":["hashtag1","hashtag2"]},{"1352250921":["hashtag1","hashtag2"]},{"1352250918":["hashtag1","hashtag2"]},{"1352250929":["hashtag1","hashtag2"]},{"1352250931":["hashtag1","hashtag2"]},{"1352250925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250933, 1352250921, 1352250918, 1352250929, 1352250931, 1352250925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.71568012237549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:38:32.358469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_35_10437.jpg', '/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_44_9435.jpg', '/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_55_10351.jpg', '/home/pi/Desktop/images/20042025/13/40/image_20042025_13_41_04_9467.jpg', '/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_14_10359.jpg', '/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_24_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_35_10437.jpg
/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_44_9435.jpg
/home/pi/Desktop/images/20042025/13/40/image_20042025_13_40_55_10351.jpg
/home/pi/Desktop/images/20042025/13/40/image_20042025_13_41_04_9467.jpg
/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_14_10359.jpg
/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_24_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250951","1352250954","1352250948","1352250956","1352250958","1352250946"],"photo_ids_order":["1352250946","1352250948","1352250951","1352250954","1352250956","1352250958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00aa212d20765298316bd96f6e5b7330.jpg","text":"TemporaryFile(/tmp/multipartBody7654550249894493403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159972820,"filename":"image_20042025_13_40_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ece6fb2e1d14ca59d879c1fa5477abb2.jpg","text":"TemporaryFile(/tmp/multipartBody7273472416335358081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159972820,"filename":"image_20042025_13_41_04_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/769436f149af8885454fce2f1f3790fc.jpg","text":"TemporaryFile(/tmp/multipartBody2773878025279730438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159972820,"filename":"image_20042025_13_40_44_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b75ed5aaa9226f77bd3bc1693dce9f23.jpg","text":"TemporaryFile(/tmp/multipartBody2869549860048491264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159972820,"filename":"image_20042025_13_41_14_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35bc3c18afd0ca6c397d3ff75f5c364d.jpg","text":"TemporaryFile(/tmp/multipartBody5242368983779121052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159972820,"filename":"image_20042025_13_41_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d28af32a4516729d09a6cdd7f5f1609d.jpg","text":"TemporaryFile(/tmp/multipartBody5011712600023283783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745159972820,"filename":"image_20042025_13_40_35_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250951","file1":"1352250948","file0":"1352250946","file4":"1352250956","file5":"1352250958","file3":"1352250954"},"map_files_photo_id_array":[{"photo_id":"1352250958","filename":"file5"},{"photo_id":"1352250951","filename":"file2"},{"photo_id":"1352250956","filename":"file4"},{"photo_id":"1352250948","filename":"file1"},{"photo_id":"1352250946","filename":"file0"},{"photo_id":"1352250954","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250951":["hashtag1","hashtag2"]},{"1352250954":["hashtag1","hashtag2"]},{"1352250948":["hashtag1","hashtag2"]},{"1352250956":["hashtag1","hashtag2"]},{"1352250958":["hashtag1","hashtag2"]},{"1352250946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250951, 1352250954, 1352250948, 1352250956, 1352250958, 1352250946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.575313329696655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:39:32.506333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_34_10433.jpg', '/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_45_10391.jpg', '/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_54_9410.jpg', '/home/pi/Desktop/images/20042025/13/41/image_20042025_13_42_04_10433.jpg', '/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_14_9342.jpg', '/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_24_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_34_10433.jpg
/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_45_10391.jpg
/home/pi/Desktop/images/20042025/13/41/image_20042025_13_41_54_9410.jpg
/home/pi/Desktop/images/20042025/13/41/image_20042025_13_42_04_10433.jpg
/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_14_9342.jpg
/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_24_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250978","1352250987","1352250974","1352250983","1352250985","1352250981"],"photo_ids_order":["1352250974","1352250978","1352250981","1352250983","1352250985","1352250987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3ff530d49ae031b9914682a55b6d38b.jpg","text":"TemporaryFile(/tmp/multipartBody1051960941175391556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160032977,"filename":"image_20042025_13_41_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13db577287bdccd79fcd9062fed26332.jpg","text":"TemporaryFile(/tmp/multipartBody2782657717573421669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160032977,"filename":"image_20042025_13_42_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6bfec15bef8af9a49c2b7ab7ec33fe8.jpg","text":"TemporaryFile(/tmp/multipartBody634332377156046774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160032977,"filename":"image_20042025_13_41_34_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5fa1d890e7dcf8ccc614ac56c8f0466.jpg","text":"TemporaryFile(/tmp/multipartBody2043210603525830128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160032977,"filename":"image_20042025_13_42_04_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4eb0c8650a5bba113023d812f799cec7.jpg","text":"TemporaryFile(/tmp/multipartBody4603817662639668672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160032977,"filename":"image_20042025_13_42_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5b65d7c992afb935b8c4d5b09f399a0.jpg","text":"TemporaryFile(/tmp/multipartBody3134921881414526219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160032977,"filename":"image_20042025_13_41_54_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250981","file1":"1352250978","file0":"1352250974","file4":"1352250985","file5":"1352250987","file3":"1352250983"},"map_files_photo_id_array":[{"photo_id":"1352250987","filename":"file5"},{"photo_id":"1352250981","filename":"file2"},{"photo_id":"1352250985","filename":"file4"},{"photo_id":"1352250978","filename":"file1"},{"photo_id":"1352250974","filename":"file0"},{"photo_id":"1352250983","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352250978":["hashtag1","hashtag2"]},{"1352250987":["hashtag1","hashtag2"]},{"1352250974":["hashtag1","hashtag2"]},{"1352250983":["hashtag1","hashtag2"]},{"1352250985":["hashtag1","hashtag2"]},{"1352250981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352250978, 1352250987, 1352250974, 1352250983, 1352250985, 1352250981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05521106719971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:40:32.627350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_35_10373.jpg', '/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_44_9410.jpg', '/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_54_10373.jpg', '/home/pi/Desktop/images/20042025/13/42/image_20042025_13_43_05_10383.jpg', '/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_14_9346.jpg', '/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_24_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_35_10373.jpg
/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_44_9410.jpg
/home/pi/Desktop/images/20042025/13/42/image_20042025_13_42_54_10373.jpg
/home/pi/Desktop/images/20042025/13/42/image_20042025_13_43_05_10383.jpg
/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_14_9346.jpg
/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_24_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251008","1352251011","1352251004","1352251018","1352251015","1352251000"],"photo_ids_order":["1352251000","1352251004","1352251008","1352251011","1352251015","1352251018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ce9ff9ffd3e88278a156814e47baf48.jpg","text":"TemporaryFile(/tmp/multipartBody3866340306235075174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160093090,"filename":"image_20042025_13_42_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fcf9d422976296749565bf0283225b4.jpg","text":"TemporaryFile(/tmp/multipartBody5345017589251991303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160093090,"filename":"image_20042025_13_43_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cc8d506a5eaf898a8a81c6fe990d5ac.jpg","text":"TemporaryFile(/tmp/multipartBody307821285388368737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160093090,"filename":"image_20042025_13_42_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfaa47d70714bd7320584371dc9be53f.jpg","text":"TemporaryFile(/tmp/multipartBody1176425888994487731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160093090,"filename":"image_20042025_13_43_24_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1871e11912c17e10ded7de688583e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6175636621734256217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160093090,"filename":"image_20042025_13_43_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/590f9a89d769daad32d5b66ab34b5172.jpg","text":"TemporaryFile(/tmp/multipartBody8886683715581915356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160093090,"filename":"image_20042025_13_42_35_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251008","file1":"1352251004","file0":"1352251000","file4":"1352251015","file5":"1352251018","file3":"1352251011"},"map_files_photo_id_array":[{"photo_id":"1352251018","filename":"file5"},{"photo_id":"1352251008","filename":"file2"},{"photo_id":"1352251015","filename":"file4"},{"photo_id":"1352251004","filename":"file1"},{"photo_id":"1352251000","filename":"file0"},{"photo_id":"1352251011","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352251008":["hashtag1","hashtag2"]},{"1352251011":["hashtag1","hashtag2"]},{"1352251004":["hashtag1","hashtag2"]},{"1352251018":["hashtag1","hashtag2"]},{"1352251015":["hashtag1","hashtag2"]},{"1352251000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352251008, 1352251011, 1352251004, 1352251018, 1352251015, 1352251000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.925957679748535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:41:32.938757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_35_10356.jpg', '/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_44_9445.jpg', '/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_55_10378.jpg', '/home/pi/Desktop/images/20042025/13/43/image_20042025_13_44_04_9423.jpg', '/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_14_10351.jpg', '/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_35_10356.jpg
/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_44_9445.jpg
/home/pi/Desktop/images/20042025/13/43/image_20042025_13_43_55_10378.jpg
/home/pi/Desktop/images/20042025/13/43/image_20042025_13_44_04_9423.jpg
/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_14_10351.jpg
/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_25_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251035","1352251038","1352251043","1352251046","1352251031","1352251049"],"photo_ids_order":["1352251031","1352251035","1352251038","1352251043","1352251046","1352251049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b79905b5981d08177140f79dca7c497a.jpg","text":"TemporaryFile(/tmp/multipartBody1374265668422399502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160153424,"filename":"image_20042025_13_43_44_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c93b9ad5c796bc1b86b33335282c7a66.jpg","text":"TemporaryFile(/tmp/multipartBody185049470114833365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160153424,"filename":"image_20042025_13_43_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b7b2064272a922d921fe32f87d05221.jpg","text":"TemporaryFile(/tmp/multipartBody193313231911803430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160153424,"filename":"image_20042025_13_44_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74b737b5984e65c4d9129d490f7c9d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6239791086075637815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160153424,"filename":"image_20042025_13_44_14_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a7600c00b0280c307e6d6a393175692.jpg","text":"TemporaryFile(/tmp/multipartBody8569885128916022297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160153424,"filename":"image_20042025_13_43_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff8555e243b33d7db2b9862aafe1d016.jpg","text":"TemporaryFile(/tmp/multipartBody4172846189345584524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160153424,"filename":"image_20042025_13_44_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251038","file1":"1352251035","file0":"1352251031","file4":"1352251046","file5":"1352251049","file3":"1352251043"},"map_files_photo_id_array":[{"photo_id":"1352251049","filename":"file5"},{"photo_id":"1352251038","filename":"file2"},{"photo_id":"1352251046","filename":"file4"},{"photo_id":"1352251035","filename":"file1"},{"photo_id":"1352251031","filename":"file0"},{"photo_id":"1352251043","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352251035":["hashtag1","hashtag2"]},{"1352251038":["hashtag1","hashtag2"]},{"1352251043":["hashtag1","hashtag2"]},{"1352251046":["hashtag1","hashtag2"]},{"1352251031":["hashtag1","hashtag2"]},{"1352251049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352251035, 1352251038, 1352251043, 1352251046, 1352251031, 1352251049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.339468479156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:42:33.052753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_34_9352.jpg', '/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_44_10360.jpg', '/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_54_9359.jpg', '/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_15_10383.jpg', '/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_34_10353.jpg', '/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_44_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_34_9352.jpg
/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_44_10360.jpg
/home/pi/Desktop/images/20042025/13/44/image_20042025_13_44_54_9359.jpg
/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_15_10383.jpg
/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_34_10353.jpg
/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_44_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251074","1352251061","1352251067","1352251069","1352251071","1352251065"],"photo_ids_order":["1352251061","1352251065","1352251067","1352251069","1352251071","1352251074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9169144b1fd9138446a1e0c2e20f2bf.jpg","text":"TemporaryFile(/tmp/multipartBody4772035332162775774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160213528,"filename":"image_20042025_13_45_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90df89aadb72eccddc2d245aa9cbbe3f.jpg","text":"TemporaryFile(/tmp/multipartBody3478470540987787860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160213528,"filename":"image_20042025_13_44_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48f98140e3d6f079b56f4cc52aa8240b.jpg","text":"TemporaryFile(/tmp/multipartBody8456727186974608190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160213528,"filename":"image_20042025_13_44_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b8ba8ec685d081ca70cc086c7f6dcbd.jpg","text":"TemporaryFile(/tmp/multipartBody6870852342476428899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160213528,"filename":"image_20042025_13_45_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ba1e4c95992d171e077707e69475fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3395761818773643940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160213528,"filename":"image_20042025_13_45_34_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5d9b0997936280022b69f47bd7ce341.jpg","text":"TemporaryFile(/tmp/multipartBody3090142582015681494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160213528,"filename":"image_20042025_13_44_44_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251067","file1":"1352251065","file0":"1352251061","file4":"1352251071","file5":"1352251074","file3":"1352251069"},"map_files_photo_id_array":[{"photo_id":"1352251074","filename":"file5"},{"photo_id":"1352251067","filename":"file2"},{"photo_id":"1352251071","filename":"file4"},{"photo_id":"1352251065","filename":"file1"},{"photo_id":"1352251061","filename":"file0"},{"photo_id":"1352251069","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352251074":["hashtag1","hashtag2"]},{"1352251061":["hashtag1","hashtag2"]},{"1352251067":["hashtag1","hashtag2"]},{"1352251069":["hashtag1","hashtag2"]},{"1352251071":["hashtag1","hashtag2"]},{"1352251065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352251074, 1352251061, 1352251067, 1352251069, 1352251071, 1352251065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.202555656433105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:43:32.302992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_54_10384.jpg', '/home/pi/Desktop/images/20042025/13/45/image_20042025_13_46_05_10458.jpg', '/home/pi/Desktop/images/20042025/13/46/image_20042025_13_46_34_9454.jpg', '/home/pi/Desktop/images/20042025/13/46/image_20042025_13_46_44_10423.jpg', '/home/pi/Desktop/images/20042025/13/46/image_20042025_13_46_54_9354.jpg', '/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_24_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/45/image_20042025_13_45_54_10384.jpg
/home/pi/Desktop/images/20042025/13/45/image_20042025_13_46_05_10458.jpg
/home/pi/Desktop/images/20042025/13/46/image_20042025_13_46_34_9454.jpg
/home/pi/Desktop/images/20042025/13/46/image_20042025_13_46_44_10423.jpg
/home/pi/Desktop/images/20042025/13/46/image_20042025_13_46_54_9354.jpg
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_24_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251100","1352251099","1352251102","1352251105","1352251095","1352251092"],"photo_ids_order":["1352251092","1352251095","1352251099","1352251100","1352251102","1352251105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7416d16232bc1b8f195383fc860501d.jpg","text":"TemporaryFile(/tmp/multipartBody1474577238484639028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160272764,"filename":"image_20042025_13_46_44_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9b710e95ee125fd2f52583660e7c529.jpg","text":"TemporaryFile(/tmp/multipartBody5148072782874513597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160272764,"filename":"image_20042025_13_46_34_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80fc97ad1f0712099351620b5682f325.jpg","text":"TemporaryFile(/tmp/multipartBody9077590032339213704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160272764,"filename":"image_20042025_13_46_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb725c58845778853311efb3d1175a49.jpg","text":"TemporaryFile(/tmp/multipartBody4318475707116690126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160272764,"filename":"image_20042025_13_47_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c29b909272764eecd099c82f489d9fcb.jpg","text":"TemporaryFile(/tmp/multipartBody6670561264260389179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160272764,"filename":"image_20042025_13_46_05_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/060600513fa361fde76d7fe7c9231669.jpg","text":"TemporaryFile(/tmp/multipartBody380018700159394591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160272764,"filename":"image_20042025_13_45_54_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251099","file1":"1352251095","file0":"1352251092","file4":"1352251102","file5":"1352251105","file3":"1352251100"},"map_files_photo_id_array":[{"photo_id":"1352251105","filename":"file5"},{"photo_id":"1352251099","filename":"file2"},{"photo_id":"1352251102","filename":"file4"},{"photo_id":"1352251095","filename":"file1"},{"photo_id":"1352251092","filename":"file0"},{"photo_id":"1352251100","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352251100":["hashtag1","hashtag2"]},{"1352251099":["hashtag1","hashtag2"]},{"1352251102":["hashtag1","hashtag2"]},{"1352251105":["hashtag1","hashtag2"]},{"1352251095":["hashtag1","hashtag2"]},{"1352251092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352251100, 1352251099, 1352251102, 1352251105, 1352251095, 1352251092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72316360473633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:44:32.526757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_34_10428.jpg', '/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_44_9360.jpg', '/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_54_10393.jpg', '/home/pi/Desktop/images/20042025/13/47/image_20042025_13_48_05_10425.jpg', '/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_14_9419.jpg', '/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_24_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_34_10428.jpg
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_44_9360.jpg
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_54_10393.jpg
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_48_05_10425.jpg
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_14_9419.jpg
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_24_10447.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38544440269470215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 16:44:42.519959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_34_10428.jpg', '/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_44_9360.jpg', '/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_54_10393.jpg', '/home/pi/Desktop/images/20042025/13/47/image_20042025_13_48_05_10425.jpg', '/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_14_9419.jpg', '/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_24_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_34_10428.jpg
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_44_9360.jpg
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_47_54_10393.jpg
/home/pi/Desktop/images/20042025/13/47/image_20042025_13_48_05_10425.jpg
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_14_9419.jpg
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_24_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251359","1352251254","1352251280","1352251334","1352251384","1352251309"],"photo_ids_order":["1352251254","1352251280","1352251309","1352251334","1352251359","1352251384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41fc630f743ec2651d6767567e11c78b.jpg","text":"TemporaryFile(/tmp/multipartBody1389284250725118407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160342982,"filename":"image_20042025_13_48_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1eef7e3a46dcd8ff9a3c5e24dafa5930.jpg","text":"TemporaryFile(/tmp/multipartBody8219939540711912192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160342982,"filename":"image_20042025_13_47_34_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ae8f34fa0430c5dc2b6d5da9b0b610c.jpg","text":"TemporaryFile(/tmp/multipartBody1735676896301861617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160342982,"filename":"image_20042025_13_47_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26ceb8aa23bbd19bc9a6b228d8acdb03.jpg","text":"TemporaryFile(/tmp/multipartBody2016369894728853788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160342982,"filename":"image_20042025_13_48_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f66ded9e11660159ed85d9bf6632f1d6.jpg","text":"TemporaryFile(/tmp/multipartBody4152172461688889670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160342982,"filename":"image_20042025_13_48_24_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e136dfe943a0661427662161742528fa.jpg","text":"TemporaryFile(/tmp/multipartBody1178160559103811220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160342982,"filename":"image_20042025_13_47_54_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251309","file1":"1352251280","file0":"1352251254","file4":"1352251359","file5":"1352251384","file3":"1352251334"},"map_files_photo_id_array":[{"photo_id":"1352251384","filename":"file5"},{"photo_id":"1352251309","filename":"file2"},{"photo_id":"1352251359","filename":"file4"},{"photo_id":"1352251280","filename":"file1"},{"photo_id":"1352251254","filename":"file0"},{"photo_id":"1352251334","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352251359":["hashtag1","hashtag2"]},{"1352251254":["hashtag1","hashtag2"]},{"1352251280":["hashtag1","hashtag2"]},{"1352251334":["hashtag1","hashtag2"]},{"1352251384":["hashtag1","hashtag2"]},{"1352251309":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352251359, 1352251254, 1352251280, 1352251334, 1352251384, 1352251309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.381282567977905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:45:32.719064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_34_9452.jpg', '/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_44_10414.jpg', '/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_55_10365.jpg', '/home/pi/Desktop/images/20042025/13/48/image_20042025_13_49_04_9349.jpg', '/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_14_10358.jpg', '/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_34_9452.jpg
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_44_10414.jpg
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_48_55_10365.jpg
/home/pi/Desktop/images/20042025/13/48/image_20042025_13_49_04_9349.jpg
/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_14_10358.jpg
/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251638","1352251719","1352251664","1352251745","1352251599","1352251692"],"photo_ids_order":["1352251599","1352251638","1352251664","1352251692","1352251719","1352251745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ef2febcc70eed1470b1f86e3e466eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5097634392048472491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160393183,"filename":"image_20042025_13_48_44_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2694c085b1e408a2031e19798d1091f.jpg","text":"TemporaryFile(/tmp/multipartBody1589796295723498255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160393183,"filename":"image_20042025_13_49_14_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f043ab75aac7b6d63ca78ea382bfce02.jpg","text":"TemporaryFile(/tmp/multipartBody8370688172356976862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160393183,"filename":"image_20042025_13_48_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc123d96976f75d66141d56c4c97d3ca.jpg","text":"TemporaryFile(/tmp/multipartBody7213741663875289963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160393183,"filename":"image_20042025_13_49_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b57ab73e41897d5da2d1e39616864b79.jpg","text":"TemporaryFile(/tmp/multipartBody2979568519849239846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160393183,"filename":"image_20042025_13_48_34_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e4fcad20f93655bc8370ffea175a77d.jpg","text":"TemporaryFile(/tmp/multipartBody1079093491715461056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160393183,"filename":"image_20042025_13_49_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251664","file1":"1352251638","file0":"1352251599","file4":"1352251719","file5":"1352251745","file3":"1352251692"},"map_files_photo_id_array":[{"photo_id":"1352251745","filename":"file5"},{"photo_id":"1352251664","filename":"file2"},{"photo_id":"1352251719","filename":"file4"},{"photo_id":"1352251638","filename":"file1"},{"photo_id":"1352251599","filename":"file0"},{"photo_id":"1352251692","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352251638":["hashtag1","hashtag2"]},{"1352251719":["hashtag1","hashtag2"]},{"1352251664":["hashtag1","hashtag2"]},{"1352251745":["hashtag1","hashtag2"]},{"1352251599":["hashtag1","hashtag2"]},{"1352251692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352251638, 1352251719, 1352251664, 1352251745, 1352251599, 1352251692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.643040895462036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:46:33.027325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_54_9477.jpg', '/home/pi/Desktop/images/20042025/13/49/image_20042025_13_50_04_10385.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_14_9445.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_35_10349.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_44_9424.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_54_9477.jpg
/home/pi/Desktop/images/20042025/13/49/image_20042025_13_50_04_10385.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_14_9445.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_35_10349.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_44_9424.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_55_10367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3853938579559326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 16:46:42.999394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_54_9477.jpg', '/home/pi/Desktop/images/20042025/13/49/image_20042025_13_50_04_10385.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_14_9445.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_35_10349.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_44_9424.jpg', '/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/49/image_20042025_13_49_54_9477.jpg
/home/pi/Desktop/images/20042025/13/49/image_20042025_13_50_04_10385.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_14_9445.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_35_10349.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_44_9424.jpg
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_50_55_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252100","1352252072","1352252182","1352252155","1352252209","1352252127"],"photo_ids_order":["1352252072","1352252100","1352252127","1352252155","1352252182","1352252209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c6414006b0543131a1cafa2bc63116d.jpg","text":"TemporaryFile(/tmp/multipartBody1645450376589457363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160463458,"filename":"image_20042025_13_50_04_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/777dd0df1e90f7bf514c9bfcc8fed6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8204793786491667594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160463458,"filename":"image_20042025_13_49_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/125de039df696bf7c5cb802920185e43.jpg","text":"TemporaryFile(/tmp/multipartBody9136094147203218630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160463458,"filename":"image_20042025_13_50_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/487a49c95258b518284d52c792062f33.jpg","text":"TemporaryFile(/tmp/multipartBody4658300822902047289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160463458,"filename":"image_20042025_13_50_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82e475302fdb74aeda06f009df5a1eeb.jpg","text":"TemporaryFile(/tmp/multipartBody5592421444194857424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160463458,"filename":"image_20042025_13_50_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6732991710e0937bf884c2fdb9657a3.jpg","text":"TemporaryFile(/tmp/multipartBody2077599592385003750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160463458,"filename":"image_20042025_13_50_14_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352252127","file1":"1352252100","file0":"1352252072","file4":"1352252182","file5":"1352252209","file3":"1352252155"},"map_files_photo_id_array":[{"photo_id":"1352252209","filename":"file5"},{"photo_id":"1352252127","filename":"file2"},{"photo_id":"1352252182","filename":"file4"},{"photo_id":"1352252100","filename":"file1"},{"photo_id":"1352252072","filename":"file0"},{"photo_id":"1352252155","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352252100":["hashtag1","hashtag2"]},{"1352252072":["hashtag1","hashtag2"]},{"1352252182":["hashtag1","hashtag2"]},{"1352252155":["hashtag1","hashtag2"]},{"1352252209":["hashtag1","hashtag2"]},{"1352252127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352252100, 1352252072, 1352252182, 1352252155, 1352252209, 1352252127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.096933126449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:47:32.823642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/50/image_20042025_13_51_04_9478.jpg', '/home/pi/Desktop/images/20042025/13/51/image_20042025_13_51_14_10350.jpg', '/home/pi/Desktop/images/20042025/13/51/image_20042025_13_51_34_9339.jpg', '/home/pi/Desktop/images/20042025/13/51/image_20042025_13_51_54_9358.jpg', '/home/pi/Desktop/images/20042025/13/51/image_20042025_13_52_04_10368.jpg', '/home/pi/Desktop/images/20042025/13/52/image_20042025_13_52_24_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/50/image_20042025_13_51_04_9478.jpg
/home/pi/Desktop/images/20042025/13/51/image_20042025_13_51_14_10350.jpg
/home/pi/Desktop/images/20042025/13/51/image_20042025_13_51_34_9339.jpg
/home/pi/Desktop/images/20042025/13/51/image_20042025_13_51_54_9358.jpg
/home/pi/Desktop/images/20042025/13/51/image_20042025_13_52_04_10368.jpg
/home/pi/Desktop/images/20042025/13/52/image_20042025_13_52_24_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252519","1352252467","1352252407","1352252550","1352252493","1352252436"],"photo_ids_order":["1352252407","1352252436","1352252467","1352252493","1352252519","1352252550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae2372901ed9e8f6dabd8642d5da0a85.jpg","text":"TemporaryFile(/tmp/multipartBody2296092447210432030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160513286,"filename":"image_20042025_13_52_04_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16332ea47c740e89d5e67a5b6f9fd72c.jpg","text":"TemporaryFile(/tmp/multipartBody6469409919060609966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160513286,"filename":"image_20042025_13_51_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f61beab6b871c62613b9fbb50c8f5c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7880642926941701159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160513286,"filename":"image_20042025_13_51_04_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7c830951ddeb4ca0fa64ace44f8b055.jpg","text":"TemporaryFile(/tmp/multipartBody1633663412950050722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160513286,"filename":"image_20042025_13_52_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99d5b95f4c14c7fba5e961ccb35d88fb.jpg","text":"TemporaryFile(/tmp/multipartBody1001208714769083586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160513286,"filename":"image_20042025_13_51_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6c66df3d824662a34405a19cfaa4214.jpg","text":"TemporaryFile(/tmp/multipartBody3464566273786529272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160513286,"filename":"image_20042025_13_51_14_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352252467","file1":"1352252436","file0":"1352252407","file4":"1352252519","file5":"1352252550","file3":"1352252493"},"map_files_photo_id_array":[{"photo_id":"1352252550","filename":"file5"},{"photo_id":"1352252467","filename":"file2"},{"photo_id":"1352252519","filename":"file4"},{"photo_id":"1352252436","filename":"file1"},{"photo_id":"1352252407","filename":"file0"},{"photo_id":"1352252493","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352252519":["hashtag1","hashtag2"]},{"1352252467":["hashtag1","hashtag2"]},{"1352252407":["hashtag1","hashtag2"]},{"1352252550":["hashtag1","hashtag2"]},{"1352252493":["hashtag1","hashtag2"]},{"1352252436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352252519, 1352252467, 1352252407, 1352252550, 1352252493, 1352252436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.32591438293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:48:32.290375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/52/image_20042025_13_52_34_10364.jpg', '/home/pi/Desktop/images/20042025/13/52/image_20042025_13_52_54_9431.jpg', '/home/pi/Desktop/images/20042025/13/52/image_20042025_13_53_05_10373.jpg', '/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_14_9421.jpg', '/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_24_10418.jpg', '/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_44_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/52/image_20042025_13_52_34_10364.jpg
/home/pi/Desktop/images/20042025/13/52/image_20042025_13_52_54_9431.jpg
/home/pi/Desktop/images/20042025/13/52/image_20042025_13_53_05_10373.jpg
/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_14_9421.jpg
/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_24_10418.jpg
/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_44_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252816","1352252819","1352252810","1352252807","1352252803","1352252820"],"photo_ids_order":["1352252803","1352252807","1352252810","1352252816","1352252819","1352252820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87620d4284bd5a3be42e2cfd667f7711.jpg","text":"TemporaryFile(/tmp/multipartBody4173977239069103430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160572749,"filename":"image_20042025_13_53_14_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2bae558839f3ca2589f963af73f4d5b.jpg","text":"TemporaryFile(/tmp/multipartBody187499976577213645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160572749,"filename":"image_20042025_13_53_24_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3bdd968350ae7132827808fdf317a3c6.jpg","text":"TemporaryFile(/tmp/multipartBody4467747104340186911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160572749,"filename":"image_20042025_13_53_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c07e8e1e8347219b0cd3621de837f291.jpg","text":"TemporaryFile(/tmp/multipartBody2134215065965153640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160572749,"filename":"image_20042025_13_52_54_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/243eb400656fc5c6994666c389a94be3.jpg","text":"TemporaryFile(/tmp/multipartBody2608010878188038966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160572749,"filename":"image_20042025_13_52_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0667d81912cab56ab84a9e3a320e5c23.jpg","text":"TemporaryFile(/tmp/multipartBody6884749675721429668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160572749,"filename":"image_20042025_13_53_44_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352252810","file1":"1352252807","file0":"1352252803","file4":"1352252819","file5":"1352252820","file3":"1352252816"},"map_files_photo_id_array":[{"photo_id":"1352252820","filename":"file5"},{"photo_id":"1352252810","filename":"file2"},{"photo_id":"1352252819","filename":"file4"},{"photo_id":"1352252807","filename":"file1"},{"photo_id":"1352252803","filename":"file0"},{"photo_id":"1352252816","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352252816":["hashtag1","hashtag2"]},{"1352252819":["hashtag1","hashtag2"]},{"1352252810":["hashtag1","hashtag2"]},{"1352252807":["hashtag1","hashtag2"]},{"1352252803":["hashtag1","hashtag2"]},{"1352252820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352252816, 1352252819, 1352252810, 1352252807, 1352252803, 1352252820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.536911487579346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:49:32.497199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_55_10379.jpg', '/home/pi/Desktop/images/20042025/13/53/image_20042025_13_54_04_9452.jpg', '/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_14_10368.jpg', '/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_25_10368.jpg', '/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_34_9463.jpg', '/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_45_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/53/image_20042025_13_53_55_10379.jpg
/home/pi/Desktop/images/20042025/13/53/image_20042025_13_54_04_9452.jpg
/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_14_10368.jpg
/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_25_10368.jpg
/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_34_9463.jpg
/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_45_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252843","1352252837","1352252839","1352252833","1352252842","1352252835"],"photo_ids_order":["1352252833","1352252835","1352252837","1352252839","1352252842","1352252843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1896541c95db4849364c1240018b2ac1.jpg","text":"TemporaryFile(/tmp/multipartBody8635386196878154392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160632960,"filename":"image_20042025_13_54_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/725ae99b9de3fbe0249e2b5783131781.jpg","text":"TemporaryFile(/tmp/multipartBody3962907335826145254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160632960,"filename":"image_20042025_13_54_14_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55683a0510737bc99db75adfb80d4579.jpg","text":"TemporaryFile(/tmp/multipartBody5131648610714773610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160632960,"filename":"image_20042025_13_54_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ccbadf09a5d4480ce5b0fcf02d7075e.jpg","text":"TemporaryFile(/tmp/multipartBody434959386576102860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160632960,"filename":"image_20042025_13_53_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/787a3af03a7b9bb1ba9bd4344924d674.jpg","text":"TemporaryFile(/tmp/multipartBody8277993980390324396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160632960,"filename":"image_20042025_13_54_34_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fac86ae3f2085c3e322bf72034e909f.jpg","text":"TemporaryFile(/tmp/multipartBody5059572021953811304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160632960,"filename":"image_20042025_13_54_04_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352252837","file1":"1352252835","file0":"1352252833","file4":"1352252842","file5":"1352252843","file3":"1352252839"},"map_files_photo_id_array":[{"photo_id":"1352252843","filename":"file5"},{"photo_id":"1352252837","filename":"file2"},{"photo_id":"1352252842","filename":"file4"},{"photo_id":"1352252835","filename":"file1"},{"photo_id":"1352252833","filename":"file0"},{"photo_id":"1352252839","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352252843":["hashtag1","hashtag2"]},{"1352252837":["hashtag1","hashtag2"]},{"1352252839":["hashtag1","hashtag2"]},{"1352252833":["hashtag1","hashtag2"]},{"1352252842":["hashtag1","hashtag2"]},{"1352252835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352252843, 1352252837, 1352252839, 1352252833, 1352252842, 1352252835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.84285545349121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:50:32.781169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_54_9514.jpg', '/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_14_9473.jpg', '/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_24_10380.jpg', '/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_35_10377.jpg', '/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_44_9424.jpg', '/home/pi/Desktop/images/20042025/13/55/image_20042025_13_56_04_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/54/image_20042025_13_54_54_9514.jpg
/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_14_9473.jpg
/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_24_10380.jpg
/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_35_10377.jpg
/home/pi/Desktop/images/20042025/13/55/image_20042025_13_55_44_9424.jpg
/home/pi/Desktop/images/20042025/13/55/image_20042025_13_56_04_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252960","1352253073","1352253019","1352253100","1352253048","1352252991"],"photo_ids_order":["1352252960","1352252991","1352253019","1352253048","1352253073","1352253100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d0a8fcce143b018d0212f5dbdb97798.jpg","text":"TemporaryFile(/tmp/multipartBody2947990397073559193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160693259,"filename":"image_20042025_13_54_54_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d8d9dffaaa6755324aa3d660ba1b37c.jpg","text":"TemporaryFile(/tmp/multipartBody9180859191577467034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160693259,"filename":"image_20042025_13_55_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8d65ce0de5e43c8a12854836e186422.jpg","text":"TemporaryFile(/tmp/multipartBody4917766797068195956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160693259,"filename":"image_20042025_13_55_24_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5927b6b577db0b44777da8ef40ec21b9.jpg","text":"TemporaryFile(/tmp/multipartBody2142835272030891499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160693259,"filename":"image_20042025_13_56_04_9552.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1724990c9981feac589694fe74d3c30.jpg","text":"TemporaryFile(/tmp/multipartBody6567150183065789474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160693259,"filename":"image_20042025_13_55_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0746c989d88c000f0c7991fe8f23f2aa.jpg","text":"TemporaryFile(/tmp/multipartBody60644236959720874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160693259,"filename":"image_20042025_13_55_14_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253019","file1":"1352252991","file0":"1352252960","file4":"1352253073","file5":"1352253100","file3":"1352253048"},"map_files_photo_id_array":[{"photo_id":"1352253100","filename":"file5"},{"photo_id":"1352253019","filename":"file2"},{"photo_id":"1352253073","filename":"file4"},{"photo_id":"1352252991","filename":"file1"},{"photo_id":"1352252960","filename":"file0"},{"photo_id":"1352253048","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352252960":["hashtag1","hashtag2"]},{"1352253073":["hashtag1","hashtag2"]},{"1352253019":["hashtag1","hashtag2"]},{"1352253100":["hashtag1","hashtag2"]},{"1352253048":["hashtag1","hashtag2"]},{"1352252991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352252960, 1352253073, 1352253019, 1352253100, 1352253048, 1352252991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28381896018982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:51:33.045313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_14_10349.jpg', '/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_34_9358.jpg', '/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_45_10360.jpg', '/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_54_9422.jpg', '/home/pi/Desktop/images/20042025/13/56/image_20042025_13_57_04_10377.jpg', '/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_24_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_14_10349.jpg
/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_34_9358.jpg
/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_45_10360.jpg
/home/pi/Desktop/images/20042025/13/56/image_20042025_13_56_54_9422.jpg
/home/pi/Desktop/images/20042025/13/56/image_20042025_13_57_04_10377.jpg
/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_24_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253266","1352253262","1352253244","1352253264","1352253260","1352253257"],"photo_ids_order":["1352253244","1352253257","1352253260","1352253262","1352253264","1352253266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97411262190022ee1389b3024e5be997.jpg","text":"TemporaryFile(/tmp/multipartBody4316122760668675801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160753503,"filename":"image_20042025_13_57_24_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dabe4212a4c479f3dcaadbad919bedb1.jpg","text":"TemporaryFile(/tmp/multipartBody7734018767101541385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160753503,"filename":"image_20042025_13_56_54_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e05598ee6eb1ecc504d667860c865881.jpg","text":"TemporaryFile(/tmp/multipartBody1957894376207265052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160753503,"filename":"image_20042025_13_56_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b161b007c320af88a56b8a22d14be475.jpg","text":"TemporaryFile(/tmp/multipartBody3061417105841851307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160753503,"filename":"image_20042025_13_57_04_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cc655c1d93140b9968e7ed27f3fc67f.jpg","text":"TemporaryFile(/tmp/multipartBody4451428218596816115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160753503,"filename":"image_20042025_13_56_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e24f4bfd47bbe9fee454846a763fe8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2226324874093257730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160753503,"filename":"image_20042025_13_56_34_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253260","file1":"1352253257","file0":"1352253244","file4":"1352253264","file5":"1352253266","file3":"1352253262"},"map_files_photo_id_array":[{"photo_id":"1352253266","filename":"file5"},{"photo_id":"1352253260","filename":"file2"},{"photo_id":"1352253264","filename":"file4"},{"photo_id":"1352253257","filename":"file1"},{"photo_id":"1352253244","filename":"file0"},{"photo_id":"1352253262","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352253266":["hashtag1","hashtag2"]},{"1352253262":["hashtag1","hashtag2"]},{"1352253244":["hashtag1","hashtag2"]},{"1352253264":["hashtag1","hashtag2"]},{"1352253260":["hashtag1","hashtag2"]},{"1352253257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352253266, 1352253262, 1352253244, 1352253264, 1352253260, 1352253257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.108539819717407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:52:32.276273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_34_10364.jpg', '/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_44_9467.jpg', '/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_54_10371.jpg', '/home/pi/Desktop/images/20042025/13/57/image_20042025_13_58_05_10428.jpg', '/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_14_9434.jpg', '/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_25_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_34_10364.jpg
/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_44_9467.jpg
/home/pi/Desktop/images/20042025/13/57/image_20042025_13_57_54_10371.jpg
/home/pi/Desktop/images/20042025/13/57/image_20042025_13_58_05_10428.jpg
/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_14_9434.jpg
/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_25_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253326","1352253468","1352253411","1352253354","1352253440","1352253383"],"photo_ids_order":["1352253326","1352253354","1352253383","1352253411","1352253440","1352253468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1bf935314c27ea32cc45e67811bbced.jpg","text":"TemporaryFile(/tmp/multipartBody4921464665623374985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160812747,"filename":"image_20042025_13_57_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8ae1cf8113cfcbded98ad5a7a4832b8.jpg","text":"TemporaryFile(/tmp/multipartBody3121084511281436359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160812747,"filename":"image_20042025_13_58_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61d08a9e7104eb467fee5ecd19c050f8.jpg","text":"TemporaryFile(/tmp/multipartBody1447464295065292982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160812747,"filename":"image_20042025_13_58_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80c4b99539fee63d79e178629518c8b8.jpg","text":"TemporaryFile(/tmp/multipartBody7169085943995943198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160812747,"filename":"image_20042025_13_57_44_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d2e73ad7e465bbbc84168dcdf1cd787.jpg","text":"TemporaryFile(/tmp/multipartBody7971401290384940876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160812747,"filename":"image_20042025_13_58_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/503fab9962f73c5d1c158192e030cad8.jpg","text":"TemporaryFile(/tmp/multipartBody8361876216322878153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160812747,"filename":"image_20042025_13_57_54_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253383","file1":"1352253354","file0":"1352253326","file4":"1352253440","file5":"1352253468","file3":"1352253411"},"map_files_photo_id_array":[{"photo_id":"1352253468","filename":"file5"},{"photo_id":"1352253383","filename":"file2"},{"photo_id":"1352253440","filename":"file4"},{"photo_id":"1352253354","filename":"file1"},{"photo_id":"1352253326","filename":"file0"},{"photo_id":"1352253411","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352253326":["hashtag1","hashtag2"]},{"1352253468":["hashtag1","hashtag2"]},{"1352253411":["hashtag1","hashtag2"]},{"1352253354":["hashtag1","hashtag2"]},{"1352253440":["hashtag1","hashtag2"]},{"1352253383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352253326, 1352253468, 1352253411, 1352253354, 1352253440, 1352253383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25757074356079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:53:32.517134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_34_9384.jpg', '/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_54_9424.jpg', '/home/pi/Desktop/images/20042025/13/58/image_20042025_13_59_04_10453.jpg', '/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_15_10419.jpg', '/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_34_10366.jpg', '/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_34_9384.jpg
/home/pi/Desktop/images/20042025/13/58/image_20042025_13_58_54_9424.jpg
/home/pi/Desktop/images/20042025/13/58/image_20042025_13_59_04_10453.jpg
/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_15_10419.jpg
/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_34_10366.jpg
/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_45_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253518","1352253512","1352253520","1352253514","1352253522","1352253516"],"photo_ids_order":["1352253512","1352253514","1352253516","1352253518","1352253520","1352253522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a24d7b96714ddf72d96d5b41db802b7.jpg","text":"TemporaryFile(/tmp/multipartBody8573218436188751453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160873003,"filename":"image_20042025_13_59_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb8eac55c9be3d59e964fcc624937032.jpg","text":"TemporaryFile(/tmp/multipartBody110917248366778867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160873003,"filename":"image_20042025_13_58_34_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f682708d3d29a7e6d50ed716e70c8312.jpg","text":"TemporaryFile(/tmp/multipartBody673053520058266948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160873003,"filename":"image_20042025_13_59_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7a1b18f0daa7fbcf5d2de22d42e1b96.jpg","text":"TemporaryFile(/tmp/multipartBody6242071453122655079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160873003,"filename":"image_20042025_13_58_54_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c95973e2d43a9c188da761eb060c3e48.jpg","text":"TemporaryFile(/tmp/multipartBody6726865066504161508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160873003,"filename":"image_20042025_13_59_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a586bce5097e4b56f5fb3261e935b94d.jpg","text":"TemporaryFile(/tmp/multipartBody2264799082414195694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160873003,"filename":"image_20042025_13_59_04_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253516","file1":"1352253514","file0":"1352253512","file4":"1352253520","file5":"1352253522","file3":"1352253518"},"map_files_photo_id_array":[{"photo_id":"1352253522","filename":"file5"},{"photo_id":"1352253516","filename":"file2"},{"photo_id":"1352253520","filename":"file4"},{"photo_id":"1352253514","filename":"file1"},{"photo_id":"1352253512","filename":"file0"},{"photo_id":"1352253518","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352253518":["hashtag1","hashtag2"]},{"1352253512":["hashtag1","hashtag2"]},{"1352253520":["hashtag1","hashtag2"]},{"1352253514":["hashtag1","hashtag2"]},{"1352253522":["hashtag1","hashtag2"]},{"1352253516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352253518, 1352253512, 1352253520, 1352253514, 1352253522, 1352253516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.58342957496643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:54:32.690045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_54_9355.jpg', '/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_15_10075.jpg', '/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_25_10447.jpg', '/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_35_10365.jpg', '/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_45_9455.jpg', '/home/pi/Desktop/images/20042025/14/01/image_20042025_14_02_05_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/13/59/image_20042025_13_59_54_9355.jpg
/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_15_10075.jpg
/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_25_10447.jpg
/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_35_10365.jpg
/home/pi/Desktop/images/20042025/14/01/image_20042025_14_01_45_9455.jpg
/home/pi/Desktop/images/20042025/14/01/image_20042025_14_02_05_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253673","1352253595","1352253565","1352253622","1352253647","1352253533"],"photo_ids_order":["1352253533","1352253565","1352253595","1352253622","1352253647","1352253673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fde8e70265c08d4b40dfa5ef1c43a4b.jpg","text":"TemporaryFile(/tmp/multipartBody383398095329102662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160933145,"filename":"image_20042025_14_02_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9513b9bf510ac7ce0dbbb4145e857228.jpg","text":"TemporaryFile(/tmp/multipartBody8955299754480191900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160933145,"filename":"image_20042025_14_01_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b81a7103670463b264e53d412b20be9.jpg","text":"TemporaryFile(/tmp/multipartBody2660199692224132532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160933145,"filename":"image_20042025_14_01_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12e5d5afef47d194cb07de42558935bb.jpg","text":"TemporaryFile(/tmp/multipartBody1317935751207632141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160933145,"filename":"image_20042025_14_01_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e35b2842ec84d57684ba938fc82a4a8.jpg","text":"TemporaryFile(/tmp/multipartBody3596460851428158200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160933145,"filename":"image_20042025_14_01_45_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0acfbcdf01c55d078d9d28f51e31f6ff.jpg","text":"TemporaryFile(/tmp/multipartBody6327936309606359645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160933145,"filename":"image_20042025_13_59_54_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253595","file1":"1352253565","file0":"1352253533","file4":"1352253647","file5":"1352253673","file3":"1352253622"},"map_files_photo_id_array":[{"photo_id":"1352253673","filename":"file5"},{"photo_id":"1352253595","filename":"file2"},{"photo_id":"1352253647","filename":"file4"},{"photo_id":"1352253565","filename":"file1"},{"photo_id":"1352253533","filename":"file0"},{"photo_id":"1352253622","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352253673":["hashtag1","hashtag2"]},{"1352253595":["hashtag1","hashtag2"]},{"1352253565":["hashtag1","hashtag2"]},{"1352253622":["hashtag1","hashtag2"]},{"1352253647":["hashtag1","hashtag2"]},{"1352253533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352253673, 1352253595, 1352253565, 1352253622, 1352253647, 1352253533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7434720993042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:55:33.077648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_15_10425.jpg', '/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_25_10365.jpg', '/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_35_9341.jpg', '/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_45_10419.jpg', '/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_56_10369.jpg', '/home/pi/Desktop/images/20042025/14/02/image_20042025_14_03_05_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_15_10425.jpg
/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_25_10365.jpg
/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_35_9341.jpg
/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_45_10419.jpg
/home/pi/Desktop/images/20042025/14/02/image_20042025_14_02_56_10369.jpg
/home/pi/Desktop/images/20042025/14/02/image_20042025_14_03_05_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253886","1352253889","1352253885","1352253888","1352253887","1352253890"],"photo_ids_order":["1352253885","1352253886","1352253887","1352253888","1352253889","1352253890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68e49a80c9967bd3c3f56399b07133a0.jpg","text":"TemporaryFile(/tmp/multipartBody7179389880170213732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160993556,"filename":"image_20042025_14_02_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1339db3c089b1cb5118f1566a2bd044.jpg","text":"TemporaryFile(/tmp/multipartBody7473287956597446708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160993556,"filename":"image_20042025_14_02_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2636b710beaa831ad4bcf989c794e6f7.jpg","text":"TemporaryFile(/tmp/multipartBody8001126388622365137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160993556,"filename":"image_20042025_14_02_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d49ca257727ba5bccd1b71141212009d.jpg","text":"TemporaryFile(/tmp/multipartBody7957129911186489788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160993556,"filename":"image_20042025_14_02_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adabf38b967abb2dddbcf6748059d21c.jpg","text":"TemporaryFile(/tmp/multipartBody1328694272332811012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160993556,"filename":"image_20042025_14_02_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3494758840d635da2bbdbbf6933d073f.jpg","text":"TemporaryFile(/tmp/multipartBody8470196172262579597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745160993556,"filename":"image_20042025_14_03_05_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253887","file1":"1352253886","file0":"1352253885","file4":"1352253889","file5":"1352253890","file3":"1352253888"},"map_files_photo_id_array":[{"photo_id":"1352253890","filename":"file5"},{"photo_id":"1352253887","filename":"file2"},{"photo_id":"1352253889","filename":"file4"},{"photo_id":"1352253886","filename":"file1"},{"photo_id":"1352253885","filename":"file0"},{"photo_id":"1352253888","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352253886":["hashtag1","hashtag2"]},{"1352253889":["hashtag1","hashtag2"]},{"1352253885":["hashtag1","hashtag2"]},{"1352253888":["hashtag1","hashtag2"]},{"1352253887":["hashtag1","hashtag2"]},{"1352253890":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352253886, 1352253889, 1352253885, 1352253888, 1352253887, 1352253890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.359184980392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:56:32.236967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/03/image_20042025_14_03_25_9347.jpg', '/home/pi/Desktop/images/20042025/14/03/image_20042025_14_03_35_10411.jpg', '/home/pi/Desktop/images/20042025/14/03/image_20042025_14_03_46_10392.jpg', '/home/pi/Desktop/images/20042025/14/03/image_20042025_14_04_05_10456.jpg', '/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_15_9329.jpg', '/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_36_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/03/image_20042025_14_03_25_9347.jpg
/home/pi/Desktop/images/20042025/14/03/image_20042025_14_03_35_10411.jpg
/home/pi/Desktop/images/20042025/14/03/image_20042025_14_03_46_10392.jpg
/home/pi/Desktop/images/20042025/14/03/image_20042025_14_04_05_10456.jpg
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_15_9329.jpg
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_36_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253911","1352253905","1352253904","1352253913","1352253907","1352253909"],"photo_ids_order":["1352253904","1352253905","1352253907","1352253909","1352253911","1352253913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55a730c90a007728e4dd4abb86f1c907.jpg","text":"TemporaryFile(/tmp/multipartBody478822754791170846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161052712,"filename":"image_20042025_14_04_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec2b895349951240629534b8043e1b97.jpg","text":"TemporaryFile(/tmp/multipartBody7878065773077565803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161052712,"filename":"image_20042025_14_03_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da0d22eda97b60cc9a15ed2598b74924.jpg","text":"TemporaryFile(/tmp/multipartBody6923297217818254653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161052712,"filename":"image_20042025_14_03_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7ce89a630b780a34b58682b070eca33.jpg","text":"TemporaryFile(/tmp/multipartBody3211095600001740633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161052712,"filename":"image_20042025_14_04_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c47a8c2c0251b7c35caa53a34c1c630.jpg","text":"TemporaryFile(/tmp/multipartBody1556876395984831505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161052712,"filename":"image_20042025_14_03_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9c049035770cdedeb2ab01611726326.jpg","text":"TemporaryFile(/tmp/multipartBody7660530499819067284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161052712,"filename":"image_20042025_14_04_05_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253907","file1":"1352253905","file0":"1352253904","file4":"1352253911","file5":"1352253913","file3":"1352253909"},"map_files_photo_id_array":[{"photo_id":"1352253913","filename":"file5"},{"photo_id":"1352253907","filename":"file2"},{"photo_id":"1352253911","filename":"file4"},{"photo_id":"1352253905","filename":"file1"},{"photo_id":"1352253904","filename":"file0"},{"photo_id":"1352253909","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352253911":["hashtag1","hashtag2"]},{"1352253905":["hashtag1","hashtag2"]},{"1352253904":["hashtag1","hashtag2"]},{"1352253913":["hashtag1","hashtag2"]},{"1352253907":["hashtag1","hashtag2"]},{"1352253909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352253911, 1352253905, 1352253904, 1352253913, 1352253907, 1352253909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.535595893859863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 16:57:32.400130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_45_9379.jpg', '/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_55_10387.jpg', '/home/pi/Desktop/images/20042025/14/04/image_20042025_14_05_05_9336.jpg', '/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_15_10369.jpg', '/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_25_10369.jpg', '/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_45_9379.jpg
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_55_10387.jpg
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_05_05_9336.jpg
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_15_10369.jpg
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_25_10369.jpg
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 16:59:04.173499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_45_9379.jpg', '/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_55_10387.jpg', '/home/pi/Desktop/images/20042025/14/04/image_20042025_14_05_05_9336.jpg', '/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_15_10369.jpg', '/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_25_10369.jpg', '/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_45_9379.jpg
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_04_55_10387.jpg
/home/pi/Desktop/images/20042025/14/04/image_20042025_14_05_05_9336.jpg
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_15_10369.jpg
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_25_10369.jpg
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_45_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254435","1352254449","1352254445","1352254433","1352254442","1352254439"],"photo_ids_order":["1352254433","1352254435","1352254439","1352254442","1352254445","1352254449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15ecc17690b278115a5ed9780b7231c0.jpg","text":"TemporaryFile(/tmp/multipartBody3569094808998403200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161204721,"filename":"image_20042025_14_04_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03d267a37c27f67877d482f04b63da0a.jpg","text":"TemporaryFile(/tmp/multipartBody1010486047279004661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161204721,"filename":"image_20042025_14_05_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/579374bef3d4c056f8d6ea6f8314cec6.jpg","text":"TemporaryFile(/tmp/multipartBody1892484165572789666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161204721,"filename":"image_20042025_14_05_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09897ac254218a8e74b7ca793fc0c928.jpg","text":"TemporaryFile(/tmp/multipartBody7711816631052020359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161204721,"filename":"image_20042025_14_04_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cdf8e4de3ccd9b638b9ab4390d76e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody4287112122365537165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161204721,"filename":"image_20042025_14_05_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/498633f326de25cecf182cba2e55d5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8959479220055840989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161204721,"filename":"image_20042025_14_05_05_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254439","file1":"1352254435","file0":"1352254433","file4":"1352254445","file5":"1352254449","file3":"1352254442"},"map_files_photo_id_array":[{"photo_id":"1352254449","filename":"file5"},{"photo_id":"1352254439","filename":"file2"},{"photo_id":"1352254445","filename":"file4"},{"photo_id":"1352254435","filename":"file1"},{"photo_id":"1352254433","filename":"file0"},{"photo_id":"1352254442","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352254435":["hashtag1","hashtag2"]},{"1352254449":["hashtag1","hashtag2"]},{"1352254445":["hashtag1","hashtag2"]},{"1352254433":["hashtag1","hashtag2"]},{"1352254442":["hashtag1","hashtag2"]},{"1352254439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352254435, 1352254449, 1352254445, 1352254433, 1352254442, 1352254439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04477334022522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 16:59:43.009361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_56_10428.jpg', '/home/pi/Desktop/images/20042025/14/05/image_20042025_14_06_05_9470.jpg', '/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_15_10359.jpg', '/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_25_9409.jpg', '/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_35_10368.jpg', '/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_46_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_05_56_10428.jpg
/home/pi/Desktop/images/20042025/14/05/image_20042025_14_06_05_9470.jpg
/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_15_10359.jpg
/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_25_9409.jpg
/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_35_10368.jpg
/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_46_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254468","1352254462","1352254459","1352254464","1352254466","1352254460"],"photo_ids_order":["1352254459","1352254460","1352254462","1352254464","1352254466","1352254468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31b3a4532e0ebec72cdc91d88db094ba.jpg","text":"TemporaryFile(/tmp/multipartBody477568144827575696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161243475,"filename":"image_20042025_14_06_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ea13baf1758f3c0d6ac809e9291f3e7.jpg","text":"TemporaryFile(/tmp/multipartBody2474387100548425595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161243475,"filename":"image_20042025_14_06_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b656d212a612976830c24cdcc6add5a2.jpg","text":"TemporaryFile(/tmp/multipartBody4473960422960617673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161243475,"filename":"image_20042025_14_05_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6ba671169c3a3312ec7a06b93664d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8319689098271144312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161243475,"filename":"image_20042025_14_06_25_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a42be1cd7516ee750bd310a95ed6113.jpg","text":"TemporaryFile(/tmp/multipartBody1871323998134300277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161243475,"filename":"image_20042025_14_06_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/522f482b2b589d8ebec346db08eb6a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3881371995659057010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161243475,"filename":"image_20042025_14_06_05_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254462","file1":"1352254460","file0":"1352254459","file4":"1352254466","file5":"1352254468","file3":"1352254464"},"map_files_photo_id_array":[{"photo_id":"1352254468","filename":"file5"},{"photo_id":"1352254462","filename":"file2"},{"photo_id":"1352254466","filename":"file4"},{"photo_id":"1352254460","filename":"file1"},{"photo_id":"1352254459","filename":"file0"},{"photo_id":"1352254464","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352254468":["hashtag1","hashtag2"]},{"1352254462":["hashtag1","hashtag2"]},{"1352254459":["hashtag1","hashtag2"]},{"1352254464":["hashtag1","hashtag2"]},{"1352254466":["hashtag1","hashtag2"]},{"1352254460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352254468, 1352254462, 1352254459, 1352254464, 1352254466, 1352254460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.298144340515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:00:32.137264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_55_9409.jpg', '/home/pi/Desktop/images/20042025/14/06/image_20042025_14_07_05_10374.jpg', '/home/pi/Desktop/images/20042025/14/07/image_20042025_14_07_35_10427.jpg', '/home/pi/Desktop/images/20042025/14/07/image_20042025_14_07_45_9351.jpg', '/home/pi/Desktop/images/20042025/14/07/image_20042025_14_08_06_10355.jpg', '/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_15_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/06/image_20042025_14_06_55_9409.jpg
/home/pi/Desktop/images/20042025/14/06/image_20042025_14_07_05_10374.jpg
/home/pi/Desktop/images/20042025/14/07/image_20042025_14_07_35_10427.jpg
/home/pi/Desktop/images/20042025/14/07/image_20042025_14_07_45_9351.jpg
/home/pi/Desktop/images/20042025/14/07/image_20042025_14_08_06_10355.jpg
/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_15_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254660","1352254561","1352254689","1352254586","1352254628","1352254529"],"photo_ids_order":["1352254529","1352254561","1352254586","1352254628","1352254660","1352254689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40e719cb683ffa4bb6b0928415f3246a.jpg","text":"TemporaryFile(/tmp/multipartBody8223088147705757234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161292614,"filename":"image_20042025_14_08_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/594a0ff7b719aa262722413779b9076b.jpg","text":"TemporaryFile(/tmp/multipartBody8561580219453106807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161292614,"filename":"image_20042025_14_07_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/908280d864fdab388e7a6305091dd831.jpg","text":"TemporaryFile(/tmp/multipartBody2629672657982912879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161292614,"filename":"image_20042025_14_08_15_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d26e925883888c6ec5b748a0e66f786.jpg","text":"TemporaryFile(/tmp/multipartBody2863651109212145447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161292614,"filename":"image_20042025_14_07_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95341b538d3e8eaa56343c888cb26634.jpg","text":"TemporaryFile(/tmp/multipartBody7607816681401793098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161292614,"filename":"image_20042025_14_07_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2585c706c30947e599b0fa2223221fe2.jpg","text":"TemporaryFile(/tmp/multipartBody7431832380567391075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161292614,"filename":"image_20042025_14_06_55_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254586","file1":"1352254561","file0":"1352254529","file4":"1352254660","file5":"1352254689","file3":"1352254628"},"map_files_photo_id_array":[{"photo_id":"1352254689","filename":"file5"},{"photo_id":"1352254586","filename":"file2"},{"photo_id":"1352254660","filename":"file4"},{"photo_id":"1352254561","filename":"file1"},{"photo_id":"1352254529","filename":"file0"},{"photo_id":"1352254628","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352254660":["hashtag1","hashtag2"]},{"1352254561":["hashtag1","hashtag2"]},{"1352254689":["hashtag1","hashtag2"]},{"1352254586":["hashtag1","hashtag2"]},{"1352254628":["hashtag1","hashtag2"]},{"1352254529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352254660, 1352254561, 1352254689, 1352254586, 1352254628, 1352254529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1539466381073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:01:32.358549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_25_10363.jpg', '/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_35_9363.jpg', '/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_45_10354.jpg', '/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_55_10362.jpg', '/home/pi/Desktop/images/20042025/14/08/image_20042025_14_09_05_9348.jpg', '/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_15_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_25_10363.jpg
/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_35_9363.jpg
/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_45_10354.jpg
/home/pi/Desktop/images/20042025/14/08/image_20042025_14_08_55_10362.jpg
/home/pi/Desktop/images/20042025/14/08/image_20042025_14_09_05_9348.jpg
/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_15_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254984","1352255035","1352255061","1352254953","1352255009","1352254928"],"photo_ids_order":["1352254928","1352254953","1352254984","1352255009","1352255035","1352255061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5019da1bbb9e62f2884777891efbf667.jpg","text":"TemporaryFile(/tmp/multipartBody4327767848710249240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161352829,"filename":"image_20042025_14_08_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b03c492092b6706f9a41ead240032ee.jpg","text":"TemporaryFile(/tmp/multipartBody837387999939439828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161352829,"filename":"image_20042025_14_09_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80ee6b1ac1d870f22ca23c22927c911d.jpg","text":"TemporaryFile(/tmp/multipartBody8613857746773664083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161352829,"filename":"image_20042025_14_09_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1402998ac8577229f5f6e1523676c25.jpg","text":"TemporaryFile(/tmp/multipartBody5552876801271066586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161352829,"filename":"image_20042025_14_08_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2e1dbb08a55cfebd19881dcffb74db7.jpg","text":"TemporaryFile(/tmp/multipartBody7903466657420045654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161352829,"filename":"image_20042025_14_08_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c41561cdad0cae58b2d24d451082b316.jpg","text":"TemporaryFile(/tmp/multipartBody4797079631568063867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161352829,"filename":"image_20042025_14_08_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254984","file1":"1352254953","file0":"1352254928","file4":"1352255035","file5":"1352255061","file3":"1352255009"},"map_files_photo_id_array":[{"photo_id":"1352255061","filename":"file5"},{"photo_id":"1352254984","filename":"file2"},{"photo_id":"1352255035","filename":"file4"},{"photo_id":"1352254953","filename":"file1"},{"photo_id":"1352254928","filename":"file0"},{"photo_id":"1352255009","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352254984":["hashtag1","hashtag2"]},{"1352255035":["hashtag1","hashtag2"]},{"1352255061":["hashtag1","hashtag2"]},{"1352254953":["hashtag1","hashtag2"]},{"1352255009":["hashtag1","hashtag2"]},{"1352254928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352254984, 1352255035, 1352255061, 1352254953, 1352255009, 1352254928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.871692895889282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:02:32.623159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_26_10353.jpg', '/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_35_9469.jpg', '/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_45_10371.jpg', '/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_55_9406.jpg', '/home/pi/Desktop/images/20042025/14/09/image_20042025_14_10_05_10351.jpg', '/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_15_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_26_10353.jpg
/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_35_9469.jpg
/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_45_10371.jpg
/home/pi/Desktop/images/20042025/14/09/image_20042025_14_09_55_9406.jpg
/home/pi/Desktop/images/20042025/14/09/image_20042025_14_10_05_10351.jpg
/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_15_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255359","1352255466","1352255328","1352255412","1352255438","1352255386"],"photo_ids_order":["1352255328","1352255359","1352255386","1352255412","1352255438","1352255466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/211eb3b43713b7729ec882cb2ea3e33a.jpg","text":"TemporaryFile(/tmp/multipartBody210924005391117593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161413077,"filename":"image_20042025_14_09_35_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9f3cdb634c6f50d3b4b5b243c7f1774.jpg","text":"TemporaryFile(/tmp/multipartBody4135747643666423053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161413077,"filename":"image_20042025_14_10_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba6dee4b9bedec468839f9892c8e5b70.jpg","text":"TemporaryFile(/tmp/multipartBody5036906576011734436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161413077,"filename":"image_20042025_14_09_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4c1cc797562c03a932112aadc02ac16.jpg","text":"TemporaryFile(/tmp/multipartBody1151843588943441882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161413077,"filename":"image_20042025_14_09_55_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80137ae9d94148a576d8b3c645123721.jpg","text":"TemporaryFile(/tmp/multipartBody107102536602635644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161413077,"filename":"image_20042025_14_10_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bde51c4c7f8460276fbb8b0ea7e16ddc.jpg","text":"TemporaryFile(/tmp/multipartBody1979902671116371295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161413077,"filename":"image_20042025_14_09_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255386","file1":"1352255359","file0":"1352255328","file4":"1352255438","file5":"1352255466","file3":"1352255412"},"map_files_photo_id_array":[{"photo_id":"1352255466","filename":"file5"},{"photo_id":"1352255386","filename":"file2"},{"photo_id":"1352255438","filename":"file4"},{"photo_id":"1352255359","filename":"file1"},{"photo_id":"1352255328","filename":"file0"},{"photo_id":"1352255412","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255359":["hashtag1","hashtag2"]},{"1352255466":["hashtag1","hashtag2"]},{"1352255328":["hashtag1","hashtag2"]},{"1352255412":["hashtag1","hashtag2"]},{"1352255438":["hashtag1","hashtag2"]},{"1352255386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255359, 1352255466, 1352255328, 1352255412, 1352255438, 1352255386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76582908630371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:03:32.859821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_25_9466.jpg', '/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_35_10353.jpg', '/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_45_9343.jpg', '/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_55_10375.jpg', '/home/pi/Desktop/images/20042025/14/10/image_20042025_14_11_05_10374.jpg', '/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_15_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_25_9466.jpg
/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_35_10353.jpg
/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_45_9343.jpg
/home/pi/Desktop/images/20042025/14/10/image_20042025_14_10_55_10375.jpg
/home/pi/Desktop/images/20042025/14/10/image_20042025_14_11_05_10374.jpg
/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_15_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255503","1352255499","1352255492","1352255495","1352255497","1352255501"],"photo_ids_order":["1352255492","1352255495","1352255497","1352255499","1352255501","1352255503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e79a5a535168270607f4fcbd9cf63cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1443642634698347872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161473328,"filename":"image_20042025_14_11_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd20c697e3565107b7b3496b21d29286.jpg","text":"TemporaryFile(/tmp/multipartBody7388696058265755265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161473328,"filename":"image_20042025_14_10_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b5b8eab0ea9b30e5f986347f97945c9.jpg","text":"TemporaryFile(/tmp/multipartBody2381528928607612661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161473328,"filename":"image_20042025_14_10_25_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76abfdcaf6d55e7e789f30682e69013e.jpg","text":"TemporaryFile(/tmp/multipartBody4020499882454786477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161473328,"filename":"image_20042025_14_10_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d836c76f3dfb9a95ebf71bfd1a0da4a.jpg","text":"TemporaryFile(/tmp/multipartBody7538020143301863449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161473328,"filename":"image_20042025_14_10_45_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38444714d9d7f1e87abc3870cdd958b8.jpg","text":"TemporaryFile(/tmp/multipartBody8628428186374801212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161473328,"filename":"image_20042025_14_11_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255497","file1":"1352255495","file0":"1352255492","file4":"1352255501","file5":"1352255503","file3":"1352255499"},"map_files_photo_id_array":[{"photo_id":"1352255503","filename":"file5"},{"photo_id":"1352255497","filename":"file2"},{"photo_id":"1352255501","filename":"file4"},{"photo_id":"1352255495","filename":"file1"},{"photo_id":"1352255492","filename":"file0"},{"photo_id":"1352255499","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255503":["hashtag1","hashtag2"]},{"1352255499":["hashtag1","hashtag2"]},{"1352255492":["hashtag1","hashtag2"]},{"1352255495":["hashtag1","hashtag2"]},{"1352255497":["hashtag1","hashtag2"]},{"1352255501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255503, 1352255499, 1352255492, 1352255495, 1352255497, 1352255501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16882395744324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:04:33.110957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_25_10436.jpg', '/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_36_10401.jpg', '/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_55_10356.jpg', '/home/pi/Desktop/images/20042025/14/11/image_20042025_14_12_05_9420.jpg', '/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_15_10430.jpg', '/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_25_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_25_10436.jpg
/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_36_10401.jpg
/home/pi/Desktop/images/20042025/14/11/image_20042025_14_11_55_10356.jpg
/home/pi/Desktop/images/20042025/14/11/image_20042025_14_12_05_9420.jpg
/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_15_10430.jpg
/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_25_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255749","1352255694","1352255682","1352255631","1352255720","1352255698"],"photo_ids_order":["1352255631","1352255682","1352255694","1352255698","1352255720","1352255749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88d7a5eb46c4c2faa80884cb0a24ab48.jpg","text":"TemporaryFile(/tmp/multipartBody2468047229716118812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161533592,"filename":"image_20042025_14_12_25_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5382b9fb3e590b42a5dbe49ef097ec05.jpg","text":"TemporaryFile(/tmp/multipartBody7759798734320462399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161533592,"filename":"image_20042025_14_11_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc5d289244b1282f5195e5b579433443.jpg","text":"TemporaryFile(/tmp/multipartBody5819462016597855386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161533592,"filename":"image_20042025_14_11_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93ddf87608897da24e2d8e729920a866.jpg","text":"TemporaryFile(/tmp/multipartBody1887658844278070798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161533592,"filename":"image_20042025_14_11_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/562464c33bd4c7a8f7a00a0396c10922.jpg","text":"TemporaryFile(/tmp/multipartBody1981221117715432231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161533592,"filename":"image_20042025_14_12_15_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/655490abaec337b405d6b3daabc0a445.jpg","text":"TemporaryFile(/tmp/multipartBody9173058310034027470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161533592,"filename":"image_20042025_14_12_05_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255694","file1":"1352255682","file0":"1352255631","file4":"1352255720","file5":"1352255749","file3":"1352255698"},"map_files_photo_id_array":[{"photo_id":"1352255749","filename":"file5"},{"photo_id":"1352255694","filename":"file2"},{"photo_id":"1352255720","filename":"file4"},{"photo_id":"1352255682","filename":"file1"},{"photo_id":"1352255631","filename":"file0"},{"photo_id":"1352255698","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255749":["hashtag1","hashtag2"]},{"1352255694":["hashtag1","hashtag2"]},{"1352255682":["hashtag1","hashtag2"]},{"1352255631":["hashtag1","hashtag2"]},{"1352255720":["hashtag1","hashtag2"]},{"1352255698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255749, 1352255694, 1352255682, 1352255631, 1352255720, 1352255698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.61830139160156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:05:32.482768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_35_10381.jpg', '/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_45_10426.jpg', '/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_55_9359.jpg', '/home/pi/Desktop/images/20042025/14/12/image_20042025_14_13_05_10416.jpg', '/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_15_9404.jpg', '/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_35_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_35_10381.jpg
/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_45_10426.jpg
/home/pi/Desktop/images/20042025/14/12/image_20042025_14_12_55_9359.jpg
/home/pi/Desktop/images/20042025/14/12/image_20042025_14_13_05_10416.jpg
/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_15_9404.jpg
/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_35_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255809","1352255805","1352255795","1352255802","1352255816","1352255813"],"photo_ids_order":["1352255795","1352255802","1352255805","1352255809","1352255813","1352255816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98abfa8478e894e4b786e066f801e7e6.jpg","text":"TemporaryFile(/tmp/multipartBody6586538120593475758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161592944,"filename":"image_20042025_14_13_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4957815003132987970794ef3f72d6a3.jpg","text":"TemporaryFile(/tmp/multipartBody5014195223032652172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161592944,"filename":"image_20042025_14_12_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e320781153ef1d1a47b22007d2a8515a.jpg","text":"TemporaryFile(/tmp/multipartBody5612972786474951050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161592944,"filename":"image_20042025_14_12_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70a684fcb1a44485b49306a0ef911578.jpg","text":"TemporaryFile(/tmp/multipartBody2315130133078773046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161592944,"filename":"image_20042025_14_12_45_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e3fad2a00334e08e5423f397f455361.jpg","text":"TemporaryFile(/tmp/multipartBody8707725732743026054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161592944,"filename":"image_20042025_14_13_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2307a538e402deacee2571eefd920bd.jpg","text":"TemporaryFile(/tmp/multipartBody7133693958895577970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161592944,"filename":"image_20042025_14_13_15_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255805","file1":"1352255802","file0":"1352255795","file4":"1352255813","file5":"1352255816","file3":"1352255809"},"map_files_photo_id_array":[{"photo_id":"1352255816","filename":"file5"},{"photo_id":"1352255805","filename":"file2"},{"photo_id":"1352255813","filename":"file4"},{"photo_id":"1352255802","filename":"file1"},{"photo_id":"1352255795","filename":"file0"},{"photo_id":"1352255809","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255809":["hashtag1","hashtag2"]},{"1352255805":["hashtag1","hashtag2"]},{"1352255795":["hashtag1","hashtag2"]},{"1352255802":["hashtag1","hashtag2"]},{"1352255816":["hashtag1","hashtag2"]},{"1352255813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255809, 1352255805, 1352255795, 1352255802, 1352255816, 1352255813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.128788709640503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:06:32.627860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_45_9466.jpg', '/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_55_10384.jpg', '/home/pi/Desktop/images/20042025/14/13/image_20042025_14_14_05_9363.jpg', '/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_15_10442.jpg', '/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_26_10442.jpg', '/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_35_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_45_9466.jpg
/home/pi/Desktop/images/20042025/14/13/image_20042025_14_13_55_10384.jpg
/home/pi/Desktop/images/20042025/14/13/image_20042025_14_14_05_9363.jpg
/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_15_10442.jpg
/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_26_10442.jpg
/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_35_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255841","1352255834","1352255837","1352255839","1352255830","1352255824"],"photo_ids_order":["1352255824","1352255830","1352255834","1352255837","1352255839","1352255841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9821012561c68b47accc6ebac4f3d43c.jpg","text":"TemporaryFile(/tmp/multipartBody6482226798048192769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161653087,"filename":"image_20042025_14_14_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7f83be047a51248ec4e38241d4bae2f.jpg","text":"TemporaryFile(/tmp/multipartBody1026613353578481041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161653087,"filename":"image_20042025_14_14_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c88acd58eb872787774ebdfad72d7727.jpg","text":"TemporaryFile(/tmp/multipartBody5830037579915179691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161653087,"filename":"image_20042025_14_14_15_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6feef94254ffd6b32d1178e0a2fd270.jpg","text":"TemporaryFile(/tmp/multipartBody6708977428544713377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161653087,"filename":"image_20042025_14_14_26_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/451673a6c38d433c8cc063e342dd412d.jpg","text":"TemporaryFile(/tmp/multipartBody7971131403059108567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161653087,"filename":"image_20042025_14_13_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b0f1854e737e310cacf076d689c000e.jpg","text":"TemporaryFile(/tmp/multipartBody59087994127339684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161653087,"filename":"image_20042025_14_13_45_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255834","file1":"1352255830","file0":"1352255824","file4":"1352255839","file5":"1352255841","file3":"1352255837"},"map_files_photo_id_array":[{"photo_id":"1352255841","filename":"file5"},{"photo_id":"1352255834","filename":"file2"},{"photo_id":"1352255839","filename":"file4"},{"photo_id":"1352255830","filename":"file1"},{"photo_id":"1352255824","filename":"file0"},{"photo_id":"1352255837","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255841":["hashtag1","hashtag2"]},{"1352255834":["hashtag1","hashtag2"]},{"1352255837":["hashtag1","hashtag2"]},{"1352255839":["hashtag1","hashtag2"]},{"1352255830":["hashtag1","hashtag2"]},{"1352255824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255841, 1352255834, 1352255837, 1352255839, 1352255830, 1352255824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.189735889434814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:07:32.700551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_45_10458.jpg', '/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_55_9428.jpg', '/home/pi/Desktop/images/20042025/14/14/image_20042025_14_15_05_10413.jpg', '/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_15_9391.jpg', '/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_25_10453.jpg', '/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_35_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_45_10458.jpg
/home/pi/Desktop/images/20042025/14/14/image_20042025_14_14_55_9428.jpg
/home/pi/Desktop/images/20042025/14/14/image_20042025_14_15_05_10413.jpg
/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_15_9391.jpg
/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_25_10453.jpg
/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_35_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255854","1352255856","1352255865","1352255859","1352255861","1352255863"],"photo_ids_order":["1352255854","1352255856","1352255859","1352255861","1352255863","1352255865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b41ca00400e73fd7198307b317f674a3.jpg","text":"TemporaryFile(/tmp/multipartBody2327985384295284777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161713180,"filename":"image_20042025_14_14_45_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79531ea01f00b191879fb8d9fdc11c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7280577098002913976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161713180,"filename":"image_20042025_14_14_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c610cee6ad0028d87262d5d8d3c36fe2.jpg","text":"TemporaryFile(/tmp/multipartBody4126978926897968499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161713180,"filename":"image_20042025_14_15_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fce79aa0ffa113062e6aecad9066ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8791115206629418458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161713180,"filename":"image_20042025_14_15_05_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b1655cca306fe5f3b1eb8a6372f7715.jpg","text":"TemporaryFile(/tmp/multipartBody5457923870482122174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161713180,"filename":"image_20042025_14_15_15_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f777b3e8fe63f7b4daea6c8e116676d.jpg","text":"TemporaryFile(/tmp/multipartBody7002442987919512325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161713180,"filename":"image_20042025_14_15_25_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255859","file1":"1352255856","file0":"1352255854","file4":"1352255863","file5":"1352255865","file3":"1352255861"},"map_files_photo_id_array":[{"photo_id":"1352255865","filename":"file5"},{"photo_id":"1352255859","filename":"file2"},{"photo_id":"1352255863","filename":"file4"},{"photo_id":"1352255856","filename":"file1"},{"photo_id":"1352255854","filename":"file0"},{"photo_id":"1352255861","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255854":["hashtag1","hashtag2"]},{"1352255856":["hashtag1","hashtag2"]},{"1352255865":["hashtag1","hashtag2"]},{"1352255859":["hashtag1","hashtag2"]},{"1352255861":["hashtag1","hashtag2"]},{"1352255863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255854, 1352255856, 1352255865, 1352255859, 1352255861, 1352255863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.987486839294434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:08:32.986544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_45_10452.jpg', '/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_55_10349.jpg', '/home/pi/Desktop/images/20042025/14/15/image_20042025_14_16_05_9360.jpg', '/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_15_10363.jpg', '/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_26_10390.jpg', '/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_35_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_45_10452.jpg
/home/pi/Desktop/images/20042025/14/15/image_20042025_14_15_55_10349.jpg
/home/pi/Desktop/images/20042025/14/15/image_20042025_14_16_05_9360.jpg
/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_15_10363.jpg
/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_26_10390.jpg
/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_35_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255886","1352255889","1352255880","1352255883","1352255891","1352255893"],"photo_ids_order":["1352255880","1352255883","1352255886","1352255889","1352255891","1352255893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e45d83a59ea76c9789e91227251b74a.jpg","text":"TemporaryFile(/tmp/multipartBody3050894315147203839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161773446,"filename":"image_20042025_14_16_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f573992f80e5c8ea1a1b5f86ddf3eaa2.jpg","text":"TemporaryFile(/tmp/multipartBody6287245980277772155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161773446,"filename":"image_20042025_14_16_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9669c4ef27e6022bdbf91ce11d67f07f.jpg","text":"TemporaryFile(/tmp/multipartBody727935442430809758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161773446,"filename":"image_20042025_14_15_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30e5603a186e40b68378e7c4b1298593.jpg","text":"TemporaryFile(/tmp/multipartBody8788402328875957976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161773446,"filename":"image_20042025_14_15_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/746d9eeae162f5e746ceeb8eab99bfec.jpg","text":"TemporaryFile(/tmp/multipartBody7420354174565663392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161773446,"filename":"image_20042025_14_16_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26ec6980904ff1d6dd552dd6231796c8.jpg","text":"TemporaryFile(/tmp/multipartBody9173487147216930649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161773446,"filename":"image_20042025_14_16_35_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255886","file1":"1352255883","file0":"1352255880","file4":"1352255891","file5":"1352255893","file3":"1352255889"},"map_files_photo_id_array":[{"photo_id":"1352255893","filename":"file5"},{"photo_id":"1352255886","filename":"file2"},{"photo_id":"1352255891","filename":"file4"},{"photo_id":"1352255883","filename":"file1"},{"photo_id":"1352255880","filename":"file0"},{"photo_id":"1352255889","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255886":["hashtag1","hashtag2"]},{"1352255889":["hashtag1","hashtag2"]},{"1352255880":["hashtag1","hashtag2"]},{"1352255883":["hashtag1","hashtag2"]},{"1352255891":["hashtag1","hashtag2"]},{"1352255893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255886, 1352255889, 1352255880, 1352255883, 1352255891, 1352255893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0319402217865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:09:32.197659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_55_9359.jpg', '/home/pi/Desktop/images/20042025/14/16/image_20042025_14_17_05_10470.jpg', '/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_16_10388.jpg', '/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_25_9455.jpg', '/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_35_10443.jpg', '/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_45_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/16/image_20042025_14_16_55_9359.jpg
/home/pi/Desktop/images/20042025/14/16/image_20042025_14_17_05_10470.jpg
/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_16_10388.jpg
/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_25_9455.jpg
/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_35_10443.jpg
/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_45_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255905","1352255914","1352255916","1352255919","1352255909","1352255918"],"photo_ids_order":["1352255905","1352255909","1352255914","1352255916","1352255918","1352255919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51c029b35ac7b9a1c6c040fc094c6763.jpg","text":"TemporaryFile(/tmp/multipartBody7236072453695269522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161832661,"filename":"image_20042025_14_16_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f572f734af5bbc0dbfa57b8b828b71c.jpg","text":"TemporaryFile(/tmp/multipartBody6130242467340089209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161832661,"filename":"image_20042025_14_17_16_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41916d0debd528cb18849bbf16b62b98.jpg","text":"TemporaryFile(/tmp/multipartBody2386903675188227674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161832661,"filename":"image_20042025_14_17_25_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45b4e7b1d3c65240676d05c3879ccaf4.jpg","text":"TemporaryFile(/tmp/multipartBody4614988216230479509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161832661,"filename":"image_20042025_14_17_45_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0aac2756d3198ee8c08fe4aab946cf4c.jpg","text":"TemporaryFile(/tmp/multipartBody3899557333177348650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161832661,"filename":"image_20042025_14_17_05_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c041a3813c45df16d1692b26858055c.jpg","text":"TemporaryFile(/tmp/multipartBody2181113759773195714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161832661,"filename":"image_20042025_14_17_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255914","file1":"1352255909","file0":"1352255905","file4":"1352255918","file5":"1352255919","file3":"1352255916"},"map_files_photo_id_array":[{"photo_id":"1352255919","filename":"file5"},{"photo_id":"1352255914","filename":"file2"},{"photo_id":"1352255918","filename":"file4"},{"photo_id":"1352255909","filename":"file1"},{"photo_id":"1352255905","filename":"file0"},{"photo_id":"1352255916","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255905":["hashtag1","hashtag2"]},{"1352255914":["hashtag1","hashtag2"]},{"1352255916":["hashtag1","hashtag2"]},{"1352255919":["hashtag1","hashtag2"]},{"1352255909":["hashtag1","hashtag2"]},{"1352255918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255905, 1352255914, 1352255916, 1352255919, 1352255909, 1352255918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14438533782959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:10:32.371360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_55_10353.jpg', '/home/pi/Desktop/images/20042025/14/17/image_20042025_14_18_05_9351.jpg', '/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_15_10456.jpg', '/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_26_10422.jpg', '/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_35_9450.jpg', '/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_45_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/17/image_20042025_14_17_55_10353.jpg
/home/pi/Desktop/images/20042025/14/17/image_20042025_14_18_05_9351.jpg
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_15_10456.jpg
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_26_10422.jpg
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_35_9450.jpg
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_45_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255935","1352255940","1352255943","1352255937","1352255931","1352255933"],"photo_ids_order":["1352255931","1352255933","1352255935","1352255937","1352255940","1352255943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/574932bfeeee27ece3348fb132b94cb7.jpg","text":"TemporaryFile(/tmp/multipartBody521371933332645089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161892842,"filename":"image_20042025_14_18_15_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d52c3d6873047af8e861b5b23f83ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2102476858393299923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161892842,"filename":"image_20042025_14_18_35_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f1f18efd9d14f293cfdee58e915075e.jpg","text":"TemporaryFile(/tmp/multipartBody109491282425545907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161892842,"filename":"image_20042025_14_18_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/436e75f69d5634ed4aab3e9dd03bd4d7.jpg","text":"TemporaryFile(/tmp/multipartBody5488542554804131951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161892842,"filename":"image_20042025_14_18_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/861efa75308cab918797c19e2f9e8857.jpg","text":"TemporaryFile(/tmp/multipartBody2497830709831274450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161892842,"filename":"image_20042025_14_17_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d82e54ce859538ce723407e5ab6e561.jpg","text":"TemporaryFile(/tmp/multipartBody1215022972117101276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161892842,"filename":"image_20042025_14_18_05_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255935","file1":"1352255933","file0":"1352255931","file4":"1352255940","file5":"1352255943","file3":"1352255937"},"map_files_photo_id_array":[{"photo_id":"1352255943","filename":"file5"},{"photo_id":"1352255935","filename":"file2"},{"photo_id":"1352255940","filename":"file4"},{"photo_id":"1352255933","filename":"file1"},{"photo_id":"1352255931","filename":"file0"},{"photo_id":"1352255937","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255935":["hashtag1","hashtag2"]},{"1352255940":["hashtag1","hashtag2"]},{"1352255943":["hashtag1","hashtag2"]},{"1352255937":["hashtag1","hashtag2"]},{"1352255931":["hashtag1","hashtag2"]},{"1352255933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255935, 1352255940, 1352255943, 1352255937, 1352255931, 1352255933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.293806314468384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:11:32.504677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_55_9353.jpg', '/home/pi/Desktop/images/20042025/14/18/image_20042025_14_19_05_10364.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_16_10358.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_25_9468.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_35_10363.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_45_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_55_9353.jpg
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_19_05_10364.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_16_10358.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_25_9468.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_35_10363.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_45_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3793447017669678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 17:11:42.519304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_55_9353.jpg', '/home/pi/Desktop/images/20042025/14/18/image_20042025_14_19_05_10364.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_16_10358.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_25_9468.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_35_10363.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_45_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_18_55_9353.jpg
/home/pi/Desktop/images/20042025/14/18/image_20042025_14_19_05_10364.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_16_10358.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_25_9468.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_35_10363.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_45_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255970","1352255964","1352255972","1352255966","1352255974","1352255968"],"photo_ids_order":["1352255964","1352255966","1352255968","1352255970","1352255972","1352255974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0be94b55e612551c384081994a1096cb.jpg","text":"TemporaryFile(/tmp/multipartBody4485637161526260024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161962986,"filename":"image_20042025_14_19_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9a49624dbd2bf9227f4a4c5b8949a57.jpg","text":"TemporaryFile(/tmp/multipartBody6044878249030685159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161962986,"filename":"image_20042025_14_18_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55858c7c0797269b4b5a431845043feb.jpg","text":"TemporaryFile(/tmp/multipartBody6536068231980510495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161962986,"filename":"image_20042025_14_19_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c705e8eb3f66ed9ae56f5c61c920447.jpg","text":"TemporaryFile(/tmp/multipartBody3343067271459199596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161962986,"filename":"image_20042025_14_19_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d59afbdd3a7bf3e6fb6cfe0f35dec338.jpg","text":"TemporaryFile(/tmp/multipartBody3337435099413919912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161962986,"filename":"image_20042025_14_19_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b92f057191aeeba7de4346f60591de8.jpg","text":"TemporaryFile(/tmp/multipartBody8817159232397789693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745161962986,"filename":"image_20042025_14_19_16_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255968","file1":"1352255966","file0":"1352255964","file4":"1352255972","file5":"1352255974","file3":"1352255970"},"map_files_photo_id_array":[{"photo_id":"1352255974","filename":"file5"},{"photo_id":"1352255968","filename":"file2"},{"photo_id":"1352255972","filename":"file4"},{"photo_id":"1352255966","filename":"file1"},{"photo_id":"1352255964","filename":"file0"},{"photo_id":"1352255970","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352255970":["hashtag1","hashtag2"]},{"1352255964":["hashtag1","hashtag2"]},{"1352255972":["hashtag1","hashtag2"]},{"1352255966":["hashtag1","hashtag2"]},{"1352255974":["hashtag1","hashtag2"]},{"1352255968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352255970, 1352255964, 1352255972, 1352255966, 1352255974, 1352255968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91961646080017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:12:32.732209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_55_10412.jpg', '/home/pi/Desktop/images/20042025/14/19/image_20042025_14_20_06_10367.jpg', '/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_15_9426.jpg', '/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_25_10372.jpg', '/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_35_9395.jpg', '/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_45_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_19_55_10412.jpg
/home/pi/Desktop/images/20042025/14/19/image_20042025_14_20_06_10367.jpg
/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_15_9426.jpg
/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_25_10372.jpg
/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_35_9395.jpg
/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_45_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256001","1352255994","1352256003","1352255996","1352255999","1352255998"],"photo_ids_order":["1352255994","1352255996","1352255998","1352255999","1352256001","1352256003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3a05c8bebe5e79255bc548a0272e472.jpg","text":"TemporaryFile(/tmp/multipartBody5857469630063516600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162013210,"filename":"image_20042025_14_20_35_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6e079736fc65f49cbdaf0f1bba36cdf.jpg","text":"TemporaryFile(/tmp/multipartBody7798502177129005518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162013210,"filename":"image_20042025_14_19_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53f2f37e545bb77ced2b6fe9c5a656c2.jpg","text":"TemporaryFile(/tmp/multipartBody2873986754127566416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162013210,"filename":"image_20042025_14_20_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/525b8d38bdaac9a6ce7194c404a99f90.jpg","text":"TemporaryFile(/tmp/multipartBody54406823705280680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162013210,"filename":"image_20042025_14_20_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9534e2013cdfe206ec4910b6fbc07e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1496370246886561623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162013210,"filename":"image_20042025_14_20_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35dcd747b1b9bb02e4807fc4778a70e9.jpg","text":"TemporaryFile(/tmp/multipartBody214367228995730054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162013210,"filename":"image_20042025_14_20_15_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255998","file1":"1352255996","file0":"1352255994","file4":"1352256001","file5":"1352256003","file3":"1352255999"},"map_files_photo_id_array":[{"photo_id":"1352256003","filename":"file5"},{"photo_id":"1352255998","filename":"file2"},{"photo_id":"1352256001","filename":"file4"},{"photo_id":"1352255996","filename":"file1"},{"photo_id":"1352255994","filename":"file0"},{"photo_id":"1352255999","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256001":["hashtag1","hashtag2"]},{"1352255994":["hashtag1","hashtag2"]},{"1352256003":["hashtag1","hashtag2"]},{"1352255996":["hashtag1","hashtag2"]},{"1352255999":["hashtag1","hashtag2"]},{"1352255998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256001, 1352255994, 1352256003, 1352255996, 1352255999, 1352255998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.141905784606934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:13:33.051519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_55_10378.jpg', '/home/pi/Desktop/images/20042025/14/20/image_20042025_14_21_05_9414.jpg', '/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_15_10357.jpg', '/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_26_10372.jpg', '/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_35_9408.jpg', '/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_45_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/20/image_20042025_14_20_55_10378.jpg
/home/pi/Desktop/images/20042025/14/20/image_20042025_14_21_05_9414.jpg
/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_15_10357.jpg
/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_26_10372.jpg
/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_35_9408.jpg
/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_45_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256036","1352256024","1352256032","1352256026","1352256035","1352256029"],"photo_ids_order":["1352256024","1352256026","1352256029","1352256032","1352256035","1352256036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3853c08f2fa0499698d9a328e1124655.jpg","text":"TemporaryFile(/tmp/multipartBody8932258495146533549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162073523,"filename":"image_20042025_14_21_45_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e470bd762742c8200b1c3e9de195bd3d.jpg","text":"TemporaryFile(/tmp/multipartBody108443280542297447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162073523,"filename":"image_20042025_14_20_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40d7c32898c00d34c506fde1abca8cb2.jpg","text":"TemporaryFile(/tmp/multipartBody6143025865446080073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162073523,"filename":"image_20042025_14_21_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71835430aadc5cfebdb1798caae78ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3407467174181689752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162073523,"filename":"image_20042025_14_21_05_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dc21ebb4f3993a442ae29826d5e05f2.jpg","text":"TemporaryFile(/tmp/multipartBody6237720380928301318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162073523,"filename":"image_20042025_14_21_35_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b786e5d08abc6c7c1696c91727d9dde8.jpg","text":"TemporaryFile(/tmp/multipartBody1449438147886832164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162073523,"filename":"image_20042025_14_21_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256029","file1":"1352256026","file0":"1352256024","file4":"1352256035","file5":"1352256036","file3":"1352256032"},"map_files_photo_id_array":[{"photo_id":"1352256036","filename":"file5"},{"photo_id":"1352256029","filename":"file2"},{"photo_id":"1352256035","filename":"file4"},{"photo_id":"1352256026","filename":"file1"},{"photo_id":"1352256024","filename":"file0"},{"photo_id":"1352256032","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256036":["hashtag1","hashtag2"]},{"1352256024":["hashtag1","hashtag2"]},{"1352256032":["hashtag1","hashtag2"]},{"1352256026":["hashtag1","hashtag2"]},{"1352256035":["hashtag1","hashtag2"]},{"1352256029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256036, 1352256024, 1352256032, 1352256026, 1352256035, 1352256029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.905219078063965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:14:33.148349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_55_9469.jpg', '/home/pi/Desktop/images/20042025/14/21/image_20042025_14_22_05_10370.jpg', '/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_15_9422.jpg', '/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_25_10476.jpg', '/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_35_10368.jpg', '/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/21/image_20042025_14_21_55_9469.jpg
/home/pi/Desktop/images/20042025/14/21/image_20042025_14_22_05_10370.jpg
/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_15_9422.jpg
/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_25_10476.jpg
/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_35_10368.jpg
/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256060","1352256054","1352256063","1352256065","1352256068","1352256058"],"photo_ids_order":["1352256054","1352256058","1352256060","1352256063","1352256065","1352256068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/206c8044b1bf0aa39ea2afd64e10bcf9.jpg","text":"TemporaryFile(/tmp/multipartBody4665382416322020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162133605,"filename":"image_20042025_14_22_15_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f733f262279de0f67e8b879bbb2c124f.jpg","text":"TemporaryFile(/tmp/multipartBody373901437743079397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162133605,"filename":"image_20042025_14_21_55_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af8e0b88e90f72c0671555fde4890b97.jpg","text":"TemporaryFile(/tmp/multipartBody652807372535588974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162133605,"filename":"image_20042025_14_22_25_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d135a7980787643f40c5afb8e3fab2f6.jpg","text":"TemporaryFile(/tmp/multipartBody2391347248467918643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162133605,"filename":"image_20042025_14_22_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f357e70931512508424dadce8460fa1e.jpg","text":"TemporaryFile(/tmp/multipartBody6442684543743888955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162133605,"filename":"image_20042025_14_22_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c032242831ec4ac72724168457d76c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4775958741455020407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162133605,"filename":"image_20042025_14_22_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256060","file1":"1352256058","file0":"1352256054","file4":"1352256065","file5":"1352256068","file3":"1352256063"},"map_files_photo_id_array":[{"photo_id":"1352256068","filename":"file5"},{"photo_id":"1352256060","filename":"file2"},{"photo_id":"1352256065","filename":"file4"},{"photo_id":"1352256058","filename":"file1"},{"photo_id":"1352256054","filename":"file0"},{"photo_id":"1352256063","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256060":["hashtag1","hashtag2"]},{"1352256054":["hashtag1","hashtag2"]},{"1352256063":["hashtag1","hashtag2"]},{"1352256065":["hashtag1","hashtag2"]},{"1352256068":["hashtag1","hashtag2"]},{"1352256058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256060, 1352256054, 1352256063, 1352256065, 1352256068, 1352256058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14936852455139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:15:32.359892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_55_10365.jpg', '/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_15_9432.jpg', '/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_25_10438.jpg', '/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_35_9360.jpg', '/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_45_10462.jpg', '/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_55_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/22/image_20042025_14_22_55_10365.jpg
/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_15_9432.jpg
/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_25_10438.jpg
/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_35_9360.jpg
/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_45_10462.jpg
/home/pi/Desktop/images/20042025/14/23/image_20042025_14_23_55_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256090","1352256081","1352256091","1352256085","1352256088","1352256082"],"photo_ids_order":["1352256081","1352256082","1352256085","1352256088","1352256090","1352256091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b74f2a627c467042e7418c11a248b2c.jpg","text":"TemporaryFile(/tmp/multipartBody5450195186683371675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162192829,"filename":"image_20042025_14_23_45_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dbfc40ebe26a5b7d7b5f5624c2eed62.jpg","text":"TemporaryFile(/tmp/multipartBody2530791055030899824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162192829,"filename":"image_20042025_14_22_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73715a5b5559b083913ec4aa313d71bf.jpg","text":"TemporaryFile(/tmp/multipartBody6803429007666655352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162192829,"filename":"image_20042025_14_23_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/305035f74ad1f0aefeb11d1992834964.jpg","text":"TemporaryFile(/tmp/multipartBody2691057877077455364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162192829,"filename":"image_20042025_14_23_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/137870c2371fd43ab3676ae1d564761c.jpg","text":"TemporaryFile(/tmp/multipartBody3753822123919271807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162192829,"filename":"image_20042025_14_23_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f33626f64f3a9647982e8e153f7ad68.jpg","text":"TemporaryFile(/tmp/multipartBody5194401900614049581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162192829,"filename":"image_20042025_14_23_15_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256085","file1":"1352256082","file0":"1352256081","file4":"1352256090","file5":"1352256091","file3":"1352256088"},"map_files_photo_id_array":[{"photo_id":"1352256091","filename":"file5"},{"photo_id":"1352256085","filename":"file2"},{"photo_id":"1352256090","filename":"file4"},{"photo_id":"1352256082","filename":"file1"},{"photo_id":"1352256081","filename":"file0"},{"photo_id":"1352256088","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256090":["hashtag1","hashtag2"]},{"1352256081":["hashtag1","hashtag2"]},{"1352256091":["hashtag1","hashtag2"]},{"1352256085":["hashtag1","hashtag2"]},{"1352256088":["hashtag1","hashtag2"]},{"1352256082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256090, 1352256081, 1352256091, 1352256085, 1352256088, 1352256082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.951248168945312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:16:32.714216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/23/image_20042025_14_24_05_10463.jpg', '/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_16_10467.jpg', '/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_25_9427.jpg', '/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_35_10375.jpg', '/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_45_9415.jpg', '/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_55_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/23/image_20042025_14_24_05_10463.jpg
/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_16_10467.jpg
/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_25_9427.jpg
/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_35_10375.jpg
/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_45_9415.jpg
/home/pi/Desktop/images/20042025/14/24/image_20042025_14_24_55_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256114","1352256108","1352256111","1352256105","1352256116","1352256112"],"photo_ids_order":["1352256105","1352256108","1352256111","1352256112","1352256114","1352256116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9525f7b349fb47403a15840dfeb81d9a.jpg","text":"TemporaryFile(/tmp/multipartBody6735914108822045570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162253174,"filename":"image_20042025_14_24_45_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd6aca5b5c1b30394222837adf38d408.jpg","text":"TemporaryFile(/tmp/multipartBody3417528300741450139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162253174,"filename":"image_20042025_14_24_16_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f26f7025c822b7344ad911eda79982e7.jpg","text":"TemporaryFile(/tmp/multipartBody7287597145357745977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162253174,"filename":"image_20042025_14_24_25_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8aa1d616c7ba0d5acb5882a94649f424.jpg","text":"TemporaryFile(/tmp/multipartBody7370712133517196830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162253174,"filename":"image_20042025_14_24_05_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17edcfb28c6f19dd9d75943a1271fd16.jpg","text":"TemporaryFile(/tmp/multipartBody2264494314284877395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162253174,"filename":"image_20042025_14_24_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8eb6b7f4db674b85b160541ae9aabf36.jpg","text":"TemporaryFile(/tmp/multipartBody9208464248406320878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162253174,"filename":"image_20042025_14_24_35_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256111","file1":"1352256108","file0":"1352256105","file4":"1352256114","file5":"1352256116","file3":"1352256112"},"map_files_photo_id_array":[{"photo_id":"1352256116","filename":"file5"},{"photo_id":"1352256111","filename":"file2"},{"photo_id":"1352256114","filename":"file4"},{"photo_id":"1352256108","filename":"file1"},{"photo_id":"1352256105","filename":"file0"},{"photo_id":"1352256112","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256114":["hashtag1","hashtag2"]},{"1352256108":["hashtag1","hashtag2"]},{"1352256111":["hashtag1","hashtag2"]},{"1352256105":["hashtag1","hashtag2"]},{"1352256116":["hashtag1","hashtag2"]},{"1352256112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256114, 1352256108, 1352256111, 1352256105, 1352256116, 1352256112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.086235523223877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:17:32.852171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/24/image_20042025_14_25_06_10376.jpg', '/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_15_9453.jpg', '/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_25_10399.jpg', '/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_35_9438.jpg', '/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_45_10435.jpg', '/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_55_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/24/image_20042025_14_25_06_10376.jpg
/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_15_9453.jpg
/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_25_10399.jpg
/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_35_9438.jpg
/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_45_10435.jpg
/home/pi/Desktop/images/20042025/14/25/image_20042025_14_25_55_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256150","1352256144","1352256147","1352256141","1352256137","1352256131"],"photo_ids_order":["1352256131","1352256137","1352256141","1352256144","1352256147","1352256150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89868a1b67c0325ad7d9ab5074065701.jpg","text":"TemporaryFile(/tmp/multipartBody6096721343785425538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162313320,"filename":"image_20042025_14_25_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45435b15f6d6888a0874cd69d1383a15.jpg","text":"TemporaryFile(/tmp/multipartBody858688935732824864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162313320,"filename":"image_20042025_14_25_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afb7dd588dade23be56cd4bb6f13bac2.jpg","text":"TemporaryFile(/tmp/multipartBody2895164494339905344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162313320,"filename":"image_20042025_14_25_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d928bdecfd34e78cd32b69dbca2efe17.jpg","text":"TemporaryFile(/tmp/multipartBody1247503770987192921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162313320,"filename":"image_20042025_14_25_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb17f98f0ef583fef205891ebfea21d2.jpg","text":"TemporaryFile(/tmp/multipartBody4329271528766490134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162313320,"filename":"image_20042025_14_25_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87fdbab7da85ba72d428863ef0dec9b6.jpg","text":"TemporaryFile(/tmp/multipartBody1639886782668914719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162313320,"filename":"image_20042025_14_25_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256141","file1":"1352256137","file0":"1352256131","file4":"1352256147","file5":"1352256150","file3":"1352256144"},"map_files_photo_id_array":[{"photo_id":"1352256150","filename":"file5"},{"photo_id":"1352256141","filename":"file2"},{"photo_id":"1352256147","filename":"file4"},{"photo_id":"1352256137","filename":"file1"},{"photo_id":"1352256131","filename":"file0"},{"photo_id":"1352256144","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256150":["hashtag1","hashtag2"]},{"1352256144":["hashtag1","hashtag2"]},{"1352256147":["hashtag1","hashtag2"]},{"1352256141":["hashtag1","hashtag2"]},{"1352256137":["hashtag1","hashtag2"]},{"1352256131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256150, 1352256144, 1352256147, 1352256141, 1352256137, 1352256131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14442253112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:18:33.032132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/25/image_20042025_14_26_05_10398.jpg', '/home/pi/Desktop/images/20042025/14/26/image_20042025_14_26_15_10351.jpg', '/home/pi/Desktop/images/20042025/14/26/image_20042025_14_26_35_10367.jpg', '/home/pi/Desktop/images/20042025/14/26/image_20042025_14_26_45_10379.jpg', '/home/pi/Desktop/images/20042025/14/26/image_20042025_14_27_05_10449.jpg', '/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_25_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/25/image_20042025_14_26_05_10398.jpg
/home/pi/Desktop/images/20042025/14/26/image_20042025_14_26_15_10351.jpg
/home/pi/Desktop/images/20042025/14/26/image_20042025_14_26_35_10367.jpg
/home/pi/Desktop/images/20042025/14/26/image_20042025_14_26_45_10379.jpg
/home/pi/Desktop/images/20042025/14/26/image_20042025_14_27_05_10449.jpg
/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_25_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256162","1352256174","1352256156","1352256170","1352256166","1352256169"],"photo_ids_order":["1352256156","1352256162","1352256166","1352256169","1352256170","1352256174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/054e876aeb4ba90965722e55bb83494b.jpg","text":"TemporaryFile(/tmp/multipartBody4424981416218968764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162373492,"filename":"image_20042025_14_26_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d0b84f66347be62992f37b3f61de8a4.jpg","text":"TemporaryFile(/tmp/multipartBody6628204912140578656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162373492,"filename":"image_20042025_14_27_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c90db9e99a6d58ed4faa438160ff8ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2834338004815259618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162373492,"filename":"image_20042025_14_26_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6afeeb8036609eaf0fd619a47a3f106d.jpg","text":"TemporaryFile(/tmp/multipartBody7795138030990800563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162373492,"filename":"image_20042025_14_27_05_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/153b26451c67bfc3e7463c8e8ba79463.jpg","text":"TemporaryFile(/tmp/multipartBody3348850779075951125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162373492,"filename":"image_20042025_14_26_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64ca663f71c03d271a7675a611472a21.jpg","text":"TemporaryFile(/tmp/multipartBody3069128538707383136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162373492,"filename":"image_20042025_14_26_45_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256166","file1":"1352256162","file0":"1352256156","file4":"1352256170","file5":"1352256174","file3":"1352256169"},"map_files_photo_id_array":[{"photo_id":"1352256174","filename":"file5"},{"photo_id":"1352256166","filename":"file2"},{"photo_id":"1352256170","filename":"file4"},{"photo_id":"1352256162","filename":"file1"},{"photo_id":"1352256156","filename":"file0"},{"photo_id":"1352256169","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256162":["hashtag1","hashtag2"]},{"1352256174":["hashtag1","hashtag2"]},{"1352256156":["hashtag1","hashtag2"]},{"1352256170":["hashtag1","hashtag2"]},{"1352256166":["hashtag1","hashtag2"]},{"1352256169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256162, 1352256174, 1352256156, 1352256170, 1352256166, 1352256169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.984153032302856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 17:19:42.298586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_36_10373.jpg', '/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_45_9417.jpg', '/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_55_10374.jpg', '/home/pi/Desktop/images/20042025/14/27/image_20042025_14_28_05_9366.jpg', '/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_25_10385.jpg', '/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_35_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_36_10373.jpg
/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_45_9417.jpg
/home/pi/Desktop/images/20042025/14/27/image_20042025_14_27_55_10374.jpg
/home/pi/Desktop/images/20042025/14/27/image_20042025_14_28_05_9366.jpg
/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_25_10385.jpg
/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_35_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256183","1352256191","1352256188","1352256185","1352256193","1352256187"],"photo_ids_order":["1352256183","1352256185","1352256187","1352256188","1352256191","1352256193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f57e07fd55995dd50c5aa4c62ad065a.jpg","text":"TemporaryFile(/tmp/multipartBody4568614881981252610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162442763,"filename":"image_20042025_14_27_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e265d8dc52db44181581ba6dd5fd267f.jpg","text":"TemporaryFile(/tmp/multipartBody7218165157030595366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162442763,"filename":"image_20042025_14_28_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6801bb7d6539a0502c2c55ab97fbbc2b.jpg","text":"TemporaryFile(/tmp/multipartBody175932302199304019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162442763,"filename":"image_20042025_14_28_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/486833a0632d0b47a31352edf52cece8.jpg","text":"TemporaryFile(/tmp/multipartBody902835532505996769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162442763,"filename":"image_20042025_14_27_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4ae634ae2d58425631e4149e6df493f.jpg","text":"TemporaryFile(/tmp/multipartBody5495158735970950902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162442763,"filename":"image_20042025_14_28_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2695ae74587e75e2bc7593190238ff06.jpg","text":"TemporaryFile(/tmp/multipartBody3774724176928921077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162442763,"filename":"image_20042025_14_27_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256187","file1":"1352256185","file0":"1352256183","file4":"1352256191","file5":"1352256193","file3":"1352256188"},"map_files_photo_id_array":[{"photo_id":"1352256193","filename":"file5"},{"photo_id":"1352256187","filename":"file2"},{"photo_id":"1352256191","filename":"file4"},{"photo_id":"1352256185","filename":"file1"},{"photo_id":"1352256183","filename":"file0"},{"photo_id":"1352256188","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256183":["hashtag1","hashtag2"]},{"1352256191":["hashtag1","hashtag2"]},{"1352256188":["hashtag1","hashtag2"]},{"1352256185":["hashtag1","hashtag2"]},{"1352256193":["hashtag1","hashtag2"]},{"1352256187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256183, 1352256191, 1352256188, 1352256185, 1352256193, 1352256187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.862242460250854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:20:32.556003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_45_10397.jpg', '/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_55_9386.jpg', '/home/pi/Desktop/images/20042025/14/28/image_20042025_14_29_05_10372.jpg', '/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_15_10379.jpg', '/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_25_9349.jpg', '/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_35_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_45_10397.jpg
/home/pi/Desktop/images/20042025/14/28/image_20042025_14_28_55_9386.jpg
/home/pi/Desktop/images/20042025/14/28/image_20042025_14_29_05_10372.jpg
/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_15_10379.jpg
/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_25_9349.jpg
/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_35_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256214","1352256219","1352256210","1352256212","1352256215","1352256217"],"photo_ids_order":["1352256210","1352256212","1352256214","1352256215","1352256217","1352256219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/013750c26bcc01c68a8bf665310e64d5.jpg","text":"TemporaryFile(/tmp/multipartBody2062957773943500620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162493013,"filename":"image_20042025_14_29_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00a2f6066da0abf148be89aec9c27e10.jpg","text":"TemporaryFile(/tmp/multipartBody1578197231824970743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162493013,"filename":"image_20042025_14_29_35_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e306b2dd3d4bd2b6ef70cdb636ae2703.jpg","text":"TemporaryFile(/tmp/multipartBody2955241722491393493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162493013,"filename":"image_20042025_14_28_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b278de4038cfc2c11ec58893653a3719.jpg","text":"TemporaryFile(/tmp/multipartBody1017404147348381934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162493013,"filename":"image_20042025_14_28_55_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/847afc66ea68b0137edd2af3e5fa92fc.jpg","text":"TemporaryFile(/tmp/multipartBody6697647321244582204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162493013,"filename":"image_20042025_14_29_15_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0dceec54c6082860768e083f70b6825.jpg","text":"TemporaryFile(/tmp/multipartBody3128837865430927523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162493013,"filename":"image_20042025_14_29_25_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256214","file1":"1352256212","file0":"1352256210","file4":"1352256217","file5":"1352256219","file3":"1352256215"},"map_files_photo_id_array":[{"photo_id":"1352256219","filename":"file5"},{"photo_id":"1352256214","filename":"file2"},{"photo_id":"1352256217","filename":"file4"},{"photo_id":"1352256212","filename":"file1"},{"photo_id":"1352256210","filename":"file0"},{"photo_id":"1352256215","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256214":["hashtag1","hashtag2"]},{"1352256219":["hashtag1","hashtag2"]},{"1352256210":["hashtag1","hashtag2"]},{"1352256212":["hashtag1","hashtag2"]},{"1352256215":["hashtag1","hashtag2"]},{"1352256217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256214, 1352256219, 1352256210, 1352256212, 1352256215, 1352256217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.969852447509766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:21:32.808591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_46_10372.jpg', '/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_55_9415.jpg', '/home/pi/Desktop/images/20042025/14/29/image_20042025_14_30_05_10376.jpg', '/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_15_9376.jpg', '/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_25_10455.jpg', '/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_35_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_46_10372.jpg
/home/pi/Desktop/images/20042025/14/29/image_20042025_14_29_55_9415.jpg
/home/pi/Desktop/images/20042025/14/29/image_20042025_14_30_05_10376.jpg
/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_15_9376.jpg
/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_25_10455.jpg
/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_35_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256246","1352256237","1352256239","1352256248","1352256235","1352256229"],"photo_ids_order":["1352256229","1352256235","1352256237","1352256239","1352256246","1352256248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/899b379f3eb08f41f8ea5dbe9c930693.jpg","text":"TemporaryFile(/tmp/multipartBody8248129683390096667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162553270,"filename":"image_20042025_14_30_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52f3f422a625e7e69b744a44b15de2b7.jpg","text":"TemporaryFile(/tmp/multipartBody8653025283920402995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162553270,"filename":"image_20042025_14_30_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/843b2674b553aa2f4e38ed01cc5853cb.jpg","text":"TemporaryFile(/tmp/multipartBody5968546158168257994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162553270,"filename":"image_20042025_14_30_15_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e36abd727844539b080db617dd4bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody5742414961855744785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162553270,"filename":"image_20042025_14_30_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b338e0c8ef373a8b172b2ece09c8bf71.jpg","text":"TemporaryFile(/tmp/multipartBody6012311865118607952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162553270,"filename":"image_20042025_14_29_55_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29179c8c1118a7e2c51d8d793dfb5515.jpg","text":"TemporaryFile(/tmp/multipartBody6466538161040406656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162553270,"filename":"image_20042025_14_29_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256237","file1":"1352256235","file0":"1352256229","file4":"1352256246","file5":"1352256248","file3":"1352256239"},"map_files_photo_id_array":[{"photo_id":"1352256248","filename":"file5"},{"photo_id":"1352256237","filename":"file2"},{"photo_id":"1352256246","filename":"file4"},{"photo_id":"1352256235","filename":"file1"},{"photo_id":"1352256229","filename":"file0"},{"photo_id":"1352256239","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256246":["hashtag1","hashtag2"]},{"1352256237":["hashtag1","hashtag2"]},{"1352256239":["hashtag1","hashtag2"]},{"1352256248":["hashtag1","hashtag2"]},{"1352256235":["hashtag1","hashtag2"]},{"1352256229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256246, 1352256237, 1352256239, 1352256248, 1352256235, 1352256229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81687569618225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:22:33.072460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_45_10424.jpg', '/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_55_10365.jpg', '/home/pi/Desktop/images/20042025/14/30/image_20042025_14_31_05_9856.jpg', '/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_15_9403.jpg', '/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_25_10381.jpg', '/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_35_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_45_10424.jpg
/home/pi/Desktop/images/20042025/14/30/image_20042025_14_30_55_10365.jpg
/home/pi/Desktop/images/20042025/14/30/image_20042025_14_31_05_9856.jpg
/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_15_9403.jpg
/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_25_10381.jpg
/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_35_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256270","1352256344","1352256277","1352256373","1352256274","1352256316"],"photo_ids_order":["1352256270","1352256274","1352256277","1352256316","1352256344","1352256373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3476289bce85bb2bb41a9b8bf15e6a53.jpg","text":"TemporaryFile(/tmp/multipartBody5265126415974737630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162613535,"filename":"image_20042025_14_30_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a95c3b3028e23df9ddbb3f8658c007d.jpg","text":"TemporaryFile(/tmp/multipartBody1769776409405595774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162613535,"filename":"image_20042025_14_31_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fbe96447f1a65d9ffdc980c2b4ec632e.jpg","text":"TemporaryFile(/tmp/multipartBody171310826064093516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162613535,"filename":"image_20042025_14_31_05_9856.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e18aab9b8f67f55047e00bf9882a0ed.jpg","text":"TemporaryFile(/tmp/multipartBody7442213532064171027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162613535,"filename":"image_20042025_14_31_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f581fca6a7c0fcf1a912f848bcf6e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8410432631722439270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162613535,"filename":"image_20042025_14_30_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/760f7829acba83d194093d296da850e1.jpg","text":"TemporaryFile(/tmp/multipartBody7889112357732790841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162613535,"filename":"image_20042025_14_31_15_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256277","file1":"1352256274","file0":"1352256270","file4":"1352256344","file5":"1352256373","file3":"1352256316"},"map_files_photo_id_array":[{"photo_id":"1352256373","filename":"file5"},{"photo_id":"1352256277","filename":"file2"},{"photo_id":"1352256344","filename":"file4"},{"photo_id":"1352256274","filename":"file1"},{"photo_id":"1352256270","filename":"file0"},{"photo_id":"1352256316","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256270":["hashtag1","hashtag2"]},{"1352256344":["hashtag1","hashtag2"]},{"1352256277":["hashtag1","hashtag2"]},{"1352256373":["hashtag1","hashtag2"]},{"1352256274":["hashtag1","hashtag2"]},{"1352256316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256270, 1352256344, 1352256277, 1352256373, 1352256274, 1352256316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.287668466567993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:23:32.280808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_45_9362.jpg', '/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_55_10393.jpg', '/home/pi/Desktop/images/20042025/14/31/image_20042025_14_32_05_9442.jpg', '/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_15_10462.jpg', '/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_25_10426.jpg', '/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_35_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_45_9362.jpg
/home/pi/Desktop/images/20042025/14/31/image_20042025_14_31_55_10393.jpg
/home/pi/Desktop/images/20042025/14/31/image_20042025_14_32_05_9442.jpg
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_15_10462.jpg
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_25_10426.jpg
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_35_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256525","1352256513","1352256516","1352256551","1352256548","1352256520"],"photo_ids_order":["1352256513","1352256516","1352256520","1352256525","1352256548","1352256551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f654aa73ea9b59093caa9ac316339e4.jpg","text":"TemporaryFile(/tmp/multipartBody7423343431534224557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162672742,"filename":"image_20042025_14_32_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa09c129f8d4a630f397983bf822751b.jpg","text":"TemporaryFile(/tmp/multipartBody3831923586812950602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162672742,"filename":"image_20042025_14_31_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29e53f67d94965e4493f5711feb9663e.jpg","text":"TemporaryFile(/tmp/multipartBody1094035799000199586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162672742,"filename":"image_20042025_14_31_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2517e5241c564be82a63e354ab123534.jpg","text":"TemporaryFile(/tmp/multipartBody293208446308140593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162672742,"filename":"image_20042025_14_32_35_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef69f9f674d3f0ddbf84a728d3893618.jpg","text":"TemporaryFile(/tmp/multipartBody5700758277875333517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162672742,"filename":"image_20042025_14_32_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b8f97c91e674527ae024b7fa231e048.jpg","text":"TemporaryFile(/tmp/multipartBody9043640859992012542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162672742,"filename":"image_20042025_14_32_05_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256520","file1":"1352256516","file0":"1352256513","file4":"1352256548","file5":"1352256551","file3":"1352256525"},"map_files_photo_id_array":[{"photo_id":"1352256551","filename":"file5"},{"photo_id":"1352256520","filename":"file2"},{"photo_id":"1352256548","filename":"file4"},{"photo_id":"1352256516","filename":"file1"},{"photo_id":"1352256513","filename":"file0"},{"photo_id":"1352256525","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256525":["hashtag1","hashtag2"]},{"1352256513":["hashtag1","hashtag2"]},{"1352256516":["hashtag1","hashtag2"]},{"1352256551":["hashtag1","hashtag2"]},{"1352256548":["hashtag1","hashtag2"]},{"1352256520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256525, 1352256513, 1352256516, 1352256551, 1352256548, 1352256520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.398558139801025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:24:32.482601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_45_10375.jpg', '/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_55_9378.jpg', '/home/pi/Desktop/images/20042025/14/32/image_20042025_14_33_05_10446.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_16_10344.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_25_9460.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_35_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_45_10375.jpg
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_55_9378.jpg
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_33_05_10446.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_16_10344.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_25_9460.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_35_10478.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3790774345397949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 17:24:42.483931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_45_10375.jpg', '/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_55_9378.jpg', '/home/pi/Desktop/images/20042025/14/32/image_20042025_14_33_05_10446.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_16_10344.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_25_9460.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_35_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_45_10375.jpg
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_32_55_9378.jpg
/home/pi/Desktop/images/20042025/14/32/image_20042025_14_33_05_10446.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_16_10344.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_25_9460.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_35_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256621","1352256618","1352256617","1352256619","1352256610","1352256613"],"photo_ids_order":["1352256610","1352256613","1352256617","1352256618","1352256619","1352256621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8231359a57345cf55a4131ddde49f74b.jpg","text":"TemporaryFile(/tmp/multipartBody3105272065213058101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162742951,"filename":"image_20042025_14_33_35_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40f5a2833df67cff194245deeac55c85.jpg","text":"TemporaryFile(/tmp/multipartBody9096231550156955790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162742951,"filename":"image_20042025_14_33_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc6dc9dabbf560a7790321c8ea457afc.jpg","text":"TemporaryFile(/tmp/multipartBody44305265327498366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162742951,"filename":"image_20042025_14_33_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/753c630c1843cdb4d647f6332eb990d3.jpg","text":"TemporaryFile(/tmp/multipartBody8466333794302934276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162742951,"filename":"image_20042025_14_33_25_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bac66ae1f2ec34b590a659e8d70e7cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3507998896038148943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162742951,"filename":"image_20042025_14_32_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f80941354940a967355d74c5fa341fb.jpg","text":"TemporaryFile(/tmp/multipartBody2576481426200429262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162742951,"filename":"image_20042025_14_32_55_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256617","file1":"1352256613","file0":"1352256610","file4":"1352256619","file5":"1352256621","file3":"1352256618"},"map_files_photo_id_array":[{"photo_id":"1352256621","filename":"file5"},{"photo_id":"1352256617","filename":"file2"},{"photo_id":"1352256619","filename":"file4"},{"photo_id":"1352256613","filename":"file1"},{"photo_id":"1352256610","filename":"file0"},{"photo_id":"1352256618","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256621":["hashtag1","hashtag2"]},{"1352256618":["hashtag1","hashtag2"]},{"1352256617":["hashtag1","hashtag2"]},{"1352256619":["hashtag1","hashtag2"]},{"1352256610":["hashtag1","hashtag2"]},{"1352256613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256621, 1352256618, 1352256617, 1352256619, 1352256610, 1352256613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42867088317871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:25:32.632312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_45_9363.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_55_10400.jpg', '/home/pi/Desktop/images/20042025/14/33/image_20042025_14_34_06_10360.jpg', '/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_15_9472.jpg', '/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_25_10386.jpg', '/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_35_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_45_9363.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_33_55_10400.jpg
/home/pi/Desktop/images/20042025/14/33/image_20042025_14_34_06_10360.jpg
/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_15_9472.jpg
/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_25_10386.jpg
/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_35_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256642","1352256638","1352256643","1352256637","1352256640","1352256634"],"photo_ids_order":["1352256634","1352256637","1352256638","1352256640","1352256642","1352256643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6039c5779c341983702863348e466b7.jpg","text":"TemporaryFile(/tmp/multipartBody7137915565199892111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162793103,"filename":"image_20042025_14_34_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69c6281180d0a6fbe29651041dc69d1c.jpg","text":"TemporaryFile(/tmp/multipartBody291347067741094835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162793103,"filename":"image_20042025_14_34_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/177ee14725a53253a140931e1d2846ff.jpg","text":"TemporaryFile(/tmp/multipartBody2992825481963261912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162793103,"filename":"image_20042025_14_34_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/456156c4d4105ee7f935086f749f082d.jpg","text":"TemporaryFile(/tmp/multipartBody7498058534210943518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162793103,"filename":"image_20042025_14_33_55_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9eb1ca396f7cfaaa5aff6191b8e65d2.jpg","text":"TemporaryFile(/tmp/multipartBody271383112275188725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162793103,"filename":"image_20042025_14_34_15_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb18bd0af556e16d785e93814cb25886.jpg","text":"TemporaryFile(/tmp/multipartBody712389595508041662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162793103,"filename":"image_20042025_14_33_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256638","file1":"1352256637","file0":"1352256634","file4":"1352256642","file5":"1352256643","file3":"1352256640"},"map_files_photo_id_array":[{"photo_id":"1352256643","filename":"file5"},{"photo_id":"1352256638","filename":"file2"},{"photo_id":"1352256642","filename":"file4"},{"photo_id":"1352256637","filename":"file1"},{"photo_id":"1352256634","filename":"file0"},{"photo_id":"1352256640","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256642":["hashtag1","hashtag2"]},{"1352256638":["hashtag1","hashtag2"]},{"1352256643":["hashtag1","hashtag2"]},{"1352256637":["hashtag1","hashtag2"]},{"1352256640":["hashtag1","hashtag2"]},{"1352256634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256642, 1352256638, 1352256643, 1352256637, 1352256640, 1352256634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.485808849334717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:26:32.844275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_45_10394.jpg', '/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_56_10370.jpg', '/home/pi/Desktop/images/20042025/14/34/image_20042025_14_35_05_9462.jpg', '/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_15_10360.jpg', '/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_35_10454.jpg', '/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_45_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_45_10394.jpg
/home/pi/Desktop/images/20042025/14/34/image_20042025_14_34_56_10370.jpg
/home/pi/Desktop/images/20042025/14/34/image_20042025_14_35_05_9462.jpg
/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_15_10360.jpg
/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_35_10454.jpg
/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_45_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256693","1352256705","1352256708","1352256701","1352256688","1352256685"],"photo_ids_order":["1352256685","1352256688","1352256693","1352256701","1352256705","1352256708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ab8703c6e669b322fb9a15bed01d6ce.jpg","text":"TemporaryFile(/tmp/multipartBody807008278999377525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162853315,"filename":"image_20042025_14_35_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f84cf42fb43feb8877751a7997a3379.jpg","text":"TemporaryFile(/tmp/multipartBody1278824997912494198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162853315,"filename":"image_20042025_14_35_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a513dc397c6cb6e19d0e203e1026b604.jpg","text":"TemporaryFile(/tmp/multipartBody4860381208615471093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162853315,"filename":"image_20042025_14_35_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d31fc11b1f7bd84a4a937e9e9766d7d7.jpg","text":"TemporaryFile(/tmp/multipartBody1354986688674181293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162853315,"filename":"image_20042025_14_35_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/672b33a45343fb94ba4973c1decd50e6.jpg","text":"TemporaryFile(/tmp/multipartBody9078146872166958176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162853315,"filename":"image_20042025_14_34_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f19258dc693973f31f2124ac335a2210.jpg","text":"TemporaryFile(/tmp/multipartBody5609154588668302922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162853315,"filename":"image_20042025_14_34_45_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256693","file1":"1352256688","file0":"1352256685","file4":"1352256705","file5":"1352256708","file3":"1352256701"},"map_files_photo_id_array":[{"photo_id":"1352256708","filename":"file5"},{"photo_id":"1352256693","filename":"file2"},{"photo_id":"1352256705","filename":"file4"},{"photo_id":"1352256688","filename":"file1"},{"photo_id":"1352256685","filename":"file0"},{"photo_id":"1352256701","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256693":["hashtag1","hashtag2"]},{"1352256705":["hashtag1","hashtag2"]},{"1352256708":["hashtag1","hashtag2"]},{"1352256701":["hashtag1","hashtag2"]},{"1352256688":["hashtag1","hashtag2"]},{"1352256685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256693, 1352256705, 1352256708, 1352256701, 1352256688, 1352256685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.44226598739624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:27:33.073910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_55_10366.jpg', '/home/pi/Desktop/images/20042025/14/35/image_20042025_14_36_05_10384.jpg', '/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_15_9360.jpg', '/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_25_10465.jpg', '/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_35_9398.jpg', '/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_45_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/35/image_20042025_14_35_55_10366.jpg
/home/pi/Desktop/images/20042025/14/35/image_20042025_14_36_05_10384.jpg
/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_15_9360.jpg
/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_25_10465.jpg
/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_35_9398.jpg
/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_45_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256723","1352256726","1352256728","1352256716","1352256719","1352256730"],"photo_ids_order":["1352256716","1352256719","1352256723","1352256726","1352256728","1352256730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abfeadde9146420c5d51f72257102fa5.jpg","text":"TemporaryFile(/tmp/multipartBody4982542102372831544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162913551,"filename":"image_20042025_14_36_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40042dcb8487e71d63b0985b4f4e1c9e.jpg","text":"TemporaryFile(/tmp/multipartBody8038000282836922365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162913551,"filename":"image_20042025_14_36_25_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d00843c1e09fa7b389adec916ada4c10.jpg","text":"TemporaryFile(/tmp/multipartBody6329261489303689223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162913551,"filename":"image_20042025_14_36_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7135fd9aada651fa33a68c95f42f03b8.jpg","text":"TemporaryFile(/tmp/multipartBody5794217489321227763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162913551,"filename":"image_20042025_14_35_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6ded2850cd3117308111ca7cc6b8451.jpg","text":"TemporaryFile(/tmp/multipartBody5472745963311232441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162913551,"filename":"image_20042025_14_36_05_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63dc17e9c270fb4fbc084d17af6ee8a4.jpg","text":"TemporaryFile(/tmp/multipartBody3680337465895113012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162913551,"filename":"image_20042025_14_36_45_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256723","file1":"1352256719","file0":"1352256716","file4":"1352256728","file5":"1352256730","file3":"1352256726"},"map_files_photo_id_array":[{"photo_id":"1352256730","filename":"file5"},{"photo_id":"1352256723","filename":"file2"},{"photo_id":"1352256728","filename":"file4"},{"photo_id":"1352256719","filename":"file1"},{"photo_id":"1352256716","filename":"file0"},{"photo_id":"1352256726","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256723":["hashtag1","hashtag2"]},{"1352256726":["hashtag1","hashtag2"]},{"1352256728":["hashtag1","hashtag2"]},{"1352256716":["hashtag1","hashtag2"]},{"1352256719":["hashtag1","hashtag2"]},{"1352256730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256723, 1352256726, 1352256728, 1352256716, 1352256719, 1352256730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.054505348205566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:28:32.324920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_56_10452.jpg', '/home/pi/Desktop/images/20042025/14/36/image_20042025_14_37_05_9442.jpg', '/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_15_10362.jpg', '/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_25_9359.jpg', '/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_35_10366.jpg', '/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/36/image_20042025_14_36_56_10452.jpg
/home/pi/Desktop/images/20042025/14/36/image_20042025_14_37_05_9442.jpg
/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_15_10362.jpg
/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_25_9359.jpg
/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_35_10366.jpg
/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_45_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256759","1352256743","1352256746","1352256754","1352256757","1352256751"],"photo_ids_order":["1352256743","1352256746","1352256751","1352256754","1352256757","1352256759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e617ac2ea948f7ef48ee47afeef92a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6869400535080465374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162972792,"filename":"image_20042025_14_37_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12eb49fd729ede6b9304107ea53f3c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4429111588954865533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162972792,"filename":"image_20042025_14_36_56_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63e32b57ef610845efa1f4f995fd262f.jpg","text":"TemporaryFile(/tmp/multipartBody7034759397506835724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162972792,"filename":"image_20042025_14_37_05_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2affbb9c9ed6c4e031d4bd839686501c.jpg","text":"TemporaryFile(/tmp/multipartBody7077365583506475670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162972792,"filename":"image_20042025_14_37_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23afd694fb48071ee7100a5529e0ed8b.jpg","text":"TemporaryFile(/tmp/multipartBody7866742046714545806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162972792,"filename":"image_20042025_14_37_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01c67313b09507da65684f125e12a98b.jpg","text":"TemporaryFile(/tmp/multipartBody5835817040787042080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745162972792,"filename":"image_20042025_14_37_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256751","file1":"1352256746","file0":"1352256743","file4":"1352256757","file5":"1352256759","file3":"1352256754"},"map_files_photo_id_array":[{"photo_id":"1352256759","filename":"file5"},{"photo_id":"1352256751","filename":"file2"},{"photo_id":"1352256757","filename":"file4"},{"photo_id":"1352256746","filename":"file1"},{"photo_id":"1352256743","filename":"file0"},{"photo_id":"1352256754","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256759":["hashtag1","hashtag2"]},{"1352256743":["hashtag1","hashtag2"]},{"1352256746":["hashtag1","hashtag2"]},{"1352256754":["hashtag1","hashtag2"]},{"1352256757":["hashtag1","hashtag2"]},{"1352256751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256759, 1352256743, 1352256746, 1352256754, 1352256757, 1352256751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.935325145721436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:29:32.393472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_55_9538.jpg', '/home/pi/Desktop/images/20042025/14/37/image_20042025_14_38_05_10370.jpg', '/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_25_10379.jpg', '/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_35_10396.jpg', '/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_45_9464.jpg', '/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_55_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/37/image_20042025_14_37_55_9538.jpg
/home/pi/Desktop/images/20042025/14/37/image_20042025_14_38_05_10370.jpg
/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_25_10379.jpg
/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_35_10396.jpg
/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_45_9464.jpg
/home/pi/Desktop/images/20042025/14/38/image_20042025_14_38_55_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256788","1352256785","1352256787","1352256775","1352256778","1352256783"],"photo_ids_order":["1352256775","1352256778","1352256783","1352256785","1352256787","1352256788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3da2c3c62a518ff52566940e98595a16.jpg","text":"TemporaryFile(/tmp/multipartBody3551577151670793203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163032856,"filename":"image_20042025_14_38_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f88110529ed5597ee3ad5c15fb3c624.jpg","text":"TemporaryFile(/tmp/multipartBody4353509547384940620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163032856,"filename":"image_20042025_14_38_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9edeb5e3ff2ee0f21a812fc95da8e60.jpg","text":"TemporaryFile(/tmp/multipartBody8634882178802319669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163032856,"filename":"image_20042025_14_38_45_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bb8a24b8664a49079888433638a237d.jpg","text":"TemporaryFile(/tmp/multipartBody1316565977622145097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163032856,"filename":"image_20042025_14_37_55_9538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/418d183ecda28ca872457468661e09a1.jpg","text":"TemporaryFile(/tmp/multipartBody597870233857236665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163032856,"filename":"image_20042025_14_38_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97a876e1705fbef2a489a524140bb739.jpg","text":"TemporaryFile(/tmp/multipartBody3908800296266731710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163032856,"filename":"image_20042025_14_38_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256783","file1":"1352256778","file0":"1352256775","file4":"1352256787","file5":"1352256788","file3":"1352256785"},"map_files_photo_id_array":[{"photo_id":"1352256788","filename":"file5"},{"photo_id":"1352256783","filename":"file2"},{"photo_id":"1352256787","filename":"file4"},{"photo_id":"1352256778","filename":"file1"},{"photo_id":"1352256775","filename":"file0"},{"photo_id":"1352256785","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256788":["hashtag1","hashtag2"]},{"1352256785":["hashtag1","hashtag2"]},{"1352256787":["hashtag1","hashtag2"]},{"1352256775":["hashtag1","hashtag2"]},{"1352256778":["hashtag1","hashtag2"]},{"1352256783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256788, 1352256785, 1352256787, 1352256775, 1352256778, 1352256783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.932687282562256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:30:32.631319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/38/image_20042025_14_39_05_9380.jpg', '/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_15_10353.jpg', '/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_26_10392.jpg', '/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_35_9458.jpg', '/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_45_10448.jpg', '/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_55_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/38/image_20042025_14_39_05_9380.jpg
/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_15_10353.jpg
/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_26_10392.jpg
/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_35_9458.jpg
/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_45_10448.jpg
/home/pi/Desktop/images/20042025/14/39/image_20042025_14_39_55_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256812","1352256806","1352256809","1352256803","1352256811","1352256798"],"photo_ids_order":["1352256798","1352256803","1352256806","1352256809","1352256811","1352256812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2b7e69075d24c7471bd91903c8c482f.jpg","text":"TemporaryFile(/tmp/multipartBody1092626532773945545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163093104,"filename":"image_20042025_14_39_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68da073d41d2a6efa9367da5e2df86c9.jpg","text":"TemporaryFile(/tmp/multipartBody6622429216728124697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163093104,"filename":"image_20042025_14_39_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d380d70eb6448b7b877a921da19869a.jpg","text":"TemporaryFile(/tmp/multipartBody3045201765624093717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163093104,"filename":"image_20042025_14_39_35_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98f223cf96946872e9c7b5b59ed41077.jpg","text":"TemporaryFile(/tmp/multipartBody7768372553932755128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163093104,"filename":"image_20042025_14_39_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0193ed18c0411a0f988b93f225e08ef.jpg","text":"TemporaryFile(/tmp/multipartBody310929277766162082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163093104,"filename":"image_20042025_14_39_45_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de51e97ac35927bc68b8ef2585520dac.jpg","text":"TemporaryFile(/tmp/multipartBody7265083899729197937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163093104,"filename":"image_20042025_14_39_05_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256806","file1":"1352256803","file0":"1352256798","file4":"1352256811","file5":"1352256812","file3":"1352256809"},"map_files_photo_id_array":[{"photo_id":"1352256812","filename":"file5"},{"photo_id":"1352256806","filename":"file2"},{"photo_id":"1352256811","filename":"file4"},{"photo_id":"1352256803","filename":"file1"},{"photo_id":"1352256798","filename":"file0"},{"photo_id":"1352256809","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256812":["hashtag1","hashtag2"]},{"1352256806":["hashtag1","hashtag2"]},{"1352256809":["hashtag1","hashtag2"]},{"1352256803":["hashtag1","hashtag2"]},{"1352256811":["hashtag1","hashtag2"]},{"1352256798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256812, 1352256806, 1352256809, 1352256803, 1352256811, 1352256798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.414557218551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:31:33.065641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/39/image_20042025_14_40_05_10360.jpg', '/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_16_10439.jpg', '/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_25_9484.jpg', '/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_35_10359.jpg', '/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_45_9502.jpg', '/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_55_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/39/image_20042025_14_40_05_10360.jpg
/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_16_10439.jpg
/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_25_9484.jpg
/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_35_10359.jpg
/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_45_9502.jpg
/home/pi/Desktop/images/20042025/14/40/image_20042025_14_40_55_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256840","1352256843","1352256837","1352256830","1352256841","1352256844"],"photo_ids_order":["1352256830","1352256837","1352256840","1352256841","1352256843","1352256844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d501d6a42fc33435d271d3f08020aad0.jpg","text":"TemporaryFile(/tmp/multipartBody5229597531876086007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163153529,"filename":"image_20042025_14_40_25_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/004b5cd75335de0dc29fab2eaf3b2168.jpg","text":"TemporaryFile(/tmp/multipartBody4393235780432775163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163153529,"filename":"image_20042025_14_40_45_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd0915fd931fd6998c56a69913d46d79.jpg","text":"TemporaryFile(/tmp/multipartBody2025655969483252628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163153529,"filename":"image_20042025_14_40_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c3ada1e51b4d3f13277468b339b4aef.jpg","text":"TemporaryFile(/tmp/multipartBody4739913352374195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163153529,"filename":"image_20042025_14_40_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbd7b575eef1732206df61440be7b0d7.jpg","text":"TemporaryFile(/tmp/multipartBody3693642325650283912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163153529,"filename":"image_20042025_14_40_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/156e903e344e0c1c636809cef8086f06.jpg","text":"TemporaryFile(/tmp/multipartBody6985971652043805974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163153529,"filename":"image_20042025_14_40_55_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256840","file1":"1352256837","file0":"1352256830","file4":"1352256843","file5":"1352256844","file3":"1352256841"},"map_files_photo_id_array":[{"photo_id":"1352256844","filename":"file5"},{"photo_id":"1352256840","filename":"file2"},{"photo_id":"1352256843","filename":"file4"},{"photo_id":"1352256837","filename":"file1"},{"photo_id":"1352256830","filename":"file0"},{"photo_id":"1352256841","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256840":["hashtag1","hashtag2"]},{"1352256843":["hashtag1","hashtag2"]},{"1352256837":["hashtag1","hashtag2"]},{"1352256830":["hashtag1","hashtag2"]},{"1352256841":["hashtag1","hashtag2"]},{"1352256844":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256840, 1352256843, 1352256837, 1352256830, 1352256841, 1352256844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18083310127258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:32:33.112557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/40/image_20042025_14_41_05_9350.jpg', '/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_15_10441.jpg', '/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_26_10456.jpg', '/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_35_9408.jpg', '/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_45_10376.jpg', '/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_55_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/40/image_20042025_14_41_05_9350.jpg
/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_15_10441.jpg
/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_26_10456.jpg
/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_35_9408.jpg
/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_45_10376.jpg
/home/pi/Desktop/images/20042025/14/41/image_20042025_14_41_55_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256864","1352256860","1352256857","1352256866","1352256868","1352256862"],"photo_ids_order":["1352256857","1352256860","1352256862","1352256864","1352256866","1352256868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41ff2054443b0685dfec1095ed125a34.jpg","text":"TemporaryFile(/tmp/multipartBody7386726514373868193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163213573,"filename":"image_20042025_14_41_35_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2c6cc142cdf29b65f281b099a1a439a.jpg","text":"TemporaryFile(/tmp/multipartBody6824285569714181807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163213573,"filename":"image_20042025_14_41_15_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8edd57d186956423aa6cf20cfcd45fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8688525969638376732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163213573,"filename":"image_20042025_14_41_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3698c229e6c018435cc77a15dbface93.jpg","text":"TemporaryFile(/tmp/multipartBody4845679465483371402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163213573,"filename":"image_20042025_14_41_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e47afa054086ca195da859ff281a586.jpg","text":"TemporaryFile(/tmp/multipartBody5680155843371369234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163213573,"filename":"image_20042025_14_41_55_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b32e58aa1642507aedcfd289ea64616.jpg","text":"TemporaryFile(/tmp/multipartBody5825889823274926294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163213573,"filename":"image_20042025_14_41_26_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256862","file1":"1352256860","file0":"1352256857","file4":"1352256866","file5":"1352256868","file3":"1352256864"},"map_files_photo_id_array":[{"photo_id":"1352256868","filename":"file5"},{"photo_id":"1352256862","filename":"file2"},{"photo_id":"1352256866","filename":"file4"},{"photo_id":"1352256860","filename":"file1"},{"photo_id":"1352256857","filename":"file0"},{"photo_id":"1352256864","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256864":["hashtag1","hashtag2"]},{"1352256860":["hashtag1","hashtag2"]},{"1352256857":["hashtag1","hashtag2"]},{"1352256866":["hashtag1","hashtag2"]},{"1352256868":["hashtag1","hashtag2"]},{"1352256862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256864, 1352256860, 1352256857, 1352256866, 1352256868, 1352256862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.529162168502808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:33:32.323894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/41/image_20042025_14_42_05_10426.jpg', '/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_16_10366.jpg', '/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_25_9469.jpg', '/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_45_9342.jpg', '/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_55_10447.jpg', '/home/pi/Desktop/images/20042025/14/42/image_20042025_14_43_05_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/41/image_20042025_14_42_05_10426.jpg
/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_16_10366.jpg
/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_25_9469.jpg
/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_45_9342.jpg
/home/pi/Desktop/images/20042025/14/42/image_20042025_14_42_55_10447.jpg
/home/pi/Desktop/images/20042025/14/42/image_20042025_14_43_05_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256885","1352256893","1352256887","1352256896","1352256889","1352256880"],"photo_ids_order":["1352256880","1352256885","1352256887","1352256889","1352256893","1352256896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f1f9f9efc3b8443004c469c4331208e.jpg","text":"TemporaryFile(/tmp/multipartBody2814601291265911461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163272783,"filename":"image_20042025_14_42_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a630ccb5ef319c0c893ef04b332efe2c.jpg","text":"TemporaryFile(/tmp/multipartBody4172924137017584405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163272783,"filename":"image_20042025_14_42_55_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98802cf2a90ebd03599b9666a0a2813d.jpg","text":"TemporaryFile(/tmp/multipartBody8857841792442286928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163272783,"filename":"image_20042025_14_42_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bf72bc0618826bfd4a96d224bbefe3b.jpg","text":"TemporaryFile(/tmp/multipartBody6037689208335917631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163272783,"filename":"image_20042025_14_43_05_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d30bc28a866a11b6804d4d6d042e21a7.jpg","text":"TemporaryFile(/tmp/multipartBody6225493575878824388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163272783,"filename":"image_20042025_14_42_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17d88200162e7438a05286e962ecd850.jpg","text":"TemporaryFile(/tmp/multipartBody8341681478990166435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163272783,"filename":"image_20042025_14_42_05_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256887","file1":"1352256885","file0":"1352256880","file4":"1352256893","file5":"1352256896","file3":"1352256889"},"map_files_photo_id_array":[{"photo_id":"1352256896","filename":"file5"},{"photo_id":"1352256887","filename":"file2"},{"photo_id":"1352256893","filename":"file4"},{"photo_id":"1352256885","filename":"file1"},{"photo_id":"1352256880","filename":"file0"},{"photo_id":"1352256889","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256885":["hashtag1","hashtag2"]},{"1352256893":["hashtag1","hashtag2"]},{"1352256887":["hashtag1","hashtag2"]},{"1352256896":["hashtag1","hashtag2"]},{"1352256889":["hashtag1","hashtag2"]},{"1352256880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256885, 1352256893, 1352256887, 1352256896, 1352256889, 1352256880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.274160861969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 17:34:42.541085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_15_10377.jpg', '/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_25_10373.jpg', '/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_45_10397.jpg', '/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_55_9445.jpg', '/home/pi/Desktop/images/20042025/14/43/image_20042025_14_44_05_10381.jpg', '/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_15_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_15_10377.jpg
/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_25_10373.jpg
/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_45_10397.jpg
/home/pi/Desktop/images/20042025/14/43/image_20042025_14_43_55_9445.jpg
/home/pi/Desktop/images/20042025/14/43/image_20042025_14_44_05_10381.jpg
/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_15_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256912","1352256915","1352256909","1352256903","1352256902","1352256907"],"photo_ids_order":["1352256902","1352256903","1352256907","1352256909","1352256912","1352256915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65d4d0375d9a4c77d0ce9cbdebc9226c.jpg","text":"TemporaryFile(/tmp/multipartBody1306391844972148663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163343002,"filename":"image_20042025_14_44_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fb27ec36ff4364700e4627fa063516f.jpg","text":"TemporaryFile(/tmp/multipartBody2760735431593375062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163343002,"filename":"image_20042025_14_44_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5158131e07fb7ea90473ea70e524bf33.jpg","text":"TemporaryFile(/tmp/multipartBody6720265349908149592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163343002,"filename":"image_20042025_14_43_55_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/404da441a4169db7b7b9b486e9206881.jpg","text":"TemporaryFile(/tmp/multipartBody6707197063313422293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163343002,"filename":"image_20042025_14_43_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4df9f5e41f31dc205edc2150e6b86b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2381934450528587695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163343002,"filename":"image_20042025_14_43_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1238cfcb0ea4439e11a82662be33b7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1263137484732350497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163343002,"filename":"image_20042025_14_43_45_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256907","file1":"1352256903","file0":"1352256902","file4":"1352256912","file5":"1352256915","file3":"1352256909"},"map_files_photo_id_array":[{"photo_id":"1352256915","filename":"file5"},{"photo_id":"1352256907","filename":"file2"},{"photo_id":"1352256912","filename":"file4"},{"photo_id":"1352256903","filename":"file1"},{"photo_id":"1352256902","filename":"file0"},{"photo_id":"1352256909","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256912":["hashtag1","hashtag2"]},{"1352256915":["hashtag1","hashtag2"]},{"1352256909":["hashtag1","hashtag2"]},{"1352256903":["hashtag1","hashtag2"]},{"1352256902":["hashtag1","hashtag2"]},{"1352256907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256912, 1352256915, 1352256909, 1352256903, 1352256902, 1352256907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60797119140625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:35:32.870189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_35_10368.jpg', '/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_46_10360.jpg', '/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_55_9543.jpg', '/home/pi/Desktop/images/20042025/14/44/image_20042025_14_45_05_10389.jpg', '/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_15_9361.jpg', '/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_25_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_35_10368.jpg
/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_46_10360.jpg
/home/pi/Desktop/images/20042025/14/44/image_20042025_14_44_55_9543.jpg
/home/pi/Desktop/images/20042025/14/44/image_20042025_14_45_05_10389.jpg
/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_15_9361.jpg
/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_25_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256933","1352256927","1352256932","1352256926","1352256929","1352256931"],"photo_ids_order":["1352256926","1352256927","1352256929","1352256931","1352256932","1352256933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68b097c1c0f9a6de8cf34ded266c75ba.jpg","text":"TemporaryFile(/tmp/multipartBody4812504913119298705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163393330,"filename":"image_20042025_14_45_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c59bbb40b221b230dab8fe01204f942c.jpg","text":"TemporaryFile(/tmp/multipartBody4424820183160057676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163393330,"filename":"image_20042025_14_44_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c0fe2a05af8842a727effa13b75d90b.jpg","text":"TemporaryFile(/tmp/multipartBody4358287330168981398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163393330,"filename":"image_20042025_14_45_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa9b9896f7138f6f1dda54b3527ecc86.jpg","text":"TemporaryFile(/tmp/multipartBody834366073405360874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163393330,"filename":"image_20042025_14_44_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c46f75bac09cba4575a95fea41bf641d.jpg","text":"TemporaryFile(/tmp/multipartBody5411176153139218274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163393330,"filename":"image_20042025_14_44_55_9543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9e94053fd4dab1f131f268c923d9399.jpg","text":"TemporaryFile(/tmp/multipartBody1346687409662660709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163393330,"filename":"image_20042025_14_45_05_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256929","file1":"1352256927","file0":"1352256926","file4":"1352256932","file5":"1352256933","file3":"1352256931"},"map_files_photo_id_array":[{"photo_id":"1352256933","filename":"file5"},{"photo_id":"1352256929","filename":"file2"},{"photo_id":"1352256932","filename":"file4"},{"photo_id":"1352256927","filename":"file1"},{"photo_id":"1352256926","filename":"file0"},{"photo_id":"1352256931","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256933":["hashtag1","hashtag2"]},{"1352256927":["hashtag1","hashtag2"]},{"1352256932":["hashtag1","hashtag2"]},{"1352256926":["hashtag1","hashtag2"]},{"1352256929":["hashtag1","hashtag2"]},{"1352256931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256933, 1352256927, 1352256932, 1352256926, 1352256929, 1352256931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.889868021011353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:36:32.968155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_36_10364.jpg', '/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_45_9448.jpg', '/home/pi/Desktop/images/20042025/14/45/image_20042025_14_46_05_9353.jpg', '/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_15_10393.jpg', '/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_26_10382.jpg', '/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_35_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_36_10364.jpg
/home/pi/Desktop/images/20042025/14/45/image_20042025_14_45_45_9448.jpg
/home/pi/Desktop/images/20042025/14/45/image_20042025_14_46_05_9353.jpg
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_15_10393.jpg
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_26_10382.jpg
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_35_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256954","1352256941","1352256950","1352256944","1352256947","1352256952"],"photo_ids_order":["1352256941","1352256944","1352256947","1352256950","1352256952","1352256954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d009b884260ea92dcd63cb75616433f8.jpg","text":"TemporaryFile(/tmp/multipartBody2912654307569778934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163453432,"filename":"image_20042025_14_46_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dee478e0a8a4559bb499ecc4b3bd1775.jpg","text":"TemporaryFile(/tmp/multipartBody2155400814738829434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163453432,"filename":"image_20042025_14_45_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cb13be644a5eea131476709645d728b.jpg","text":"TemporaryFile(/tmp/multipartBody561954265772356576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163453432,"filename":"image_20042025_14_46_15_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c0bbbc3d1b2448831685de3570c847d.jpg","text":"TemporaryFile(/tmp/multipartBody5475445329264055555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163453432,"filename":"image_20042025_14_45_45_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33e031929aa773fe777602ae9b4a3963.jpg","text":"TemporaryFile(/tmp/multipartBody2742458633166912480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163453432,"filename":"image_20042025_14_46_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e29d69421d2f6b47572d35e08c42dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody8169447215860150466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163453432,"filename":"image_20042025_14_46_26_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256947","file1":"1352256944","file0":"1352256941","file4":"1352256952","file5":"1352256954","file3":"1352256950"},"map_files_photo_id_array":[{"photo_id":"1352256954","filename":"file5"},{"photo_id":"1352256947","filename":"file2"},{"photo_id":"1352256952","filename":"file4"},{"photo_id":"1352256944","filename":"file1"},{"photo_id":"1352256941","filename":"file0"},{"photo_id":"1352256950","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256954":["hashtag1","hashtag2"]},{"1352256941":["hashtag1","hashtag2"]},{"1352256950":["hashtag1","hashtag2"]},{"1352256944":["hashtag1","hashtag2"]},{"1352256947":["hashtag1","hashtag2"]},{"1352256952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256954, 1352256941, 1352256950, 1352256944, 1352256947, 1352256952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.041175603866577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:37:33.075080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_45_10392.jpg', '/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_55_9403.jpg', '/home/pi/Desktop/images/20042025/14/46/image_20042025_14_47_05_10375.jpg', '/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_16_10361.jpg', '/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_35_10384.jpg', '/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_45_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_45_10392.jpg
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_55_9403.jpg
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_47_05_10375.jpg
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_16_10361.jpg
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_35_10384.jpg
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_45_9377.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37723612785339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 17:37:43.117283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_45_10392.jpg', '/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_55_9403.jpg', '/home/pi/Desktop/images/20042025/14/46/image_20042025_14_47_05_10375.jpg', '/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_16_10361.jpg', '/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_35_10384.jpg', '/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_45_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_45_10392.jpg
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_46_55_9403.jpg
/home/pi/Desktop/images/20042025/14/46/image_20042025_14_47_05_10375.jpg
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_16_10361.jpg
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_35_10384.jpg
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_45_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256984","1352256978","1352256980","1352256982","1352256973","1352256975"],"photo_ids_order":["1352256973","1352256975","1352256978","1352256980","1352256982","1352256984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4a6e853822ac4b3c1edb60a074f127e.jpg","text":"TemporaryFile(/tmp/multipartBody455394936369489463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163523584,"filename":"image_20042025_14_47_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b32936b431eee2f910930e03d9c086d8.jpg","text":"TemporaryFile(/tmp/multipartBody5725315839862943273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163523584,"filename":"image_20042025_14_47_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db9034f16b9b3c80fcb154514fff9459.jpg","text":"TemporaryFile(/tmp/multipartBody3356503995338845859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163523584,"filename":"image_20042025_14_47_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd88099ecd9c441c34d7a867b7923cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8193788572406442583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163523584,"filename":"image_20042025_14_47_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66ad938e29a5adf92b76d51ce2ce20a9.jpg","text":"TemporaryFile(/tmp/multipartBody8588865008854510757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163523584,"filename":"image_20042025_14_46_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e9447f425a40bff119fe8cee3d67b7a.jpg","text":"TemporaryFile(/tmp/multipartBody486617986217120791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163523584,"filename":"image_20042025_14_46_55_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256978","file1":"1352256975","file0":"1352256973","file4":"1352256982","file5":"1352256984","file3":"1352256980"},"map_files_photo_id_array":[{"photo_id":"1352256984","filename":"file5"},{"photo_id":"1352256978","filename":"file2"},{"photo_id":"1352256982","filename":"file4"},{"photo_id":"1352256975","filename":"file1"},{"photo_id":"1352256973","filename":"file0"},{"photo_id":"1352256980","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256984":["hashtag1","hashtag2"]},{"1352256978":["hashtag1","hashtag2"]},{"1352256980":["hashtag1","hashtag2"]},{"1352256982":["hashtag1","hashtag2"]},{"1352256973":["hashtag1","hashtag2"]},{"1352256975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256984, 1352256978, 1352256980, 1352256982, 1352256973, 1352256975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.354762077331543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:38:32.282085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_55_10483.jpg', '/home/pi/Desktop/images/20042025/14/47/image_20042025_14_48_05_9396.jpg', '/home/pi/Desktop/images/20042025/14/48/image_20042025_14_48_25_10387.jpg', '/home/pi/Desktop/images/20042025/14/48/image_20042025_14_48_35_9365.jpg', '/home/pi/Desktop/images/20042025/14/48/image_20042025_14_48_45_10415.jpg', '/home/pi/Desktop/images/20042025/14/49/image_20042025_14_49_25_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_47_55_10483.jpg
/home/pi/Desktop/images/20042025/14/47/image_20042025_14_48_05_9396.jpg
/home/pi/Desktop/images/20042025/14/48/image_20042025_14_48_25_10387.jpg
/home/pi/Desktop/images/20042025/14/48/image_20042025_14_48_35_9365.jpg
/home/pi/Desktop/images/20042025/14/48/image_20042025_14_48_45_10415.jpg
/home/pi/Desktop/images/20042025/14/49/image_20042025_14_49_25_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256990","1352256998","1352257004","1352257007","1352257001","1352257006"],"photo_ids_order":["1352256990","1352256998","1352257001","1352257004","1352257006","1352257007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/597df13c7490b13672d28d64f9a8b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody2589174437658011767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163572742,"filename":"image_20042025_14_47_55_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29fa3cf8c1423e3c9c843f79dddfa35a.jpg","text":"TemporaryFile(/tmp/multipartBody8070334850684931997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163572742,"filename":"image_20042025_14_48_05_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/524264a282990a89d0fc6f50f8d61e57.jpg","text":"TemporaryFile(/tmp/multipartBody6209854000362645051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163572742,"filename":"image_20042025_14_48_35_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a84e552af29fae16ee2023183c69588b.jpg","text":"TemporaryFile(/tmp/multipartBody8601753978999155556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163572742,"filename":"image_20042025_14_49_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1ccde7b129fe9aa00ecdbb749adafee.jpg","text":"TemporaryFile(/tmp/multipartBody4280734659046092368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163572742,"filename":"image_20042025_14_48_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76fc0f55898e241fee720a4b2e7ce396.jpg","text":"TemporaryFile(/tmp/multipartBody6810755884701959941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163572742,"filename":"image_20042025_14_48_45_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257001","file1":"1352256998","file0":"1352256990","file4":"1352257006","file5":"1352257007","file3":"1352257004"},"map_files_photo_id_array":[{"photo_id":"1352257007","filename":"file5"},{"photo_id":"1352257001","filename":"file2"},{"photo_id":"1352257006","filename":"file4"},{"photo_id":"1352256998","filename":"file1"},{"photo_id":"1352256990","filename":"file0"},{"photo_id":"1352257004","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352256990":["hashtag1","hashtag2"]},{"1352256998":["hashtag1","hashtag2"]},{"1352257004":["hashtag1","hashtag2"]},{"1352257007":["hashtag1","hashtag2"]},{"1352257001":["hashtag1","hashtag2"]},{"1352257006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352256990, 1352256998, 1352257004, 1352257007, 1352257001, 1352257006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54707670211792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:39:32.647631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/49/image_20042025_14_49_35_10430.jpg', '/home/pi/Desktop/images/20042025/14/49/image_20042025_14_49_46_10378.jpg', '/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_15_9418.jpg', '/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_25_10380.jpg', '/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_36_10418.jpg', '/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_55_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/49/image_20042025_14_49_35_10430.jpg
/home/pi/Desktop/images/20042025/14/49/image_20042025_14_49_46_10378.jpg
/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_15_9418.jpg
/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_25_10380.jpg
/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_36_10418.jpg
/home/pi/Desktop/images/20042025/14/50/image_20042025_14_50_55_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257026","1352257022","1352257028","1352257016","1352257024","1352257018"],"photo_ids_order":["1352257016","1352257018","1352257022","1352257024","1352257026","1352257028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f42a35e62ba80de2970d51c2c3b75fc.jpg","text":"TemporaryFile(/tmp/multipartBody6119754508172451041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163633122,"filename":"image_20042025_14_50_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90547afc4c94fcc64ca25a6f5d48e76b.jpg","text":"TemporaryFile(/tmp/multipartBody1547764085186491995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163633122,"filename":"image_20042025_14_50_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27a36fad73f6e7bca64a53c2b7ea0709.jpg","text":"TemporaryFile(/tmp/multipartBody5905639347848971315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163633122,"filename":"image_20042025_14_50_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d29ce4a00b9847c060bbc3a7ce02e068.jpg","text":"TemporaryFile(/tmp/multipartBody3958958340590911806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163633122,"filename":"image_20042025_14_49_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/722069632fc2a7f5b0b48d37d221ef34.jpg","text":"TemporaryFile(/tmp/multipartBody2913326463460572416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163633122,"filename":"image_20042025_14_50_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b55597f0abbc0f2c67b2b4113c0381f.jpg","text":"TemporaryFile(/tmp/multipartBody1166986928259075069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163633122,"filename":"image_20042025_14_49_46_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257022","file1":"1352257018","file0":"1352257016","file4":"1352257026","file5":"1352257028","file3":"1352257024"},"map_files_photo_id_array":[{"photo_id":"1352257028","filename":"file5"},{"photo_id":"1352257022","filename":"file2"},{"photo_id":"1352257026","filename":"file4"},{"photo_id":"1352257018","filename":"file1"},{"photo_id":"1352257016","filename":"file0"},{"photo_id":"1352257024","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257026":["hashtag1","hashtag2"]},{"1352257022":["hashtag1","hashtag2"]},{"1352257028":["hashtag1","hashtag2"]},{"1352257016":["hashtag1","hashtag2"]},{"1352257024":["hashtag1","hashtag2"]},{"1352257018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257026, 1352257022, 1352257028, 1352257016, 1352257024, 1352257018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36587119102478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:40:32.725493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/50/image_20042025_14_51_05_9367.jpg', '/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_15_10373.jpg', '/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_26_10421.jpg', '/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_35_9490.jpg', '/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_45_10378.jpg', '/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_55_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/50/image_20042025_14_51_05_9367.jpg
/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_15_10373.jpg
/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_26_10421.jpg
/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_35_9490.jpg
/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_45_10378.jpg
/home/pi/Desktop/images/20042025/14/51/image_20042025_14_51_55_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257041","1352257049","1352257043","1352257046","1352257051","1352257044"],"photo_ids_order":["1352257041","1352257043","1352257044","1352257046","1352257049","1352257051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7617e4dd78879eb8a0e427e282787e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3337033213265635384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163693188,"filename":"image_20042025_14_51_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0888fafbbfea3ccb26d1bf88cb9e272.jpg","text":"TemporaryFile(/tmp/multipartBody992430839974926134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163693188,"filename":"image_20042025_14_51_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73ab3d11c44adf2033bc78a233ae3127.jpg","text":"TemporaryFile(/tmp/multipartBody6897409805805664252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163693188,"filename":"image_20042025_14_51_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9607a2bb8cc3398876ed90da51b2c86a.jpg","text":"TemporaryFile(/tmp/multipartBody948646655488670141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163693188,"filename":"image_20042025_14_51_35_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c0f44aff5255002f2b9bbba74bacf4e.jpg","text":"TemporaryFile(/tmp/multipartBody1528691294164580128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163693188,"filename":"image_20042025_14_51_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/018fb2303a271c84f3c7af7fe503e677.jpg","text":"TemporaryFile(/tmp/multipartBody8460512450567002680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163693188,"filename":"image_20042025_14_51_26_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257044","file1":"1352257043","file0":"1352257041","file4":"1352257049","file5":"1352257051","file3":"1352257046"},"map_files_photo_id_array":[{"photo_id":"1352257051","filename":"file5"},{"photo_id":"1352257044","filename":"file2"},{"photo_id":"1352257049","filename":"file4"},{"photo_id":"1352257043","filename":"file1"},{"photo_id":"1352257041","filename":"file0"},{"photo_id":"1352257046","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257041":["hashtag1","hashtag2"]},{"1352257049":["hashtag1","hashtag2"]},{"1352257043":["hashtag1","hashtag2"]},{"1352257046":["hashtag1","hashtag2"]},{"1352257051":["hashtag1","hashtag2"]},{"1352257044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257041, 1352257049, 1352257043, 1352257046, 1352257051, 1352257044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.581751585006714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:41:32.938758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/51/image_20042025_14_52_05_10367.jpg', '/home/pi/Desktop/images/20042025/14/52/image_20042025_14_52_45_9408.jpg', '/home/pi/Desktop/images/20042025/14/52/image_20042025_14_52_55_10429.jpg', '/home/pi/Desktop/images/20042025/14/52/image_20042025_14_53_06_10352.jpg', '/home/pi/Desktop/images/20042025/14/53/image_20042025_14_53_15_9459.jpg', '/home/pi/Desktop/images/20042025/14/53/image_20042025_14_53_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/51/image_20042025_14_52_05_10367.jpg
/home/pi/Desktop/images/20042025/14/52/image_20042025_14_52_45_9408.jpg
/home/pi/Desktop/images/20042025/14/52/image_20042025_14_52_55_10429.jpg
/home/pi/Desktop/images/20042025/14/52/image_20042025_14_53_06_10352.jpg
/home/pi/Desktop/images/20042025/14/53/image_20042025_14_53_15_9459.jpg
/home/pi/Desktop/images/20042025/14/53/image_20042025_14_53_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257068","1352257061","1352257070","1352257064","1352257072","1352257066"],"photo_ids_order":["1352257061","1352257064","1352257066","1352257068","1352257070","1352257072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a39e8ae70540c96f8c7235dfe48aa73.jpg","text":"TemporaryFile(/tmp/multipartBody5403852977792045194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163753408,"filename":"image_20042025_14_53_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edeb3e9bbc2a396c6e1678c66b7301a9.jpg","text":"TemporaryFile(/tmp/multipartBody2860401017102416024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163753408,"filename":"image_20042025_14_52_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f9d1dda0cb1ad75d979e281597bfa4b.jpg","text":"TemporaryFile(/tmp/multipartBody7914136027393490894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163753408,"filename":"image_20042025_14_53_15_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c10002533f66c29866f942cc57092dbd.jpg","text":"TemporaryFile(/tmp/multipartBody2099550786251065455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163753408,"filename":"image_20042025_14_52_45_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1925ab9e4c206a8a45a4b32a1ef88edd.jpg","text":"TemporaryFile(/tmp/multipartBody8667244385689437744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163753408,"filename":"image_20042025_14_53_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3403830e2c72750399041598de258318.jpg","text":"TemporaryFile(/tmp/multipartBody3800809661263598834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163753408,"filename":"image_20042025_14_52_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257066","file1":"1352257064","file0":"1352257061","file4":"1352257070","file5":"1352257072","file3":"1352257068"},"map_files_photo_id_array":[{"photo_id":"1352257072","filename":"file5"},{"photo_id":"1352257066","filename":"file2"},{"photo_id":"1352257070","filename":"file4"},{"photo_id":"1352257064","filename":"file1"},{"photo_id":"1352257061","filename":"file0"},{"photo_id":"1352257068","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257068":["hashtag1","hashtag2"]},{"1352257061":["hashtag1","hashtag2"]},{"1352257070":["hashtag1","hashtag2"]},{"1352257064":["hashtag1","hashtag2"]},{"1352257072":["hashtag1","hashtag2"]},{"1352257066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257068, 1352257061, 1352257070, 1352257064, 1352257072, 1352257066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.997276067733765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:42:33.120533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/53/image_20042025_14_54_05_10407.jpg', '/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_25_9373.jpg', '/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_35_10358.jpg', '/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_45_10384.jpg', '/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_55_9438.jpg', '/home/pi/Desktop/images/20042025/14/54/image_20042025_14_55_05_10509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/53/image_20042025_14_54_05_10407.jpg
/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_25_9373.jpg
/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_35_10358.jpg
/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_45_10384.jpg
/home/pi/Desktop/images/20042025/14/54/image_20042025_14_54_55_9438.jpg
/home/pi/Desktop/images/20042025/14/54/image_20042025_14_55_05_10509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257091","1352257081","1352257084","1352257093","1352257095","1352257086"],"photo_ids_order":["1352257081","1352257084","1352257086","1352257091","1352257093","1352257095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c0b18b2222f589ca10f4d8248436385.jpg","text":"TemporaryFile(/tmp/multipartBody7153780041417931518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163813590,"filename":"image_20042025_14_54_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8840ff089a38184a9f2736d435dc57e.jpg","text":"TemporaryFile(/tmp/multipartBody2827208726327434552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163813590,"filename":"image_20042025_14_54_05_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b1463b3398a8155f4dba605bed1b1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6642290612823719611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163813590,"filename":"image_20042025_14_54_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70163aa5f9814488df5d3f639d9ecaf6.jpg","text":"TemporaryFile(/tmp/multipartBody6663513889833905296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163813590,"filename":"image_20042025_14_54_55_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/320fab219c7242ce0d24d308f9423aea.jpg","text":"TemporaryFile(/tmp/multipartBody8141729732898985264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163813590,"filename":"image_20042025_14_55_05_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1460ed2c85c3a6a940e71a801a8ef5e0.jpg","text":"TemporaryFile(/tmp/multipartBody8413675643846346160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163813590,"filename":"image_20042025_14_54_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257086","file1":"1352257084","file0":"1352257081","file4":"1352257093","file5":"1352257095","file3":"1352257091"},"map_files_photo_id_array":[{"photo_id":"1352257095","filename":"file5"},{"photo_id":"1352257086","filename":"file2"},{"photo_id":"1352257093","filename":"file4"},{"photo_id":"1352257084","filename":"file1"},{"photo_id":"1352257081","filename":"file0"},{"photo_id":"1352257091","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257091":["hashtag1","hashtag2"]},{"1352257081":["hashtag1","hashtag2"]},{"1352257084":["hashtag1","hashtag2"]},{"1352257093":["hashtag1","hashtag2"]},{"1352257095":["hashtag1","hashtag2"]},{"1352257086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257091, 1352257081, 1352257084, 1352257093, 1352257095, 1352257086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.992793560028076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:43:32.355536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_25_10393.jpg', '/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_35_9352.jpg', '/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_45_10373.jpg', '/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_55_10390.jpg', '/home/pi/Desktop/images/20042025/14/55/image_20042025_14_56_05_9352.jpg', '/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_15_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_25_10393.jpg
/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_35_9352.jpg
/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_45_10373.jpg
/home/pi/Desktop/images/20042025/14/55/image_20042025_14_55_55_10390.jpg
/home/pi/Desktop/images/20042025/14/55/image_20042025_14_56_05_9352.jpg
/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_15_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257119","1352257113","1352257116","1352257101","1352257109","1352257105"],"photo_ids_order":["1352257101","1352257105","1352257109","1352257113","1352257116","1352257119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bdd147e6e5a08a24d2012b63dd3807a6.jpg","text":"TemporaryFile(/tmp/multipartBody891772827173872648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163872813,"filename":"image_20042025_14_56_15_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a5a9d62f94a848d93de99ac54fb7bf9.jpg","text":"TemporaryFile(/tmp/multipartBody5819100956642577342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163872813,"filename":"image_20042025_14_55_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8314398f7669261a0d08925b6a8099ab.jpg","text":"TemporaryFile(/tmp/multipartBody7023305324707962697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163872813,"filename":"image_20042025_14_56_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6626d75077bb8d8cde66a89683f28fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4826614949820861457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163872813,"filename":"image_20042025_14_55_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/787cfb17413958aa69dab36e472048b9.jpg","text":"TemporaryFile(/tmp/multipartBody6201379623264264144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163872813,"filename":"image_20042025_14_55_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e29f081045e4aadf5f3f155f138bd1fb.jpg","text":"TemporaryFile(/tmp/multipartBody8535020061136274111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163872813,"filename":"image_20042025_14_55_35_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257109","file1":"1352257105","file0":"1352257101","file4":"1352257116","file5":"1352257119","file3":"1352257113"},"map_files_photo_id_array":[{"photo_id":"1352257119","filename":"file5"},{"photo_id":"1352257109","filename":"file2"},{"photo_id":"1352257116","filename":"file4"},{"photo_id":"1352257105","filename":"file1"},{"photo_id":"1352257101","filename":"file0"},{"photo_id":"1352257113","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257119":["hashtag1","hashtag2"]},{"1352257113":["hashtag1","hashtag2"]},{"1352257116":["hashtag1","hashtag2"]},{"1352257101":["hashtag1","hashtag2"]},{"1352257109":["hashtag1","hashtag2"]},{"1352257105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257119, 1352257113, 1352257116, 1352257101, 1352257109, 1352257105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.96418046951294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:44:32.602314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_25_9395.jpg', '/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_35_10371.jpg', '/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_45_10374.jpg', '/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_55_9373.jpg', '/home/pi/Desktop/images/20042025/14/56/image_20042025_14_57_05_10429.jpg', '/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_16_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_25_9395.jpg
/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_35_10371.jpg
/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_45_10374.jpg
/home/pi/Desktop/images/20042025/14/56/image_20042025_14_56_55_9373.jpg
/home/pi/Desktop/images/20042025/14/56/image_20042025_14_57_05_10429.jpg
/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_16_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257131","1352257134","1352257127","1352257144","1352257141","1352257137"],"photo_ids_order":["1352257127","1352257131","1352257134","1352257137","1352257141","1352257144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d01b574e31fc44c314ee1dc1050a1e1a.jpg","text":"TemporaryFile(/tmp/multipartBody5132875744866054187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163933073,"filename":"image_20042025_14_56_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd82b5c3b9268901f5f635f46a0da60f.jpg","text":"TemporaryFile(/tmp/multipartBody6166833440497903572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163933073,"filename":"image_20042025_14_56_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89188ebc84630c0ad7445d506b9b1576.jpg","text":"TemporaryFile(/tmp/multipartBody2174703053825515801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163933073,"filename":"image_20042025_14_56_25_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba4c880b982c8d3ff648efba433e569b.jpg","text":"TemporaryFile(/tmp/multipartBody8251268212373703278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163933073,"filename":"image_20042025_14_57_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5cac43c703528907a30e085e83fa5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1521150450773225393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163933073,"filename":"image_20042025_14_57_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/368ccba9fd7b46e66fbcadc102a3b57d.jpg","text":"TemporaryFile(/tmp/multipartBody2344513783764096893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163933073,"filename":"image_20042025_14_56_55_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257134","file1":"1352257131","file0":"1352257127","file4":"1352257141","file5":"1352257144","file3":"1352257137"},"map_files_photo_id_array":[{"photo_id":"1352257144","filename":"file5"},{"photo_id":"1352257134","filename":"file2"},{"photo_id":"1352257141","filename":"file4"},{"photo_id":"1352257131","filename":"file1"},{"photo_id":"1352257127","filename":"file0"},{"photo_id":"1352257137","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257131":["hashtag1","hashtag2"]},{"1352257134":["hashtag1","hashtag2"]},{"1352257127":["hashtag1","hashtag2"]},{"1352257144":["hashtag1","hashtag2"]},{"1352257141":["hashtag1","hashtag2"]},{"1352257137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257131, 1352257134, 1352257127, 1352257144, 1352257141, 1352257137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96350717544556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:45:32.981307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_25_9461.jpg', '/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_35_10375.jpg', '/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_45_9385.jpg', '/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_55_10376.jpg', '/home/pi/Desktop/images/20042025/14/57/image_20042025_14_58_06_10438.jpg', '/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_15_9495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_25_9461.jpg
/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_35_10375.jpg
/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_45_9385.jpg
/home/pi/Desktop/images/20042025/14/57/image_20042025_14_57_55_10376.jpg
/home/pi/Desktop/images/20042025/14/57/image_20042025_14_58_06_10438.jpg
/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_15_9495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257152","1352257160","1352257154","1352257162","1352257156","1352257158"],"photo_ids_order":["1352257152","1352257154","1352257156","1352257158","1352257160","1352257162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6656bd4ceba57eb337435b9cc0a1dcfd.jpg","text":"TemporaryFile(/tmp/multipartBody609721405613022722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163993453,"filename":"image_20042025_14_57_25_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5534f953738d21212f161e5a76fdf1ea.jpg","text":"TemporaryFile(/tmp/multipartBody3064851510343286435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163993453,"filename":"image_20042025_14_58_06_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a18ee4716017365e77a045187ffb79d.jpg","text":"TemporaryFile(/tmp/multipartBody6891606199021505665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163993453,"filename":"image_20042025_14_57_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/535b4c16c98de6eb779f226c53b287ca.jpg","text":"TemporaryFile(/tmp/multipartBody5507425278025519118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163993453,"filename":"image_20042025_14_58_15_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec92e2e482dbfb372237351b5e4bb18c.jpg","text":"TemporaryFile(/tmp/multipartBody8069741260779281774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163993453,"filename":"image_20042025_14_57_45_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ea3d5874ce92af3f21696dcff339c94.jpg","text":"TemporaryFile(/tmp/multipartBody3501286665310449905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745163993453,"filename":"image_20042025_14_57_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257156","file1":"1352257154","file0":"1352257152","file4":"1352257160","file5":"1352257162","file3":"1352257158"},"map_files_photo_id_array":[{"photo_id":"1352257162","filename":"file5"},{"photo_id":"1352257156","filename":"file2"},{"photo_id":"1352257160","filename":"file4"},{"photo_id":"1352257154","filename":"file1"},{"photo_id":"1352257152","filename":"file0"},{"photo_id":"1352257158","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257152":["hashtag1","hashtag2"]},{"1352257160":["hashtag1","hashtag2"]},{"1352257154":["hashtag1","hashtag2"]},{"1352257162":["hashtag1","hashtag2"]},{"1352257156":["hashtag1","hashtag2"]},{"1352257158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257152, 1352257160, 1352257154, 1352257162, 1352257156, 1352257158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69224977493286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:46:32.147445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_26_10462.jpg', '/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_35_9407.jpg', '/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_55_9383.jpg', '/home/pi/Desktop/images/20042025/14/58/image_20042025_14_59_05_10423.jpg', '/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_16_10369.jpg', '/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_25_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_26_10462.jpg
/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_35_9407.jpg
/home/pi/Desktop/images/20042025/14/58/image_20042025_14_58_55_9383.jpg
/home/pi/Desktop/images/20042025/14/58/image_20042025_14_59_05_10423.jpg
/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_16_10369.jpg
/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_25_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257181","1352257169","1352257173","1352257176","1352257185","1352257179"],"photo_ids_order":["1352257169","1352257173","1352257176","1352257179","1352257181","1352257185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/067687027b677d1db1c53c17c1c448c0.jpg","text":"TemporaryFile(/tmp/multipartBody8353947876605340456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164052602,"filename":"image_20042025_14_59_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/580ac57bbb2e1ec651302331eb73ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody1481810415703369702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164052602,"filename":"image_20042025_14_58_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31806a5c25ca81ec18cd5831a474f036.jpg","text":"TemporaryFile(/tmp/multipartBody1093172332303245701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164052602,"filename":"image_20042025_14_58_35_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/493398e15b51545a8ae264d5fa7c8c90.jpg","text":"TemporaryFile(/tmp/multipartBody77431607023993020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164052602,"filename":"image_20042025_14_58_55_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13b904cb83b450b0e51593b888d3071c.jpg","text":"TemporaryFile(/tmp/multipartBody3253415940371079623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164052602,"filename":"image_20042025_14_59_25_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d4a84981ba3494a21aa884c31720735.jpg","text":"TemporaryFile(/tmp/multipartBody5877475024751015752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164052602,"filename":"image_20042025_14_59_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257176","file1":"1352257173","file0":"1352257169","file4":"1352257181","file5":"1352257185","file3":"1352257179"},"map_files_photo_id_array":[{"photo_id":"1352257185","filename":"file5"},{"photo_id":"1352257176","filename":"file2"},{"photo_id":"1352257181","filename":"file4"},{"photo_id":"1352257173","filename":"file1"},{"photo_id":"1352257169","filename":"file0"},{"photo_id":"1352257179","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257181":["hashtag1","hashtag2"]},{"1352257169":["hashtag1","hashtag2"]},{"1352257173":["hashtag1","hashtag2"]},{"1352257176":["hashtag1","hashtag2"]},{"1352257185":["hashtag1","hashtag2"]},{"1352257179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257181, 1352257169, 1352257173, 1352257176, 1352257185, 1352257179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56529879570007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:47:32.540470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_35_10410.jpg', '/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_45_9381.jpg', '/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_14_10077.jpg', '/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_25_10431.jpg', '/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_35_10452.jpg', '/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_44_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_35_10410.jpg
/home/pi/Desktop/images/20042025/14/59/image_20042025_14_59_45_9381.jpg
/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_14_10077.jpg
/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_25_10431.jpg
/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_35_10452.jpg
/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_44_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257199","1352257202","1352257205","1352257208","1352257192","1352257197"],"photo_ids_order":["1352257192","1352257197","1352257199","1352257202","1352257205","1352257208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1a8d2967d14b68d6667cd5255a8aae33.jpg","text":"TemporaryFile(/tmp/multipartBody1741120750162365480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164112995,"filename":"image_20042025_15_01_14_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/783785537d0f4e93a1ba268a9c8742a3.jpg","text":"TemporaryFile(/tmp/multipartBody7859360831145970493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164112995,"filename":"image_20042025_15_01_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/700164068f30666a1a3ab02538703daf.jpg","text":"TemporaryFile(/tmp/multipartBody6439753637605253586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164112995,"filename":"image_20042025_15_01_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5bf4552103af2bcb6a616f80f674f12.jpg","text":"TemporaryFile(/tmp/multipartBody2275313527317480764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164112995,"filename":"image_20042025_15_01_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea334d484a8d9f3467a07c10abc8618b.jpg","text":"TemporaryFile(/tmp/multipartBody3999175727871597462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164112995,"filename":"image_20042025_14_59_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50af8d28e42b80f0d380891328ef72dd.jpg","text":"TemporaryFile(/tmp/multipartBody1877122719176097737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164112995,"filename":"image_20042025_14_59_45_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257199","file1":"1352257197","file0":"1352257192","file4":"1352257205","file5":"1352257208","file3":"1352257202"},"map_files_photo_id_array":[{"photo_id":"1352257208","filename":"file5"},{"photo_id":"1352257199","filename":"file2"},{"photo_id":"1352257205","filename":"file4"},{"photo_id":"1352257197","filename":"file1"},{"photo_id":"1352257192","filename":"file0"},{"photo_id":"1352257202","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257199":["hashtag1","hashtag2"]},{"1352257202":["hashtag1","hashtag2"]},{"1352257205":["hashtag1","hashtag2"]},{"1352257208":["hashtag1","hashtag2"]},{"1352257192":["hashtag1","hashtag2"]},{"1352257197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257199, 1352257202, 1352257205, 1352257208, 1352257192, 1352257197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97958469390869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:48:32.769207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_55_10423.jpg', '/home/pi/Desktop/images/20042025/15/01/image_20042025_15_02_04_9427.jpg', '/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_15_10359.jpg', '/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_24_9475.jpg', '/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_34_10368.jpg', '/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_45_10514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/01/image_20042025_15_01_55_10423.jpg
/home/pi/Desktop/images/20042025/15/01/image_20042025_15_02_04_9427.jpg
/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_15_10359.jpg
/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_24_9475.jpg
/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_34_10368.jpg
/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_45_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257230","1352257224","1352257227","1352257221","1352257214","1352257217"],"photo_ids_order":["1352257214","1352257217","1352257221","1352257224","1352257227","1352257230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35598740a8285723da351799257beecb.jpg","text":"TemporaryFile(/tmp/multipartBody9201049166617813213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164173223,"filename":"image_20042025_15_02_45_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5618f40df464abefc70b871fab475e78.jpg","text":"TemporaryFile(/tmp/multipartBody2597889822270682699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164173223,"filename":"image_20042025_15_02_24_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/598bf410ec19479e7c050eba5f54aa8c.jpg","text":"TemporaryFile(/tmp/multipartBody1756997614193950359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164173223,"filename":"image_20042025_15_02_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17cea7562c9d9b2204416515951a50d5.jpg","text":"TemporaryFile(/tmp/multipartBody7405875734222695759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164173223,"filename":"image_20042025_15_02_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61d7652f91264da63aa8ec9935b0833c.jpg","text":"TemporaryFile(/tmp/multipartBody4763727749417167452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164173223,"filename":"image_20042025_15_01_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcfe7c980f9bb4b8b7ee8b7ccf6807c1.jpg","text":"TemporaryFile(/tmp/multipartBody8274103469181241946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164173223,"filename":"image_20042025_15_02_04_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257221","file1":"1352257217","file0":"1352257214","file4":"1352257227","file5":"1352257230","file3":"1352257224"},"map_files_photo_id_array":[{"photo_id":"1352257230","filename":"file5"},{"photo_id":"1352257221","filename":"file2"},{"photo_id":"1352257227","filename":"file4"},{"photo_id":"1352257217","filename":"file1"},{"photo_id":"1352257214","filename":"file0"},{"photo_id":"1352257224","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257230":["hashtag1","hashtag2"]},{"1352257224":["hashtag1","hashtag2"]},{"1352257227":["hashtag1","hashtag2"]},{"1352257221":["hashtag1","hashtag2"]},{"1352257214":["hashtag1","hashtag2"]},{"1352257217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257230, 1352257224, 1352257227, 1352257221, 1352257214, 1352257217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.67367935180664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:49:32.972182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_54_9356.jpg', '/home/pi/Desktop/images/20042025/15/02/image_20042025_15_03_05_10362.jpg', '/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_15_10390.jpg', '/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_24_9367.jpg', '/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_35_10366.jpg', '/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_44_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/02/image_20042025_15_02_54_9356.jpg
/home/pi/Desktop/images/20042025/15/02/image_20042025_15_03_05_10362.jpg
/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_15_10390.jpg
/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_24_9367.jpg
/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_35_10366.jpg
/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_44_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257245","1352257250","1352257247","1352257243","1352257252","1352257249"],"photo_ids_order":["1352257243","1352257245","1352257247","1352257249","1352257250","1352257252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3df32f3b8955df7dad5471fa4acfdea7.jpg","text":"TemporaryFile(/tmp/multipartBody3623616515036381358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164233444,"filename":"image_20042025_15_03_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5f5a21e3b74423f6351fcbda314c1aa.jpg","text":"TemporaryFile(/tmp/multipartBody5095146637284303782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164233444,"filename":"image_20042025_15_03_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aae2e8c8bac7c0f853864898c82d33a8.jpg","text":"TemporaryFile(/tmp/multipartBody7298920696491463919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164233444,"filename":"image_20042025_15_03_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4556936571223654b6bb363157b9e018.jpg","text":"TemporaryFile(/tmp/multipartBody5365154418235073405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164233444,"filename":"image_20042025_15_02_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6e8488bc69c33211845efa169e5099c.jpg","text":"TemporaryFile(/tmp/multipartBody5544584194772441127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164233444,"filename":"image_20042025_15_03_44_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c83696e97dea8e980989edae83794c8.jpg","text":"TemporaryFile(/tmp/multipartBody4833890263575547389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164233444,"filename":"image_20042025_15_03_24_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257247","file1":"1352257245","file0":"1352257243","file4":"1352257250","file5":"1352257252","file3":"1352257249"},"map_files_photo_id_array":[{"photo_id":"1352257252","filename":"file5"},{"photo_id":"1352257247","filename":"file2"},{"photo_id":"1352257250","filename":"file4"},{"photo_id":"1352257245","filename":"file1"},{"photo_id":"1352257243","filename":"file0"},{"photo_id":"1352257249","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257245":["hashtag1","hashtag2"]},{"1352257250":["hashtag1","hashtag2"]},{"1352257247":["hashtag1","hashtag2"]},{"1352257243":["hashtag1","hashtag2"]},{"1352257252":["hashtag1","hashtag2"]},{"1352257249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257245, 1352257250, 1352257247, 1352257243, 1352257252, 1352257249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.707639694213867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:50:32.203197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_55_10366.jpg', '/home/pi/Desktop/images/20042025/15/03/image_20042025_15_04_05_10424.jpg', '/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_14_9348.jpg', '/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_25_10357.jpg', '/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_34_9363.jpg', '/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_44_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/03/image_20042025_15_03_55_10366.jpg
/home/pi/Desktop/images/20042025/15/03/image_20042025_15_04_05_10424.jpg
/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_14_9348.jpg
/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_25_10357.jpg
/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_34_9363.jpg
/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_44_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257277","1352257279","1352257273","1352257281","1352257275","1352257269"],"photo_ids_order":["1352257269","1352257273","1352257275","1352257277","1352257279","1352257281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00a0171721e5ee755471c3617bdb8814.jpg","text":"TemporaryFile(/tmp/multipartBody4014862552733322631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164292726,"filename":"image_20042025_15_04_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3ef88eb661a542c411f65edf29c436d.jpg","text":"TemporaryFile(/tmp/multipartBody3813333154591180036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164292726,"filename":"image_20042025_15_04_34_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8366c23219817b662a3fdb4b903d06c4.jpg","text":"TemporaryFile(/tmp/multipartBody1108801401394977712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164292726,"filename":"image_20042025_15_04_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6e8209a2802ae6d1c371168a6324909.jpg","text":"TemporaryFile(/tmp/multipartBody6706114449856139897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164292726,"filename":"image_20042025_15_04_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fb3fbe9135b87c19569ea4474633883.jpg","text":"TemporaryFile(/tmp/multipartBody8121476256988538429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164292726,"filename":"image_20042025_15_04_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97dccd531f0b467d51a152209360b4f6.jpg","text":"TemporaryFile(/tmp/multipartBody1586023363647778403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164292726,"filename":"image_20042025_15_03_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257275","file1":"1352257273","file0":"1352257269","file4":"1352257279","file5":"1352257281","file3":"1352257277"},"map_files_photo_id_array":[{"photo_id":"1352257281","filename":"file5"},{"photo_id":"1352257275","filename":"file2"},{"photo_id":"1352257279","filename":"file4"},{"photo_id":"1352257273","filename":"file1"},{"photo_id":"1352257269","filename":"file0"},{"photo_id":"1352257277","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257277":["hashtag1","hashtag2"]},{"1352257279":["hashtag1","hashtag2"]},{"1352257273":["hashtag1","hashtag2"]},{"1352257281":["hashtag1","hashtag2"]},{"1352257275":["hashtag1","hashtag2"]},{"1352257269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257277, 1352257279, 1352257273, 1352257281, 1352257275, 1352257269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.709714889526367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:51:32.349437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_55_10393.jpg', '/home/pi/Desktop/images/20042025/15/05/image_20042025_15_05_54_9357.jpg', '/home/pi/Desktop/images/20042025/15/05/image_20042025_15_06_05_10424.jpg', '/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_15_10453.jpg', '/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_24_9414.jpg', '/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_44_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/04/image_20042025_15_04_55_10393.jpg
/home/pi/Desktop/images/20042025/15/05/image_20042025_15_05_54_9357.jpg
/home/pi/Desktop/images/20042025/15/05/image_20042025_15_06_05_10424.jpg
/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_15_10453.jpg
/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_24_9414.jpg
/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_44_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257302","1352257304","1352257306","1352257299","1352257293","1352257296"],"photo_ids_order":["1352257293","1352257296","1352257299","1352257302","1352257304","1352257306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb226cc20b18f3fc11d494402ef59ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1515280497214597085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164352806,"filename":"image_20042025_15_06_15_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88a09b336cbbe5e1d187415087963517.jpg","text":"TemporaryFile(/tmp/multipartBody5679066421492004032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164352806,"filename":"image_20042025_15_06_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6b5ee3a439f20d886ed4589d8b9bc88.jpg","text":"TemporaryFile(/tmp/multipartBody8829115972641921532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164352806,"filename":"image_20042025_15_06_44_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2ca724d824726bb16e3704aee7e638c.jpg","text":"TemporaryFile(/tmp/multipartBody704802730768286187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164352806,"filename":"image_20042025_15_06_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46fc6febcc02d8a8691d67056e2be328.jpg","text":"TemporaryFile(/tmp/multipartBody1980128898901910147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164352806,"filename":"image_20042025_15_04_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/206e6243bedcacddd51ed11ed7106f48.jpg","text":"TemporaryFile(/tmp/multipartBody9043902518168227750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164352806,"filename":"image_20042025_15_05_54_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257299","file1":"1352257296","file0":"1352257293","file4":"1352257304","file5":"1352257306","file3":"1352257302"},"map_files_photo_id_array":[{"photo_id":"1352257306","filename":"file5"},{"photo_id":"1352257299","filename":"file2"},{"photo_id":"1352257304","filename":"file4"},{"photo_id":"1352257296","filename":"file1"},{"photo_id":"1352257293","filename":"file0"},{"photo_id":"1352257302","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257302":["hashtag1","hashtag2"]},{"1352257304":["hashtag1","hashtag2"]},{"1352257306":["hashtag1","hashtag2"]},{"1352257299":["hashtag1","hashtag2"]},{"1352257293":["hashtag1","hashtag2"]},{"1352257296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257302, 1352257304, 1352257306, 1352257299, 1352257293, 1352257296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.045032501220703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:52:32.479559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_55_10434.jpg', '/home/pi/Desktop/images/20042025/15/06/image_20042025_15_07_04_9422.jpg', '/home/pi/Desktop/images/20042025/15/07/image_20042025_15_07_34_9394.jpg', '/home/pi/Desktop/images/20042025/15/07/image_20042025_15_07_45_10348.jpg', '/home/pi/Desktop/images/20042025/15/07/image_20042025_15_08_04_10373.jpg', '/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/06/image_20042025_15_06_55_10434.jpg
/home/pi/Desktop/images/20042025/15/06/image_20042025_15_07_04_9422.jpg
/home/pi/Desktop/images/20042025/15/07/image_20042025_15_07_34_9394.jpg
/home/pi/Desktop/images/20042025/15/07/image_20042025_15_07_45_10348.jpg
/home/pi/Desktop/images/20042025/15/07/image_20042025_15_08_04_10373.jpg
/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257326","1352257331","1352257334","1352257328","1352257322","1352257318"],"photo_ids_order":["1352257318","1352257322","1352257326","1352257328","1352257331","1352257334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85fd42b4f34d8bd0bff4d3620f489b86.jpg","text":"TemporaryFile(/tmp/multipartBody6274992872379401271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164412947,"filename":"image_20042025_15_07_34_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c09bbb68e348af143185ab4796c0e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody5192496677476219558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164412947,"filename":"image_20042025_15_08_04_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b24da3003723018dc1f570ea261f5ce5.jpg","text":"TemporaryFile(/tmp/multipartBody6715864333447231287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164412947,"filename":"image_20042025_15_08_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df787bbc4d0884db45287b072af9985b.jpg","text":"TemporaryFile(/tmp/multipartBody7487033310058658777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164412947,"filename":"image_20042025_15_07_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ac5914ccf6b64689f333e8b3a6e0b74.jpg","text":"TemporaryFile(/tmp/multipartBody1125811740071591384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164412947,"filename":"image_20042025_15_07_04_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/201195e3f2ab0a188be3991f142f8a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5483279107827271480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164412947,"filename":"image_20042025_15_06_55_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257326","file1":"1352257322","file0":"1352257318","file4":"1352257331","file5":"1352257334","file3":"1352257328"},"map_files_photo_id_array":[{"photo_id":"1352257334","filename":"file5"},{"photo_id":"1352257326","filename":"file2"},{"photo_id":"1352257331","filename":"file4"},{"photo_id":"1352257322","filename":"file1"},{"photo_id":"1352257318","filename":"file0"},{"photo_id":"1352257328","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257326":["hashtag1","hashtag2"]},{"1352257331":["hashtag1","hashtag2"]},{"1352257334":["hashtag1","hashtag2"]},{"1352257328":["hashtag1","hashtag2"]},{"1352257322":["hashtag1","hashtag2"]},{"1352257318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257326, 1352257331, 1352257334, 1352257328, 1352257322, 1352257318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75006103515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:53:32.638486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_24_9432.jpg', '/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_35_10345.jpg', '/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_44_9497.jpg', '/home/pi/Desktop/images/20042025/15/09/image_20042025_15_09_25_10459.jpg', '/home/pi/Desktop/images/20042025/15/09/image_20042025_15_09_45_10411.jpg', '/home/pi/Desktop/images/20042025/15/09/image_20042025_15_10_04_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_24_9432.jpg
/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_35_10345.jpg
/home/pi/Desktop/images/20042025/15/08/image_20042025_15_08_44_9497.jpg
/home/pi/Desktop/images/20042025/15/09/image_20042025_15_09_25_10459.jpg
/home/pi/Desktop/images/20042025/15/09/image_20042025_15_09_45_10411.jpg
/home/pi/Desktop/images/20042025/15/09/image_20042025_15_10_04_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257359","1352257352","1352257343","1352257347","1352257362","1352257356"],"photo_ids_order":["1352257343","1352257347","1352257352","1352257356","1352257359","1352257362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e386f843aa0f3e3492047d7e9dfa428b.jpg","text":"TemporaryFile(/tmp/multipartBody737863816541015123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164473094,"filename":"image_20042025_15_09_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b70495c644bb7707dde8a8c711d0827.jpg","text":"TemporaryFile(/tmp/multipartBody5100341026430760812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164473094,"filename":"image_20042025_15_08_44_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f0c914ed5c81cb9c25fde5a0eb9d771.jpg","text":"TemporaryFile(/tmp/multipartBody4909619458229839324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164473094,"filename":"image_20042025_15_08_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2d042b6f03edc9de7b29e4209c7bd0b.jpg","text":"TemporaryFile(/tmp/multipartBody2716164187953932371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164473094,"filename":"image_20042025_15_08_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90d679c710d2f2e779e0b74014914829.jpg","text":"TemporaryFile(/tmp/multipartBody4765810885978088055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164473094,"filename":"image_20042025_15_10_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc9893f19a7edce80c85befb5ab7c399.jpg","text":"TemporaryFile(/tmp/multipartBody7971944897550494397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164473094,"filename":"image_20042025_15_09_25_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257352","file1":"1352257347","file0":"1352257343","file4":"1352257359","file5":"1352257362","file3":"1352257356"},"map_files_photo_id_array":[{"photo_id":"1352257362","filename":"file5"},{"photo_id":"1352257352","filename":"file2"},{"photo_id":"1352257359","filename":"file4"},{"photo_id":"1352257347","filename":"file1"},{"photo_id":"1352257343","filename":"file0"},{"photo_id":"1352257356","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257359":["hashtag1","hashtag2"]},{"1352257352":["hashtag1","hashtag2"]},{"1352257343":["hashtag1","hashtag2"]},{"1352257347":["hashtag1","hashtag2"]},{"1352257362":["hashtag1","hashtag2"]},{"1352257356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257359, 1352257352, 1352257343, 1352257347, 1352257362, 1352257356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.473263025283813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:54:33.048169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/10/image_20042025_15_10_15_10438.jpg', '/home/pi/Desktop/images/20042025/15/10/image_20042025_15_10_35_10361.jpg', '/home/pi/Desktop/images/20042025/15/10/image_20042025_15_11_05_10408.jpg', '/home/pi/Desktop/images/20042025/15/11/image_20042025_15_11_14_9451.jpg', '/home/pi/Desktop/images/20042025/15/11/image_20042025_15_11_35_10379.jpg', '/home/pi/Desktop/images/20042025/15/11/image_20042025_15_11_44_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/10/image_20042025_15_10_15_10438.jpg
/home/pi/Desktop/images/20042025/15/10/image_20042025_15_10_35_10361.jpg
/home/pi/Desktop/images/20042025/15/10/image_20042025_15_11_05_10408.jpg
/home/pi/Desktop/images/20042025/15/11/image_20042025_15_11_14_9451.jpg
/home/pi/Desktop/images/20042025/15/11/image_20042025_15_11_35_10379.jpg
/home/pi/Desktop/images/20042025/15/11/image_20042025_15_11_44_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257388","1352257387","1352257381","1352257384","1352257389","1352257377"],"photo_ids_order":["1352257377","1352257381","1352257384","1352257387","1352257388","1352257389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85d5945ca4dcf5755211e26b1d59f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody3088108944057924042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164533511,"filename":"image_20042025_15_11_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8b77eb757ff3df0fa554ee49f72f959.jpg","text":"TemporaryFile(/tmp/multipartBody6543736209367538700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164533511,"filename":"image_20042025_15_11_14_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/708a3c91fca10546b225cc91ca9156d1.jpg","text":"TemporaryFile(/tmp/multipartBody7446677580263197803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164533511,"filename":"image_20042025_15_10_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cc7bf1a25a1558bcf1a03c978b4e72c.jpg","text":"TemporaryFile(/tmp/multipartBody6818382327243495549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164533511,"filename":"image_20042025_15_11_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b299c572117f4d9b072a47f813d6b734.jpg","text":"TemporaryFile(/tmp/multipartBody4243820073338423354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164533511,"filename":"image_20042025_15_11_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ddd1568048ea9d7983041a62fe3194c.jpg","text":"TemporaryFile(/tmp/multipartBody4437328518214324338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164533511,"filename":"image_20042025_15_10_15_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257384","file1":"1352257381","file0":"1352257377","file4":"1352257388","file5":"1352257389","file3":"1352257387"},"map_files_photo_id_array":[{"photo_id":"1352257389","filename":"file5"},{"photo_id":"1352257384","filename":"file2"},{"photo_id":"1352257388","filename":"file4"},{"photo_id":"1352257381","filename":"file1"},{"photo_id":"1352257377","filename":"file0"},{"photo_id":"1352257387","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257388":["hashtag1","hashtag2"]},{"1352257387":["hashtag1","hashtag2"]},{"1352257381":["hashtag1","hashtag2"]},{"1352257384":["hashtag1","hashtag2"]},{"1352257389":["hashtag1","hashtag2"]},{"1352257377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257388, 1352257387, 1352257381, 1352257384, 1352257389, 1352257377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39637541770935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:55:32.622093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/12/image_20042025_15_12_25_10470.jpg', '/home/pi/Desktop/images/20042025/15/12/image_20042025_15_12_45_10424.jpg', '/home/pi/Desktop/images/20042025/15/13/image_20042025_15_13_15_10360.jpg', '/home/pi/Desktop/images/20042025/15/13/image_20042025_15_13_35_10415.jpg', '/home/pi/Desktop/images/20042025/15/13/image_20042025_15_13_55_10369.jpg', '/home/pi/Desktop/images/20042025/15/13/image_20042025_15_14_04_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/12/image_20042025_15_12_25_10470.jpg
/home/pi/Desktop/images/20042025/15/12/image_20042025_15_12_45_10424.jpg
/home/pi/Desktop/images/20042025/15/13/image_20042025_15_13_15_10360.jpg
/home/pi/Desktop/images/20042025/15/13/image_20042025_15_13_35_10415.jpg
/home/pi/Desktop/images/20042025/15/13/image_20042025_15_13_55_10369.jpg
/home/pi/Desktop/images/20042025/15/13/image_20042025_15_14_04_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257410","1352257394","1352257399","1352257403","1352257406","1352257396"],"photo_ids_order":["1352257394","1352257396","1352257399","1352257403","1352257406","1352257410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d61b6727f04a14b22c08dbfd2fa985d7.jpg","text":"TemporaryFile(/tmp/multipartBody4410848929419860143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164593092,"filename":"image_20042025_15_14_04_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f96106ffbbe620e966dbb1c4cbf2faa1.jpg","text":"TemporaryFile(/tmp/multipartBody2948534946836148149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164593092,"filename":"image_20042025_15_12_25_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/054c406d2092ae23cd2d20ca271a76ba.jpg","text":"TemporaryFile(/tmp/multipartBody8381325170956101865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164593092,"filename":"image_20042025_15_13_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51c9b0f78ab0acb2a7a9f3f3a8cdea5c.jpg","text":"TemporaryFile(/tmp/multipartBody6367264996035412812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164593092,"filename":"image_20042025_15_13_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/112a14f0ab50559a6dfea7e663e87217.jpg","text":"TemporaryFile(/tmp/multipartBody7225435347189930764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164593092,"filename":"image_20042025_15_13_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b13a21e1cfe0e65f5b22e4fa0075c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody4853198281529139205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164593092,"filename":"image_20042025_15_12_45_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257399","file1":"1352257396","file0":"1352257394","file4":"1352257406","file5":"1352257410","file3":"1352257403"},"map_files_photo_id_array":[{"photo_id":"1352257410","filename":"file5"},{"photo_id":"1352257399","filename":"file2"},{"photo_id":"1352257406","filename":"file4"},{"photo_id":"1352257396","filename":"file1"},{"photo_id":"1352257394","filename":"file0"},{"photo_id":"1352257403","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257410":["hashtag1","hashtag2"]},{"1352257394":["hashtag1","hashtag2"]},{"1352257399":["hashtag1","hashtag2"]},{"1352257403":["hashtag1","hashtag2"]},{"1352257406":["hashtag1","hashtag2"]},{"1352257396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257410, 1352257394, 1352257399, 1352257403, 1352257406, 1352257396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56039476394653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:56:32.625131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_15_10436.jpg', '/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_25_10433.jpg', '/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_34_9409.jpg', '/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_45_10363.jpg', '/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_54_9434.jpg', '/home/pi/Desktop/images/20042025/15/14/image_20042025_15_15_05_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_15_10436.jpg
/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_25_10433.jpg
/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_34_9409.jpg
/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_45_10363.jpg
/home/pi/Desktop/images/20042025/15/14/image_20042025_15_14_54_9434.jpg
/home/pi/Desktop/images/20042025/15/14/image_20042025_15_15_05_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257431","1352257433","1352257424","1352257435","1352257420","1352257428"],"photo_ids_order":["1352257420","1352257424","1352257428","1352257431","1352257433","1352257435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f44c79e6c2bc5ebb1e941ffa4fded08.jpg","text":"TemporaryFile(/tmp/multipartBody5724324955685159583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164653076,"filename":"image_20042025_15_14_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eeebb4dac05028715317be9e24a5e522.jpg","text":"TemporaryFile(/tmp/multipartBody7960593564407959787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164653076,"filename":"image_20042025_15_14_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc331bb228fca975a374d0f4f23113f5.jpg","text":"TemporaryFile(/tmp/multipartBody5496574178980462480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164653076,"filename":"image_20042025_15_14_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cb703e5d935dba81aaa052def8e2b63.jpg","text":"TemporaryFile(/tmp/multipartBody4154166248845912431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164653076,"filename":"image_20042025_15_15_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e236b7516073fa938078c598bcd3fe0.jpg","text":"TemporaryFile(/tmp/multipartBody5348944061025007804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164653076,"filename":"image_20042025_15_14_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8430d40bb8be1c5e13b1d666dd1786da.jpg","text":"TemporaryFile(/tmp/multipartBody7042119559269908855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164653076,"filename":"image_20042025_15_14_34_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257428","file1":"1352257424","file0":"1352257420","file4":"1352257433","file5":"1352257435","file3":"1352257431"},"map_files_photo_id_array":[{"photo_id":"1352257435","filename":"file5"},{"photo_id":"1352257428","filename":"file2"},{"photo_id":"1352257433","filename":"file4"},{"photo_id":"1352257424","filename":"file1"},{"photo_id":"1352257420","filename":"file0"},{"photo_id":"1352257431","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257431":["hashtag1","hashtag2"]},{"1352257433":["hashtag1","hashtag2"]},{"1352257424":["hashtag1","hashtag2"]},{"1352257435":["hashtag1","hashtag2"]},{"1352257420":["hashtag1","hashtag2"]},{"1352257428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257431, 1352257433, 1352257424, 1352257435, 1352257420, 1352257428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26296591758728 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 17:57:32.739531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_15_10416.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_24_9352.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_35_10437.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_44_9441.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_55_10369.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_16_05_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_15_10416.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_24_9352.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_35_10437.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_44_9441.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_55_10369.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_16_05_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 17:59:03.377942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_15_10416.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_24_9352.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_35_10437.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_44_9441.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_55_10369.jpg', '/home/pi/Desktop/images/20042025/15/15/image_20042025_15_16_05_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_15_10416.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_24_9352.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_35_10437.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_44_9441.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_15_55_10369.jpg
/home/pi/Desktop/images/20042025/15/15/image_20042025_15_16_05_10394.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257949","1352257763","1352257823","1352257919","1352257882","1352257855"],"photo_ids_order":["1352257763","1352257823","1352257855","1352257882","1352257919","1352257949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3008c016bda3bb2c097a23f7ee25c2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5885341835355091310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164803971,"filename":"image_20042025_15_16_05_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9279202e7fe1a8c74dbe8ed50644f963.jpg","text":"TemporaryFile(/tmp/multipartBody3471699334558069269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164803971,"filename":"image_20042025_15_15_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c72db2461bfe54f2a9f82a41ee78a74b.jpg","text":"TemporaryFile(/tmp/multipartBody1342344235941239569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164803971,"filename":"image_20042025_15_15_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b65d0ac6b0329532a7a310658a662930.jpg","text":"TemporaryFile(/tmp/multipartBody2938730505553266348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164803971,"filename":"image_20042025_15_15_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14e42fa03697497e6b24be155ae01fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3263727265616798147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164803971,"filename":"image_20042025_15_15_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a315172015cbe5096cf9d82e6bb2c97.jpg","text":"TemporaryFile(/tmp/multipartBody620478932343072310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164803971,"filename":"image_20042025_15_15_35_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257855","file1":"1352257823","file0":"1352257763","file4":"1352257919","file5":"1352257949","file3":"1352257882"},"map_files_photo_id_array":[{"photo_id":"1352257949","filename":"file5"},{"photo_id":"1352257855","filename":"file2"},{"photo_id":"1352257919","filename":"file4"},{"photo_id":"1352257823","filename":"file1"},{"photo_id":"1352257763","filename":"file0"},{"photo_id":"1352257882","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352257949":["hashtag1","hashtag2"]},{"1352257763":["hashtag1","hashtag2"]},{"1352257823":["hashtag1","hashtag2"]},{"1352257919":["hashtag1","hashtag2"]},{"1352257882":["hashtag1","hashtag2"]},{"1352257855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352257949, 1352257763, 1352257823, 1352257919, 1352257882, 1352257855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61354351043701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 17:59:42.243077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_14_9366.jpg', '/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_25_10433.jpg', '/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_34_9337.jpg', '/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_45_10424.jpg', '/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_24_9413.jpg', '/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_35_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_14_9366.jpg
/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_25_10433.jpg
/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_34_9337.jpg
/home/pi/Desktop/images/20042025/15/16/image_20042025_15_16_45_10424.jpg
/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_24_9413.jpg
/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_35_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352258473","1352258446","1352258533","1352258562","1352258427","1352258502"],"photo_ids_order":["1352258427","1352258446","1352258473","1352258502","1352258533","1352258562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47fcd31d53386ca79d98e52919f4f37a.jpg","text":"TemporaryFile(/tmp/multipartBody3999634858373766438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164842702,"filename":"image_20042025_15_16_34_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d286d27273751ebe59a70b381714da4f.jpg","text":"TemporaryFile(/tmp/multipartBody2483424535739487142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164842702,"filename":"image_20042025_15_16_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6853bf22ac2cff290177e96b428c994f.jpg","text":"TemporaryFile(/tmp/multipartBody5023886112710455309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164842702,"filename":"image_20042025_15_17_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26d5aab5487e47086444b079a9d3e74a.jpg","text":"TemporaryFile(/tmp/multipartBody5706009049639615609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164842702,"filename":"image_20042025_15_17_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aae25e97ab6098233cea05ff31db5dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5615295977210808715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164842702,"filename":"image_20042025_15_16_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87ae2896c18c5f39dc47a3a3d161981d.jpg","text":"TemporaryFile(/tmp/multipartBody4168011217288458623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164842702,"filename":"image_20042025_15_16_45_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258473","file1":"1352258446","file0":"1352258427","file4":"1352258533","file5":"1352258562","file3":"1352258502"},"map_files_photo_id_array":[{"photo_id":"1352258562","filename":"file5"},{"photo_id":"1352258473","filename":"file2"},{"photo_id":"1352258533","filename":"file4"},{"photo_id":"1352258446","filename":"file1"},{"photo_id":"1352258427","filename":"file0"},{"photo_id":"1352258502","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352258473":["hashtag1","hashtag2"]},{"1352258446":["hashtag1","hashtag2"]},{"1352258533":["hashtag1","hashtag2"]},{"1352258562":["hashtag1","hashtag2"]},{"1352258427":["hashtag1","hashtag2"]},{"1352258502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352258473, 1352258446, 1352258533, 1352258562, 1352258427, 1352258502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.827627182006836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:00:32.477357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_45_10438.jpg', '/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_54_9416.jpg', '/home/pi/Desktop/images/20042025/15/17/image_20042025_15_18_05_10370.jpg', '/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_14_9434.jpg', '/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_25_10380.jpg', '/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_35_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_45_10438.jpg
/home/pi/Desktop/images/20042025/15/17/image_20042025_15_17_54_9416.jpg
/home/pi/Desktop/images/20042025/15/17/image_20042025_15_18_05_10370.jpg
/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_14_9434.jpg
/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_25_10380.jpg
/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_35_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259008","1352258964","1352259039","1352258856","1352258910","1352258805"],"photo_ids_order":["1352258805","1352258856","1352258910","1352258964","1352259008","1352259039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a5df0cc2398ac56d610b5725e7b40bb.jpg","text":"TemporaryFile(/tmp/multipartBody5642810349136133924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164892940,"filename":"image_20042025_15_18_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/417c89eba0448965873998de1f284f9b.jpg","text":"TemporaryFile(/tmp/multipartBody6048850894363649583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164892940,"filename":"image_20042025_15_18_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b9eb217c6dfe20048e0763066afa88b.jpg","text":"TemporaryFile(/tmp/multipartBody2155232764694662726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164892940,"filename":"image_20042025_15_18_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5ffc489410c228f06efd82a1414d4fe.jpg","text":"TemporaryFile(/tmp/multipartBody1535877484123897817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164892940,"filename":"image_20042025_15_17_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa033adce6fc54dd24f7112b5f26daf6.jpg","text":"TemporaryFile(/tmp/multipartBody3859015674960146543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164892940,"filename":"image_20042025_15_18_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f8a32845788024de2b6aef31ea06665.jpg","text":"TemporaryFile(/tmp/multipartBody7870617260202946160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164892940,"filename":"image_20042025_15_17_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258910","file1":"1352258856","file0":"1352258805","file4":"1352259008","file5":"1352259039","file3":"1352258964"},"map_files_photo_id_array":[{"photo_id":"1352259039","filename":"file5"},{"photo_id":"1352258910","filename":"file2"},{"photo_id":"1352259008","filename":"file4"},{"photo_id":"1352258856","filename":"file1"},{"photo_id":"1352258805","filename":"file0"},{"photo_id":"1352258964","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352259008":["hashtag1","hashtag2"]},{"1352258964":["hashtag1","hashtag2"]},{"1352259039":["hashtag1","hashtag2"]},{"1352258856":["hashtag1","hashtag2"]},{"1352258910":["hashtag1","hashtag2"]},{"1352258805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352259008, 1352258964, 1352259039, 1352258856, 1352258910, 1352258805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.204920530319214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:01:32.588164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_44_9351.jpg', '/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_55_10412.jpg', '/home/pi/Desktop/images/20042025/15/18/image_20042025_15_19_04_9342.jpg', '/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_14_10394.jpg', '/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_25_10377.jpg', '/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_34_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_44_9351.jpg
/home/pi/Desktop/images/20042025/15/18/image_20042025_15_18_55_10412.jpg
/home/pi/Desktop/images/20042025/15/18/image_20042025_15_19_04_9342.jpg
/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_14_10394.jpg
/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_25_10377.jpg
/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_34_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259608","1352259682","1352259676","1352259678","1352259633","1352259546"],"photo_ids_order":["1352259546","1352259608","1352259633","1352259676","1352259678","1352259682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25bc09b3e0cda228161d323e8fe9962a.jpg","text":"TemporaryFile(/tmp/multipartBody8841231119993782607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164953061,"filename":"image_20042025_15_18_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d05c65a125023c3ee26dd75e2d269b9.jpg","text":"TemporaryFile(/tmp/multipartBody3124326387074859560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164953061,"filename":"image_20042025_15_19_34_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7f3a9802cf1c54474ba9a5225579bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4613940925851105609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164953061,"filename":"image_20042025_15_19_14_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0aeb01c0b23981483532ae2225d01d1.jpg","text":"TemporaryFile(/tmp/multipartBody8006269490978121302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164953061,"filename":"image_20042025_15_19_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61c3fc83c0ea4ec91867e6e865479c58.jpg","text":"TemporaryFile(/tmp/multipartBody6867695156167023978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164953061,"filename":"image_20042025_15_19_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca83739d0db15fdefc9077d9ce111c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7470206779438828145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745164953061,"filename":"image_20042025_15_18_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352259633","file1":"1352259608","file0":"1352259546","file4":"1352259678","file5":"1352259682","file3":"1352259676"},"map_files_photo_id_array":[{"photo_id":"1352259682","filename":"file5"},{"photo_id":"1352259633","filename":"file2"},{"photo_id":"1352259678","filename":"file4"},{"photo_id":"1352259608","filename":"file1"},{"photo_id":"1352259546","filename":"file0"},{"photo_id":"1352259676","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352259608":["hashtag1","hashtag2"]},{"1352259682":["hashtag1","hashtag2"]},{"1352259676":["hashtag1","hashtag2"]},{"1352259678":["hashtag1","hashtag2"]},{"1352259633":["hashtag1","hashtag2"]},{"1352259546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352259608, 1352259682, 1352259676, 1352259678, 1352259633, 1352259546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26020526885986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:02:32.812108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_45_10353.jpg', '/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_55_10443.jpg', '/home/pi/Desktop/images/20042025/15/19/image_20042025_15_20_04_9384.jpg', '/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_15_10383.jpg', '/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_24_9373.jpg', '/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_45_10353.jpg
/home/pi/Desktop/images/20042025/15/19/image_20042025_15_19_55_10443.jpg
/home/pi/Desktop/images/20042025/15/19/image_20042025_15_20_04_9384.jpg
/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_15_10383.jpg
/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_24_9373.jpg
/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259701","1352259704","1352259694","1352259696","1352259699","1352259698"],"photo_ids_order":["1352259694","1352259696","1352259698","1352259699","1352259701","1352259704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b1a425969d86e1a152966e5a7614a3d.jpg","text":"TemporaryFile(/tmp/multipartBody943857650410980494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165013276,"filename":"image_20042025_15_20_24_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce4582ae933930df864858fb6acc4819.jpg","text":"TemporaryFile(/tmp/multipartBody3685712283044352678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165013276,"filename":"image_20042025_15_20_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea4f307153ae201f9780287a039109d5.jpg","text":"TemporaryFile(/tmp/multipartBody7152274067950020427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165013276,"filename":"image_20042025_15_19_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56d77b3543c79c6a643a40d258c3432f.jpg","text":"TemporaryFile(/tmp/multipartBody2999259216433152335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165013276,"filename":"image_20042025_15_19_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0af5ef64fb82924e529814b8b20af41a.jpg","text":"TemporaryFile(/tmp/multipartBody3858358759135686511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165013276,"filename":"image_20042025_15_20_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e768e3a2b3f34750c60f8c227566e6a1.jpg","text":"TemporaryFile(/tmp/multipartBody6174562487810249763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165013276,"filename":"image_20042025_15_20_04_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352259698","file1":"1352259696","file0":"1352259694","file4":"1352259701","file5":"1352259704","file3":"1352259699"},"map_files_photo_id_array":[{"photo_id":"1352259704","filename":"file5"},{"photo_id":"1352259698","filename":"file2"},{"photo_id":"1352259701","filename":"file4"},{"photo_id":"1352259696","filename":"file1"},{"photo_id":"1352259694","filename":"file0"},{"photo_id":"1352259699","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352259701":["hashtag1","hashtag2"]},{"1352259704":["hashtag1","hashtag2"]},{"1352259694":["hashtag1","hashtag2"]},{"1352259696":["hashtag1","hashtag2"]},{"1352259699":["hashtag1","hashtag2"]},{"1352259698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352259701, 1352259704, 1352259694, 1352259696, 1352259699, 1352259698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.8503737449646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:03:33.133155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_45_10478.jpg', '/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_54_9437.jpg', '/home/pi/Desktop/images/20042025/15/20/image_20042025_15_21_05_10346.jpg', '/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_14_9356.jpg', '/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_35_10432.jpg', '/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_44_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_45_10478.jpg
/home/pi/Desktop/images/20042025/15/20/image_20042025_15_20_54_9437.jpg
/home/pi/Desktop/images/20042025/15/20/image_20042025_15_21_05_10346.jpg
/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_14_9356.jpg
/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_35_10432.jpg
/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_44_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259970","1352259888","1352259969","1352259990","1352259972","1352259917"],"photo_ids_order":["1352259888","1352259917","1352259969","1352259970","1352259972","1352259990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/914ce1de96cd2d6abac8d8b27b163cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3115357977015874489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165073593,"filename":"image_20042025_15_21_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b12c85f5651d510259b6f1c6b18d1b3.jpg","text":"TemporaryFile(/tmp/multipartBody5329094846768407343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165073593,"filename":"image_20042025_15_20_45_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26fae3e6028e7df6a1611a99b93f5221.jpg","text":"TemporaryFile(/tmp/multipartBody3786261056503906196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165073593,"filename":"image_20042025_15_21_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8c77b0525cf5f3c09f4c83f80536c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7780134126028130151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165073593,"filename":"image_20042025_15_21_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de90397454ccb4c18270c15546b73ff.jpg","text":"TemporaryFile(/tmp/multipartBody2820518238583658347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165073593,"filename":"image_20042025_15_21_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97b0731e266187b1afdb92a53257ed29.jpg","text":"TemporaryFile(/tmp/multipartBody946805291299528974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165073593,"filename":"image_20042025_15_20_54_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352259969","file1":"1352259917","file0":"1352259888","file4":"1352259972","file5":"1352259990","file3":"1352259970"},"map_files_photo_id_array":[{"photo_id":"1352259990","filename":"file5"},{"photo_id":"1352259969","filename":"file2"},{"photo_id":"1352259972","filename":"file4"},{"photo_id":"1352259917","filename":"file1"},{"photo_id":"1352259888","filename":"file0"},{"photo_id":"1352259970","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352259970":["hashtag1","hashtag2"]},{"1352259888":["hashtag1","hashtag2"]},{"1352259969":["hashtag1","hashtag2"]},{"1352259990":["hashtag1","hashtag2"]},{"1352259972":["hashtag1","hashtag2"]},{"1352259917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352259970, 1352259888, 1352259969, 1352259990, 1352259972, 1352259917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.50482535362244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:04:32.404968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_55_10483.jpg', '/home/pi/Desktop/images/20042025/15/21/image_20042025_15_22_04_9346.jpg', '/home/pi/Desktop/images/20042025/15/22/image_20042025_15_22_25_10464.jpg', '/home/pi/Desktop/images/20042025/15/22/image_20042025_15_23_05_10362.jpg', '/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_14_9335.jpg', '/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_25_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/21/image_20042025_15_21_55_10483.jpg
/home/pi/Desktop/images/20042025/15/21/image_20042025_15_22_04_9346.jpg
/home/pi/Desktop/images/20042025/15/22/image_20042025_15_22_25_10464.jpg
/home/pi/Desktop/images/20042025/15/22/image_20042025_15_23_05_10362.jpg
/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_14_9335.jpg
/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_25_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260040","1352260037","1352260031","1352260034","1352260039","1352260041"],"photo_ids_order":["1352260031","1352260034","1352260037","1352260039","1352260040","1352260041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66c6497f0b90d22189c0fc9957559914.jpg","text":"TemporaryFile(/tmp/multipartBody3029419068440815434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165132861,"filename":"image_20042025_15_23_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0933531beccd137e1da891b5d037bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4087233119031888203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165132861,"filename":"image_20042025_15_22_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ffdbf5d1df3ad4dfa155991ca0714245.jpg","text":"TemporaryFile(/tmp/multipartBody662527734349151858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165132861,"filename":"image_20042025_15_21_55_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1712545937e0f5965f074151a8e2f1dc.jpg","text":"TemporaryFile(/tmp/multipartBody2346548639947176809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165132861,"filename":"image_20042025_15_22_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f2a6ed3d9fdb59f9531f39fc36b59a1.jpg","text":"TemporaryFile(/tmp/multipartBody3595637276873448826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165132861,"filename":"image_20042025_15_23_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3caf99494d7c7c043b6b708f43fadbaf.jpg","text":"TemporaryFile(/tmp/multipartBody7801134123404126186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165132861,"filename":"image_20042025_15_23_25_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260037","file1":"1352260034","file0":"1352260031","file4":"1352260040","file5":"1352260041","file3":"1352260039"},"map_files_photo_id_array":[{"photo_id":"1352260041","filename":"file5"},{"photo_id":"1352260037","filename":"file2"},{"photo_id":"1352260040","filename":"file4"},{"photo_id":"1352260034","filename":"file1"},{"photo_id":"1352260031","filename":"file0"},{"photo_id":"1352260039","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260040":["hashtag1","hashtag2"]},{"1352260037":["hashtag1","hashtag2"]},{"1352260031":["hashtag1","hashtag2"]},{"1352260034":["hashtag1","hashtag2"]},{"1352260039":["hashtag1","hashtag2"]},{"1352260041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260040, 1352260037, 1352260031, 1352260034, 1352260039, 1352260041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.493824005126953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:05:32.714455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_35_10485.jpg', '/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_44_9370.jpg', '/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_55_10438.jpg', '/home/pi/Desktop/images/20042025/15/23/image_20042025_15_24_04_9453.jpg', '/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_15_10420.jpg', '/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_24_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_35_10485.jpg
/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_44_9370.jpg
/home/pi/Desktop/images/20042025/15/23/image_20042025_15_23_55_10438.jpg
/home/pi/Desktop/images/20042025/15/23/image_20042025_15_24_04_9453.jpg
/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_15_10420.jpg
/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_24_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260061","1352260064","1352260063","1352260060","1352260062","1352260065"],"photo_ids_order":["1352260060","1352260061","1352260062","1352260063","1352260064","1352260065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86ac7e99c57985cda3bea4986d937e6c.jpg","text":"TemporaryFile(/tmp/multipartBody3650364496877839120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165193172,"filename":"image_20042025_15_23_44_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1763683b5278520b12f86ea30e0db650.jpg","text":"TemporaryFile(/tmp/multipartBody8462119244614632696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165193172,"filename":"image_20042025_15_24_15_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d6cee5e10d79dad75c82aab91c6dd3e.jpg","text":"TemporaryFile(/tmp/multipartBody4986416286319922835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165193172,"filename":"image_20042025_15_24_04_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/391ee5011bcf2e67b60e90db2b6c69d8.jpg","text":"TemporaryFile(/tmp/multipartBody8662199508922448417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165193172,"filename":"image_20042025_15_23_35_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9bd6e87bc3b54bfe4e373eee2e2f3c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2426370104128746565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165193172,"filename":"image_20042025_15_23_55_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fcafcb8da503b01dac00c7379454a40.jpg","text":"TemporaryFile(/tmp/multipartBody190881923665222096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165193172,"filename":"image_20042025_15_24_24_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260062","file1":"1352260061","file0":"1352260060","file4":"1352260064","file5":"1352260065","file3":"1352260063"},"map_files_photo_id_array":[{"photo_id":"1352260065","filename":"file5"},{"photo_id":"1352260062","filename":"file2"},{"photo_id":"1352260064","filename":"file4"},{"photo_id":"1352260061","filename":"file1"},{"photo_id":"1352260060","filename":"file0"},{"photo_id":"1352260063","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260061":["hashtag1","hashtag2"]},{"1352260064":["hashtag1","hashtag2"]},{"1352260063":["hashtag1","hashtag2"]},{"1352260060":["hashtag1","hashtag2"]},{"1352260062":["hashtag1","hashtag2"]},{"1352260065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260061, 1352260064, 1352260063, 1352260060, 1352260062, 1352260065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.324466705322266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:06:32.940978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_35_10428.jpg', '/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_45_10466.jpg', '/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_54_9398.jpg', '/home/pi/Desktop/images/20042025/15/24/image_20042025_15_25_05_10364.jpg', '/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_25_10362.jpg', '/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_35_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_35_10428.jpg
/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_45_10466.jpg
/home/pi/Desktop/images/20042025/15/24/image_20042025_15_24_54_9398.jpg
/home/pi/Desktop/images/20042025/15/24/image_20042025_15_25_05_10364.jpg
/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_25_10362.jpg
/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_35_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260088","1352260082","1352260076","1352260078","1352260080","1352260085"],"photo_ids_order":["1352260076","1352260078","1352260080","1352260082","1352260085","1352260088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81fb685bdc571b754294b63dfb43f366.jpg","text":"TemporaryFile(/tmp/multipartBody3603944758533625966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165253396,"filename":"image_20042025_15_25_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f081b56db2f63a6029a0d9ec72f40ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3399705376812922046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165253396,"filename":"image_20042025_15_25_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6febf0c974e570da9f5fea5bfd8e5156.jpg","text":"TemporaryFile(/tmp/multipartBody2314630375137987011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165253396,"filename":"image_20042025_15_24_35_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b91399712f548516c737c62236bd37bc.jpg","text":"TemporaryFile(/tmp/multipartBody8375178143222348986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165253396,"filename":"image_20042025_15_24_45_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b49158f66f4566a7f82fa4025fafc19.jpg","text":"TemporaryFile(/tmp/multipartBody6280715656855378921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165253396,"filename":"image_20042025_15_24_54_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab4e94ad86e281fcfd685622916d2907.jpg","text":"TemporaryFile(/tmp/multipartBody7278362605841203535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165253396,"filename":"image_20042025_15_25_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260080","file1":"1352260078","file0":"1352260076","file4":"1352260085","file5":"1352260088","file3":"1352260082"},"map_files_photo_id_array":[{"photo_id":"1352260088","filename":"file5"},{"photo_id":"1352260080","filename":"file2"},{"photo_id":"1352260085","filename":"file4"},{"photo_id":"1352260078","filename":"file1"},{"photo_id":"1352260076","filename":"file0"},{"photo_id":"1352260082","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260088":["hashtag1","hashtag2"]},{"1352260082":["hashtag1","hashtag2"]},{"1352260076":["hashtag1","hashtag2"]},{"1352260078":["hashtag1","hashtag2"]},{"1352260080":["hashtag1","hashtag2"]},{"1352260085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260088, 1352260082, 1352260076, 1352260078, 1352260080, 1352260085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38034009933472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:07:33.117748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_44_9418.jpg', '/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_55_10365.jpg', '/home/pi/Desktop/images/20042025/15/26/image_20042025_15_26_15_10370.jpg', '/home/pi/Desktop/images/20042025/15/26/image_20042025_15_26_54_9418.jpg', '/home/pi/Desktop/images/20042025/15/26/image_20042025_15_27_05_10369.jpg', '/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_44_9418.jpg
/home/pi/Desktop/images/20042025/15/25/image_20042025_15_25_55_10365.jpg
/home/pi/Desktop/images/20042025/15/26/image_20042025_15_26_15_10370.jpg
/home/pi/Desktop/images/20042025/15/26/image_20042025_15_26_54_9418.jpg
/home/pi/Desktop/images/20042025/15/26/image_20042025_15_27_05_10369.jpg
/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260103","1352260106","1352260108","1352260105","1352260110","1352260101"],"photo_ids_order":["1352260101","1352260103","1352260105","1352260106","1352260108","1352260110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1a2fa1fbf09553384dcf8eb51fc34bc.jpg","text":"TemporaryFile(/tmp/multipartBody5745937590126553649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165313586,"filename":"image_20042025_15_25_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00360c5c87d43a04f5b3d0c5f189dfc1.jpg","text":"TemporaryFile(/tmp/multipartBody6232569732682482674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165313586,"filename":"image_20042025_15_26_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8d47186dab752ae00f8a20b2191d7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2727147417639202447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165313586,"filename":"image_20042025_15_27_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/643b01b9528f9f90a90843f199363b5b.jpg","text":"TemporaryFile(/tmp/multipartBody4529259441851784108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165313586,"filename":"image_20042025_15_26_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0c467b37e3af7fe81decd496d8df57f.jpg","text":"TemporaryFile(/tmp/multipartBody5954371042273798735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165313586,"filename":"image_20042025_15_27_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c21fd88e2a68588f4c7ec660c661dd11.jpg","text":"TemporaryFile(/tmp/multipartBody2269465489181474667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165313586,"filename":"image_20042025_15_25_44_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260105","file1":"1352260103","file0":"1352260101","file4":"1352260108","file5":"1352260110","file3":"1352260106"},"map_files_photo_id_array":[{"photo_id":"1352260110","filename":"file5"},{"photo_id":"1352260105","filename":"file2"},{"photo_id":"1352260108","filename":"file4"},{"photo_id":"1352260103","filename":"file1"},{"photo_id":"1352260101","filename":"file0"},{"photo_id":"1352260106","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260103":["hashtag1","hashtag2"]},{"1352260106":["hashtag1","hashtag2"]},{"1352260108":["hashtag1","hashtag2"]},{"1352260105":["hashtag1","hashtag2"]},{"1352260110":["hashtag1","hashtag2"]},{"1352260101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260103, 1352260106, 1352260108, 1352260105, 1352260110, 1352260101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.507653951644897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:08:32.267351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_24_9356.jpg', '/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_35_10390.jpg', '/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_45_10406.jpg', '/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_54_9358.jpg', '/home/pi/Desktop/images/20042025/15/27/image_20042025_15_28_05_10358.jpg', '/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_24_9356.jpg
/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_35_10390.jpg
/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_45_10406.jpg
/home/pi/Desktop/images/20042025/15/27/image_20042025_15_27_54_9358.jpg
/home/pi/Desktop/images/20042025/15/27/image_20042025_15_28_05_10358.jpg
/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_25_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260133","1352260127","1352260135","1352260129","1352260137","1352260131"],"photo_ids_order":["1352260127","1352260129","1352260131","1352260133","1352260135","1352260137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f8e1e6753ecaede992c8cba73da3074.jpg","text":"TemporaryFile(/tmp/multipartBody8760172641938807792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165372721,"filename":"image_20042025_15_27_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e052df58e3c0e20866a437ee74513a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5200877661772990731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165372721,"filename":"image_20042025_15_27_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4270d196bedc21f6cc8832c99ab3315e.jpg","text":"TemporaryFile(/tmp/multipartBody8230363350770952077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165372721,"filename":"image_20042025_15_28_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47f0154946687bbadb7c1805fdf3b742.jpg","text":"TemporaryFile(/tmp/multipartBody1764972484217979109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165372721,"filename":"image_20042025_15_27_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6d6ebc393629881213faa3a493c72cd.jpg","text":"TemporaryFile(/tmp/multipartBody5770126012916378314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165372721,"filename":"image_20042025_15_28_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cac2edf5601a616418eab04492d5218b.jpg","text":"TemporaryFile(/tmp/multipartBody2360497049951673623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165372721,"filename":"image_20042025_15_27_45_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260131","file1":"1352260129","file0":"1352260127","file4":"1352260135","file5":"1352260137","file3":"1352260133"},"map_files_photo_id_array":[{"photo_id":"1352260137","filename":"file5"},{"photo_id":"1352260131","filename":"file2"},{"photo_id":"1352260135","filename":"file4"},{"photo_id":"1352260129","filename":"file1"},{"photo_id":"1352260127","filename":"file0"},{"photo_id":"1352260133","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260133":["hashtag1","hashtag2"]},{"1352260127":["hashtag1","hashtag2"]},{"1352260135":["hashtag1","hashtag2"]},{"1352260129":["hashtag1","hashtag2"]},{"1352260137":["hashtag1","hashtag2"]},{"1352260131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260133, 1352260127, 1352260135, 1352260129, 1352260137, 1352260131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58092451095581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:09:32.603595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_35_10420.jpg', '/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_44_9388.jpg', '/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_55_10425.jpg', '/home/pi/Desktop/images/20042025/15/28/image_20042025_15_29_04_9355.jpg', '/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_14_10346.jpg', '/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_35_10420.jpg
/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_44_9388.jpg
/home/pi/Desktop/images/20042025/15/28/image_20042025_15_28_55_10425.jpg
/home/pi/Desktop/images/20042025/15/28/image_20042025_15_29_04_9355.jpg
/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_14_10346.jpg
/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260169","1352260148","1352260162","1352260156","1352260167","1352260152"],"photo_ids_order":["1352260148","1352260152","1352260156","1352260162","1352260167","1352260169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7cf966842116e67b45cccd6ba9d20c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4883008451572839660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165433074,"filename":"image_20042025_15_29_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7108d3e1ea966700fc5fce0cb8dcf74b.jpg","text":"TemporaryFile(/tmp/multipartBody7795116020546056872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165433074,"filename":"image_20042025_15_28_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9b14e5935b65f94c4c5051bcb84c46d.jpg","text":"TemporaryFile(/tmp/multipartBody615010364857320657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165433074,"filename":"image_20042025_15_29_04_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/005733782749df678202010b06d48549.jpg","text":"TemporaryFile(/tmp/multipartBody7283693251740599726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165433074,"filename":"image_20042025_15_28_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e46e73c5632fdb5a052e27cb593aec4.jpg","text":"TemporaryFile(/tmp/multipartBody1180879774236689140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165433074,"filename":"image_20042025_15_29_14_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6190d5bbb1503ee695322ce01be971f6.jpg","text":"TemporaryFile(/tmp/multipartBody9114947052452379529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165433074,"filename":"image_20042025_15_28_44_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260156","file1":"1352260152","file0":"1352260148","file4":"1352260167","file5":"1352260169","file3":"1352260162"},"map_files_photo_id_array":[{"photo_id":"1352260169","filename":"file5"},{"photo_id":"1352260156","filename":"file2"},{"photo_id":"1352260167","filename":"file4"},{"photo_id":"1352260152","filename":"file1"},{"photo_id":"1352260148","filename":"file0"},{"photo_id":"1352260162","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260169":["hashtag1","hashtag2"]},{"1352260148":["hashtag1","hashtag2"]},{"1352260162":["hashtag1","hashtag2"]},{"1352260156":["hashtag1","hashtag2"]},{"1352260167":["hashtag1","hashtag2"]},{"1352260152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260169, 1352260148, 1352260162, 1352260156, 1352260167, 1352260152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.54558300971985 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:10:32.809774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_34_9419.jpg', '/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_45_10375.jpg', '/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_54_9452.jpg', '/home/pi/Desktop/images/20042025/15/29/image_20042025_15_30_04_10356.jpg', '/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_15_10389.jpg', '/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_24_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_34_9419.jpg
/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_45_10375.jpg
/home/pi/Desktop/images/20042025/15/29/image_20042025_15_29_54_9452.jpg
/home/pi/Desktop/images/20042025/15/29/image_20042025_15_30_04_10356.jpg
/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_15_10389.jpg
/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_24_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260193","1352260187","1352260195","1352260180","1352260183","1352260190"],"photo_ids_order":["1352260180","1352260183","1352260187","1352260190","1352260193","1352260195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06c91eb99de5f46c927bdac0bc74ce79.jpg","text":"TemporaryFile(/tmp/multipartBody5754202848303220872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165493310,"filename":"image_20042025_15_30_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca1273c8521c7d447aac7c39557a1141.jpg","text":"TemporaryFile(/tmp/multipartBody1497259164150339673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165493310,"filename":"image_20042025_15_29_54_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0881563eda5f8235dbd096d6cf168464.jpg","text":"TemporaryFile(/tmp/multipartBody3276089999217741877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165493310,"filename":"image_20042025_15_30_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20afe29837ca7eb1ac08e13eb6e9d5ce.jpg","text":"TemporaryFile(/tmp/multipartBody5274878226414497582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165493310,"filename":"image_20042025_15_29_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/344c65d02e60e8003134865e5f63b2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2194225146820987188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165493310,"filename":"image_20042025_15_29_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9b60f1175a60acdeb35832484c992b4.jpg","text":"TemporaryFile(/tmp/multipartBody5865627758180281027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165493310,"filename":"image_20042025_15_30_04_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260187","file1":"1352260183","file0":"1352260180","file4":"1352260193","file5":"1352260195","file3":"1352260190"},"map_files_photo_id_array":[{"photo_id":"1352260195","filename":"file5"},{"photo_id":"1352260187","filename":"file2"},{"photo_id":"1352260193","filename":"file4"},{"photo_id":"1352260183","filename":"file1"},{"photo_id":"1352260180","filename":"file0"},{"photo_id":"1352260190","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260193":["hashtag1","hashtag2"]},{"1352260187":["hashtag1","hashtag2"]},{"1352260195":["hashtag1","hashtag2"]},{"1352260180":["hashtag1","hashtag2"]},{"1352260183":["hashtag1","hashtag2"]},{"1352260190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260193, 1352260187, 1352260195, 1352260180, 1352260183, 1352260190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.28762149810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:11:33.040978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_35_10380.jpg', '/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_45_10422.jpg', '/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_54_9368.jpg', '/home/pi/Desktop/images/20042025/15/30/image_20042025_15_31_05_10412.jpg', '/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_14_9376.jpg', '/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_25_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_35_10380.jpg
/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_45_10422.jpg
/home/pi/Desktop/images/20042025/15/30/image_20042025_15_30_54_9368.jpg
/home/pi/Desktop/images/20042025/15/30/image_20042025_15_31_05_10412.jpg
/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_14_9376.jpg
/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_25_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260217","1352260214","1352260207","1352260210","1352260212","1352260206"],"photo_ids_order":["1352260206","1352260207","1352260210","1352260212","1352260214","1352260217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e45aa128bf23efabb08362f2539cbd4.jpg","text":"TemporaryFile(/tmp/multipartBody1629089382531122723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165553508,"filename":"image_20042025_15_31_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d79f34f9946dbb9db7c22202e335f06c.jpg","text":"TemporaryFile(/tmp/multipartBody3313267972154490815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165553508,"filename":"image_20042025_15_31_14_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1053aeb96fd688b9fe8547f51d582fce.jpg","text":"TemporaryFile(/tmp/multipartBody1324883308137935088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165553508,"filename":"image_20042025_15_30_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38018f7b4bb18e61635929dd2e0b6fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1857678971794373499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165553508,"filename":"image_20042025_15_30_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d55681ea0688fdf98b019e4a32016b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7567997778463338482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165553508,"filename":"image_20042025_15_31_05_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25f9ae0cf77c1d0b764b4d3f41059807.jpg","text":"TemporaryFile(/tmp/multipartBody7131702586494446248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165553508,"filename":"image_20042025_15_30_35_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260210","file1":"1352260207","file0":"1352260206","file4":"1352260214","file5":"1352260217","file3":"1352260212"},"map_files_photo_id_array":[{"photo_id":"1352260217","filename":"file5"},{"photo_id":"1352260210","filename":"file2"},{"photo_id":"1352260214","filename":"file4"},{"photo_id":"1352260207","filename":"file1"},{"photo_id":"1352260206","filename":"file0"},{"photo_id":"1352260212","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260217":["hashtag1","hashtag2"]},{"1352260214":["hashtag1","hashtag2"]},{"1352260207":["hashtag1","hashtag2"]},{"1352260210":["hashtag1","hashtag2"]},{"1352260212":["hashtag1","hashtag2"]},{"1352260206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260217, 1352260214, 1352260207, 1352260210, 1352260212, 1352260206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77818703651428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:12:32.343139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_35_10480.jpg', '/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_44_9372.jpg', '/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_55_10436.jpg', '/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_15_10368.jpg', '/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_25_10500.jpg', '/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_34_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_35_10480.jpg
/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_44_9372.jpg
/home/pi/Desktop/images/20042025/15/31/image_20042025_15_31_55_10436.jpg
/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_15_10368.jpg
/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_25_10500.jpg
/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_34_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260229","1352260238","1352260231","1352260225","1352260234","1352260237"],"photo_ids_order":["1352260225","1352260229","1352260231","1352260234","1352260237","1352260238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1dc48484ab96cd720a02a904c18cc6f.jpg","text":"TemporaryFile(/tmp/multipartBody6342974128139526944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165612819,"filename":"image_20042025_15_31_44_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ddec2aec4606e80ebbbfa4fec1365ae.jpg","text":"TemporaryFile(/tmp/multipartBody5296590684229886854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165612819,"filename":"image_20042025_15_32_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/295cb80c76ba430d19002406fc3bedcb.jpg","text":"TemporaryFile(/tmp/multipartBody9153105876432048839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165612819,"filename":"image_20042025_15_31_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/455a4145def852b8c04d51a42e28ffaa.jpg","text":"TemporaryFile(/tmp/multipartBody675683104882117245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165612819,"filename":"image_20042025_15_31_35_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8f0f7ba9f525343d68e9a4f9ea343b0.jpg","text":"TemporaryFile(/tmp/multipartBody7516009298149509707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165612819,"filename":"image_20042025_15_32_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8bb2db1ffcda18129c0d9e87ebdbca6.jpg","text":"TemporaryFile(/tmp/multipartBody2582857783436592241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165612819,"filename":"image_20042025_15_32_25_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260231","file1":"1352260229","file0":"1352260225","file4":"1352260237","file5":"1352260238","file3":"1352260234"},"map_files_photo_id_array":[{"photo_id":"1352260238","filename":"file5"},{"photo_id":"1352260231","filename":"file2"},{"photo_id":"1352260237","filename":"file4"},{"photo_id":"1352260229","filename":"file1"},{"photo_id":"1352260225","filename":"file0"},{"photo_id":"1352260234","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260229":["hashtag1","hashtag2"]},{"1352260238":["hashtag1","hashtag2"]},{"1352260231":["hashtag1","hashtag2"]},{"1352260225":["hashtag1","hashtag2"]},{"1352260234":["hashtag1","hashtag2"]},{"1352260237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260229, 1352260238, 1352260231, 1352260225, 1352260234, 1352260237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84288573265076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:13:32.508991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_45_10380.jpg', '/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_54_9418.jpg', '/home/pi/Desktop/images/20042025/15/32/image_20042025_15_33_05_10373.jpg', '/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_15_10462.jpg', '/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_24_9441.jpg', '/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_35_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_45_10380.jpg
/home/pi/Desktop/images/20042025/15/32/image_20042025_15_32_54_9418.jpg
/home/pi/Desktop/images/20042025/15/32/image_20042025_15_33_05_10373.jpg
/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_15_10462.jpg
/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_24_9441.jpg
/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_35_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260259","1352260253","1352260256","1352260250","1352260261","1352260264"],"photo_ids_order":["1352260250","1352260253","1352260256","1352260259","1352260261","1352260264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14647ce4464783d9b77b5acbb8160efe.jpg","text":"TemporaryFile(/tmp/multipartBody1788224927522869951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165672972,"filename":"image_20042025_15_33_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e82eb2fe5687f4fcdb8503e52218884d.jpg","text":"TemporaryFile(/tmp/multipartBody8052410389779031194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165672972,"filename":"image_20042025_15_32_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5f9756634871178a9c23dd2025491d6.jpg","text":"TemporaryFile(/tmp/multipartBody6311379426647010010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165672972,"filename":"image_20042025_15_33_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a16e39fc274c9dca2e4050aebc20b4c3.jpg","text":"TemporaryFile(/tmp/multipartBody8548514885091460576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165672972,"filename":"image_20042025_15_32_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/668e1c1614bee0cfa33b2a42bb67e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody394962462558794784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165672972,"filename":"image_20042025_15_33_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0be6ab177fc9f6b80eb6b5f2e199d4e.jpg","text":"TemporaryFile(/tmp/multipartBody182956891343037138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165672972,"filename":"image_20042025_15_33_35_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260256","file1":"1352260253","file0":"1352260250","file4":"1352260261","file5":"1352260264","file3":"1352260259"},"map_files_photo_id_array":[{"photo_id":"1352260264","filename":"file5"},{"photo_id":"1352260256","filename":"file2"},{"photo_id":"1352260261","filename":"file4"},{"photo_id":"1352260253","filename":"file1"},{"photo_id":"1352260250","filename":"file0"},{"photo_id":"1352260259","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260259":["hashtag1","hashtag2"]},{"1352260253":["hashtag1","hashtag2"]},{"1352260256":["hashtag1","hashtag2"]},{"1352260250":["hashtag1","hashtag2"]},{"1352260261":["hashtag1","hashtag2"]},{"1352260264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260259, 1352260253, 1352260256, 1352260250, 1352260261, 1352260264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51033163070679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:14:32.619785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_55_10381.jpg', '/home/pi/Desktop/images/20042025/15/33/image_20042025_15_34_04_9418.jpg', '/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_15_10349.jpg', '/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_24_9447.jpg', '/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_34_10375.jpg', '/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/33/image_20042025_15_33_55_10381.jpg
/home/pi/Desktop/images/20042025/15/33/image_20042025_15_34_04_9418.jpg
/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_15_10349.jpg
/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_24_9447.jpg
/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_34_10375.jpg
/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_45_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260286","1352260288","1352260282","1352260279","1352260284","1352260277"],"photo_ids_order":["1352260277","1352260279","1352260282","1352260284","1352260286","1352260288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/782d948b2d5043cd299e05ed1abc941d.jpg","text":"TemporaryFile(/tmp/multipartBody5163408227863663310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165733079,"filename":"image_20042025_15_34_34_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b48ab736374b911bcf56587b392d96e8.jpg","text":"TemporaryFile(/tmp/multipartBody2363749557581670315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165733079,"filename":"image_20042025_15_34_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a0cbe6252671a910a2c92ddc5237a57.jpg","text":"TemporaryFile(/tmp/multipartBody7083058309993984449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165733079,"filename":"image_20042025_15_34_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33b55762318451bba79983e1484f88e5.jpg","text":"TemporaryFile(/tmp/multipartBody7466743726309255177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165733079,"filename":"image_20042025_15_34_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d5d50e4e472cf53862ac8c134628b4f.jpg","text":"TemporaryFile(/tmp/multipartBody8093375706596766683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165733079,"filename":"image_20042025_15_34_24_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7c6f34384b4eba26bec3eb998c98ff5.jpg","text":"TemporaryFile(/tmp/multipartBody1084611943940915032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165733079,"filename":"image_20042025_15_33_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260282","file1":"1352260279","file0":"1352260277","file4":"1352260286","file5":"1352260288","file3":"1352260284"},"map_files_photo_id_array":[{"photo_id":"1352260288","filename":"file5"},{"photo_id":"1352260282","filename":"file2"},{"photo_id":"1352260286","filename":"file4"},{"photo_id":"1352260279","filename":"file1"},{"photo_id":"1352260277","filename":"file0"},{"photo_id":"1352260284","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260286":["hashtag1","hashtag2"]},{"1352260288":["hashtag1","hashtag2"]},{"1352260282":["hashtag1","hashtag2"]},{"1352260279":["hashtag1","hashtag2"]},{"1352260284":["hashtag1","hashtag2"]},{"1352260277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260286, 1352260288, 1352260282, 1352260279, 1352260284, 1352260277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12586045265198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:15:32.787030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_54_9386.jpg', '/home/pi/Desktop/images/20042025/15/34/image_20042025_15_35_05_10430.jpg', '/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_14_9432.jpg', '/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_35_10370.jpg', '/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_44_9471.jpg', '/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_55_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/34/image_20042025_15_34_54_9386.jpg
/home/pi/Desktop/images/20042025/15/34/image_20042025_15_35_05_10430.jpg
/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_14_9432.jpg
/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_35_10370.jpg
/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_44_9471.jpg
/home/pi/Desktop/images/20042025/15/35/image_20042025_15_35_55_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260301","1352260310","1352260307","1352260303","1352260305","1352260298"],"photo_ids_order":["1352260298","1352260301","1352260303","1352260305","1352260307","1352260310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87f73bd7b44d621bd12b48fd83a79b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4642859066298372149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165793261,"filename":"image_20042025_15_35_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d87643012145f6bdcff4a21a9d22165.jpg","text":"TemporaryFile(/tmp/multipartBody6133102891255814233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165793261,"filename":"image_20042025_15_35_55_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/176470b2df85166b87cca99e8bd00ccc.jpg","text":"TemporaryFile(/tmp/multipartBody296645551082620993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165793261,"filename":"image_20042025_15_35_44_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb19dbc6491bcf0836e7493b1d4ea85e.jpg","text":"TemporaryFile(/tmp/multipartBody8838158246073473411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165793261,"filename":"image_20042025_15_35_14_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5758c32c7ea478190fedabdbf1051749.jpg","text":"TemporaryFile(/tmp/multipartBody316201343624013049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165793261,"filename":"image_20042025_15_35_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d810c8fc6b03eb6d31c44ffa644ac91c.jpg","text":"TemporaryFile(/tmp/multipartBody2606234682989282216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165793261,"filename":"image_20042025_15_34_54_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260303","file1":"1352260301","file0":"1352260298","file4":"1352260307","file5":"1352260310","file3":"1352260305"},"map_files_photo_id_array":[{"photo_id":"1352260310","filename":"file5"},{"photo_id":"1352260303","filename":"file2"},{"photo_id":"1352260307","filename":"file4"},{"photo_id":"1352260301","filename":"file1"},{"photo_id":"1352260298","filename":"file0"},{"photo_id":"1352260305","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260301":["hashtag1","hashtag2"]},{"1352260310":["hashtag1","hashtag2"]},{"1352260307":["hashtag1","hashtag2"]},{"1352260303":["hashtag1","hashtag2"]},{"1352260305":["hashtag1","hashtag2"]},{"1352260298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260301, 1352260310, 1352260307, 1352260303, 1352260305, 1352260298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86787128448486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:16:33.127636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_25_10371.jpg', '/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_34_9399.jpg', '/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_45_10366.jpg', '/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_55_10442.jpg', '/home/pi/Desktop/images/20042025/15/36/image_20042025_15_37_04_9363.jpg', '/home/pi/Desktop/images/20042025/15/37/image_20042025_15_37_15_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_25_10371.jpg
/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_34_9399.jpg
/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_45_10366.jpg
/home/pi/Desktop/images/20042025/15/36/image_20042025_15_36_55_10442.jpg
/home/pi/Desktop/images/20042025/15/36/image_20042025_15_37_04_9363.jpg
/home/pi/Desktop/images/20042025/15/37/image_20042025_15_37_15_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260328","1352260325","1352260317","1352260332","1352260320","1352260314"],"photo_ids_order":["1352260314","1352260317","1352260320","1352260325","1352260328","1352260332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a177fa71828abc9558e4a880266cec14.jpg","text":"TemporaryFile(/tmp/multipartBody8645848873172744753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165853592,"filename":"image_20042025_15_37_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/551e422c7df2b98c05fecaa1e040e002.jpg","text":"TemporaryFile(/tmp/multipartBody7046242315083427047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165853592,"filename":"image_20042025_15_36_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b59f681d1241da25d68ee7120d6c05a6.jpg","text":"TemporaryFile(/tmp/multipartBody2531755923084054575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165853592,"filename":"image_20042025_15_36_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14fc1de65862fd9cc6ec380d4291b3be.jpg","text":"TemporaryFile(/tmp/multipartBody2777782250812940081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165853592,"filename":"image_20042025_15_37_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98e2c72e50abed8a1021dd24a19f3ef6.jpg","text":"TemporaryFile(/tmp/multipartBody301956245881147882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165853592,"filename":"image_20042025_15_36_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dbe015076e8d00dd442af8ae7f5f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody2049535741995002936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165853592,"filename":"image_20042025_15_36_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260320","file1":"1352260317","file0":"1352260314","file4":"1352260328","file5":"1352260332","file3":"1352260325"},"map_files_photo_id_array":[{"photo_id":"1352260332","filename":"file5"},{"photo_id":"1352260320","filename":"file2"},{"photo_id":"1352260328","filename":"file4"},{"photo_id":"1352260317","filename":"file1"},{"photo_id":"1352260314","filename":"file0"},{"photo_id":"1352260325","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260328":["hashtag1","hashtag2"]},{"1352260325":["hashtag1","hashtag2"]},{"1352260317":["hashtag1","hashtag2"]},{"1352260332":["hashtag1","hashtag2"]},{"1352260320":["hashtag1","hashtag2"]},{"1352260314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260328, 1352260325, 1352260317, 1352260332, 1352260320, 1352260314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.29409885406494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:17:32.207000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/37/image_20042025_15_37_24_9477.jpg', '/home/pi/Desktop/images/20042025/15/37/image_20042025_15_37_35_10365.jpg', '/home/pi/Desktop/images/20042025/15/37/image_20042025_15_38_05_10350.jpg', '/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_14_9443.jpg', '/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_25_10377.jpg', '/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_35_10220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/37/image_20042025_15_37_24_9477.jpg
/home/pi/Desktop/images/20042025/15/37/image_20042025_15_37_35_10365.jpg
/home/pi/Desktop/images/20042025/15/37/image_20042025_15_38_05_10350.jpg
/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_14_9443.jpg
/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_25_10377.jpg
/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_35_10220.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260353","1352260341","1352260350","1352260344","1352260338","1352260347"],"photo_ids_order":["1352260338","1352260341","1352260344","1352260347","1352260350","1352260353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdeb9e38dc68217dc0d9a8bc5001701d.jpg","text":"TemporaryFile(/tmp/multipartBody5326670769636406082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165912667,"filename":"image_20042025_15_38_35_10220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d29802687b6e8c9e46dbeab348d78bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5363721979794435682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165912667,"filename":"image_20042025_15_37_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/449eb00466406472e0c2db1b86bc468a.jpg","text":"TemporaryFile(/tmp/multipartBody1763378961441150995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165912667,"filename":"image_20042025_15_38_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/199f090ed5d31bb363cc479178cc0882.jpg","text":"TemporaryFile(/tmp/multipartBody4862294615955457169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165912667,"filename":"image_20042025_15_38_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/834d26723a01586c9e6be315d1558af2.jpg","text":"TemporaryFile(/tmp/multipartBody3699517966952549830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165912667,"filename":"image_20042025_15_37_24_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c0cbd7db86c6a6b319449c87c9fa133.jpg","text":"TemporaryFile(/tmp/multipartBody4117707589345863672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165912667,"filename":"image_20042025_15_38_14_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260344","file1":"1352260341","file0":"1352260338","file4":"1352260350","file5":"1352260353","file3":"1352260347"},"map_files_photo_id_array":[{"photo_id":"1352260353","filename":"file5"},{"photo_id":"1352260344","filename":"file2"},{"photo_id":"1352260350","filename":"file4"},{"photo_id":"1352260341","filename":"file1"},{"photo_id":"1352260338","filename":"file0"},{"photo_id":"1352260347","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260353":["hashtag1","hashtag2"]},{"1352260341":["hashtag1","hashtag2"]},{"1352260350":["hashtag1","hashtag2"]},{"1352260344":["hashtag1","hashtag2"]},{"1352260338":["hashtag1","hashtag2"]},{"1352260347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260353, 1352260341, 1352260350, 1352260344, 1352260338, 1352260347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.708313465118408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:18:32.298333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_44_9390.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_25_10443.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_34_9395.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_45_10472.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_54_9439.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_40_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_44_9390.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_25_10443.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_34_9395.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_45_10472.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_54_9439.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_40_05_10364.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3847341537475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 18:18:42.303445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_44_9390.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_25_10443.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_34_9395.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_45_10472.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_54_9439.jpg', '/home/pi/Desktop/images/20042025/15/39/image_20042025_15_40_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/38/image_20042025_15_38_44_9390.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_25_10443.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_34_9395.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_45_10472.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_39_54_9439.jpg
/home/pi/Desktop/images/20042025/15/39/image_20042025_15_40_05_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260379","1352260381","1352260375","1352260369","1352260378","1352260372"],"photo_ids_order":["1352260369","1352260372","1352260375","1352260378","1352260379","1352260381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6476167719d1e8f5d20a8f80f441ad91.jpg","text":"TemporaryFile(/tmp/multipartBody553996439307872204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165982770,"filename":"image_20042025_15_39_54_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b79a7c6b6b259eee4baa26fc09b75f5.jpg","text":"TemporaryFile(/tmp/multipartBody2057490491288936451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165982770,"filename":"image_20042025_15_40_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b57cf674c786154c047b93add407a20.jpg","text":"TemporaryFile(/tmp/multipartBody7635943378304191617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165982770,"filename":"image_20042025_15_39_34_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5789339508c0ea03cfce3ec26e978e71.jpg","text":"TemporaryFile(/tmp/multipartBody7543319933040733000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165982770,"filename":"image_20042025_15_38_44_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e2d19ad39a0b1ee441b8d122623066b.jpg","text":"TemporaryFile(/tmp/multipartBody3751382362582706955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165982770,"filename":"image_20042025_15_39_45_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb06f749665ee7a09f1b97646931a525.jpg","text":"TemporaryFile(/tmp/multipartBody7876381652338436766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745165982770,"filename":"image_20042025_15_39_25_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260375","file1":"1352260372","file0":"1352260369","file4":"1352260379","file5":"1352260381","file3":"1352260378"},"map_files_photo_id_array":[{"photo_id":"1352260381","filename":"file5"},{"photo_id":"1352260375","filename":"file2"},{"photo_id":"1352260379","filename":"file4"},{"photo_id":"1352260372","filename":"file1"},{"photo_id":"1352260369","filename":"file0"},{"photo_id":"1352260378","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260379":["hashtag1","hashtag2"]},{"1352260381":["hashtag1","hashtag2"]},{"1352260375":["hashtag1","hashtag2"]},{"1352260369":["hashtag1","hashtag2"]},{"1352260378":["hashtag1","hashtag2"]},{"1352260372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260379, 1352260381, 1352260375, 1352260369, 1352260378, 1352260372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.123873949050903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:19:32.567559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_14_9496.jpg', '/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_24_10368.jpg', '/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_35_10363.jpg', '/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_44_9451.jpg', '/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_55_10390.jpg', '/home/pi/Desktop/images/20042025/15/40/image_20042025_15_41_04_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_14_9496.jpg
/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_24_10368.jpg
/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_35_10363.jpg
/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_44_9451.jpg
/home/pi/Desktop/images/20042025/15/40/image_20042025_15_40_55_10390.jpg
/home/pi/Desktop/images/20042025/15/40/image_20042025_15_41_04_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260401","1352260391","1352260399","1352260395","1352260404","1352260397"],"photo_ids_order":["1352260391","1352260395","1352260397","1352260399","1352260401","1352260404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6a87a7868ba4ced8d8e08cc4c69fb42.jpg","text":"TemporaryFile(/tmp/multipartBody2793249016388078992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166033034,"filename":"image_20042025_15_40_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6363da70bb6a18e99a828b529186b54a.jpg","text":"TemporaryFile(/tmp/multipartBody6340987382911023317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166033034,"filename":"image_20042025_15_40_14_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87264ab67e1df69d877b617e0322320b.jpg","text":"TemporaryFile(/tmp/multipartBody2932039921221212014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166033034,"filename":"image_20042025_15_40_44_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70a204a2c7c5dc3e37504781deb81f95.jpg","text":"TemporaryFile(/tmp/multipartBody9066358691331073589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166033034,"filename":"image_20042025_15_40_24_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/144db49523aea59aaf4c618af0bd7d05.jpg","text":"TemporaryFile(/tmp/multipartBody7212926625023698740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166033034,"filename":"image_20042025_15_41_04_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ba48e82d5361bc10796cb0e99829f87.jpg","text":"TemporaryFile(/tmp/multipartBody396608673279826937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166033034,"filename":"image_20042025_15_40_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260397","file1":"1352260395","file0":"1352260391","file4":"1352260401","file5":"1352260404","file3":"1352260399"},"map_files_photo_id_array":[{"photo_id":"1352260404","filename":"file5"},{"photo_id":"1352260397","filename":"file2"},{"photo_id":"1352260401","filename":"file4"},{"photo_id":"1352260395","filename":"file1"},{"photo_id":"1352260391","filename":"file0"},{"photo_id":"1352260399","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260401":["hashtag1","hashtag2"]},{"1352260391":["hashtag1","hashtag2"]},{"1352260399":["hashtag1","hashtag2"]},{"1352260395":["hashtag1","hashtag2"]},{"1352260404":["hashtag1","hashtag2"]},{"1352260397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260401, 1352260391, 1352260399, 1352260395, 1352260404, 1352260397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.814502477645874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:20:32.700543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_14_10353.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_34_9430.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_45_10374.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_55_10368.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_42_04_9346.jpg', '/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_15_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_14_10353.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_34_9430.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_45_10374.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_55_10368.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_42_04_9346.jpg
/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_15_10407.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3767049312591553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 18:20:42.840407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_14_10353.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_34_9430.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_45_10374.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_55_10368.jpg', '/home/pi/Desktop/images/20042025/15/41/image_20042025_15_42_04_9346.jpg', '/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_15_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_14_10353.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_34_9430.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_45_10374.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_41_55_10368.jpg
/home/pi/Desktop/images/20042025/15/41/image_20042025_15_42_04_9346.jpg
/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_15_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260436","1352260435","1352260434","1352260428","1352260431","1352260425"],"photo_ids_order":["1352260425","1352260428","1352260431","1352260434","1352260435","1352260436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f2d3ab0acf74051a9dfe077bbd8eea5.jpg","text":"TemporaryFile(/tmp/multipartBody2082317961694212883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166103317,"filename":"image_20042025_15_42_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e58b94e95978cf7f36226e748ef660e6.jpg","text":"TemporaryFile(/tmp/multipartBody3602833387781403220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166103317,"filename":"image_20042025_15_42_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10e33e30b03c73723b12a7b7457c10cc.jpg","text":"TemporaryFile(/tmp/multipartBody4053963386164316010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166103317,"filename":"image_20042025_15_41_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fa218061ca01262f52bc230faa64711.jpg","text":"TemporaryFile(/tmp/multipartBody1565618656911463049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166103317,"filename":"image_20042025_15_41_34_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/557342f4cdeb0334f7621a69a3256d36.jpg","text":"TemporaryFile(/tmp/multipartBody5465075158373284371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166103317,"filename":"image_20042025_15_41_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/efac6b80410fd1ff433af47acd93881a.jpg","text":"TemporaryFile(/tmp/multipartBody2393210664948167790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166103317,"filename":"image_20042025_15_41_14_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260431","file1":"1352260428","file0":"1352260425","file4":"1352260435","file5":"1352260436","file3":"1352260434"},"map_files_photo_id_array":[{"photo_id":"1352260436","filename":"file5"},{"photo_id":"1352260431","filename":"file2"},{"photo_id":"1352260435","filename":"file4"},{"photo_id":"1352260428","filename":"file1"},{"photo_id":"1352260425","filename":"file0"},{"photo_id":"1352260434","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260436":["hashtag1","hashtag2"]},{"1352260435":["hashtag1","hashtag2"]},{"1352260434":["hashtag1","hashtag2"]},{"1352260428":["hashtag1","hashtag2"]},{"1352260431":["hashtag1","hashtag2"]},{"1352260425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260436, 1352260435, 1352260434, 1352260428, 1352260431, 1352260425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.191890716552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:21:33.081179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_24_9362.jpg', '/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_35_10388.jpg', '/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_45_10442.jpg', '/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_54_9436.jpg', '/home/pi/Desktop/images/20042025/15/42/image_20042025_15_43_05_10360.jpg', '/home/pi/Desktop/images/20042025/15/43/image_20042025_15_43_24_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_24_9362.jpg
/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_35_10388.jpg
/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_45_10442.jpg
/home/pi/Desktop/images/20042025/15/42/image_20042025_15_42_54_9436.jpg
/home/pi/Desktop/images/20042025/15/42/image_20042025_15_43_05_10360.jpg
/home/pi/Desktop/images/20042025/15/43/image_20042025_15_43_24_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260451","1352260454","1352260448","1352260456","1352260444","1352260458"],"photo_ids_order":["1352260444","1352260448","1352260451","1352260454","1352260456","1352260458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45622a7883334bd6efb2e442041d7fca.jpg","text":"TemporaryFile(/tmp/multipartBody7977546872958295754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166153543,"filename":"image_20042025_15_42_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24828d295cf27690349470ec33037918.jpg","text":"TemporaryFile(/tmp/multipartBody5758576542169446283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166153543,"filename":"image_20042025_15_42_54_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7da38b225377b9280eb253764dfd942f.jpg","text":"TemporaryFile(/tmp/multipartBody3041661218530615667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166153543,"filename":"image_20042025_15_42_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f4370947d5e72ec0be151f017a92469.jpg","text":"TemporaryFile(/tmp/multipartBody511332175303933261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166153543,"filename":"image_20042025_15_43_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d9fde4025085e0361b8d69e2e06a03a6.jpg","text":"TemporaryFile(/tmp/multipartBody3767780430407641551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166153543,"filename":"image_20042025_15_42_24_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e15b14c799fc6795470225342c51f08.jpg","text":"TemporaryFile(/tmp/multipartBody8214622014221765547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166153543,"filename":"image_20042025_15_43_24_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260451","file1":"1352260448","file0":"1352260444","file4":"1352260456","file5":"1352260458","file3":"1352260454"},"map_files_photo_id_array":[{"photo_id":"1352260458","filename":"file5"},{"photo_id":"1352260451","filename":"file2"},{"photo_id":"1352260456","filename":"file4"},{"photo_id":"1352260448","filename":"file1"},{"photo_id":"1352260444","filename":"file0"},{"photo_id":"1352260454","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260451":["hashtag1","hashtag2"]},{"1352260454":["hashtag1","hashtag2"]},{"1352260448":["hashtag1","hashtag2"]},{"1352260456":["hashtag1","hashtag2"]},{"1352260444":["hashtag1","hashtag2"]},{"1352260458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260451, 1352260454, 1352260448, 1352260456, 1352260444, 1352260458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68781805038452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:22:32.248139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/43/image_20042025_15_43_35_10356.jpg', '/home/pi/Desktop/images/20042025/15/43/image_20042025_15_43_44_9423.jpg', '/home/pi/Desktop/images/20042025/15/43/image_20042025_15_44_04_9439.jpg', '/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_14_10420.jpg', '/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_34_9439.jpg', '/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/43/image_20042025_15_43_35_10356.jpg
/home/pi/Desktop/images/20042025/15/43/image_20042025_15_43_44_9423.jpg
/home/pi/Desktop/images/20042025/15/43/image_20042025_15_44_04_9439.jpg
/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_14_10420.jpg
/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_34_9439.jpg
/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_45_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260465","1352260479","1352260470","1352260473","1352260467","1352260475"],"photo_ids_order":["1352260465","1352260467","1352260470","1352260473","1352260475","1352260479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e6886021e353d23622ac9878ef4156a.jpg","text":"TemporaryFile(/tmp/multipartBody8303374526740524095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166212715,"filename":"image_20042025_15_43_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/209631dcd9f50eb888853e249b384fad.jpg","text":"TemporaryFile(/tmp/multipartBody9158624796162826519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166212715,"filename":"image_20042025_15_44_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4c872d2ec00cafad41d35f73445cb44.jpg","text":"TemporaryFile(/tmp/multipartBody2308010331055919607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166212715,"filename":"image_20042025_15_44_04_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9aa4bcd82e189bf38f1be99734ad871.jpg","text":"TemporaryFile(/tmp/multipartBody1476274288112394867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166212715,"filename":"image_20042025_15_44_14_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/500ecfb5898798cf12cf9e8cb2c871cd.jpg","text":"TemporaryFile(/tmp/multipartBody5376459685676614394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166212715,"filename":"image_20042025_15_43_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aaed3aa1ca883d0e7bf83d57dcc5c79d.jpg","text":"TemporaryFile(/tmp/multipartBody5271059275480877313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166212715,"filename":"image_20042025_15_44_34_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260470","file1":"1352260467","file0":"1352260465","file4":"1352260475","file5":"1352260479","file3":"1352260473"},"map_files_photo_id_array":[{"photo_id":"1352260479","filename":"file5"},{"photo_id":"1352260470","filename":"file2"},{"photo_id":"1352260475","filename":"file4"},{"photo_id":"1352260467","filename":"file1"},{"photo_id":"1352260465","filename":"file0"},{"photo_id":"1352260473","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260465":["hashtag1","hashtag2"]},{"1352260479":["hashtag1","hashtag2"]},{"1352260470":["hashtag1","hashtag2"]},{"1352260473":["hashtag1","hashtag2"]},{"1352260467":["hashtag1","hashtag2"]},{"1352260475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260465, 1352260479, 1352260470, 1352260473, 1352260467, 1352260475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.409457683563232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:23:32.357932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_54_9366.jpg', '/home/pi/Desktop/images/20042025/15/44/image_20042025_15_45_05_10419.jpg', '/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_15_10414.jpg', '/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_24_9357.jpg', '/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_44_9472.jpg', '/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_55_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/44/image_20042025_15_44_54_9366.jpg
/home/pi/Desktop/images/20042025/15/44/image_20042025_15_45_05_10419.jpg
/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_15_10414.jpg
/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_24_9357.jpg
/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_44_9472.jpg
/home/pi/Desktop/images/20042025/15/45/image_20042025_15_45_55_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260500","1352260505","1352260507","1352260497","1352260509","1352260503"],"photo_ids_order":["1352260497","1352260500","1352260503","1352260505","1352260507","1352260509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0b64aebee3109c00b8bc71c3d7db430.jpg","text":"TemporaryFile(/tmp/multipartBody6750992254499513443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166272826,"filename":"image_20042025_15_45_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9493235c7402fa8dfd7958fd5c35cba1.jpg","text":"TemporaryFile(/tmp/multipartBody3058175268084410835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166272826,"filename":"image_20042025_15_45_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05423304c23c5e0d13928ddec11501be.jpg","text":"TemporaryFile(/tmp/multipartBody1517158004822560836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166272826,"filename":"image_20042025_15_45_44_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93389eeabd5afdb62a07e6e9d377af3c.jpg","text":"TemporaryFile(/tmp/multipartBody4148774353803112139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166272826,"filename":"image_20042025_15_44_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ea1d2419f1388be1423242fa01bfccf.jpg","text":"TemporaryFile(/tmp/multipartBody8401992228918244288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166272826,"filename":"image_20042025_15_45_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92ca0ec17d388d8dc5eab6f2ba94bf2a.jpg","text":"TemporaryFile(/tmp/multipartBody2746748546285628367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166272826,"filename":"image_20042025_15_45_15_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260503","file1":"1352260500","file0":"1352260497","file4":"1352260507","file5":"1352260509","file3":"1352260505"},"map_files_photo_id_array":[{"photo_id":"1352260509","filename":"file5"},{"photo_id":"1352260503","filename":"file2"},{"photo_id":"1352260507","filename":"file4"},{"photo_id":"1352260500","filename":"file1"},{"photo_id":"1352260497","filename":"file0"},{"photo_id":"1352260505","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260500":["hashtag1","hashtag2"]},{"1352260505":["hashtag1","hashtag2"]},{"1352260507":["hashtag1","hashtag2"]},{"1352260497":["hashtag1","hashtag2"]},{"1352260509":["hashtag1","hashtag2"]},{"1352260503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260500, 1352260505, 1352260507, 1352260497, 1352260509, 1352260503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.874690771102905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:24:32.599476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/45/image_20042025_15_46_05_10515.jpg', '/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_14_9340.jpg', '/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_25_10370.jpg', '/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_34_9429.jpg', '/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_45_10369.jpg', '/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_55_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/45/image_20042025_15_46_05_10515.jpg
/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_14_9340.jpg
/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_25_10370.jpg
/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_34_9429.jpg
/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_45_10369.jpg
/home/pi/Desktop/images/20042025/15/46/image_20042025_15_46_55_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260526","1352260529","1352260523","1352260531","1352260519","1352260533"],"photo_ids_order":["1352260519","1352260523","1352260526","1352260529","1352260531","1352260533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f0f3ce8c302c5ac6e1fa0e8c4ba9b36.jpg","text":"TemporaryFile(/tmp/multipartBody1873081973258870985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166333069,"filename":"image_20042025_15_46_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d96cd7ef8446b45dbca685c0cdd5fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7424639692858471242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166333069,"filename":"image_20042025_15_46_34_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27ffa3c102a7539f82e532fc96b889be.jpg","text":"TemporaryFile(/tmp/multipartBody295029511553894950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166333069,"filename":"image_20042025_15_46_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/112d68d616ce50ab04306e91a88dc054.jpg","text":"TemporaryFile(/tmp/multipartBody4456378947570442786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166333069,"filename":"image_20042025_15_46_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c257dc8d9e36f011dfb60cc61f759df5.jpg","text":"TemporaryFile(/tmp/multipartBody5933177135135342870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166333069,"filename":"image_20042025_15_46_05_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81e927f90c6343a8a0e08e5d93138e22.jpg","text":"TemporaryFile(/tmp/multipartBody8674760478832650764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166333069,"filename":"image_20042025_15_46_55_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260526","file1":"1352260523","file0":"1352260519","file4":"1352260531","file5":"1352260533","file3":"1352260529"},"map_files_photo_id_array":[{"photo_id":"1352260533","filename":"file5"},{"photo_id":"1352260526","filename":"file2"},{"photo_id":"1352260531","filename":"file4"},{"photo_id":"1352260523","filename":"file1"},{"photo_id":"1352260519","filename":"file0"},{"photo_id":"1352260529","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260526":["hashtag1","hashtag2"]},{"1352260529":["hashtag1","hashtag2"]},{"1352260523":["hashtag1","hashtag2"]},{"1352260531":["hashtag1","hashtag2"]},{"1352260519":["hashtag1","hashtag2"]},{"1352260533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260526, 1352260529, 1352260523, 1352260531, 1352260519, 1352260533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.41074275970459 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:25:32.825797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/47/image_20042025_15_47_34_10348.jpg', '/home/pi/Desktop/images/20042025/15/47/image_20042025_15_47_45_10378.jpg', '/home/pi/Desktop/images/20042025/15/47/image_20042025_15_48_05_10375.jpg', '/home/pi/Desktop/images/20042025/15/48/image_20042025_15_48_35_10478.jpg', '/home/pi/Desktop/images/20042025/15/48/image_20042025_15_48_44_9362.jpg', '/home/pi/Desktop/images/20042025/15/48/image_20042025_15_48_55_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/47/image_20042025_15_47_34_10348.jpg
/home/pi/Desktop/images/20042025/15/47/image_20042025_15_47_45_10378.jpg
/home/pi/Desktop/images/20042025/15/47/image_20042025_15_48_05_10375.jpg
/home/pi/Desktop/images/20042025/15/48/image_20042025_15_48_35_10478.jpg
/home/pi/Desktop/images/20042025/15/48/image_20042025_15_48_44_9362.jpg
/home/pi/Desktop/images/20042025/15/48/image_20042025_15_48_55_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260556","1352260544","1352260549","1352260546","1352260551","1352260554"],"photo_ids_order":["1352260544","1352260546","1352260549","1352260551","1352260554","1352260556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6785e0b111f51449c464cb4f93e25b5c.jpg","text":"TemporaryFile(/tmp/multipartBody850265022526095305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166393302,"filename":"image_20042025_15_48_55_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cdad4069205a1440ff41cff7465d0ed.jpg","text":"TemporaryFile(/tmp/multipartBody2885605603078232453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166393302,"filename":"image_20042025_15_47_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa67e1d12b297427e0a7dcf79b959649.jpg","text":"TemporaryFile(/tmp/multipartBody4187613734473118330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166393302,"filename":"image_20042025_15_48_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bead08bdb7a62fb1f249f61287ab8798.jpg","text":"TemporaryFile(/tmp/multipartBody3450829475212776362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166393302,"filename":"image_20042025_15_47_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6650d695e408c4125b3f89e2caa41999.jpg","text":"TemporaryFile(/tmp/multipartBody4273632910385537812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166393302,"filename":"image_20042025_15_48_35_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4e920f4bb3f609f098aa993e3b2e2f7.jpg","text":"TemporaryFile(/tmp/multipartBody6855857023457660629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166393302,"filename":"image_20042025_15_48_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260549","file1":"1352260546","file0":"1352260544","file4":"1352260554","file5":"1352260556","file3":"1352260551"},"map_files_photo_id_array":[{"photo_id":"1352260556","filename":"file5"},{"photo_id":"1352260549","filename":"file2"},{"photo_id":"1352260554","filename":"file4"},{"photo_id":"1352260546","filename":"file1"},{"photo_id":"1352260544","filename":"file0"},{"photo_id":"1352260551","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260556":["hashtag1","hashtag2"]},{"1352260544":["hashtag1","hashtag2"]},{"1352260549":["hashtag1","hashtag2"]},{"1352260546":["hashtag1","hashtag2"]},{"1352260551":["hashtag1","hashtag2"]},{"1352260554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260556, 1352260544, 1352260549, 1352260546, 1352260551, 1352260554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89180564880371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:26:33.125520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/48/image_20042025_15_49_04_9445.jpg', '/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_15_10416.jpg', '/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_34_10368.jpg', '/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_45_10365.jpg', '/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_54_9433.jpg', '/home/pi/Desktop/images/20042025/15/49/image_20042025_15_50_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/48/image_20042025_15_49_04_9445.jpg
/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_15_10416.jpg
/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_34_10368.jpg
/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_45_10365.jpg
/home/pi/Desktop/images/20042025/15/49/image_20042025_15_49_54_9433.jpg
/home/pi/Desktop/images/20042025/15/49/image_20042025_15_50_05_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260583","1352260571","1352260567","1352260581","1352260578","1352260575"],"photo_ids_order":["1352260567","1352260571","1352260575","1352260578","1352260581","1352260583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/179bc963029c204084ea4fbb03332dc5.jpg","text":"TemporaryFile(/tmp/multipartBody909886120405246537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166453595,"filename":"image_20042025_15_50_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3009666368d3fe4c088c1d2bc2ffac90.jpg","text":"TemporaryFile(/tmp/multipartBody3509555735407338965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166453595,"filename":"image_20042025_15_49_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2917525d8e90c94f4e75c9f82c861806.jpg","text":"TemporaryFile(/tmp/multipartBody8550957006311194452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166453595,"filename":"image_20042025_15_49_04_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04dc91cd29640a19c68ac27e41f40057.jpg","text":"TemporaryFile(/tmp/multipartBody3353840983080068241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166453595,"filename":"image_20042025_15_49_54_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfea5100c3de63de95d1cfe6db667f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4272543624916380135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166453595,"filename":"image_20042025_15_49_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e16d660aebc83595d0392442901578b.jpg","text":"TemporaryFile(/tmp/multipartBody323191677224040369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166453595,"filename":"image_20042025_15_49_34_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260575","file1":"1352260571","file0":"1352260567","file4":"1352260581","file5":"1352260583","file3":"1352260578"},"map_files_photo_id_array":[{"photo_id":"1352260583","filename":"file5"},{"photo_id":"1352260575","filename":"file2"},{"photo_id":"1352260581","filename":"file4"},{"photo_id":"1352260571","filename":"file1"},{"photo_id":"1352260567","filename":"file0"},{"photo_id":"1352260578","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260583":["hashtag1","hashtag2"]},{"1352260571":["hashtag1","hashtag2"]},{"1352260567":["hashtag1","hashtag2"]},{"1352260581":["hashtag1","hashtag2"]},{"1352260578":["hashtag1","hashtag2"]},{"1352260575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260583, 1352260571, 1352260567, 1352260581, 1352260578, 1352260575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.911659717559814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:27:32.375529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_14_9457.jpg', '/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_25_10473.jpg', '/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_35_10435.jpg', '/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_44_9367.jpg', '/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_55_10437.jpg', '/home/pi/Desktop/images/20042025/15/50/image_20042025_15_51_04_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_14_9457.jpg
/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_25_10473.jpg
/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_35_10435.jpg
/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_44_9367.jpg
/home/pi/Desktop/images/20042025/15/50/image_20042025_15_50_55_10437.jpg
/home/pi/Desktop/images/20042025/15/50/image_20042025_15_51_04_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260603","1352260596","1352260599","1352260593","1352260602","1352260605"],"photo_ids_order":["1352260593","1352260596","1352260599","1352260602","1352260603","1352260605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9f72711e31767300bb64cff2b597fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5400372305621498581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166512837,"filename":"image_20042025_15_50_55_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e69fe169e47c22c54b54040451696fae.jpg","text":"TemporaryFile(/tmp/multipartBody6799566475359063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166512837,"filename":"image_20042025_15_50_25_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07c2263a85c2c75ae34f3a38e4c3361e.jpg","text":"TemporaryFile(/tmp/multipartBody5216232376555278048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166512837,"filename":"image_20042025_15_50_35_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30e1b5f6cc1596beb444db71d85ea4ed.jpg","text":"TemporaryFile(/tmp/multipartBody4239139646761197522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166512837,"filename":"image_20042025_15_50_14_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78c70564972f4efd1fb3ba78efd65757.jpg","text":"TemporaryFile(/tmp/multipartBody4792230669472610703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166512837,"filename":"image_20042025_15_50_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecd647b4e01558b6c61006f225a8fabb.jpg","text":"TemporaryFile(/tmp/multipartBody8179130096328975159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166512837,"filename":"image_20042025_15_51_04_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260599","file1":"1352260596","file0":"1352260593","file4":"1352260603","file5":"1352260605","file3":"1352260602"},"map_files_photo_id_array":[{"photo_id":"1352260605","filename":"file5"},{"photo_id":"1352260599","filename":"file2"},{"photo_id":"1352260603","filename":"file4"},{"photo_id":"1352260596","filename":"file1"},{"photo_id":"1352260593","filename":"file0"},{"photo_id":"1352260602","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260603":["hashtag1","hashtag2"]},{"1352260596":["hashtag1","hashtag2"]},{"1352260599":["hashtag1","hashtag2"]},{"1352260593":["hashtag1","hashtag2"]},{"1352260602":["hashtag1","hashtag2"]},{"1352260605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260603, 1352260596, 1352260599, 1352260593, 1352260602, 1352260605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88261342048645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:28:32.626173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_15_10340.jpg', '/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_24_9489.jpg', '/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_34_10385.jpg', '/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_45_10487.jpg', '/home/pi/Desktop/images/20042025/15/51/image_20042025_15_52_05_10369.jpg', '/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_14_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_15_10340.jpg
/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_24_9489.jpg
/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_34_10385.jpg
/home/pi/Desktop/images/20042025/15/51/image_20042025_15_51_45_10487.jpg
/home/pi/Desktop/images/20042025/15/51/image_20042025_15_52_05_10369.jpg
/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_14_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260625","1352260628","1352260618","1352260626","1352260620","1352260623"],"photo_ids_order":["1352260618","1352260620","1352260623","1352260625","1352260626","1352260628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ba62f98e4eb5f30dfd4e8304f536bac.jpg","text":"TemporaryFile(/tmp/multipartBody714879350887450953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166573088,"filename":"image_20042025_15_51_45_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e454c1508523eb9f9dd380c26d44608c.jpg","text":"TemporaryFile(/tmp/multipartBody7663903247987393389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166573088,"filename":"image_20042025_15_52_14_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2611e46950eabcb7b9eebb891a6853a5.jpg","text":"TemporaryFile(/tmp/multipartBody6131623822888077304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166573088,"filename":"image_20042025_15_51_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c614b0361dc02bfd9854d9aa77f3a022.jpg","text":"TemporaryFile(/tmp/multipartBody3669508675636384883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166573088,"filename":"image_20042025_15_52_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8541004e990d1c34fa0c27949dab0b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8889565113618154741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166573088,"filename":"image_20042025_15_51_24_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77b44bafb01fecedf04f1e6eb63271d9.jpg","text":"TemporaryFile(/tmp/multipartBody7575893111558454812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166573088,"filename":"image_20042025_15_51_34_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260623","file1":"1352260620","file0":"1352260618","file4":"1352260626","file5":"1352260628","file3":"1352260625"},"map_files_photo_id_array":[{"photo_id":"1352260628","filename":"file5"},{"photo_id":"1352260623","filename":"file2"},{"photo_id":"1352260626","filename":"file4"},{"photo_id":"1352260620","filename":"file1"},{"photo_id":"1352260618","filename":"file0"},{"photo_id":"1352260625","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260625":["hashtag1","hashtag2"]},{"1352260628":["hashtag1","hashtag2"]},{"1352260618":["hashtag1","hashtag2"]},{"1352260626":["hashtag1","hashtag2"]},{"1352260620":["hashtag1","hashtag2"]},{"1352260623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260625, 1352260628, 1352260618, 1352260626, 1352260620, 1352260623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.048678874969482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:29:32.820514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_25_10424.jpg', '/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_35_10377.jpg', '/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_44_9369.jpg', '/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_55_10371.jpg', '/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_14_9362.jpg', '/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_25_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_25_10424.jpg
/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_35_10377.jpg
/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_44_9369.jpg
/home/pi/Desktop/images/20042025/15/52/image_20042025_15_52_55_10371.jpg
/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_14_9362.jpg
/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_25_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260643","1352260645","1352260639","1352260650","1352260653","1352260656"],"photo_ids_order":["1352260639","1352260643","1352260645","1352260650","1352260653","1352260656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a537f2c41b4e511de6c8260a0966f287.jpg","text":"TemporaryFile(/tmp/multipartBody6855563475193254136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166633281,"filename":"image_20042025_15_52_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3e95cc3b0b3dd1c8913f0cb0cc4894f.jpg","text":"TemporaryFile(/tmp/multipartBody6347779038880279348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166633281,"filename":"image_20042025_15_52_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef4a05683ec7b4603dfd45017f41a6f0.jpg","text":"TemporaryFile(/tmp/multipartBody6381575690423776849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166633281,"filename":"image_20042025_15_52_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a3e560f9a404c1a3cfdb7d389382487.jpg","text":"TemporaryFile(/tmp/multipartBody5462838116861669447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166633281,"filename":"image_20042025_15_52_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0036e6ca023a57621a275480d06cfa4c.jpg","text":"TemporaryFile(/tmp/multipartBody9195661179891704009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166633281,"filename":"image_20042025_15_53_14_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/509098762162c203c5c9a731eac3ec76.jpg","text":"TemporaryFile(/tmp/multipartBody4173179270848019697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166633281,"filename":"image_20042025_15_53_25_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260645","file1":"1352260643","file0":"1352260639","file4":"1352260653","file5":"1352260656","file3":"1352260650"},"map_files_photo_id_array":[{"photo_id":"1352260656","filename":"file5"},{"photo_id":"1352260645","filename":"file2"},{"photo_id":"1352260653","filename":"file4"},{"photo_id":"1352260643","filename":"file1"},{"photo_id":"1352260639","filename":"file0"},{"photo_id":"1352260650","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260643":["hashtag1","hashtag2"]},{"1352260645":["hashtag1","hashtag2"]},{"1352260639":["hashtag1","hashtag2"]},{"1352260650":["hashtag1","hashtag2"]},{"1352260653":["hashtag1","hashtag2"]},{"1352260656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260643, 1352260645, 1352260639, 1352260650, 1352260653, 1352260656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.688244104385376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:30:32.154984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_34_9421.jpg', '/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_45_10372.jpg', '/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_55_10396.jpg', '/home/pi/Desktop/images/20042025/15/53/image_20042025_15_54_04_9399.jpg', '/home/pi/Desktop/images/20042025/15/54/image_20042025_15_54_15_10345.jpg', '/home/pi/Desktop/images/20042025/15/54/image_20042025_15_54_24_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_34_9421.jpg
/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_45_10372.jpg
/home/pi/Desktop/images/20042025/15/53/image_20042025_15_53_55_10396.jpg
/home/pi/Desktop/images/20042025/15/53/image_20042025_15_54_04_9399.jpg
/home/pi/Desktop/images/20042025/15/54/image_20042025_15_54_15_10345.jpg
/home/pi/Desktop/images/20042025/15/54/image_20042025_15_54_24_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260663","1352260680","1352260677","1352260671","1352260674","1352260668"],"photo_ids_order":["1352260663","1352260668","1352260671","1352260674","1352260677","1352260680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8070699a488b61340a167f43e494ff54.jpg","text":"TemporaryFile(/tmp/multipartBody3963123146104436128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166692617,"filename":"image_20042025_15_53_34_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f554947177207527ea4d09a620cf0cd.jpg","text":"TemporaryFile(/tmp/multipartBody1007477558111739834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166692617,"filename":"image_20042025_15_54_24_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/282bb5b70ee3e786607dc5d26a0749f0.jpg","text":"TemporaryFile(/tmp/multipartBody8095063000445303113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166692617,"filename":"image_20042025_15_54_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/858621b370075d881ad886af9b6e9549.jpg","text":"TemporaryFile(/tmp/multipartBody7997542041845851192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166692617,"filename":"image_20042025_15_53_55_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed5451468482e6198ab1a8f78025461f.jpg","text":"TemporaryFile(/tmp/multipartBody5909652003406562151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166692617,"filename":"image_20042025_15_54_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88580b9988f7bef295d206272d91314f.jpg","text":"TemporaryFile(/tmp/multipartBody1851428732510189030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166692617,"filename":"image_20042025_15_53_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260671","file1":"1352260668","file0":"1352260663","file4":"1352260677","file5":"1352260680","file3":"1352260674"},"map_files_photo_id_array":[{"photo_id":"1352260680","filename":"file5"},{"photo_id":"1352260671","filename":"file2"},{"photo_id":"1352260677","filename":"file4"},{"photo_id":"1352260668","filename":"file1"},{"photo_id":"1352260663","filename":"file0"},{"photo_id":"1352260674","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260663":["hashtag1","hashtag2"]},{"1352260680":["hashtag1","hashtag2"]},{"1352260677":["hashtag1","hashtag2"]},{"1352260671":["hashtag1","hashtag2"]},{"1352260674":["hashtag1","hashtag2"]},{"1352260668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260663, 1352260680, 1352260677, 1352260671, 1352260674, 1352260668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.181798934936523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:31:32.321640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/54/image_20042025_15_54_35_10356.jpg', '/home/pi/Desktop/images/20042025/15/54/image_20042025_15_55_05_10375.jpg', '/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_14_9449.jpg', '/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_25_10365.jpg', '/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_34_9384.jpg', '/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_44_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/54/image_20042025_15_54_35_10356.jpg
/home/pi/Desktop/images/20042025/15/54/image_20042025_15_55_05_10375.jpg
/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_14_9449.jpg
/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_25_10365.jpg
/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_34_9384.jpg
/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_44_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260697","1352260700","1352260703","1352260687","1352260691","1352260694"],"photo_ids_order":["1352260687","1352260691","1352260694","1352260697","1352260700","1352260703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e110a54cec78654a1ce669a893968c5.jpg","text":"TemporaryFile(/tmp/multipartBody1698949774206114301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166752796,"filename":"image_20042025_15_55_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2b15ca1e10691ee055c0fa26132dc46.jpg","text":"TemporaryFile(/tmp/multipartBody2951874297276558273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166752796,"filename":"image_20042025_15_55_34_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cddf3a06a7e6220ec88f685746b8c0c5.jpg","text":"TemporaryFile(/tmp/multipartBody6073275460917151695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166752796,"filename":"image_20042025_15_55_44_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f427c0c2efbaedcd94e7d928104bfe97.jpg","text":"TemporaryFile(/tmp/multipartBody9126211429238158432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166752796,"filename":"image_20042025_15_54_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf304b8a7fdfde42a828f4efb5ea28e0.jpg","text":"TemporaryFile(/tmp/multipartBody7836839662723392075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166752796,"filename":"image_20042025_15_55_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9066a8aa6851cd8244d4ee711fc7771c.jpg","text":"TemporaryFile(/tmp/multipartBody838027324021225104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166752796,"filename":"image_20042025_15_55_14_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260694","file1":"1352260691","file0":"1352260687","file4":"1352260700","file5":"1352260703","file3":"1352260697"},"map_files_photo_id_array":[{"photo_id":"1352260703","filename":"file5"},{"photo_id":"1352260694","filename":"file2"},{"photo_id":"1352260700","filename":"file4"},{"photo_id":"1352260691","filename":"file1"},{"photo_id":"1352260687","filename":"file0"},{"photo_id":"1352260697","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260697":["hashtag1","hashtag2"]},{"1352260700":["hashtag1","hashtag2"]},{"1352260703":["hashtag1","hashtag2"]},{"1352260687":["hashtag1","hashtag2"]},{"1352260691":["hashtag1","hashtag2"]},{"1352260694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260697, 1352260700, 1352260703, 1352260687, 1352260691, 1352260694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.15411615371704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:32:32.574042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_55_10487.jpg', '/home/pi/Desktop/images/20042025/15/55/image_20042025_15_56_04_9363.jpg', '/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_24_9371.jpg', '/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_34_10342.jpg', '/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_45_10447.jpg', '/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_54_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/55/image_20042025_15_55_55_10487.jpg
/home/pi/Desktop/images/20042025/15/55/image_20042025_15_56_04_9363.jpg
/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_24_9371.jpg
/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_34_10342.jpg
/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_45_10447.jpg
/home/pi/Desktop/images/20042025/15/56/image_20042025_15_56_54_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260721","1352260715","1352260720","1352260717","1352260713","1352260710"],"photo_ids_order":["1352260710","1352260713","1352260715","1352260717","1352260720","1352260721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0642ef78efb0edda2fd03310b83e9118.jpg","text":"TemporaryFile(/tmp/multipartBody3161138864694933832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166813053,"filename":"image_20042025_15_56_54_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/908d3c27a0465ec91adfd54dcfa7408b.jpg","text":"TemporaryFile(/tmp/multipartBody416679580804256585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166813053,"filename":"image_20042025_15_56_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb0ef85f195aba29dd117dbe91b2ad1a.jpg","text":"TemporaryFile(/tmp/multipartBody2936924568675052915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166813053,"filename":"image_20042025_15_56_45_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1c9b93313efb681e568590660006c3b.jpg","text":"TemporaryFile(/tmp/multipartBody203999641633908883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166813053,"filename":"image_20042025_15_56_34_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d661112ceca1a5fd9824420a02f3c6f.jpg","text":"TemporaryFile(/tmp/multipartBody561475934661016553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166813053,"filename":"image_20042025_15_56_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ec2eb6d184b937a1df6d8ba988bcc56.jpg","text":"TemporaryFile(/tmp/multipartBody8643834782370763104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166813053,"filename":"image_20042025_15_55_55_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260715","file1":"1352260713","file0":"1352260710","file4":"1352260720","file5":"1352260721","file3":"1352260717"},"map_files_photo_id_array":[{"photo_id":"1352260721","filename":"file5"},{"photo_id":"1352260715","filename":"file2"},{"photo_id":"1352260720","filename":"file4"},{"photo_id":"1352260713","filename":"file1"},{"photo_id":"1352260710","filename":"file0"},{"photo_id":"1352260717","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260721":["hashtag1","hashtag2"]},{"1352260715":["hashtag1","hashtag2"]},{"1352260720":["hashtag1","hashtag2"]},{"1352260717":["hashtag1","hashtag2"]},{"1352260713":["hashtag1","hashtag2"]},{"1352260710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260721, 1352260715, 1352260720, 1352260717, 1352260713, 1352260710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.662114143371582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:33:32.931948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/56/image_20042025_15_57_05_10395.jpg', '/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_14_9344.jpg', '/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_24_10390.jpg', '/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_35_10363.jpg', '/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_44_9428.jpg', '/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/56/image_20042025_15_57_05_10395.jpg
/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_14_9344.jpg
/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_24_10390.jpg
/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_35_10363.jpg
/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_44_9428.jpg
/home/pi/Desktop/images/20042025/15/57/image_20042025_15_57_55_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260748","1352260739","1352260741","1352260735","1352260743","1352260737"],"photo_ids_order":["1352260735","1352260737","1352260739","1352260741","1352260743","1352260748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba5a89a3375828aa01277e9997db8655.jpg","text":"TemporaryFile(/tmp/multipartBody7627535772006240759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166873398,"filename":"image_20042025_15_57_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5a93053c7bfe20971ae8d348ccf07b1.jpg","text":"TemporaryFile(/tmp/multipartBody6023146984604093236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166873398,"filename":"image_20042025_15_57_24_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da921ac6cb49c2d10d14d1538247388c.jpg","text":"TemporaryFile(/tmp/multipartBody7352110524715117371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166873398,"filename":"image_20042025_15_57_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f04ad45bca7d2686456f1a70fbe8b671.jpg","text":"TemporaryFile(/tmp/multipartBody4378204976839794713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166873398,"filename":"image_20042025_15_57_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/524b159c88e937928d8d8da70b68357e.jpg","text":"TemporaryFile(/tmp/multipartBody1831875275969500368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166873398,"filename":"image_20042025_15_57_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de6469f094b352b4524283c94f0325a7.jpg","text":"TemporaryFile(/tmp/multipartBody3824910165573543322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166873398,"filename":"image_20042025_15_57_14_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260739","file1":"1352260737","file0":"1352260735","file4":"1352260743","file5":"1352260748","file3":"1352260741"},"map_files_photo_id_array":[{"photo_id":"1352260748","filename":"file5"},{"photo_id":"1352260739","filename":"file2"},{"photo_id":"1352260743","filename":"file4"},{"photo_id":"1352260737","filename":"file1"},{"photo_id":"1352260735","filename":"file0"},{"photo_id":"1352260741","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260748":["hashtag1","hashtag2"]},{"1352260739":["hashtag1","hashtag2"]},{"1352260741":["hashtag1","hashtag2"]},{"1352260735":["hashtag1","hashtag2"]},{"1352260743":["hashtag1","hashtag2"]},{"1352260737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260748, 1352260739, 1352260741, 1352260735, 1352260743, 1352260737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.28292274475098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:34:33.145128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/57/image_20042025_15_58_04_9482.jpg', '/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_14_10380.jpg', '/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_25_10411.jpg', '/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_34_9352.jpg', '/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_45_10369.jpg', '/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_54_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/57/image_20042025_15_58_04_9482.jpg
/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_14_10380.jpg
/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_25_10411.jpg
/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_34_9352.jpg
/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_45_10369.jpg
/home/pi/Desktop/images/20042025/15/58/image_20042025_15_58_54_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260769","1352260771","1352260762","1352260764","1352260773","1352260767"],"photo_ids_order":["1352260762","1352260764","1352260767","1352260769","1352260771","1352260773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b9cedd859e926c2219bd3adeb9e4c74.jpg","text":"TemporaryFile(/tmp/multipartBody8868269211392600625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166933602,"filename":"image_20042025_15_58_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69fdf82524e5d1aa89487c40189a835f.jpg","text":"TemporaryFile(/tmp/multipartBody7136555353614238999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166933602,"filename":"image_20042025_15_58_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b299bed05019f69d2168cd1c3a22369f.jpg","text":"TemporaryFile(/tmp/multipartBody1914051631660960646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166933602,"filename":"image_20042025_15_58_04_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/506ee4e7cc3226ad8632392e25f37f22.jpg","text":"TemporaryFile(/tmp/multipartBody2670823622249852576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166933602,"filename":"image_20042025_15_58_14_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9f423b53630d95b36bebe6f203b5297.jpg","text":"TemporaryFile(/tmp/multipartBody7553818578909867016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166933602,"filename":"image_20042025_15_58_54_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0ffe2367dccf29c66966ce06fedab00.jpg","text":"TemporaryFile(/tmp/multipartBody2955841022551657463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166933602,"filename":"image_20042025_15_58_25_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260767","file1":"1352260764","file0":"1352260762","file4":"1352260771","file5":"1352260773","file3":"1352260769"},"map_files_photo_id_array":[{"photo_id":"1352260773","filename":"file5"},{"photo_id":"1352260767","filename":"file2"},{"photo_id":"1352260771","filename":"file4"},{"photo_id":"1352260764","filename":"file1"},{"photo_id":"1352260762","filename":"file0"},{"photo_id":"1352260769","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260769":["hashtag1","hashtag2"]},{"1352260771":["hashtag1","hashtag2"]},{"1352260762":["hashtag1","hashtag2"]},{"1352260764":["hashtag1","hashtag2"]},{"1352260773":["hashtag1","hashtag2"]},{"1352260767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260769, 1352260771, 1352260762, 1352260764, 1352260773, 1352260767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.947792291641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:35:32.485163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/15/58/image_20042025_15_59_04_10381.jpg', '/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_15_10372.jpg', '/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_24_9477.jpg', '/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_35_10370.jpg', '/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_44_9414.jpg', '/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_54_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/15/58/image_20042025_15_59_04_10381.jpg
/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_15_10372.jpg
/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_24_9477.jpg
/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_35_10370.jpg
/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_44_9414.jpg
/home/pi/Desktop/images/20042025/15/59/image_20042025_15_59_54_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260783","1352260786","1352260780","1352260785","1352260784","1352260787"],"photo_ids_order":["1352260780","1352260783","1352260784","1352260785","1352260786","1352260787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0e5a96f89e301e635804131fd4bc693.jpg","text":"TemporaryFile(/tmp/multipartBody4867696953407659234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166992958,"filename":"image_20042025_15_59_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/345e38d7899c86accee5eb2b24d943c1.jpg","text":"TemporaryFile(/tmp/multipartBody1675396630502877034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166992958,"filename":"image_20042025_15_59_44_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ccc6c2389f9930db7a19c67eac69f40.jpg","text":"TemporaryFile(/tmp/multipartBody3574798825626936854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166992958,"filename":"image_20042025_15_59_04_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d61d04f97fc9ab4c40ef84400904ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8241650999050104155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166992958,"filename":"image_20042025_15_59_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d0807d5fc7150fd953c46c66a76aae2.jpg","text":"TemporaryFile(/tmp/multipartBody2807473419647417276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166992958,"filename":"image_20042025_15_59_24_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da794a9f2054e417cdf1c37a1f3d8619.jpg","text":"TemporaryFile(/tmp/multipartBody5132991134169658923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745166992958,"filename":"image_20042025_15_59_54_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260784","file1":"1352260783","file0":"1352260780","file4":"1352260786","file5":"1352260787","file3":"1352260785"},"map_files_photo_id_array":[{"photo_id":"1352260787","filename":"file5"},{"photo_id":"1352260784","filename":"file2"},{"photo_id":"1352260786","filename":"file4"},{"photo_id":"1352260783","filename":"file1"},{"photo_id":"1352260780","filename":"file0"},{"photo_id":"1352260785","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260783":["hashtag1","hashtag2"]},{"1352260786":["hashtag1","hashtag2"]},{"1352260780":["hashtag1","hashtag2"]},{"1352260785":["hashtag1","hashtag2"]},{"1352260784":["hashtag1","hashtag2"]},{"1352260787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260783, 1352260786, 1352260780, 1352260785, 1352260784, 1352260787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.997492790222168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:36:32.586593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_14_10078.jpg', '/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_24_10392.jpg', '/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_35_10428.jpg', '/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_44_9356.jpg', '/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_54_10362.jpg', '/home/pi/Desktop/images/20042025/16/01/image_20042025_16_02_04_9506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_14_10078.jpg
/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_24_10392.jpg
/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_35_10428.jpg
/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_44_9356.jpg
/home/pi/Desktop/images/20042025/16/01/image_20042025_16_01_54_10362.jpg
/home/pi/Desktop/images/20042025/16/01/image_20042025_16_02_04_9506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260808","1352260798","1352260801","1352260804","1352260812","1352260806"],"photo_ids_order":["1352260798","1352260801","1352260804","1352260806","1352260808","1352260812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0dda05f90f2862ba0e47284974705f62.jpg","text":"TemporaryFile(/tmp/multipartBody8008239416185993705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167053060,"filename":"image_20042025_16_01_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b1c8b32a0fc159bf1761ba1fcffc3e7.jpg","text":"TemporaryFile(/tmp/multipartBody1199705500184869714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167053060,"filename":"image_20042025_16_01_14_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69d949d745b9781bcb6981c8cd748dee.jpg","text":"TemporaryFile(/tmp/multipartBody8827054196924238500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167053060,"filename":"image_20042025_16_01_24_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3e714c3fec5432cdf92710e3ebafd4e.jpg","text":"TemporaryFile(/tmp/multipartBody3632785107001714480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167053060,"filename":"image_20042025_16_01_35_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3aac3f8d7d6e4d3d25442c5020ec1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2157402712194230363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167053060,"filename":"image_20042025_16_02_04_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f96a628933849f387c58441a41383e2.jpg","text":"TemporaryFile(/tmp/multipartBody9108193894866161540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167053060,"filename":"image_20042025_16_01_44_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260804","file1":"1352260801","file0":"1352260798","file4":"1352260808","file5":"1352260812","file3":"1352260806"},"map_files_photo_id_array":[{"photo_id":"1352260812","filename":"file5"},{"photo_id":"1352260804","filename":"file2"},{"photo_id":"1352260808","filename":"file4"},{"photo_id":"1352260801","filename":"file1"},{"photo_id":"1352260798","filename":"file0"},{"photo_id":"1352260806","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260808":["hashtag1","hashtag2"]},{"1352260798":["hashtag1","hashtag2"]},{"1352260801":["hashtag1","hashtag2"]},{"1352260804":["hashtag1","hashtag2"]},{"1352260812":["hashtag1","hashtag2"]},{"1352260806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260808, 1352260798, 1352260801, 1352260804, 1352260812, 1352260806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85421800613403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:37:32.942549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_14_10363.jpg', '/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_25_10366.jpg', '/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_34_9349.jpg', '/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_44_10369.jpg', '/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_55_10366.jpg', '/home/pi/Desktop/images/20042025/16/02/image_20042025_16_03_04_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_14_10363.jpg
/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_25_10366.jpg
/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_34_9349.jpg
/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_44_10369.jpg
/home/pi/Desktop/images/20042025/16/02/image_20042025_16_02_55_10366.jpg
/home/pi/Desktop/images/20042025/16/02/image_20042025_16_03_04_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260823","1352260832","1352260834","1352260828","1352260819","1352260830"],"photo_ids_order":["1352260819","1352260823","1352260828","1352260830","1352260832","1352260834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0112694e13e435102df4ce739e946f60.jpg","text":"TemporaryFile(/tmp/multipartBody7894460360873283691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167113422,"filename":"image_20042025_16_02_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d498bb8e321e6bfa39c46d2178f818f.jpg","text":"TemporaryFile(/tmp/multipartBody2319881178048102428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167113422,"filename":"image_20042025_16_02_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea42ead6b41597dcfacfead16645a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7044381079712357723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167113422,"filename":"image_20042025_16_03_04_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2ab33ddb10d7dfe71dfc05d5de2509a.jpg","text":"TemporaryFile(/tmp/multipartBody8690647343232186350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167113422,"filename":"image_20042025_16_02_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb6d5a8e365b0e3766ffac1965bfb46b.jpg","text":"TemporaryFile(/tmp/multipartBody8826768358303175068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167113422,"filename":"image_20042025_16_02_14_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3250176fa7aaec08f7c6c6a9c9f54b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7601745016898254382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167113422,"filename":"image_20042025_16_02_44_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260828","file1":"1352260823","file0":"1352260819","file4":"1352260832","file5":"1352260834","file3":"1352260830"},"map_files_photo_id_array":[{"photo_id":"1352260834","filename":"file5"},{"photo_id":"1352260828","filename":"file2"},{"photo_id":"1352260832","filename":"file4"},{"photo_id":"1352260823","filename":"file1"},{"photo_id":"1352260819","filename":"file0"},{"photo_id":"1352260830","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260823":["hashtag1","hashtag2"]},{"1352260832":["hashtag1","hashtag2"]},{"1352260834":["hashtag1","hashtag2"]},{"1352260828":["hashtag1","hashtag2"]},{"1352260819":["hashtag1","hashtag2"]},{"1352260830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260823, 1352260832, 1352260834, 1352260828, 1352260819, 1352260830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.410248041152954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:38:33.094243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/03/image_20042025_16_03_15_10358.jpg', '/home/pi/Desktop/images/20042025/16/03/image_20042025_16_03_24_9402.jpg', '/home/pi/Desktop/images/20042025/16/03/image_20042025_16_03_54_9375.jpg', '/home/pi/Desktop/images/20042025/16/03/image_20042025_16_04_05_10367.jpg', '/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_14_9456.jpg', '/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_24_10502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/03/image_20042025_16_03_15_10358.jpg
/home/pi/Desktop/images/20042025/16/03/image_20042025_16_03_24_9402.jpg
/home/pi/Desktop/images/20042025/16/03/image_20042025_16_03_54_9375.jpg
/home/pi/Desktop/images/20042025/16/03/image_20042025_16_04_05_10367.jpg
/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_14_9456.jpg
/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_24_10502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260853","1352260855","1352260857","1352260851","1352260845","1352260848"],"photo_ids_order":["1352260845","1352260848","1352260851","1352260853","1352260855","1352260857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36c556a600b78d159c6e5853464721f2.jpg","text":"TemporaryFile(/tmp/multipartBody5478774916589887406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167173566,"filename":"image_20042025_16_04_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5abd8ba3dbae5967e024abbf99e49ccd.jpg","text":"TemporaryFile(/tmp/multipartBody83640910625870779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167173566,"filename":"image_20042025_16_04_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7079917275d318d518053d108f2bf4b6.jpg","text":"TemporaryFile(/tmp/multipartBody9132210152163082851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167173566,"filename":"image_20042025_16_04_24_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/779442eb73ff09a73d067f5c2a663ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5526372085861334833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167173566,"filename":"image_20042025_16_03_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59dfed8f6b92a4f1bc702590ba192bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7370915559153338826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167173566,"filename":"image_20042025_16_03_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c9197b414bc6a9daef07096f33bb7b2.jpg","text":"TemporaryFile(/tmp/multipartBody1095284287826935826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167173566,"filename":"image_20042025_16_03_24_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260851","file1":"1352260848","file0":"1352260845","file4":"1352260855","file5":"1352260857","file3":"1352260853"},"map_files_photo_id_array":[{"photo_id":"1352260857","filename":"file5"},{"photo_id":"1352260851","filename":"file2"},{"photo_id":"1352260855","filename":"file4"},{"photo_id":"1352260848","filename":"file1"},{"photo_id":"1352260845","filename":"file0"},{"photo_id":"1352260853","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260853":["hashtag1","hashtag2"]},{"1352260855":["hashtag1","hashtag2"]},{"1352260857":["hashtag1","hashtag2"]},{"1352260851":["hashtag1","hashtag2"]},{"1352260845":["hashtag1","hashtag2"]},{"1352260848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260853, 1352260855, 1352260857, 1352260851, 1352260845, 1352260848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.79115056991577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:39:32.344068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_35_10358.jpg', '/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_44_9424.jpg', '/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_54_9917.jpg', '/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_14_9489.jpg', '/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_24_10374.jpg', '/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_35_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_35_10358.jpg
/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_44_9424.jpg
/home/pi/Desktop/images/20042025/16/04/image_20042025_16_04_54_9917.jpg
/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_14_9489.jpg
/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_24_10374.jpg
/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_35_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260874","1352260868","1352260877","1352260881","1352260884","1352260872"],"photo_ids_order":["1352260868","1352260872","1352260874","1352260877","1352260881","1352260884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b686a7c50c5e2dfc2242617dc5548971.jpg","text":"TemporaryFile(/tmp/multipartBody6766575867824621247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167232811,"filename":"image_20042025_16_04_54_9917.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30a8e1e3d9c2120ae65a31f845831d22.jpg","text":"TemporaryFile(/tmp/multipartBody724332926676647186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167232811,"filename":"image_20042025_16_04_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/663a8f4200877a29711d91021cff9c05.jpg","text":"TemporaryFile(/tmp/multipartBody8416586818622312932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167232811,"filename":"image_20042025_16_05_14_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24a9f5ee43e4e3bd4fd889dab8b13f95.jpg","text":"TemporaryFile(/tmp/multipartBody9076948488402179185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167232811,"filename":"image_20042025_16_05_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd55b2644af315de5eff2c4bbcbd3f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3378580697680213032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167232811,"filename":"image_20042025_16_05_35_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca46266f407d3905ce02ac9d94e712dc.jpg","text":"TemporaryFile(/tmp/multipartBody5067898807377501795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167232811,"filename":"image_20042025_16_04_44_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260874","file1":"1352260872","file0":"1352260868","file4":"1352260881","file5":"1352260884","file3":"1352260877"},"map_files_photo_id_array":[{"photo_id":"1352260884","filename":"file5"},{"photo_id":"1352260874","filename":"file2"},{"photo_id":"1352260881","filename":"file4"},{"photo_id":"1352260872","filename":"file1"},{"photo_id":"1352260868","filename":"file0"},{"photo_id":"1352260877","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260874":["hashtag1","hashtag2"]},{"1352260868":["hashtag1","hashtag2"]},{"1352260877":["hashtag1","hashtag2"]},{"1352260881":["hashtag1","hashtag2"]},{"1352260884":["hashtag1","hashtag2"]},{"1352260872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260874, 1352260868, 1352260877, 1352260881, 1352260884, 1352260872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.849873542785645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:40:32.693995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_44_9369.jpg', '/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_55_10351.jpg', '/home/pi/Desktop/images/20042025/16/05/image_20042025_16_06_04_9477.jpg', '/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_14_10366.jpg', '/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_25_10361.jpg', '/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_34_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_44_9369.jpg
/home/pi/Desktop/images/20042025/16/05/image_20042025_16_05_55_10351.jpg
/home/pi/Desktop/images/20042025/16/05/image_20042025_16_06_04_9477.jpg
/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_14_10366.jpg
/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_25_10361.jpg
/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_34_9458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260894","1352260897","1352260900","1352260903","1352260890","1352260905"],"photo_ids_order":["1352260890","1352260894","1352260897","1352260900","1352260903","1352260905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63a4c560501c6da18faab3809e802a64.jpg","text":"TemporaryFile(/tmp/multipartBody6968302684664000829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167293187,"filename":"image_20042025_16_05_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e1050875215972d789780fb2623711e.jpg","text":"TemporaryFile(/tmp/multipartBody5770863318403655427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167293187,"filename":"image_20042025_16_06_04_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e25c518f036b497a1e4c2107f12d10fb.jpg","text":"TemporaryFile(/tmp/multipartBody4715648116850661348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167293187,"filename":"image_20042025_16_06_14_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/544e552487feaa3b59d880d18828d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody5267466952055995868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167293187,"filename":"image_20042025_16_06_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc6a5cd2dd35b9dd2f30923958f5fd0b.jpg","text":"TemporaryFile(/tmp/multipartBody3356496767396842711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167293187,"filename":"image_20042025_16_05_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cba0ad720a215a009acc59085cc8a05.jpg","text":"TemporaryFile(/tmp/multipartBody603942510014786250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167293187,"filename":"image_20042025_16_06_34_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260897","file1":"1352260894","file0":"1352260890","file4":"1352260903","file5":"1352260905","file3":"1352260900"},"map_files_photo_id_array":[{"photo_id":"1352260905","filename":"file5"},{"photo_id":"1352260897","filename":"file2"},{"photo_id":"1352260903","filename":"file4"},{"photo_id":"1352260894","filename":"file1"},{"photo_id":"1352260890","filename":"file0"},{"photo_id":"1352260900","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260894":["hashtag1","hashtag2"]},{"1352260897":["hashtag1","hashtag2"]},{"1352260900":["hashtag1","hashtag2"]},{"1352260903":["hashtag1","hashtag2"]},{"1352260890":["hashtag1","hashtag2"]},{"1352260905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260894, 1352260897, 1352260900, 1352260903, 1352260890, 1352260905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12849473953247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:41:32.829751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_45_10364.jpg', '/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_54_9416.jpg', '/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_15_10381.jpg', '/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_24_9408.jpg', '/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_35_10374.jpg', '/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_44_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_45_10364.jpg
/home/pi/Desktop/images/20042025/16/06/image_20042025_16_06_54_9416.jpg
/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_15_10381.jpg
/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_24_9408.jpg
/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_35_10374.jpg
/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_44_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260934","1352260916","1352260930","1352260933","1352260926","1352260920"],"photo_ids_order":["1352260916","1352260920","1352260926","1352260930","1352260933","1352260934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d0b83e24473e11c28a2242c7cffd383.jpg","text":"TemporaryFile(/tmp/multipartBody2122187122774246800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167353296,"filename":"image_20042025_16_07_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da3cb79ec47c766cc1a150860a754fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2077203913886515937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167353296,"filename":"image_20042025_16_06_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b10e60343a569e76ad18348e29dac2a.jpg","text":"TemporaryFile(/tmp/multipartBody1351903290990430515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167353296,"filename":"image_20042025_16_07_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be97f3b15f24d3373e4743eff591ec9f.jpg","text":"TemporaryFile(/tmp/multipartBody4157920576895710283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167353296,"filename":"image_20042025_16_07_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/271675130aa3c26523280a4a52477a7b.jpg","text":"TemporaryFile(/tmp/multipartBody895991494805059117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167353296,"filename":"image_20042025_16_07_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9838a7665071752462d238f9c7d0a7f8.jpg","text":"TemporaryFile(/tmp/multipartBody4402800988569964825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167353296,"filename":"image_20042025_16_06_54_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260926","file1":"1352260920","file0":"1352260916","file4":"1352260933","file5":"1352260934","file3":"1352260930"},"map_files_photo_id_array":[{"photo_id":"1352260934","filename":"file5"},{"photo_id":"1352260926","filename":"file2"},{"photo_id":"1352260933","filename":"file4"},{"photo_id":"1352260920","filename":"file1"},{"photo_id":"1352260916","filename":"file0"},{"photo_id":"1352260930","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260934":["hashtag1","hashtag2"]},{"1352260916":["hashtag1","hashtag2"]},{"1352260930":["hashtag1","hashtag2"]},{"1352260933":["hashtag1","hashtag2"]},{"1352260926":["hashtag1","hashtag2"]},{"1352260920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260934, 1352260916, 1352260930, 1352260933, 1352260926, 1352260920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94689989089966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:42:33.016357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_54_10384.jpg', '/home/pi/Desktop/images/20042025/16/07/image_20042025_16_08_05_10410.jpg', '/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_14_9435.jpg', '/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_25_10370.jpg', '/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_34_9449.jpg', '/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_44_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/07/image_20042025_16_07_54_10384.jpg
/home/pi/Desktop/images/20042025/16/07/image_20042025_16_08_05_10410.jpg
/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_14_9435.jpg
/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_25_10370.jpg
/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_34_9449.jpg
/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_44_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260943","1352260941","1352260950","1352260938","1352260953","1352260947"],"photo_ids_order":["1352260938","1352260941","1352260943","1352260947","1352260950","1352260953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a73bf9ab6d3fd55ac6400821cc0487e8.jpg","text":"TemporaryFile(/tmp/multipartBody3249917822592052004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167413484,"filename":"image_20042025_16_08_14_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f334d19e79818b1d72111eb257a8a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2313934354166946147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167413484,"filename":"image_20042025_16_08_05_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/accc9a152d67557e91f37e026e52aef8.jpg","text":"TemporaryFile(/tmp/multipartBody5643533615490617506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167413484,"filename":"image_20042025_16_08_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23a34cb4216a349c99582bfa94281fd4.jpg","text":"TemporaryFile(/tmp/multipartBody7505831988349905298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167413484,"filename":"image_20042025_16_07_54_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a81cbf416268eda39f9dd245aa1d34e1.jpg","text":"TemporaryFile(/tmp/multipartBody3505300866345100066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167413484,"filename":"image_20042025_16_08_44_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff276e8ad5bf16b52991a81a0bf33598.jpg","text":"TemporaryFile(/tmp/multipartBody9043708264931306657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167413484,"filename":"image_20042025_16_08_25_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260943","file1":"1352260941","file0":"1352260938","file4":"1352260950","file5":"1352260953","file3":"1352260947"},"map_files_photo_id_array":[{"photo_id":"1352260953","filename":"file5"},{"photo_id":"1352260943","filename":"file2"},{"photo_id":"1352260950","filename":"file4"},{"photo_id":"1352260941","filename":"file1"},{"photo_id":"1352260938","filename":"file0"},{"photo_id":"1352260947","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260943":["hashtag1","hashtag2"]},{"1352260941":["hashtag1","hashtag2"]},{"1352260950":["hashtag1","hashtag2"]},{"1352260938":["hashtag1","hashtag2"]},{"1352260953":["hashtag1","hashtag2"]},{"1352260947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260943, 1352260941, 1352260950, 1352260938, 1352260953, 1352260947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.359139442443848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:43:32.277364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_55_10386.jpg', '/home/pi/Desktop/images/20042025/16/08/image_20042025_16_09_04_9362.jpg', '/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_15_10370.jpg', '/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_24_9458.jpg', '/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_34_10361.jpg', '/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/08/image_20042025_16_08_55_10386.jpg
/home/pi/Desktop/images/20042025/16/08/image_20042025_16_09_04_9362.jpg
/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_15_10370.jpg
/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_24_9458.jpg
/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_34_10361.jpg
/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260973","1352260963","1352260966","1352260974","1352260968","1352260971"],"photo_ids_order":["1352260963","1352260966","1352260968","1352260971","1352260973","1352260974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8f0d1754a44f7d378b7af7b686ab9a9.jpg","text":"TemporaryFile(/tmp/multipartBody1444948316622292864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167472738,"filename":"image_20042025_16_09_34_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5c88e84bd50a78bf0510b0dc569db16.jpg","text":"TemporaryFile(/tmp/multipartBody1903418788297480554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167472738,"filename":"image_20042025_16_08_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c186fd24aed742bdc1efcaa551e86d5.jpg","text":"TemporaryFile(/tmp/multipartBody2345720004155797217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167472738,"filename":"image_20042025_16_09_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df18d5ba733e61459b904b9c87e03778.jpg","text":"TemporaryFile(/tmp/multipartBody5390775125634041248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167472738,"filename":"image_20042025_16_09_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e032de750ed3d63b460b8514e7eb35fc.jpg","text":"TemporaryFile(/tmp/multipartBody7297481507618828235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167472738,"filename":"image_20042025_16_09_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff245294b19272fc81508c6cd013fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody3489703615885438395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167472738,"filename":"image_20042025_16_09_24_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260968","file1":"1352260966","file0":"1352260963","file4":"1352260973","file5":"1352260974","file3":"1352260971"},"map_files_photo_id_array":[{"photo_id":"1352260974","filename":"file5"},{"photo_id":"1352260968","filename":"file2"},{"photo_id":"1352260973","filename":"file4"},{"photo_id":"1352260966","filename":"file1"},{"photo_id":"1352260963","filename":"file0"},{"photo_id":"1352260971","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352260973":["hashtag1","hashtag2"]},{"1352260963":["hashtag1","hashtag2"]},{"1352260966":["hashtag1","hashtag2"]},{"1352260974":["hashtag1","hashtag2"]},{"1352260968":["hashtag1","hashtag2"]},{"1352260971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352260973, 1352260963, 1352260966, 1352260974, 1352260968, 1352260971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45600390434265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:44:32.397960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_54_9413.jpg', '/home/pi/Desktop/images/20042025/16/09/image_20042025_16_10_05_10416.jpg', '/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_14_9394.jpg', '/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_24_10390.jpg', '/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_35_10366.jpg', '/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_44_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/09/image_20042025_16_09_54_9413.jpg
/home/pi/Desktop/images/20042025/16/09/image_20042025_16_10_05_10416.jpg
/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_14_9394.jpg
/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_24_10390.jpg
/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_35_10366.jpg
/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_44_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261006","1352261000","1352261002","1352260995","1352261004","1352260997"],"photo_ids_order":["1352260995","1352260997","1352261000","1352261002","1352261004","1352261006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c6eac29659d2609353605f6b1012122.jpg","text":"TemporaryFile(/tmp/multipartBody120832007772984262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167532859,"filename":"image_20042025_16_10_44_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2992a45cdca028d51760efa654233b64.jpg","text":"TemporaryFile(/tmp/multipartBody1267329531700949322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167532859,"filename":"image_20042025_16_10_14_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a059418f43bdf4def5733d1ffaaa654.jpg","text":"TemporaryFile(/tmp/multipartBody840733913163016166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167532859,"filename":"image_20042025_16_10_24_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1aaddc33c985030bd29277819ffd79f8.jpg","text":"TemporaryFile(/tmp/multipartBody188702061343614911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167532859,"filename":"image_20042025_16_09_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82ab5259eb4a1b4556f997ec5b63dbf1.jpg","text":"TemporaryFile(/tmp/multipartBody5587379149048801111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167532859,"filename":"image_20042025_16_10_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5058475c18991ae79700a52d9b6aa6af.jpg","text":"TemporaryFile(/tmp/multipartBody7687221673746401543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167532859,"filename":"image_20042025_16_10_05_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261000","file1":"1352260997","file0":"1352260995","file4":"1352261004","file5":"1352261006","file3":"1352261002"},"map_files_photo_id_array":[{"photo_id":"1352261006","filename":"file5"},{"photo_id":"1352261000","filename":"file2"},{"photo_id":"1352261004","filename":"file4"},{"photo_id":"1352260997","filename":"file1"},{"photo_id":"1352260995","filename":"file0"},{"photo_id":"1352261002","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261006":["hashtag1","hashtag2"]},{"1352261000":["hashtag1","hashtag2"]},{"1352261002":["hashtag1","hashtag2"]},{"1352260995":["hashtag1","hashtag2"]},{"1352261004":["hashtag1","hashtag2"]},{"1352260997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261006, 1352261000, 1352261002, 1352260995, 1352261004, 1352260997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.320216417312622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:45:32.546002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_55_10377.jpg', '/home/pi/Desktop/images/20042025/16/10/image_20042025_16_11_04_9418.jpg', '/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_14_10400.jpg', '/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_25_10384.jpg', '/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_34_9361.jpg', '/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/10/image_20042025_16_10_55_10377.jpg
/home/pi/Desktop/images/20042025/16/10/image_20042025_16_11_04_9418.jpg
/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_14_10400.jpg
/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_25_10384.jpg
/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_34_9361.jpg
/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_45_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261021","1352261023","1352261017","1352261025","1352261019","1352261027"],"photo_ids_order":["1352261017","1352261019","1352261021","1352261023","1352261025","1352261027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bac7f9fa03f1b1ccb08d956b70448b0.jpg","text":"TemporaryFile(/tmp/multipartBody8984094820058482129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167593006,"filename":"image_20042025_16_11_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/579333d07bf264aea7d56500c0377e4a.jpg","text":"TemporaryFile(/tmp/multipartBody7520320577261841975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167593006,"filename":"image_20042025_16_11_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf2fb7aa54fa386de162ca24642a1dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1157471086593378636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167593006,"filename":"image_20042025_16_10_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9dd3b25c2bbdff3e498c1498b85b3173.jpg","text":"TemporaryFile(/tmp/multipartBody6543154799418088064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167593006,"filename":"image_20042025_16_11_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b7af82ed50c5e9955391aaddaabdf04.jpg","text":"TemporaryFile(/tmp/multipartBody5214824490627624233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167593006,"filename":"image_20042025_16_11_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3117a7aca47bc34f99bf29dc17e2bcec.jpg","text":"TemporaryFile(/tmp/multipartBody5795451664636953011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167593006,"filename":"image_20042025_16_11_45_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261021","file1":"1352261019","file0":"1352261017","file4":"1352261025","file5":"1352261027","file3":"1352261023"},"map_files_photo_id_array":[{"photo_id":"1352261027","filename":"file5"},{"photo_id":"1352261021","filename":"file2"},{"photo_id":"1352261025","filename":"file4"},{"photo_id":"1352261019","filename":"file1"},{"photo_id":"1352261017","filename":"file0"},{"photo_id":"1352261023","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261021":["hashtag1","hashtag2"]},{"1352261023":["hashtag1","hashtag2"]},{"1352261017":["hashtag1","hashtag2"]},{"1352261025":["hashtag1","hashtag2"]},{"1352261019":["hashtag1","hashtag2"]},{"1352261027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261021, 1352261023, 1352261017, 1352261025, 1352261019, 1352261027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37127685546875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:46:32.961686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_54_9436.jpg', '/home/pi/Desktop/images/20042025/16/11/image_20042025_16_12_04_10375.jpg', '/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_15_10372.jpg', '/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_24_9373.jpg', '/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_34_10383.jpg', '/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_45_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/11/image_20042025_16_11_54_9436.jpg
/home/pi/Desktop/images/20042025/16/11/image_20042025_16_12_04_10375.jpg
/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_15_10372.jpg
/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_24_9373.jpg
/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_34_10383.jpg
/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261050","1352261047","1352261043","1352261052","1352261045","1352261048"],"photo_ids_order":["1352261043","1352261045","1352261047","1352261048","1352261050","1352261052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/146c325718d7e7b1093e39a9ec138501.jpg","text":"TemporaryFile(/tmp/multipartBody3014240936536652105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167653428,"filename":"image_20042025_16_12_34_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47d358984dddda2cbbf7e1488174eec1.jpg","text":"TemporaryFile(/tmp/multipartBody2158712898241729247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167653428,"filename":"image_20042025_16_12_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/289fc1451ebee50ff8f2609a249b6bab.jpg","text":"TemporaryFile(/tmp/multipartBody1373723383180591417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167653428,"filename":"image_20042025_16_11_54_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93c594759a83ef70f1caa82fac6aefa2.jpg","text":"TemporaryFile(/tmp/multipartBody7870926883608600389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167653428,"filename":"image_20042025_16_12_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/872ce832c6a3835ce82c0f3d4e43db8e.jpg","text":"TemporaryFile(/tmp/multipartBody2314000054978110957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167653428,"filename":"image_20042025_16_12_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c820d23a64a1a98ab01b39a48304087e.jpg","text":"TemporaryFile(/tmp/multipartBody7649966849397274242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167653428,"filename":"image_20042025_16_12_24_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261047","file1":"1352261045","file0":"1352261043","file4":"1352261050","file5":"1352261052","file3":"1352261048"},"map_files_photo_id_array":[{"photo_id":"1352261052","filename":"file5"},{"photo_id":"1352261047","filename":"file2"},{"photo_id":"1352261050","filename":"file4"},{"photo_id":"1352261045","filename":"file1"},{"photo_id":"1352261043","filename":"file0"},{"photo_id":"1352261048","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261050":["hashtag1","hashtag2"]},{"1352261047":["hashtag1","hashtag2"]},{"1352261043":["hashtag1","hashtag2"]},{"1352261052":["hashtag1","hashtag2"]},{"1352261045":["hashtag1","hashtag2"]},{"1352261048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261050, 1352261047, 1352261043, 1352261052, 1352261045, 1352261048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.074464082717896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:47:33.160738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_54_9430.jpg', '/home/pi/Desktop/images/20042025/16/12/image_20042025_16_13_05_10368.jpg', '/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_14_9379.jpg', '/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_24_10357.jpg', '/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_35_10430.jpg', '/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_44_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/12/image_20042025_16_12_54_9430.jpg
/home/pi/Desktop/images/20042025/16/12/image_20042025_16_13_05_10368.jpg
/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_14_9379.jpg
/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_24_10357.jpg
/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_35_10430.jpg
/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_44_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261074","1352261077","1352261071","1352261065","1352261068","1352261079"],"photo_ids_order":["1352261065","1352261068","1352261071","1352261074","1352261077","1352261079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52e0de98f4bb8a7845f277157a91b63d.jpg","text":"TemporaryFile(/tmp/multipartBody354463406452302222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167713623,"filename":"image_20042025_16_13_24_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2aec454b4bdf8c22b6a74453d0bbb86e.jpg","text":"TemporaryFile(/tmp/multipartBody8448456694569161252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167713623,"filename":"image_20042025_16_13_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2278c792cee9d56da625230faeb79354.jpg","text":"TemporaryFile(/tmp/multipartBody725323732698697993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167713623,"filename":"image_20042025_16_13_14_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2050e245f14ce0349f8f02fe1e03e47.jpg","text":"TemporaryFile(/tmp/multipartBody3350844119331307125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167713623,"filename":"image_20042025_16_12_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/248777278b913712b9bbf73ffd45ae94.jpg","text":"TemporaryFile(/tmp/multipartBody1700015106296417316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167713623,"filename":"image_20042025_16_13_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea6d6691b13e6bd33a167f8de04263f1.jpg","text":"TemporaryFile(/tmp/multipartBody1853390905401388383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167713623,"filename":"image_20042025_16_13_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261071","file1":"1352261068","file0":"1352261065","file4":"1352261077","file5":"1352261079","file3":"1352261074"},"map_files_photo_id_array":[{"photo_id":"1352261079","filename":"file5"},{"photo_id":"1352261071","filename":"file2"},{"photo_id":"1352261077","filename":"file4"},{"photo_id":"1352261068","filename":"file1"},{"photo_id":"1352261065","filename":"file0"},{"photo_id":"1352261074","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261074":["hashtag1","hashtag2"]},{"1352261077":["hashtag1","hashtag2"]},{"1352261071":["hashtag1","hashtag2"]},{"1352261065":["hashtag1","hashtag2"]},{"1352261068":["hashtag1","hashtag2"]},{"1352261079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261074, 1352261077, 1352261071, 1352261065, 1352261068, 1352261079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98764371871948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:48:32.429906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_55_10353.jpg', '/home/pi/Desktop/images/20042025/16/13/image_20042025_16_14_04_9542.jpg', '/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_15_10489.jpg', '/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_24_9449.jpg', '/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_34_10367.jpg', '/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/13/image_20042025_16_13_55_10353.jpg
/home/pi/Desktop/images/20042025/16/13/image_20042025_16_14_04_9542.jpg
/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_15_10489.jpg
/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_24_9449.jpg
/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_34_10367.jpg
/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261098","1352261101","1352261094","1352261088","1352261096","1352261100"],"photo_ids_order":["1352261088","1352261094","1352261096","1352261098","1352261100","1352261101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5aff42f8b2cc4cf2c424a526a5907ef0.jpg","text":"TemporaryFile(/tmp/multipartBody1482541973023054730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167772895,"filename":"image_20042025_16_14_24_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e86ecc1772987c75952d0a810756107.jpg","text":"TemporaryFile(/tmp/multipartBody4412416743634909457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167772895,"filename":"image_20042025_16_14_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6dd13052d58668b31a64ea5d1e9be765.jpg","text":"TemporaryFile(/tmp/multipartBody2720447909849355600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167772895,"filename":"image_20042025_16_14_04_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/866c113a91efdc4533b9b185994dd16c.jpg","text":"TemporaryFile(/tmp/multipartBody7015716317635100658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167772895,"filename":"image_20042025_16_13_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8108c86911067e259d829640c43accaf.jpg","text":"TemporaryFile(/tmp/multipartBody2931801301855799456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167772895,"filename":"image_20042025_16_14_15_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65756b126ee29f711a1062f7b01b0656.jpg","text":"TemporaryFile(/tmp/multipartBody2200090663701446895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167772895,"filename":"image_20042025_16_14_34_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261096","file1":"1352261094","file0":"1352261088","file4":"1352261100","file5":"1352261101","file3":"1352261098"},"map_files_photo_id_array":[{"photo_id":"1352261101","filename":"file5"},{"photo_id":"1352261096","filename":"file2"},{"photo_id":"1352261100","filename":"file4"},{"photo_id":"1352261094","filename":"file1"},{"photo_id":"1352261088","filename":"file0"},{"photo_id":"1352261098","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261098":["hashtag1","hashtag2"]},{"1352261101":["hashtag1","hashtag2"]},{"1352261094":["hashtag1","hashtag2"]},{"1352261088":["hashtag1","hashtag2"]},{"1352261096":["hashtag1","hashtag2"]},{"1352261100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261098, 1352261101, 1352261094, 1352261088, 1352261096, 1352261100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.574732303619385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:49:32.585205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_54_9474.jpg', '/home/pi/Desktop/images/20042025/16/14/image_20042025_16_15_05_10368.jpg', '/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_14_9479.jpg', '/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_34_9471.jpg', '/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_44_10387.jpg', '/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_55_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/14/image_20042025_16_14_54_9474.jpg
/home/pi/Desktop/images/20042025/16/14/image_20042025_16_15_05_10368.jpg
/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_14_9479.jpg
/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_34_9471.jpg
/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_44_10387.jpg
/home/pi/Desktop/images/20042025/16/15/image_20042025_16_15_55_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261114","1352261117","1352261125","1352261134","1352261121","1352261109"],"photo_ids_order":["1352261109","1352261114","1352261117","1352261121","1352261125","1352261134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0bf5a39f128b75c6d7f52bfe910c0300.jpg","text":"TemporaryFile(/tmp/multipartBody2439274166595023188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167833036,"filename":"image_20042025_16_15_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b55440992c4a5632b2fb171a3eb81792.jpg","text":"TemporaryFile(/tmp/multipartBody4596625247597768174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167833036,"filename":"image_20042025_16_15_14_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6bf3f6d6189267665a138b80657a7384.jpg","text":"TemporaryFile(/tmp/multipartBody4508593308754745505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167833036,"filename":"image_20042025_16_15_44_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c77b2d1ae5f8bbfb6e8c4276217720f.jpg","text":"TemporaryFile(/tmp/multipartBody6927362192892082301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167833036,"filename":"image_20042025_16_15_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a717f7506bc8a826e19832b24d88dc54.jpg","text":"TemporaryFile(/tmp/multipartBody5728256744654387370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167833036,"filename":"image_20042025_16_15_34_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2f61d659603d2b2787afac38fd84940d.jpg","text":"TemporaryFile(/tmp/multipartBody8518346388732243202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167833036,"filename":"image_20042025_16_14_54_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261117","file1":"1352261114","file0":"1352261109","file4":"1352261125","file5":"1352261134","file3":"1352261121"},"map_files_photo_id_array":[{"photo_id":"1352261134","filename":"file5"},{"photo_id":"1352261117","filename":"file2"},{"photo_id":"1352261125","filename":"file4"},{"photo_id":"1352261114","filename":"file1"},{"photo_id":"1352261109","filename":"file0"},{"photo_id":"1352261121","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261114":["hashtag1","hashtag2"]},{"1352261117":["hashtag1","hashtag2"]},{"1352261125":["hashtag1","hashtag2"]},{"1352261134":["hashtag1","hashtag2"]},{"1352261121":["hashtag1","hashtag2"]},{"1352261109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261114, 1352261117, 1352261125, 1352261134, 1352261121, 1352261109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24886226654053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:50:32.835195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/15/image_20042025_16_16_04_9492.jpg', '/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_15_10361.jpg', '/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_24_9436.jpg', '/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_34_10435.jpg', '/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_54_9434.jpg', '/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_14_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/15/image_20042025_16_16_04_9492.jpg
/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_15_10361.jpg
/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_24_9436.jpg
/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_34_10435.jpg
/home/pi/Desktop/images/20042025/16/16/image_20042025_16_16_54_9434.jpg
/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_14_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261152","1352261149","1352261160","1352261154","1352261157","1352261145"],"photo_ids_order":["1352261145","1352261149","1352261152","1352261154","1352261157","1352261160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74363dbb7d739b04a24a955d6459c7d1.jpg","text":"TemporaryFile(/tmp/multipartBody2931285569796679731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167893297,"filename":"image_20042025_16_16_24_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8d006e9d0042c3f35883d2347fcd954.jpg","text":"TemporaryFile(/tmp/multipartBody2372695048024365040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167893297,"filename":"image_20042025_16_16_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e26fd3c4e7130f7bb8b8092f136fd9c9.jpg","text":"TemporaryFile(/tmp/multipartBody1138977572142825115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167893297,"filename":"image_20042025_16_17_14_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f0a214e9a15b28369c97df038865ce5.jpg","text":"TemporaryFile(/tmp/multipartBody8160150139114275897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167893297,"filename":"image_20042025_16_16_34_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23d96bb120e6d6e718fe8261e41a2344.jpg","text":"TemporaryFile(/tmp/multipartBody7685793945927506529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167893297,"filename":"image_20042025_16_16_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c4c0c38fc0dbf537bc73fc1e7172b64.jpg","text":"TemporaryFile(/tmp/multipartBody9141218681710604077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167893297,"filename":"image_20042025_16_16_04_9492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261152","file1":"1352261149","file0":"1352261145","file4":"1352261157","file5":"1352261160","file3":"1352261154"},"map_files_photo_id_array":[{"photo_id":"1352261160","filename":"file5"},{"photo_id":"1352261152","filename":"file2"},{"photo_id":"1352261157","filename":"file4"},{"photo_id":"1352261149","filename":"file1"},{"photo_id":"1352261145","filename":"file0"},{"photo_id":"1352261154","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261152":["hashtag1","hashtag2"]},{"1352261149":["hashtag1","hashtag2"]},{"1352261160":["hashtag1","hashtag2"]},{"1352261154":["hashtag1","hashtag2"]},{"1352261157":["hashtag1","hashtag2"]},{"1352261145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261152, 1352261149, 1352261160, 1352261154, 1352261157, 1352261145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76784586906433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:51:33.153726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_24_10385.jpg', '/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_34_9483.jpg', '/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_44_10383.jpg', '/home/pi/Desktop/images/20042025/16/17/image_20042025_16_18_04_9469.jpg', '/home/pi/Desktop/images/20042025/16/18/image_20042025_16_18_34_10365.jpg', '/home/pi/Desktop/images/20042025/16/18/image_20042025_16_18_54_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_24_10385.jpg
/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_34_9483.jpg
/home/pi/Desktop/images/20042025/16/17/image_20042025_16_17_44_10383.jpg
/home/pi/Desktop/images/20042025/16/17/image_20042025_16_18_04_9469.jpg
/home/pi/Desktop/images/20042025/16/18/image_20042025_16_18_34_10365.jpg
/home/pi/Desktop/images/20042025/16/18/image_20042025_16_18_54_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261179","1352261178","1352261175","1352261177","1352261171","1352261168"],"photo_ids_order":["1352261168","1352261171","1352261175","1352261177","1352261178","1352261179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b457344771307aa195e59bf3a0dd5ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3641402662688298184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167953609,"filename":"image_20042025_16_18_54_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1fb7b8af24b9b93571ae3bbaa1a74ee.jpg","text":"TemporaryFile(/tmp/multipartBody1076511178127938531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167953609,"filename":"image_20042025_16_18_34_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2571fa968410e9edb3314f492f33599.jpg","text":"TemporaryFile(/tmp/multipartBody371529493567143604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167953609,"filename":"image_20042025_16_17_44_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/881728df904c4216d9cabaa0d5012792.jpg","text":"TemporaryFile(/tmp/multipartBody2961053433551168242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167953609,"filename":"image_20042025_16_18_04_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c857f66f29267de09b0f3ef05ca29c93.jpg","text":"TemporaryFile(/tmp/multipartBody2327555562205407872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167953609,"filename":"image_20042025_16_17_34_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e0020e2ef0d0b64963c72184422ed7f.jpg","text":"TemporaryFile(/tmp/multipartBody6215771212277101381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745167953609,"filename":"image_20042025_16_17_24_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261175","file1":"1352261171","file0":"1352261168","file4":"1352261178","file5":"1352261179","file3":"1352261177"},"map_files_photo_id_array":[{"photo_id":"1352261179","filename":"file5"},{"photo_id":"1352261175","filename":"file2"},{"photo_id":"1352261178","filename":"file4"},{"photo_id":"1352261171","filename":"file1"},{"photo_id":"1352261168","filename":"file0"},{"photo_id":"1352261177","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261179":["hashtag1","hashtag2"]},{"1352261178":["hashtag1","hashtag2"]},{"1352261175":["hashtag1","hashtag2"]},{"1352261177":["hashtag1","hashtag2"]},{"1352261171":["hashtag1","hashtag2"]},{"1352261168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261179, 1352261178, 1352261175, 1352261177, 1352261171, 1352261168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33908271789551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:52:32.378048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/18/image_20042025_16_19_04_10374.jpg', '/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_15_10340.jpg', '/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_24_9396.jpg', '/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_35_10354.jpg', '/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_44_9428.jpg', '/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_14_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/18/image_20042025_16_19_04_10374.jpg
/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_15_10340.jpg
/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_24_9396.jpg
/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_35_10354.jpg
/home/pi/Desktop/images/20042025/16/19/image_20042025_16_19_44_9428.jpg
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_14_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261201","1352261194","1352261197","1352261199","1352261190","1352261192"],"photo_ids_order":["1352261190","1352261192","1352261194","1352261197","1352261199","1352261201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e27de4824738b55d17ea393b4df1ab03.jpg","text":"TemporaryFile(/tmp/multipartBody196179045447579971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168012837,"filename":"image_20042025_16_20_14_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e1015f6c73a0b625c5f6fc9aa85dafc.jpg","text":"TemporaryFile(/tmp/multipartBody3746199286676439563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168012837,"filename":"image_20042025_16_19_24_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbc8019c5c56f90eb8b90f97df9c74b8.jpg","text":"TemporaryFile(/tmp/multipartBody7874365110767444887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168012837,"filename":"image_20042025_16_19_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/498f67c9338964c78562c1b34d789532.jpg","text":"TemporaryFile(/tmp/multipartBody7527629633909348995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168012837,"filename":"image_20042025_16_19_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3519383e4edbf5f86b19ecc421ef292f.jpg","text":"TemporaryFile(/tmp/multipartBody3749402229493498813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168012837,"filename":"image_20042025_16_19_04_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/867f2e342b2c8c39611ab400c569af93.jpg","text":"TemporaryFile(/tmp/multipartBody7526398905391542539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168012837,"filename":"image_20042025_16_19_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261194","file1":"1352261192","file0":"1352261190","file4":"1352261199","file5":"1352261201","file3":"1352261197"},"map_files_photo_id_array":[{"photo_id":"1352261201","filename":"file5"},{"photo_id":"1352261194","filename":"file2"},{"photo_id":"1352261199","filename":"file4"},{"photo_id":"1352261192","filename":"file1"},{"photo_id":"1352261190","filename":"file0"},{"photo_id":"1352261197","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261201":["hashtag1","hashtag2"]},{"1352261194":["hashtag1","hashtag2"]},{"1352261197":["hashtag1","hashtag2"]},{"1352261199":["hashtag1","hashtag2"]},{"1352261190":["hashtag1","hashtag2"]},{"1352261192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261201, 1352261194, 1352261197, 1352261199, 1352261190, 1352261192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.450363397598267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:53:32.548177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_24_10373.jpg', '/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_34_9377.jpg', '/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_44_10421.jpg', '/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_55_10358.jpg', '/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_14_10362.jpg', '/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_24_10373.jpg
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_34_9377.jpg
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_44_10421.jpg
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_55_10358.jpg
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_14_10362.jpg
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_25_10369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3806343078613281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 18:53:42.532143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_24_10373.jpg', '/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_34_9377.jpg', '/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_44_10421.jpg', '/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_55_10358.jpg', '/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_14_10362.jpg', '/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_24_10373.jpg
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_34_9377.jpg
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_44_10421.jpg
/home/pi/Desktop/images/20042025/16/20/image_20042025_16_20_55_10358.jpg
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_14_10362.jpg
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261234","1352261230","1352261221","1352261229","1352261231","1352261225"],"photo_ids_order":["1352261221","1352261225","1352261229","1352261230","1352261231","1352261234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7bb156d43e6e34250178937dcdcdb8ae.jpg","text":"TemporaryFile(/tmp/multipartBody2523660622868782194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168082987,"filename":"image_20042025_16_21_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f854d93d6a8f23cee9731c0bda51c7c.jpg","text":"TemporaryFile(/tmp/multipartBody5469190190522879970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168082987,"filename":"image_20042025_16_20_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b13014382413436cae0fbcddf82f8c29.jpg","text":"TemporaryFile(/tmp/multipartBody4521281294748856210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168082987,"filename":"image_20042025_16_20_24_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/071f0c4e7e652d88a9aa9b5bfd8e7203.jpg","text":"TemporaryFile(/tmp/multipartBody4185358681903997419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168082987,"filename":"image_20042025_16_20_44_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30be191023720c284d324dce350cba23.jpg","text":"TemporaryFile(/tmp/multipartBody777831804824472487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168082987,"filename":"image_20042025_16_21_14_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/843a46995e1b8cfcdc8dc1882f4b8a7b.jpg","text":"TemporaryFile(/tmp/multipartBody5279227045622991184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168082987,"filename":"image_20042025_16_20_34_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261229","file1":"1352261225","file0":"1352261221","file4":"1352261231","file5":"1352261234","file3":"1352261230"},"map_files_photo_id_array":[{"photo_id":"1352261234","filename":"file5"},{"photo_id":"1352261229","filename":"file2"},{"photo_id":"1352261231","filename":"file4"},{"photo_id":"1352261225","filename":"file1"},{"photo_id":"1352261221","filename":"file0"},{"photo_id":"1352261230","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261234":["hashtag1","hashtag2"]},{"1352261230":["hashtag1","hashtag2"]},{"1352261221":["hashtag1","hashtag2"]},{"1352261229":["hashtag1","hashtag2"]},{"1352261231":["hashtag1","hashtag2"]},{"1352261225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261234, 1352261230, 1352261221, 1352261229, 1352261231, 1352261225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.250080585479736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:54:32.751399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_34_9349.jpg', '/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_45_10366.jpg', '/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_54_9487.jpg', '/home/pi/Desktop/images/20042025/16/21/image_20042025_16_22_04_10469.jpg', '/home/pi/Desktop/images/20042025/16/22/image_20042025_16_22_14_9531.jpg', '/home/pi/Desktop/images/20042025/16/22/image_20042025_16_22_35_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_34_9349.jpg
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_45_10366.jpg
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_21_54_9487.jpg
/home/pi/Desktop/images/20042025/16/21/image_20042025_16_22_04_10469.jpg
/home/pi/Desktop/images/20042025/16/22/image_20042025_16_22_14_9531.jpg
/home/pi/Desktop/images/20042025/16/22/image_20042025_16_22_35_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261255","1352261249","1352261257","1352261251","1352261253","1352261256"],"photo_ids_order":["1352261249","1352261251","1352261253","1352261255","1352261256","1352261257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3ac90a97b11f7bf6d5e99b48e6da7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4366840054795194797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168133202,"filename":"image_20042025_16_22_04_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa7e6781cafe8861d6c6562b32477d96.jpg","text":"TemporaryFile(/tmp/multipartBody7441992496075353465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168133202,"filename":"image_20042025_16_21_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8604bebd924ec3bf58295aeaa8d2bd40.jpg","text":"TemporaryFile(/tmp/multipartBody912444622231119099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168133202,"filename":"image_20042025_16_22_35_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc7d14f0cdd42c4f56d5354cc5b3a955.jpg","text":"TemporaryFile(/tmp/multipartBody6104832740047180434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168133202,"filename":"image_20042025_16_21_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99887729b21ccb415cdb06e00f122f60.jpg","text":"TemporaryFile(/tmp/multipartBody4508326710747426689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168133202,"filename":"image_20042025_16_21_54_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82d138d22eae5f98ff6666315a9420e4.jpg","text":"TemporaryFile(/tmp/multipartBody4829476808778472285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168133202,"filename":"image_20042025_16_22_14_9531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261253","file1":"1352261251","file0":"1352261249","file4":"1352261256","file5":"1352261257","file3":"1352261255"},"map_files_photo_id_array":[{"photo_id":"1352261257","filename":"file5"},{"photo_id":"1352261253","filename":"file2"},{"photo_id":"1352261256","filename":"file4"},{"photo_id":"1352261251","filename":"file1"},{"photo_id":"1352261249","filename":"file0"},{"photo_id":"1352261255","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261255":["hashtag1","hashtag2"]},{"1352261249":["hashtag1","hashtag2"]},{"1352261257":["hashtag1","hashtag2"]},{"1352261251":["hashtag1","hashtag2"]},{"1352261253":["hashtag1","hashtag2"]},{"1352261256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261255, 1352261249, 1352261257, 1352261251, 1352261253, 1352261256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.493367910385132 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:55:32.960381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/22/image_20042025_16_22_44_9361.jpg', '/home/pi/Desktop/images/20042025/16/22/image_20042025_16_23_04_9456.jpg', '/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_14_10404.jpg', '/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_25_10367.jpg', '/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_34_9399.jpg', '/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_45_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/22/image_20042025_16_22_44_9361.jpg
/home/pi/Desktop/images/20042025/16/22/image_20042025_16_23_04_9456.jpg
/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_14_10404.jpg
/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_25_10367.jpg
/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_34_9399.jpg
/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_45_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261281","1352261283","1352261277","1352261286","1352261285","1352261279"],"photo_ids_order":["1352261277","1352261279","1352261281","1352261283","1352261285","1352261286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6c7e73f907cd6ea627cda67e85168ee.jpg","text":"TemporaryFile(/tmp/multipartBody1958100517539799311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168193422,"filename":"image_20042025_16_23_14_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0498120f1bbea067bf04fa5548f0ed7f.jpg","text":"TemporaryFile(/tmp/multipartBody2119873694513364806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168193422,"filename":"image_20042025_16_23_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5736f99624e8b42d01b88d5885ccdd54.jpg","text":"TemporaryFile(/tmp/multipartBody1239446729307605307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168193422,"filename":"image_20042025_16_22_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc6d98ed806d40e551637e00f29f7bc4.jpg","text":"TemporaryFile(/tmp/multipartBody8950446321381215379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168193422,"filename":"image_20042025_16_23_45_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56becebabbec57c931bebf0219838b02.jpg","text":"TemporaryFile(/tmp/multipartBody6950390930446836411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168193422,"filename":"image_20042025_16_23_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/224ec8efc62738656e6e1dc668bc8238.jpg","text":"TemporaryFile(/tmp/multipartBody2919217136936466677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168193422,"filename":"image_20042025_16_23_04_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261281","file1":"1352261279","file0":"1352261277","file4":"1352261285","file5":"1352261286","file3":"1352261283"},"map_files_photo_id_array":[{"photo_id":"1352261286","filename":"file5"},{"photo_id":"1352261281","filename":"file2"},{"photo_id":"1352261285","filename":"file4"},{"photo_id":"1352261279","filename":"file1"},{"photo_id":"1352261277","filename":"file0"},{"photo_id":"1352261283","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261281":["hashtag1","hashtag2"]},{"1352261283":["hashtag1","hashtag2"]},{"1352261277":["hashtag1","hashtag2"]},{"1352261286":["hashtag1","hashtag2"]},{"1352261285":["hashtag1","hashtag2"]},{"1352261279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261281, 1352261283, 1352261277, 1352261286, 1352261285, 1352261279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76288151741028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:56:32.249310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_54_9418.jpg', '/home/pi/Desktop/images/20042025/16/23/image_20042025_16_24_04_10378.jpg', '/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_15_10359.jpg', '/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_24_9464.jpg', '/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_35_10367.jpg', '/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_44_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/23/image_20042025_16_23_54_9418.jpg
/home/pi/Desktop/images/20042025/16/23/image_20042025_16_24_04_10378.jpg
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_15_10359.jpg
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_24_9464.jpg
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_35_10367.jpg
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_44_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261299","1352261295","1352261308","1352261302","1352261304","1352261297"],"photo_ids_order":["1352261295","1352261297","1352261299","1352261302","1352261304","1352261308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9991b84879cf0881a1c2f55b88cc710.jpg","text":"TemporaryFile(/tmp/multipartBody1888564321274081798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168252760,"filename":"image_20042025_16_24_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ebf49881fd1c6bac6a76cab52688be6.jpg","text":"TemporaryFile(/tmp/multipartBody7352106373346291223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168252760,"filename":"image_20042025_16_23_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8b68d59da17ba37d6540d328b9bdff9.jpg","text":"TemporaryFile(/tmp/multipartBody5983063540130481129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168252760,"filename":"image_20042025_16_24_44_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53d0a7eb5f76b1f07aa152e8b0d76d45.jpg","text":"TemporaryFile(/tmp/multipartBody1870221966948493267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168252760,"filename":"image_20042025_16_24_24_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/323974d1637e687ebdaceae34caf3f98.jpg","text":"TemporaryFile(/tmp/multipartBody8641962690236424350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168252760,"filename":"image_20042025_16_24_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90fd4f57083c3fc045b33ebf3c67b02e.jpg","text":"TemporaryFile(/tmp/multipartBody6495355103432478535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168252760,"filename":"image_20042025_16_24_04_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261299","file1":"1352261297","file0":"1352261295","file4":"1352261304","file5":"1352261308","file3":"1352261302"},"map_files_photo_id_array":[{"photo_id":"1352261308","filename":"file5"},{"photo_id":"1352261299","filename":"file2"},{"photo_id":"1352261304","filename":"file4"},{"photo_id":"1352261297","filename":"file1"},{"photo_id":"1352261295","filename":"file0"},{"photo_id":"1352261302","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261299":["hashtag1","hashtag2"]},{"1352261295":["hashtag1","hashtag2"]},{"1352261308":["hashtag1","hashtag2"]},{"1352261302":["hashtag1","hashtag2"]},{"1352261304":["hashtag1","hashtag2"]},{"1352261297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261299, 1352261295, 1352261308, 1352261302, 1352261304, 1352261297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.236093044281006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 18:57:32.567499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_54_10362.jpg', '/home/pi/Desktop/images/20042025/16/24/image_20042025_16_25_05_10378.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_25_10377.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_34_9531.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_44_10372.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_54_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_54_10362.jpg
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_25_05_10378.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_25_10377.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_34_9531.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_44_10372.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_54_9498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 18:59:04.137085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_54_10362.jpg', '/home/pi/Desktop/images/20042025/16/24/image_20042025_16_25_05_10378.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_25_10377.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_34_9531.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_44_10372.jpg', '/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_54_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_24_54_10362.jpg
/home/pi/Desktop/images/20042025/16/24/image_20042025_16_25_05_10378.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_25_10377.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_34_9531.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_44_10372.jpg
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_25_54_9498.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261365","1352261347","1352261362","1352261356","1352261359","1352261351"],"photo_ids_order":["1352261347","1352261351","1352261356","1352261359","1352261362","1352261365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e973bdcea31fff7ed8eb865221aaf4e.jpg","text":"TemporaryFile(/tmp/multipartBody4031709419854968350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168404743,"filename":"image_20042025_16_25_54_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f8de848081a4a398ef8dc42f432d13c.jpg","text":"TemporaryFile(/tmp/multipartBody6816923301852257269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168404743,"filename":"image_20042025_16_24_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a19dae7efb38c625fa3660cf04108dc.jpg","text":"TemporaryFile(/tmp/multipartBody1418995857129585121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168404743,"filename":"image_20042025_16_25_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d68db2ee1cf2ef23e7d5e5f8ee280860.jpg","text":"TemporaryFile(/tmp/multipartBody5291978215311592222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168404743,"filename":"image_20042025_16_25_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc37103dca2b2d200ec332a865a59a54.jpg","text":"TemporaryFile(/tmp/multipartBody1974708793419273761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168404743,"filename":"image_20042025_16_25_34_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b32b27d141c2739a10d35457239071da.jpg","text":"TemporaryFile(/tmp/multipartBody1782896619804067230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168404743,"filename":"image_20042025_16_25_05_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261356","file1":"1352261351","file0":"1352261347","file4":"1352261362","file5":"1352261365","file3":"1352261359"},"map_files_photo_id_array":[{"photo_id":"1352261365","filename":"file5"},{"photo_id":"1352261356","filename":"file2"},{"photo_id":"1352261362","filename":"file4"},{"photo_id":"1352261351","filename":"file1"},{"photo_id":"1352261347","filename":"file0"},{"photo_id":"1352261359","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261365":["hashtag1","hashtag2"]},{"1352261347":["hashtag1","hashtag2"]},{"1352261362":["hashtag1","hashtag2"]},{"1352261356":["hashtag1","hashtag2"]},{"1352261359":["hashtag1","hashtag2"]},{"1352261351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261365, 1352261347, 1352261362, 1352261356, 1352261359, 1352261351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01132369041443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 18:59:43.050931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/25/image_20042025_16_26_04_10420.jpg', '/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_15_10356.jpg', '/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_24_9365.jpg', '/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_45_10372.jpg', '/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_54_9457.jpg', '/home/pi/Desktop/images/20042025/16/26/image_20042025_16_27_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/25/image_20042025_16_26_04_10420.jpg
/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_15_10356.jpg
/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_24_9365.jpg
/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_45_10372.jpg
/home/pi/Desktop/images/20042025/16/26/image_20042025_16_26_54_9457.jpg
/home/pi/Desktop/images/20042025/16/26/image_20042025_16_27_05_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261388","1352261373","1352261381","1352261375","1352261384","1352261378"],"photo_ids_order":["1352261373","1352261375","1352261378","1352261381","1352261384","1352261388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aed1728ce2b43d6589ba351c614211d5.jpg","text":"TemporaryFile(/tmp/multipartBody170496485473767478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168443516,"filename":"image_20042025_16_27_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/533d73b54286766f12004728cec371a8.jpg","text":"TemporaryFile(/tmp/multipartBody8775033199223303249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168443516,"filename":"image_20042025_16_26_04_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3be48839e79068ec8580928548ace8d.jpg","text":"TemporaryFile(/tmp/multipartBody9121844073216343519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168443516,"filename":"image_20042025_16_26_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80b76ff1a47f0b5af1872907182b0fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2849388961052303643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168443516,"filename":"image_20042025_16_26_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3da40ccc77f8a1aae6d029af86525a61.jpg","text":"TemporaryFile(/tmp/multipartBody8391658262598733487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168443516,"filename":"image_20042025_16_26_54_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ecbdbf72655dfa6237ed6df42de832e.jpg","text":"TemporaryFile(/tmp/multipartBody8643109986761422595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168443516,"filename":"image_20042025_16_26_24_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261378","file1":"1352261375","file0":"1352261373","file4":"1352261384","file5":"1352261388","file3":"1352261381"},"map_files_photo_id_array":[{"photo_id":"1352261388","filename":"file5"},{"photo_id":"1352261378","filename":"file2"},{"photo_id":"1352261384","filename":"file4"},{"photo_id":"1352261375","filename":"file1"},{"photo_id":"1352261373","filename":"file0"},{"photo_id":"1352261381","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261388":["hashtag1","hashtag2"]},{"1352261373":["hashtag1","hashtag2"]},{"1352261381":["hashtag1","hashtag2"]},{"1352261375":["hashtag1","hashtag2"]},{"1352261384":["hashtag1","hashtag2"]},{"1352261378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261388, 1352261373, 1352261381, 1352261375, 1352261384, 1352261378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.671350955963135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:00:32.217272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_14_9403.jpg', '/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_24_10372.jpg', '/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_35_10370.jpg', '/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_44_9386.jpg', '/home/pi/Desktop/images/20042025/16/27/image_20042025_16_28_04_9469.jpg', '/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_14_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_14_9403.jpg
/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_24_10372.jpg
/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_35_10370.jpg
/home/pi/Desktop/images/20042025/16/27/image_20042025_16_27_44_9386.jpg
/home/pi/Desktop/images/20042025/16/27/image_20042025_16_28_04_9469.jpg
/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_14_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261405","1352261501","1352261416","1352261685","1352261592","1352261775"],"photo_ids_order":["1352261405","1352261416","1352261501","1352261592","1352261685","1352261775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7afe4658f82a4a0ea3b3abdfac90d8e0.jpg","text":"TemporaryFile(/tmp/multipartBody7956789100492189161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168492666,"filename":"image_20042025_16_27_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/220db2728e0f45e0529ec2ba55b27042.jpg","text":"TemporaryFile(/tmp/multipartBody5005196843681823897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168492666,"filename":"image_20042025_16_27_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b53aee2444ce1c1cfdf0498738746e76.jpg","text":"TemporaryFile(/tmp/multipartBody690077252787185668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168492666,"filename":"image_20042025_16_27_24_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca3664c9f159e93d08ead709df1f29e9.jpg","text":"TemporaryFile(/tmp/multipartBody397044682678531001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168492666,"filename":"image_20042025_16_28_04_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07a38478d097b81bbb7449bdad3f9d55.jpg","text":"TemporaryFile(/tmp/multipartBody7586576036092792122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168492666,"filename":"image_20042025_16_27_44_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89bac53e547f51d9fbf3295539f2ee64.jpg","text":"TemporaryFile(/tmp/multipartBody641781085419502754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168492666,"filename":"image_20042025_16_28_14_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261501","file1":"1352261416","file0":"1352261405","file4":"1352261685","file5":"1352261775","file3":"1352261592"},"map_files_photo_id_array":[{"photo_id":"1352261775","filename":"file5"},{"photo_id":"1352261501","filename":"file2"},{"photo_id":"1352261685","filename":"file4"},{"photo_id":"1352261416","filename":"file1"},{"photo_id":"1352261405","filename":"file0"},{"photo_id":"1352261592","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352261405":["hashtag1","hashtag2"]},{"1352261501":["hashtag1","hashtag2"]},{"1352261416":["hashtag1","hashtag2"]},{"1352261685":["hashtag1","hashtag2"]},{"1352261592":["hashtag1","hashtag2"]},{"1352261775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352261405, 1352261501, 1352261416, 1352261685, 1352261592, 1352261775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.262592554092407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:01:32.452068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_25_10383.jpg', '/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_34_9358.jpg', '/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_45_10379.jpg', '/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_54_9428.jpg', '/home/pi/Desktop/images/20042025/16/28/image_20042025_16_29_04_10412.jpg', '/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_25_10383.jpg
/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_34_9358.jpg
/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_45_10379.jpg
/home/pi/Desktop/images/20042025/16/28/image_20042025_16_28_54_9428.jpg
/home/pi/Desktop/images/20042025/16/28/image_20042025_16_29_04_10412.jpg
/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_15_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262061","1352262058","1352262045","1352262054","1352262050","1352262047"],"photo_ids_order":["1352262045","1352262047","1352262050","1352262054","1352262058","1352262061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/feac24ec66d837d42be694a43791fed5.jpg","text":"TemporaryFile(/tmp/multipartBody6559796373953556283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168552921,"filename":"image_20042025_16_29_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/047712a80beeda0d2793a32f57288d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5777195582542479839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168552921,"filename":"image_20042025_16_29_04_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03d8b8c36b7bfe23e6613e4b901d6aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2228947981476892533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168552921,"filename":"image_20042025_16_28_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8705db39e06b7919c7f9cc4914b5d38f.jpg","text":"TemporaryFile(/tmp/multipartBody8835813335295363708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168552921,"filename":"image_20042025_16_28_54_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77a83a55a39bb9061fadc45867751a80.jpg","text":"TemporaryFile(/tmp/multipartBody3537251972125178163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168552921,"filename":"image_20042025_16_28_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba1ac7e1e53f20e8060aa2b09e800a63.jpg","text":"TemporaryFile(/tmp/multipartBody4222296168328194316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168552921,"filename":"image_20042025_16_28_34_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262050","file1":"1352262047","file0":"1352262045","file4":"1352262058","file5":"1352262061","file3":"1352262054"},"map_files_photo_id_array":[{"photo_id":"1352262061","filename":"file5"},{"photo_id":"1352262050","filename":"file2"},{"photo_id":"1352262058","filename":"file4"},{"photo_id":"1352262047","filename":"file1"},{"photo_id":"1352262045","filename":"file0"},{"photo_id":"1352262054","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262061":["hashtag1","hashtag2"]},{"1352262058":["hashtag1","hashtag2"]},{"1352262045":["hashtag1","hashtag2"]},{"1352262054":["hashtag1","hashtag2"]},{"1352262050":["hashtag1","hashtag2"]},{"1352262047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262061, 1352262058, 1352262045, 1352262054, 1352262050, 1352262047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20744705200195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:02:32.827229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_24_9359.jpg', '/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_35_10431.jpg', '/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_44_9359.jpg', '/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_54_10431.jpg', '/home/pi/Desktop/images/20042025/16/29/image_20042025_16_30_05_10434.jpg', '/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_14_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_24_9359.jpg
/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_35_10431.jpg
/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_44_9359.jpg
/home/pi/Desktop/images/20042025/16/29/image_20042025_16_29_54_10431.jpg
/home/pi/Desktop/images/20042025/16/29/image_20042025_16_30_05_10434.jpg
/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_14_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262355","1352262349","1352262316","1352262354","1352262351","1352262312"],"photo_ids_order":["1352262312","1352262316","1352262349","1352262351","1352262354","1352262355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2c6487593fa31ff59312b6e72717caf.jpg","text":"TemporaryFile(/tmp/multipartBody2908040560123642668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168613277,"filename":"image_20042025_16_30_14_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04330b0ca3b6845b6ad82e9182bfd0d6.jpg","text":"TemporaryFile(/tmp/multipartBody8756236069325255802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168613277,"filename":"image_20042025_16_29_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e6f6471ea9683491c1a9f4ae74ed41f.jpg","text":"TemporaryFile(/tmp/multipartBody7099123841615729733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168613277,"filename":"image_20042025_16_29_35_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2acae76c74f01206c1af072d7ba86446.jpg","text":"TemporaryFile(/tmp/multipartBody7760341187843011955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168613277,"filename":"image_20042025_16_30_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d62b91ad314588552996f54af12bea72.jpg","text":"TemporaryFile(/tmp/multipartBody9055828554689684355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168613277,"filename":"image_20042025_16_29_54_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/740588398df5ea887c6b5afd393979ba.jpg","text":"TemporaryFile(/tmp/multipartBody2375174698357276343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168613277,"filename":"image_20042025_16_29_24_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262349","file1":"1352262316","file0":"1352262312","file4":"1352262354","file5":"1352262355","file3":"1352262351"},"map_files_photo_id_array":[{"photo_id":"1352262355","filename":"file5"},{"photo_id":"1352262349","filename":"file2"},{"photo_id":"1352262354","filename":"file4"},{"photo_id":"1352262316","filename":"file1"},{"photo_id":"1352262312","filename":"file0"},{"photo_id":"1352262351","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262355":["hashtag1","hashtag2"]},{"1352262349":["hashtag1","hashtag2"]},{"1352262316":["hashtag1","hashtag2"]},{"1352262354":["hashtag1","hashtag2"]},{"1352262351":["hashtag1","hashtag2"]},{"1352262312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262355, 1352262349, 1352262316, 1352262354, 1352262351, 1352262312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92932367324829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:03:33.107800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_25_10414.jpg', '/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_34_9416.jpg', '/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_44_10377.jpg', '/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_55_10379.jpg', '/home/pi/Desktop/images/20042025/16/30/image_20042025_16_31_04_9361.jpg', '/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_14_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_25_10414.jpg
/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_34_9416.jpg
/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_44_10377.jpg
/home/pi/Desktop/images/20042025/16/30/image_20042025_16_30_55_10379.jpg
/home/pi/Desktop/images/20042025/16/30/image_20042025_16_31_04_9361.jpg
/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_14_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262457","1352262453","1352262450","1352262447","1352262455","1352262458"],"photo_ids_order":["1352262447","1352262450","1352262453","1352262455","1352262457","1352262458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2eb570c26d03fbc6af5718462b08f341.jpg","text":"TemporaryFile(/tmp/multipartBody1969946602786600561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168673561,"filename":"image_20042025_16_31_04_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8a35294de87394a7c2428149cf4fd8a.jpg","text":"TemporaryFile(/tmp/multipartBody1231550232880588686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168673561,"filename":"image_20042025_16_30_44_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69d923f9d1b9075656ee419c392ec14f.jpg","text":"TemporaryFile(/tmp/multipartBody5492622006169667442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168673561,"filename":"image_20042025_16_30_34_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1e5761ed97f7ffc441825b62695006d.jpg","text":"TemporaryFile(/tmp/multipartBody285049914582317972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168673561,"filename":"image_20042025_16_30_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02a652dd684cf30a6362b1b8f6e6f8c9.jpg","text":"TemporaryFile(/tmp/multipartBody1736403402909482172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168673561,"filename":"image_20042025_16_30_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ae6bcf0f78df2c4ea341fa4ce733b81.jpg","text":"TemporaryFile(/tmp/multipartBody1297983895624424779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168673561,"filename":"image_20042025_16_31_14_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262453","file1":"1352262450","file0":"1352262447","file4":"1352262457","file5":"1352262458","file3":"1352262455"},"map_files_photo_id_array":[{"photo_id":"1352262458","filename":"file5"},{"photo_id":"1352262453","filename":"file2"},{"photo_id":"1352262457","filename":"file4"},{"photo_id":"1352262450","filename":"file1"},{"photo_id":"1352262447","filename":"file0"},{"photo_id":"1352262455","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262457":["hashtag1","hashtag2"]},{"1352262453":["hashtag1","hashtag2"]},{"1352262450":["hashtag1","hashtag2"]},{"1352262447":["hashtag1","hashtag2"]},{"1352262455":["hashtag1","hashtag2"]},{"1352262458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262457, 1352262453, 1352262450, 1352262447, 1352262455, 1352262458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.575132369995117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:04:32.282998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_25_10366.jpg', '/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_34_9348.jpg', '/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_45_10372.jpg', '/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_54_9356.jpg', '/home/pi/Desktop/images/20042025/16/31/image_20042025_16_32_04_10377.jpg', '/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_24_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_25_10366.jpg
/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_34_9348.jpg
/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_45_10372.jpg
/home/pi/Desktop/images/20042025/16/31/image_20042025_16_31_54_9356.jpg
/home/pi/Desktop/images/20042025/16/31/image_20042025_16_32_04_10377.jpg
/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_24_9501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262478","1352262471","1352262480","1352262474","1352262468","1352262477"],"photo_ids_order":["1352262468","1352262471","1352262474","1352262477","1352262478","1352262480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d3e2f4ed664078489ce3dc8d6404c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2375779086361669092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168732742,"filename":"image_20042025_16_32_04_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/daca56b2753aca7f0cda419776313f3d.jpg","text":"TemporaryFile(/tmp/multipartBody4228447926641849440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168732742,"filename":"image_20042025_16_31_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d65a2c5ad6d004d00e765890b1b0a80.jpg","text":"TemporaryFile(/tmp/multipartBody2611868202257843416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168732742,"filename":"image_20042025_16_32_24_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25ecf57b3481bff2fe7e49f863dcbd14.jpg","text":"TemporaryFile(/tmp/multipartBody9145839249584624521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168732742,"filename":"image_20042025_16_31_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/734027941a2eece3fd8749af414c35db.jpg","text":"TemporaryFile(/tmp/multipartBody7477402867175183012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168732742,"filename":"image_20042025_16_31_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec6075984dc32e4333d13b5567bce80e.jpg","text":"TemporaryFile(/tmp/multipartBody7283896903011340410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168732742,"filename":"image_20042025_16_31_54_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262474","file1":"1352262471","file0":"1352262468","file4":"1352262478","file5":"1352262480","file3":"1352262477"},"map_files_photo_id_array":[{"photo_id":"1352262480","filename":"file5"},{"photo_id":"1352262474","filename":"file2"},{"photo_id":"1352262478","filename":"file4"},{"photo_id":"1352262471","filename":"file1"},{"photo_id":"1352262468","filename":"file0"},{"photo_id":"1352262477","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262478":["hashtag1","hashtag2"]},{"1352262471":["hashtag1","hashtag2"]},{"1352262480":["hashtag1","hashtag2"]},{"1352262474":["hashtag1","hashtag2"]},{"1352262468":["hashtag1","hashtag2"]},{"1352262477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262478, 1352262471, 1352262480, 1352262474, 1352262468, 1352262477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.51444125175476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:05:32.442592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_35_10430.jpg', '/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_44_9408.jpg', '/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_54_10474.jpg', '/home/pi/Desktop/images/20042025/16/32/image_20042025_16_33_05_10371.jpg', '/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_14_9345.jpg', '/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_25_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_35_10430.jpg
/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_44_9408.jpg
/home/pi/Desktop/images/20042025/16/32/image_20042025_16_32_54_10474.jpg
/home/pi/Desktop/images/20042025/16/32/image_20042025_16_33_05_10371.jpg
/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_14_9345.jpg
/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_25_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262498","1352262502","1352262501","1352262500","1352262503","1352262496"],"photo_ids_order":["1352262496","1352262498","1352262500","1352262501","1352262502","1352262503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d70e177d9f011f10493dcbc92497776.jpg","text":"TemporaryFile(/tmp/multipartBody7439487112870695530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168792904,"filename":"image_20042025_16_32_44_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1a87204fedebe9371b65e9ca3186648.jpg","text":"TemporaryFile(/tmp/multipartBody2089181441641427819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168792904,"filename":"image_20042025_16_33_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2593e2f2b2eab804693fb40903058a37.jpg","text":"TemporaryFile(/tmp/multipartBody5287835224726232855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168792904,"filename":"image_20042025_16_33_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9390ab43197e2b2d033672e934b6f419.jpg","text":"TemporaryFile(/tmp/multipartBody5332036033723659995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168792904,"filename":"image_20042025_16_32_54_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a41cb3d1c52facc1ab66fb489fe35dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8396950273729172972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168792904,"filename":"image_20042025_16_33_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3deb133840fffaafff10288a2bef2c7.jpg","text":"TemporaryFile(/tmp/multipartBody5345678174644819414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168792904,"filename":"image_20042025_16_32_35_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262500","file1":"1352262498","file0":"1352262496","file4":"1352262502","file5":"1352262503","file3":"1352262501"},"map_files_photo_id_array":[{"photo_id":"1352262503","filename":"file5"},{"photo_id":"1352262500","filename":"file2"},{"photo_id":"1352262502","filename":"file4"},{"photo_id":"1352262498","filename":"file1"},{"photo_id":"1352262496","filename":"file0"},{"photo_id":"1352262501","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262498":["hashtag1","hashtag2"]},{"1352262502":["hashtag1","hashtag2"]},{"1352262501":["hashtag1","hashtag2"]},{"1352262500":["hashtag1","hashtag2"]},{"1352262503":["hashtag1","hashtag2"]},{"1352262496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262498, 1352262502, 1352262501, 1352262500, 1352262503, 1352262496)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 30.72691297531128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:06:32.905254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_34_9351.jpg', '/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_44_10371.jpg', '/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_55_10363.jpg', '/home/pi/Desktop/images/20042025/16/33/image_20042025_16_34_04_9424.jpg', '/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_14_10364.jpg', '/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_34_9351.jpg
/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_44_10371.jpg
/home/pi/Desktop/images/20042025/16/33/image_20042025_16_33_55_10363.jpg
/home/pi/Desktop/images/20042025/16/33/image_20042025_16_34_04_9424.jpg
/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_14_10364.jpg
/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_25_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262511","1352262529","1352262523","1352262513","1352262527","1352262515"],"photo_ids_order":["1352262511","1352262513","1352262515","1352262523","1352262527","1352262529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2098762af3ec2ba6fbe4cadf318eb33.jpg","text":"TemporaryFile(/tmp/multipartBody1087851735010590534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168853785,"filename":"image_20042025_16_33_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0940594ba3544d9ba117a2f5ca0e32d.jpg","text":"TemporaryFile(/tmp/multipartBody3984568817947284249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168853785,"filename":"image_20042025_16_34_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65306dd6847baf2b60a8198f2c20d925.jpg","text":"TemporaryFile(/tmp/multipartBody3416731726068693420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168853785,"filename":"image_20042025_16_34_04_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/baab0711aa888cbd8fb7af98cba0ddab.jpg","text":"TemporaryFile(/tmp/multipartBody1224760225338708002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168853785,"filename":"image_20042025_16_33_44_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f92a669d7598bd73cc9243e36a5380b0.jpg","text":"TemporaryFile(/tmp/multipartBody5048281925565245734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168853785,"filename":"image_20042025_16_34_14_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e09c810729de246d94b4b0b0472f48ef.jpg","text":"TemporaryFile(/tmp/multipartBody5942366009153825465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168853785,"filename":"image_20042025_16_33_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262515","file1":"1352262513","file0":"1352262511","file4":"1352262527","file5":"1352262529","file3":"1352262523"},"map_files_photo_id_array":[{"photo_id":"1352262529","filename":"file5"},{"photo_id":"1352262515","filename":"file2"},{"photo_id":"1352262527","filename":"file4"},{"photo_id":"1352262513","filename":"file1"},{"photo_id":"1352262511","filename":"file0"},{"photo_id":"1352262523","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262511":["hashtag1","hashtag2"]},{"1352262529":["hashtag1","hashtag2"]},{"1352262523":["hashtag1","hashtag2"]},{"1352262513":["hashtag1","hashtag2"]},{"1352262527":["hashtag1","hashtag2"]},{"1352262515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262511, 1352262529, 1352262523, 1352262513, 1352262527, 1352262515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07685112953186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:07:32.214475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_34_9351.jpg', '/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_54_9478.jpg', '/home/pi/Desktop/images/20042025/16/34/image_20042025_16_35_04_10367.jpg', '/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_15_10430.jpg', '/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_24_9470.jpg', '/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_35_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_34_9351.jpg
/home/pi/Desktop/images/20042025/16/34/image_20042025_16_34_54_9478.jpg
/home/pi/Desktop/images/20042025/16/34/image_20042025_16_35_04_10367.jpg
/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_15_10430.jpg
/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_24_9470.jpg
/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_35_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262555","1352262558","1352262543","1352262546","1352262551","1352262548"],"photo_ids_order":["1352262543","1352262546","1352262548","1352262551","1352262555","1352262558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/235584dff95680a3edabc4d23362ef5b.jpg","text":"TemporaryFile(/tmp/multipartBody4410950309772317295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168912679,"filename":"image_20042025_16_35_24_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bfb2668c970095256042c71c126afff.jpg","text":"TemporaryFile(/tmp/multipartBody331289477246237326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168912679,"filename":"image_20042025_16_35_35_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3797e80e4bd75da6864a6d4d7b7dee35.jpg","text":"TemporaryFile(/tmp/multipartBody7193553202893598413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168912679,"filename":"image_20042025_16_34_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dd5eaf2340fcf979df2acd2eb792e64.jpg","text":"TemporaryFile(/tmp/multipartBody1445349675174181683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168912679,"filename":"image_20042025_16_34_54_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7aae9452587159ca0b962b6a33181a24.jpg","text":"TemporaryFile(/tmp/multipartBody5270990165739513370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168912679,"filename":"image_20042025_16_35_15_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16953d56cb0621384da5f71fdd9ea767.jpg","text":"TemporaryFile(/tmp/multipartBody8610362699194763860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168912679,"filename":"image_20042025_16_35_04_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262548","file1":"1352262546","file0":"1352262543","file4":"1352262555","file5":"1352262558","file3":"1352262551"},"map_files_photo_id_array":[{"photo_id":"1352262558","filename":"file5"},{"photo_id":"1352262548","filename":"file2"},{"photo_id":"1352262555","filename":"file4"},{"photo_id":"1352262546","filename":"file1"},{"photo_id":"1352262543","filename":"file0"},{"photo_id":"1352262551","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262555":["hashtag1","hashtag2"]},{"1352262558":["hashtag1","hashtag2"]},{"1352262543":["hashtag1","hashtag2"]},{"1352262546":["hashtag1","hashtag2"]},{"1352262551":["hashtag1","hashtag2"]},{"1352262548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262555, 1352262558, 1352262543, 1352262546, 1352262551, 1352262548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.600983381271362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:08:32.495380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_44_9368.jpg', '/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_54_10362.jpg', '/home/pi/Desktop/images/20042025/16/35/image_20042025_16_36_05_10353.jpg', '/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_14_9449.jpg', '/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_25_10444.jpg', '/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_34_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_44_9368.jpg
/home/pi/Desktop/images/20042025/16/35/image_20042025_16_35_54_10362.jpg
/home/pi/Desktop/images/20042025/16/35/image_20042025_16_36_05_10353.jpg
/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_14_9449.jpg
/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_25_10444.jpg
/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_34_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262577","1352262571","1352262585","1352262581","1352262584","1352262574"],"photo_ids_order":["1352262571","1352262574","1352262577","1352262581","1352262584","1352262585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f422d8ac18414dce4bd2ba29348b94b.jpg","text":"TemporaryFile(/tmp/multipartBody1907928481408545687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168972950,"filename":"image_20042025_16_36_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fae8d012ea7239a630bef18be6b2cb33.jpg","text":"TemporaryFile(/tmp/multipartBody248465275676036991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168972950,"filename":"image_20042025_16_35_44_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b24822cbd2d1fc0545c39089efd63ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3592022824410993312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168972950,"filename":"image_20042025_16_36_34_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecefc7a3d63276eaaf3466e21a01ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody1779045296038785574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168972950,"filename":"image_20042025_16_36_14_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/202847b215d9b3c0badc708ae73d8a80.jpg","text":"TemporaryFile(/tmp/multipartBody1217677011793899139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168972950,"filename":"image_20042025_16_36_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f43112001046637c5d6063a953e4367.jpg","text":"TemporaryFile(/tmp/multipartBody372459262219790164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745168972950,"filename":"image_20042025_16_35_54_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262577","file1":"1352262574","file0":"1352262571","file4":"1352262584","file5":"1352262585","file3":"1352262581"},"map_files_photo_id_array":[{"photo_id":"1352262585","filename":"file5"},{"photo_id":"1352262577","filename":"file2"},{"photo_id":"1352262584","filename":"file4"},{"photo_id":"1352262574","filename":"file1"},{"photo_id":"1352262571","filename":"file0"},{"photo_id":"1352262581","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262577":["hashtag1","hashtag2"]},{"1352262571":["hashtag1","hashtag2"]},{"1352262585":["hashtag1","hashtag2"]},{"1352262581":["hashtag1","hashtag2"]},{"1352262584":["hashtag1","hashtag2"]},{"1352262574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262577, 1352262571, 1352262585, 1352262581, 1352262584, 1352262574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41829252243042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:09:32.694572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_44_10447.jpg', '/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_54_9360.jpg', '/home/pi/Desktop/images/20042025/16/36/image_20042025_16_37_04_10369.jpg', '/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_15_10348.jpg', '/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_24_9418.jpg', '/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_34_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_44_10447.jpg
/home/pi/Desktop/images/20042025/16/36/image_20042025_16_36_54_9360.jpg
/home/pi/Desktop/images/20042025/16/36/image_20042025_16_37_04_10369.jpg
/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_15_10348.jpg
/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_24_9418.jpg
/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_34_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262613","1352262601","1352262606","1352262609","1352262600","1352262611"],"photo_ids_order":["1352262600","1352262601","1352262606","1352262609","1352262611","1352262613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a043340012bbdb1797c6b233719944cd.jpg","text":"TemporaryFile(/tmp/multipartBody6814591524305314419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169033166,"filename":"image_20042025_16_37_34_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07abd9943fbd3eff6368c0c4eac438fe.jpg","text":"TemporaryFile(/tmp/multipartBody8974602417708931413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169033166,"filename":"image_20042025_16_36_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c64d75950b0080e33276317dde02062c.jpg","text":"TemporaryFile(/tmp/multipartBody718089031761761284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169033166,"filename":"image_20042025_16_37_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/764879b161138d7c51fbbb4abcd06f63.jpg","text":"TemporaryFile(/tmp/multipartBody8879406147243704195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169033166,"filename":"image_20042025_16_37_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7ff4d090dfe1eb47bc8a3b3461007f6.jpg","text":"TemporaryFile(/tmp/multipartBody4102962765654896992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169033166,"filename":"image_20042025_16_36_44_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2f7c9cea07c1054f9de11963ea5adb0.jpg","text":"TemporaryFile(/tmp/multipartBody8097345689604044384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169033166,"filename":"image_20042025_16_37_24_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262606","file1":"1352262601","file0":"1352262600","file4":"1352262611","file5":"1352262613","file3":"1352262609"},"map_files_photo_id_array":[{"photo_id":"1352262613","filename":"file5"},{"photo_id":"1352262606","filename":"file2"},{"photo_id":"1352262611","filename":"file4"},{"photo_id":"1352262601","filename":"file1"},{"photo_id":"1352262600","filename":"file0"},{"photo_id":"1352262609","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262613":["hashtag1","hashtag2"]},{"1352262601":["hashtag1","hashtag2"]},{"1352262606":["hashtag1","hashtag2"]},{"1352262609":["hashtag1","hashtag2"]},{"1352262600":["hashtag1","hashtag2"]},{"1352262611":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262613, 1352262601, 1352262606, 1352262609, 1352262600, 1352262611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.564679622650146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:10:32.911016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_45_10390.jpg', '/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_54_9356.jpg', '/home/pi/Desktop/images/20042025/16/37/image_20042025_16_38_05_10401.jpg', '/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_14_9465.jpg', '/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_24_10370.jpg', '/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_35_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_45_10390.jpg
/home/pi/Desktop/images/20042025/16/37/image_20042025_16_37_54_9356.jpg
/home/pi/Desktop/images/20042025/16/37/image_20042025_16_38_05_10401.jpg
/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_14_9465.jpg
/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_24_10370.jpg
/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_35_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262642","1352262630","1352262644","1352262638","1352262647","1352262635"],"photo_ids_order":["1352262630","1352262635","1352262638","1352262642","1352262644","1352262647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48ca22caebd14a545c5547f900bdf08f.jpg","text":"TemporaryFile(/tmp/multipartBody7491128229029199300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169093373,"filename":"image_20042025_16_38_14_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c826d199a443ec1c2c7d9096b71a868.jpg","text":"TemporaryFile(/tmp/multipartBody3483334897987632277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169093373,"filename":"image_20042025_16_37_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c96418691b3d13a889871cc7e7e1707.jpg","text":"TemporaryFile(/tmp/multipartBody5029143561980275528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169093373,"filename":"image_20042025_16_38_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cf42ad4d2730932fb6e58651f353669.jpg","text":"TemporaryFile(/tmp/multipartBody4604831932744760732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169093373,"filename":"image_20042025_16_38_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78d36fcf67101b86b439df7009d78424.jpg","text":"TemporaryFile(/tmp/multipartBody2396095818344567911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169093373,"filename":"image_20042025_16_38_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06b75275f9ede0d25925d927a00b7957.jpg","text":"TemporaryFile(/tmp/multipartBody7236971298939851685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169093373,"filename":"image_20042025_16_37_54_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262638","file1":"1352262635","file0":"1352262630","file4":"1352262644","file5":"1352262647","file3":"1352262642"},"map_files_photo_id_array":[{"photo_id":"1352262647","filename":"file5"},{"photo_id":"1352262638","filename":"file2"},{"photo_id":"1352262644","filename":"file4"},{"photo_id":"1352262635","filename":"file1"},{"photo_id":"1352262630","filename":"file0"},{"photo_id":"1352262642","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262642":["hashtag1","hashtag2"]},{"1352262630":["hashtag1","hashtag2"]},{"1352262644":["hashtag1","hashtag2"]},{"1352262638":["hashtag1","hashtag2"]},{"1352262647":["hashtag1","hashtag2"]},{"1352262635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262642, 1352262630, 1352262644, 1352262638, 1352262647, 1352262635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.94552493095398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:11:32.304301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_54_10364.jpg', '/home/pi/Desktop/images/20042025/16/38/image_20042025_16_39_04_9374.jpg', '/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_14_10432.jpg', '/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_25_10351.jpg', '/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_34_9427.jpg', '/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_44_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/38/image_20042025_16_38_54_10364.jpg
/home/pi/Desktop/images/20042025/16/38/image_20042025_16_39_04_9374.jpg
/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_14_10432.jpg
/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_25_10351.jpg
/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_34_9427.jpg
/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_44_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262672","1352262666","1352262669","1352262660","1352262663","1352262657"],"photo_ids_order":["1352262657","1352262660","1352262663","1352262666","1352262669","1352262672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38e560a94e0b5f327b70202ecb060ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2980493598177555229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169152754,"filename":"image_20042025_16_39_44_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3c84a868141a63e441355e55a3b55d9.jpg","text":"TemporaryFile(/tmp/multipartBody8428898972071498671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169152754,"filename":"image_20042025_16_39_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13c0fdcc74133f587f7029b7c58ae227.jpg","text":"TemporaryFile(/tmp/multipartBody7596984989962148796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169152754,"filename":"image_20042025_16_39_34_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1764909d6c868dc47048890e5b7e9e2.jpg","text":"TemporaryFile(/tmp/multipartBody71118516340762879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169152754,"filename":"image_20042025_16_39_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89089e3f8a2964eac1620dc287bbefa2.jpg","text":"TemporaryFile(/tmp/multipartBody5828527662701947632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169152754,"filename":"image_20042025_16_39_14_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45bd4604d27027ef397cad694adf8672.jpg","text":"TemporaryFile(/tmp/multipartBody5935438443564820309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169152754,"filename":"image_20042025_16_38_54_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262663","file1":"1352262660","file0":"1352262657","file4":"1352262669","file5":"1352262672","file3":"1352262666"},"map_files_photo_id_array":[{"photo_id":"1352262672","filename":"file5"},{"photo_id":"1352262663","filename":"file2"},{"photo_id":"1352262669","filename":"file4"},{"photo_id":"1352262660","filename":"file1"},{"photo_id":"1352262657","filename":"file0"},{"photo_id":"1352262666","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262672":["hashtag1","hashtag2"]},{"1352262666":["hashtag1","hashtag2"]},{"1352262669":["hashtag1","hashtag2"]},{"1352262660":["hashtag1","hashtag2"]},{"1352262663":["hashtag1","hashtag2"]},{"1352262657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262672, 1352262666, 1352262669, 1352262660, 1352262663, 1352262657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22964000701904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:12:32.452605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_54_9384.jpg', '/home/pi/Desktop/images/20042025/16/39/image_20042025_16_40_04_10393.jpg', '/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_15_10396.jpg', '/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_24_9498.jpg', '/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_35_10431.jpg', '/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_44_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/39/image_20042025_16_39_54_9384.jpg
/home/pi/Desktop/images/20042025/16/39/image_20042025_16_40_04_10393.jpg
/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_15_10396.jpg
/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_24_9498.jpg
/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_35_10431.jpg
/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_44_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262682","1352262679","1352262692","1352262695","1352262698","1352262688"],"photo_ids_order":["1352262679","1352262682","1352262688","1352262692","1352262695","1352262698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d64ae761d5f8f1a11120ff9f5ce2803f.jpg","text":"TemporaryFile(/tmp/multipartBody4555478152221357138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169212908,"filename":"image_20042025_16_40_04_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1414e992ff0119f201c65657ea6f8832.jpg","text":"TemporaryFile(/tmp/multipartBody8052060756705868166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169212908,"filename":"image_20042025_16_39_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c6fb984d99cc02fe09ba8281b4be87f.jpg","text":"TemporaryFile(/tmp/multipartBody1447502999624233249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169212908,"filename":"image_20042025_16_40_24_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f76d344fb553bc507861956423cf6832.jpg","text":"TemporaryFile(/tmp/multipartBody3460556837935895287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169212908,"filename":"image_20042025_16_40_35_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b03cde134340d85126c31670bf93129.jpg","text":"TemporaryFile(/tmp/multipartBody8497903903934809866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169212908,"filename":"image_20042025_16_40_44_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fc0ba629853164a5c543d451b63a3cc.jpg","text":"TemporaryFile(/tmp/multipartBody1261646299360218863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169212908,"filename":"image_20042025_16_40_15_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262688","file1":"1352262682","file0":"1352262679","file4":"1352262695","file5":"1352262698","file3":"1352262692"},"map_files_photo_id_array":[{"photo_id":"1352262698","filename":"file5"},{"photo_id":"1352262688","filename":"file2"},{"photo_id":"1352262695","filename":"file4"},{"photo_id":"1352262682","filename":"file1"},{"photo_id":"1352262679","filename":"file0"},{"photo_id":"1352262692","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262682":["hashtag1","hashtag2"]},{"1352262679":["hashtag1","hashtag2"]},{"1352262692":["hashtag1","hashtag2"]},{"1352262695":["hashtag1","hashtag2"]},{"1352262698":["hashtag1","hashtag2"]},{"1352262688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262682, 1352262679, 1352262692, 1352262695, 1352262698, 1352262688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.526774168014526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:13:32.594098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_54_10380.jpg', '/home/pi/Desktop/images/20042025/16/40/image_20042025_16_41_04_9465.jpg', '/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_14_10434.jpg', '/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_25_10409.jpg', '/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_34_9429.jpg', '/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/40/image_20042025_16_40_54_10380.jpg
/home/pi/Desktop/images/20042025/16/40/image_20042025_16_41_04_9465.jpg
/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_14_10434.jpg
/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_25_10409.jpg
/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_34_9429.jpg
/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262703","1352262717","1352262719","1352262713","1352262707","1352262710"],"photo_ids_order":["1352262703","1352262707","1352262710","1352262713","1352262717","1352262719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa217cd868dc08f318d0a5911b7e765c.jpg","text":"TemporaryFile(/tmp/multipartBody1614280685783467968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169273054,"filename":"image_20042025_16_40_54_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7af18446b8467c4b555e2d03b305ac9a.jpg","text":"TemporaryFile(/tmp/multipartBody2194915791748789036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169273054,"filename":"image_20042025_16_41_34_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3dc0e5f4ddedb231ed06e588bb77237.jpg","text":"TemporaryFile(/tmp/multipartBody5432584050506515576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169273054,"filename":"image_20042025_16_41_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d9ce68a730f38522f5563a06680e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody7282834894252023736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169273054,"filename":"image_20042025_16_41_25_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09f57b3653e9b856b75b5c819145b4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2711779893000698052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169273054,"filename":"image_20042025_16_41_04_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a572d053612013edc7b3d39744ecc9b5.jpg","text":"TemporaryFile(/tmp/multipartBody6586201104363421662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169273054,"filename":"image_20042025_16_41_14_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262710","file1":"1352262707","file0":"1352262703","file4":"1352262717","file5":"1352262719","file3":"1352262713"},"map_files_photo_id_array":[{"photo_id":"1352262719","filename":"file5"},{"photo_id":"1352262710","filename":"file2"},{"photo_id":"1352262717","filename":"file4"},{"photo_id":"1352262707","filename":"file1"},{"photo_id":"1352262703","filename":"file0"},{"photo_id":"1352262713","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262703":["hashtag1","hashtag2"]},{"1352262717":["hashtag1","hashtag2"]},{"1352262719":["hashtag1","hashtag2"]},{"1352262713":["hashtag1","hashtag2"]},{"1352262707":["hashtag1","hashtag2"]},{"1352262710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262703, 1352262717, 1352262719, 1352262713, 1352262707, 1352262710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.499096393585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:14:32.974043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_54_9673.jpg', '/home/pi/Desktop/images/20042025/16/41/image_20042025_16_42_05_10371.jpg', '/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_14_9516.jpg', '/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_25_10382.jpg', '/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_34_9362.jpg', '/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_44_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/41/image_20042025_16_41_54_9673.jpg
/home/pi/Desktop/images/20042025/16/41/image_20042025_16_42_05_10371.jpg
/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_14_9516.jpg
/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_25_10382.jpg
/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_34_9362.jpg
/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_44_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262742","1352262736","1352262732","1352262738","1352262740","1352262734"],"photo_ids_order":["1352262732","1352262734","1352262736","1352262738","1352262740","1352262742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58e912749519e7dba3c26eb80b1e1297.jpg","text":"TemporaryFile(/tmp/multipartBody5851893698189161131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169333426,"filename":"image_20042025_16_42_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f1e7c4016736b88be8de2f64766709a.jpg","text":"TemporaryFile(/tmp/multipartBody2898783257055749265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169333426,"filename":"image_20042025_16_42_14_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7eec7c69fc235bfa1c0e9a691d3e9ca9.jpg","text":"TemporaryFile(/tmp/multipartBody3011048987595305844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169333426,"filename":"image_20042025_16_41_54_9673.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af46c2be6f8a89eb0e31b9aca7c792b4.jpg","text":"TemporaryFile(/tmp/multipartBody1970823023079565297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169333426,"filename":"image_20042025_16_42_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/011787cb991e993709834acbeae38d98.jpg","text":"TemporaryFile(/tmp/multipartBody2454734152200915780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169333426,"filename":"image_20042025_16_42_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79058d0b8c0dd4fdd28131415ad23d6c.jpg","text":"TemporaryFile(/tmp/multipartBody8444142276720757760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169333426,"filename":"image_20042025_16_42_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262736","file1":"1352262734","file0":"1352262732","file4":"1352262740","file5":"1352262742","file3":"1352262738"},"map_files_photo_id_array":[{"photo_id":"1352262742","filename":"file5"},{"photo_id":"1352262736","filename":"file2"},{"photo_id":"1352262740","filename":"file4"},{"photo_id":"1352262734","filename":"file1"},{"photo_id":"1352262732","filename":"file0"},{"photo_id":"1352262738","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262742":["hashtag1","hashtag2"]},{"1352262736":["hashtag1","hashtag2"]},{"1352262732":["hashtag1","hashtag2"]},{"1352262738":["hashtag1","hashtag2"]},{"1352262740":["hashtag1","hashtag2"]},{"1352262734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262742, 1352262736, 1352262732, 1352262738, 1352262740, 1352262734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.107341289520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:15:33.096269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_55_10384.jpg', '/home/pi/Desktop/images/20042025/16/42/image_20042025_16_43_04_9618.jpg', '/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_15_10350.jpg', '/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_24_9432.jpg', '/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_34_10352.jpg', '/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/42/image_20042025_16_42_55_10384.jpg
/home/pi/Desktop/images/20042025/16/42/image_20042025_16_43_04_9618.jpg
/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_15_10350.jpg
/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_24_9432.jpg
/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_34_10352.jpg
/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262760","1352262759","1352262756","1352262755","1352262758","1352262752"],"photo_ids_order":["1352262752","1352262755","1352262756","1352262758","1352262759","1352262760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd87f9a1e9a618ab8e6ea5118b5d493a.jpg","text":"TemporaryFile(/tmp/multipartBody7300849900645390311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169393557,"filename":"image_20042025_16_43_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88a9004a57821225b80a2978cf4a5696.jpg","text":"TemporaryFile(/tmp/multipartBody2548265594980218740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169393557,"filename":"image_20042025_16_43_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9515ac7738cd2a0def83913785bf10be.jpg","text":"TemporaryFile(/tmp/multipartBody8896323328614486601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169393557,"filename":"image_20042025_16_43_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58196aa6a3463c903bf3ceb80ac40ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6400349191149816063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169393557,"filename":"image_20042025_16_43_04_9618.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aaf1887939c6033720aba1ee1c1934f9.jpg","text":"TemporaryFile(/tmp/multipartBody2295704490357824086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169393557,"filename":"image_20042025_16_43_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7938b703348de3da95f32fa89cdb937a.jpg","text":"TemporaryFile(/tmp/multipartBody2230627830270833766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169393557,"filename":"image_20042025_16_42_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262756","file1":"1352262755","file0":"1352262752","file4":"1352262759","file5":"1352262760","file3":"1352262758"},"map_files_photo_id_array":[{"photo_id":"1352262760","filename":"file5"},{"photo_id":"1352262756","filename":"file2"},{"photo_id":"1352262759","filename":"file4"},{"photo_id":"1352262755","filename":"file1"},{"photo_id":"1352262752","filename":"file0"},{"photo_id":"1352262758","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262760":["hashtag1","hashtag2"]},{"1352262759":["hashtag1","hashtag2"]},{"1352262756":["hashtag1","hashtag2"]},{"1352262755":["hashtag1","hashtag2"]},{"1352262758":["hashtag1","hashtag2"]},{"1352262752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262760, 1352262759, 1352262756, 1352262755, 1352262758, 1352262752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.001325845718384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:16:32.271271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_54_9361.jpg', '/home/pi/Desktop/images/20042025/16/43/image_20042025_16_44_05_10420.jpg', '/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_24_10445.jpg', '/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_35_10406.jpg', '/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_44_9399.jpg', '/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_54_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/43/image_20042025_16_43_54_9361.jpg
/home/pi/Desktop/images/20042025/16/43/image_20042025_16_44_05_10420.jpg
/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_24_10445.jpg
/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_35_10406.jpg
/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_44_9399.jpg
/home/pi/Desktop/images/20042025/16/44/image_20042025_16_44_54_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262769","1352262778","1352262771","1352262774","1352262776","1352262767"],"photo_ids_order":["1352262767","1352262769","1352262771","1352262774","1352262776","1352262778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9dca798386c6eab3243d8f2e5ddcae8.jpg","text":"TemporaryFile(/tmp/multipartBody8950934790323118465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169452715,"filename":"image_20042025_16_44_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f7ef758619f01173e6b8e97a32fcd0e.jpg","text":"TemporaryFile(/tmp/multipartBody8429775823029308682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169452715,"filename":"image_20042025_16_44_54_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc972a7513e5a207df5e4a73617663dd.jpg","text":"TemporaryFile(/tmp/multipartBody4236866760665712291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169452715,"filename":"image_20042025_16_44_24_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64a393d1ff08e9468f579b9681edd03d.jpg","text":"TemporaryFile(/tmp/multipartBody5508569672955748402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169452715,"filename":"image_20042025_16_44_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/216326c6494649bcfc9b938bd1c52a60.jpg","text":"TemporaryFile(/tmp/multipartBody2514251727865884159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169452715,"filename":"image_20042025_16_44_44_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1fd4b15b8036be674fb18430da22db42.jpg","text":"TemporaryFile(/tmp/multipartBody8442534004233787698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169452715,"filename":"image_20042025_16_43_54_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262771","file1":"1352262769","file0":"1352262767","file4":"1352262776","file5":"1352262778","file3":"1352262774"},"map_files_photo_id_array":[{"photo_id":"1352262778","filename":"file5"},{"photo_id":"1352262771","filename":"file2"},{"photo_id":"1352262776","filename":"file4"},{"photo_id":"1352262769","filename":"file1"},{"photo_id":"1352262767","filename":"file0"},{"photo_id":"1352262774","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262769":["hashtag1","hashtag2"]},{"1352262778":["hashtag1","hashtag2"]},{"1352262771":["hashtag1","hashtag2"]},{"1352262774":["hashtag1","hashtag2"]},{"1352262776":["hashtag1","hashtag2"]},{"1352262767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262769, 1352262778, 1352262771, 1352262774, 1352262776, 1352262767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.99356245994568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:17:32.420651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/44/image_20042025_16_45_04_9370.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_14_10462.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_34_9428.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_44_10366.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_55_10369.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_46_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/44/image_20042025_16_45_04_9370.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_14_10462.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_34_9428.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_44_10366.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_55_10369.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_46_04_9418.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3935086727142334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 19:17:42.408415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/44/image_20042025_16_45_04_9370.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_14_10462.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_34_9428.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_44_10366.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_55_10369.jpg', '/home/pi/Desktop/images/20042025/16/45/image_20042025_16_46_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/44/image_20042025_16_45_04_9370.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_14_10462.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_34_9428.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_44_10366.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_45_55_10369.jpg
/home/pi/Desktop/images/20042025/16/45/image_20042025_16_46_04_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262805","1352262798","1352262804","1352262794","1352262806","1352262800"],"photo_ids_order":["1352262794","1352262798","1352262800","1352262804","1352262805","1352262806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b79909541fe10f7497cb4029da6fa96f.jpg","text":"TemporaryFile(/tmp/multipartBody8435476027085916357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169522862,"filename":"image_20042025_16_45_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bef81d2e4956e71d2e510423e8ad09e1.jpg","text":"TemporaryFile(/tmp/multipartBody3822765058205190034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169522862,"filename":"image_20042025_16_45_14_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b747d7eba72f69a4e8a4b6cbb210e176.jpg","text":"TemporaryFile(/tmp/multipartBody488194703910748588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169522862,"filename":"image_20042025_16_45_44_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61418ef0fcd3ffa1348e6e92925d8508.jpg","text":"TemporaryFile(/tmp/multipartBody7371755820232898266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169522862,"filename":"image_20042025_16_45_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8937cd69afadc99e5e755ef24bce2b0f.jpg","text":"TemporaryFile(/tmp/multipartBody5858135053718251459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169522862,"filename":"image_20042025_16_46_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cad24dbf4151b19c39089710f6ac1a85.jpg","text":"TemporaryFile(/tmp/multipartBody1662293053615772613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169522862,"filename":"image_20042025_16_45_34_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262800","file1":"1352262798","file0":"1352262794","file4":"1352262805","file5":"1352262806","file3":"1352262804"},"map_files_photo_id_array":[{"photo_id":"1352262806","filename":"file5"},{"photo_id":"1352262800","filename":"file2"},{"photo_id":"1352262805","filename":"file4"},{"photo_id":"1352262798","filename":"file1"},{"photo_id":"1352262794","filename":"file0"},{"photo_id":"1352262804","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262805":["hashtag1","hashtag2"]},{"1352262798":["hashtag1","hashtag2"]},{"1352262804":["hashtag1","hashtag2"]},{"1352262794":["hashtag1","hashtag2"]},{"1352262806":["hashtag1","hashtag2"]},{"1352262800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262805, 1352262798, 1352262804, 1352262794, 1352262806, 1352262800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00529503822327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:18:32.643423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_15_10375.jpg', '/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_24_9400.jpg', '/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_34_10352.jpg', '/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_45_10356.jpg', '/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_54_9453.jpg', '/home/pi/Desktop/images/20042025/16/46/image_20042025_16_47_05_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_15_10375.jpg
/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_24_9400.jpg
/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_34_10352.jpg
/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_45_10356.jpg
/home/pi/Desktop/images/20042025/16/46/image_20042025_16_46_54_9453.jpg
/home/pi/Desktop/images/20042025/16/46/image_20042025_16_47_05_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262820","1352262813","1352262822","1352262816","1352262810","1352262818"],"photo_ids_order":["1352262810","1352262813","1352262816","1352262818","1352262820","1352262822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5c476d1b262734671f41c0ddd35c8c7.jpg","text":"TemporaryFile(/tmp/multipartBody7249248620399692334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169573112,"filename":"image_20042025_16_46_54_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/027a2cb2e3705bdb6ca394daf098a60f.jpg","text":"TemporaryFile(/tmp/multipartBody8376573435394668379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169573112,"filename":"image_20042025_16_46_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5025d5a7e0c9037a26a348e98a361a2.jpg","text":"TemporaryFile(/tmp/multipartBody598952282309461032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169573112,"filename":"image_20042025_16_47_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96ff3be8d9367bb428788d80677a6944.jpg","text":"TemporaryFile(/tmp/multipartBody8271181452885192353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169573112,"filename":"image_20042025_16_46_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2af7102dac66ce540fd975a9fde33169.jpg","text":"TemporaryFile(/tmp/multipartBody3535648062685902457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169573112,"filename":"image_20042025_16_46_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/756da01009bf2ef3100d7d8acc2fdaf9.jpg","text":"TemporaryFile(/tmp/multipartBody3372820833601861772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169573112,"filename":"image_20042025_16_46_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262816","file1":"1352262813","file0":"1352262810","file4":"1352262820","file5":"1352262822","file3":"1352262818"},"map_files_photo_id_array":[{"photo_id":"1352262822","filename":"file5"},{"photo_id":"1352262816","filename":"file2"},{"photo_id":"1352262820","filename":"file4"},{"photo_id":"1352262813","filename":"file1"},{"photo_id":"1352262810","filename":"file0"},{"photo_id":"1352262818","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262820":["hashtag1","hashtag2"]},{"1352262813":["hashtag1","hashtag2"]},{"1352262822":["hashtag1","hashtag2"]},{"1352262816":["hashtag1","hashtag2"]},{"1352262810":["hashtag1","hashtag2"]},{"1352262818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262820, 1352262813, 1352262822, 1352262816, 1352262810, 1352262818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.902913570404053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:19:32.838686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_14_9469.jpg', '/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_24_10367.jpg', '/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_34_9406.jpg', '/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_44_10468.jpg', '/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_55_10364.jpg', '/home/pi/Desktop/images/20042025/16/47/image_20042025_16_48_04_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_14_9469.jpg
/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_24_10367.jpg
/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_34_9406.jpg
/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_44_10468.jpg
/home/pi/Desktop/images/20042025/16/47/image_20042025_16_47_55_10364.jpg
/home/pi/Desktop/images/20042025/16/47/image_20042025_16_48_04_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262835","1352262850","1352262832","1352262849","1352262840","1352262837"],"photo_ids_order":["1352262832","1352262835","1352262837","1352262840","1352262849","1352262850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc018d4ed8f7bc9a5f2dfc67a2be3f77.jpg","text":"TemporaryFile(/tmp/multipartBody5243685733479190179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169633305,"filename":"image_20042025_16_47_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb5148d0d10c16bb61a4b6b4a3587347.jpg","text":"TemporaryFile(/tmp/multipartBody9025074350718286243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169633305,"filename":"image_20042025_16_48_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/380551a4bcd38f2848f4e6965d6fb71c.jpg","text":"TemporaryFile(/tmp/multipartBody905137222528674919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169633305,"filename":"image_20042025_16_47_14_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85742a1ab85e9ede9670afecebb86b15.jpg","text":"TemporaryFile(/tmp/multipartBody5974733259510856111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169633305,"filename":"image_20042025_16_47_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d0ac3192c5f357b85aea0779f85c690.jpg","text":"TemporaryFile(/tmp/multipartBody5377198768790765659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169633305,"filename":"image_20042025_16_47_44_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ce100a90a42104693f1be8955216db5.jpg","text":"TemporaryFile(/tmp/multipartBody6629944819210049535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169633305,"filename":"image_20042025_16_47_34_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262837","file1":"1352262835","file0":"1352262832","file4":"1352262849","file5":"1352262850","file3":"1352262840"},"map_files_photo_id_array":[{"photo_id":"1352262850","filename":"file5"},{"photo_id":"1352262837","filename":"file2"},{"photo_id":"1352262849","filename":"file4"},{"photo_id":"1352262835","filename":"file1"},{"photo_id":"1352262832","filename":"file0"},{"photo_id":"1352262840","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262835":["hashtag1","hashtag2"]},{"1352262850":["hashtag1","hashtag2"]},{"1352262832":["hashtag1","hashtag2"]},{"1352262849":["hashtag1","hashtag2"]},{"1352262840":["hashtag1","hashtag2"]},{"1352262837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262835, 1352262850, 1352262832, 1352262849, 1352262840, 1352262837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1802921295166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:20:33.061983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_14_10368.jpg', '/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_25_10382.jpg', '/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_34_9424.jpg', '/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_45_10426.jpg', '/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_54_9359.jpg', '/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_14_10368.jpg
/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_25_10382.jpg
/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_34_9424.jpg
/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_45_10426.jpg
/home/pi/Desktop/images/20042025/16/48/image_20042025_16_48_54_9359.jpg
/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262880","1352262876","1352262879","1352262870","1352262873","1352262865"],"photo_ids_order":["1352262865","1352262870","1352262873","1352262876","1352262879","1352262880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc1b88f2c6ef98f079752d9dda912248.jpg","text":"TemporaryFile(/tmp/multipartBody225554861107243465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169693519,"filename":"image_20042025_16_49_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf72dfacec1bc390875d5b626155209e.jpg","text":"TemporaryFile(/tmp/multipartBody7998163858942109761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169693519,"filename":"image_20042025_16_48_45_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2dffa0176c53af6d43d457197303b5e.jpg","text":"TemporaryFile(/tmp/multipartBody813590283150833959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169693519,"filename":"image_20042025_16_48_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a05939ce1c23e8ae7a4a77994458510.jpg","text":"TemporaryFile(/tmp/multipartBody2861995795519765793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169693519,"filename":"image_20042025_16_48_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b132808fbdf2f394ff90d21e642db6d.jpg","text":"TemporaryFile(/tmp/multipartBody1155291203928791695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169693519,"filename":"image_20042025_16_48_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82424d30dfca5eb90b8fad925b62f866.jpg","text":"TemporaryFile(/tmp/multipartBody5135413451320989725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169693519,"filename":"image_20042025_16_48_14_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262873","file1":"1352262870","file0":"1352262865","file4":"1352262879","file5":"1352262880","file3":"1352262876"},"map_files_photo_id_array":[{"photo_id":"1352262880","filename":"file5"},{"photo_id":"1352262873","filename":"file2"},{"photo_id":"1352262879","filename":"file4"},{"photo_id":"1352262870","filename":"file1"},{"photo_id":"1352262865","filename":"file0"},{"photo_id":"1352262876","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262880":["hashtag1","hashtag2"]},{"1352262876":["hashtag1","hashtag2"]},{"1352262879":["hashtag1","hashtag2"]},{"1352262870":["hashtag1","hashtag2"]},{"1352262873":["hashtag1","hashtag2"]},{"1352262865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262880, 1352262876, 1352262879, 1352262870, 1352262873, 1352262865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44924759864807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:21:32.310090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_24_9468.jpg', '/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_35_10370.jpg', '/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_44_9502.jpg', '/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_54_10379.jpg', '/home/pi/Desktop/images/20042025/16/49/image_20042025_16_50_05_10351.jpg', '/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_14_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_24_9468.jpg
/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_35_10370.jpg
/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_44_9502.jpg
/home/pi/Desktop/images/20042025/16/49/image_20042025_16_49_54_10379.jpg
/home/pi/Desktop/images/20042025/16/49/image_20042025_16_50_05_10351.jpg
/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_14_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262894","1352262900","1352262890","1352262896","1352262898","1352262892"],"photo_ids_order":["1352262890","1352262892","1352262894","1352262896","1352262898","1352262900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3052f50dcbc4a555bafbba49bc44a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5128641287385924271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169752768,"filename":"image_20042025_16_49_44_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e955b0da8993c25fd093a73618a360d.jpg","text":"TemporaryFile(/tmp/multipartBody7970272738006634835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169752768,"filename":"image_20042025_16_50_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/137389956bf661b8fd8748687529a1b9.jpg","text":"TemporaryFile(/tmp/multipartBody7976745522954106261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169752768,"filename":"image_20042025_16_49_24_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9fd42640dd6ea624899756bdb4dd7389.jpg","text":"TemporaryFile(/tmp/multipartBody5809323700648545444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169752768,"filename":"image_20042025_16_49_54_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92c40c1f13140cf259b5a55f87e8ad4c.jpg","text":"TemporaryFile(/tmp/multipartBody7319420134156868136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169752768,"filename":"image_20042025_16_50_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb0e90545b9552ee405c0f8ba706179d.jpg","text":"TemporaryFile(/tmp/multipartBody3374940582342452339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169752768,"filename":"image_20042025_16_49_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262894","file1":"1352262892","file0":"1352262890","file4":"1352262898","file5":"1352262900","file3":"1352262896"},"map_files_photo_id_array":[{"photo_id":"1352262900","filename":"file5"},{"photo_id":"1352262894","filename":"file2"},{"photo_id":"1352262898","filename":"file4"},{"photo_id":"1352262892","filename":"file1"},{"photo_id":"1352262890","filename":"file0"},{"photo_id":"1352262896","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262894":["hashtag1","hashtag2"]},{"1352262900":["hashtag1","hashtag2"]},{"1352262890":["hashtag1","hashtag2"]},{"1352262896":["hashtag1","hashtag2"]},{"1352262898":["hashtag1","hashtag2"]},{"1352262892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262894, 1352262900, 1352262890, 1352262896, 1352262898, 1352262892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.523386001586914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:22:32.472621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_25_10373.jpg', '/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_34_9426.jpg', '/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_44_10379.jpg', '/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_54_9425.jpg', '/home/pi/Desktop/images/20042025/16/50/image_20042025_16_51_04_10366.jpg', '/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_25_10373.jpg
/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_34_9426.jpg
/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_44_10379.jpg
/home/pi/Desktop/images/20042025/16/50/image_20042025_16_50_54_9425.jpg
/home/pi/Desktop/images/20042025/16/50/image_20042025_16_51_04_10366.jpg
/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262922","1352262919","1352262924","1352262921","1352262911","1352262914"],"photo_ids_order":["1352262911","1352262914","1352262919","1352262921","1352262922","1352262924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b2f5cda7a665f5f6a62436b37f5ae28.jpg","text":"TemporaryFile(/tmp/multipartBody6927824867903573634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169812930,"filename":"image_20042025_16_51_04_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c58ad21b87942fdb045a130a71957740.jpg","text":"TemporaryFile(/tmp/multipartBody7580837507608999529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169812930,"filename":"image_20042025_16_50_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5dd98135643772d7d40ae045076f786.jpg","text":"TemporaryFile(/tmp/multipartBody7867521142570869803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169812930,"filename":"image_20042025_16_51_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec82993311d1e6f9ea9a9ec59b9428c8.jpg","text":"TemporaryFile(/tmp/multipartBody2049063517541061379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169812930,"filename":"image_20042025_16_50_54_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f502dcd986d9b5a83b4b8f4cbda13d7.jpg","text":"TemporaryFile(/tmp/multipartBody1110260380938279355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169812930,"filename":"image_20042025_16_50_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/572815a1e3b62605efffa9fcffbbd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody535014619013543691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169812930,"filename":"image_20042025_16_50_34_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262919","file1":"1352262914","file0":"1352262911","file4":"1352262922","file5":"1352262924","file3":"1352262921"},"map_files_photo_id_array":[{"photo_id":"1352262924","filename":"file5"},{"photo_id":"1352262919","filename":"file2"},{"photo_id":"1352262922","filename":"file4"},{"photo_id":"1352262914","filename":"file1"},{"photo_id":"1352262911","filename":"file0"},{"photo_id":"1352262921","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262922":["hashtag1","hashtag2"]},{"1352262919":["hashtag1","hashtag2"]},{"1352262924":["hashtag1","hashtag2"]},{"1352262921":["hashtag1","hashtag2"]},{"1352262911":["hashtag1","hashtag2"]},{"1352262914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262922, 1352262919, 1352262924, 1352262921, 1352262911, 1352262914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03542733192444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:23:32.788037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_24_9514.jpg', '/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_34_10348.jpg', '/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_45_10363.jpg', '/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_54_9356.jpg', '/home/pi/Desktop/images/20042025/16/51/image_20042025_16_52_05_10383.jpg', '/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_14_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_24_9514.jpg
/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_34_10348.jpg
/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_45_10363.jpg
/home/pi/Desktop/images/20042025/16/51/image_20042025_16_51_54_9356.jpg
/home/pi/Desktop/images/20042025/16/51/image_20042025_16_52_05_10383.jpg
/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_14_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262940","1352262934","1352262937","1352262942","1352262945","1352262948"],"photo_ids_order":["1352262934","1352262937","1352262940","1352262942","1352262945","1352262948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98094e0e11efb806dc94ddae27531cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8005440024736091114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169873241,"filename":"image_20042025_16_51_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ca17832c4b41fcaa62402631b1dfcd6.jpg","text":"TemporaryFile(/tmp/multipartBody1118102867290232004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169873241,"filename":"image_20042025_16_51_24_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b7acb8d3ef34513145bd0bfec3cf654.jpg","text":"TemporaryFile(/tmp/multipartBody3519462465427632651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169873241,"filename":"image_20042025_16_51_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4136873786479cbd0716aa1fc752e600.jpg","text":"TemporaryFile(/tmp/multipartBody5128426566303926927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169873241,"filename":"image_20042025_16_51_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/306ac4f6754688d3466f70792422e687.jpg","text":"TemporaryFile(/tmp/multipartBody376784533916807482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169873241,"filename":"image_20042025_16_52_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b8790709b4b4ca005043f37832dbb1c.jpg","text":"TemporaryFile(/tmp/multipartBody6836955433664083564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169873241,"filename":"image_20042025_16_52_14_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262940","file1":"1352262937","file0":"1352262934","file4":"1352262945","file5":"1352262948","file3":"1352262942"},"map_files_photo_id_array":[{"photo_id":"1352262948","filename":"file5"},{"photo_id":"1352262940","filename":"file2"},{"photo_id":"1352262945","filename":"file4"},{"photo_id":"1352262937","filename":"file1"},{"photo_id":"1352262934","filename":"file0"},{"photo_id":"1352262942","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262940":["hashtag1","hashtag2"]},{"1352262934":["hashtag1","hashtag2"]},{"1352262937":["hashtag1","hashtag2"]},{"1352262942":["hashtag1","hashtag2"]},{"1352262945":["hashtag1","hashtag2"]},{"1352262948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262940, 1352262934, 1352262937, 1352262942, 1352262945, 1352262948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.594543933868408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:24:32.895118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_24_10386.jpg', '/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_35_10370.jpg', '/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_44_9370.jpg', '/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_55_10431.jpg', '/home/pi/Desktop/images/20042025/16/52/image_20042025_16_53_04_9531.jpg', '/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_14_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_24_10386.jpg
/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_35_10370.jpg
/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_44_9370.jpg
/home/pi/Desktop/images/20042025/16/52/image_20042025_16_52_55_10431.jpg
/home/pi/Desktop/images/20042025/16/52/image_20042025_16_53_04_9531.jpg
/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_14_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262955","1352262969","1352262960","1352262963","1352262972","1352262966"],"photo_ids_order":["1352262955","1352262960","1352262963","1352262966","1352262969","1352262972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e58ec37a3c450590437acd4812f9311d.jpg","text":"TemporaryFile(/tmp/multipartBody2131541404675063193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169933345,"filename":"image_20042025_16_52_24_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58ee4cea1b7b1ad242574edc9deb9614.jpg","text":"TemporaryFile(/tmp/multipartBody3224587842932008807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169933345,"filename":"image_20042025_16_53_04_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/734d95724309dae6a532a69e431e873b.jpg","text":"TemporaryFile(/tmp/multipartBody2523920303886451755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169933345,"filename":"image_20042025_16_52_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32b20381be02a8efdea42926111055c7.jpg","text":"TemporaryFile(/tmp/multipartBody2523996458302681401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169933345,"filename":"image_20042025_16_52_44_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4e78919bb348262805636d7c4344a97.jpg","text":"TemporaryFile(/tmp/multipartBody8494758658709588110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169933345,"filename":"image_20042025_16_53_14_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26c668f487ff61499f5fc9aaa97d13a5.jpg","text":"TemporaryFile(/tmp/multipartBody5078662925985556367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169933345,"filename":"image_20042025_16_52_55_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262963","file1":"1352262960","file0":"1352262955","file4":"1352262969","file5":"1352262972","file3":"1352262966"},"map_files_photo_id_array":[{"photo_id":"1352262972","filename":"file5"},{"photo_id":"1352262963","filename":"file2"},{"photo_id":"1352262969","filename":"file4"},{"photo_id":"1352262960","filename":"file1"},{"photo_id":"1352262955","filename":"file0"},{"photo_id":"1352262966","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262955":["hashtag1","hashtag2"]},{"1352262969":["hashtag1","hashtag2"]},{"1352262960":["hashtag1","hashtag2"]},{"1352262963":["hashtag1","hashtag2"]},{"1352262972":["hashtag1","hashtag2"]},{"1352262966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262955, 1352262969, 1352262960, 1352262963, 1352262972, 1352262966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.720677375793457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:25:33.199060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_25_10396.jpg', '/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_34_9428.jpg', '/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_45_10366.jpg', '/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_54_9484.jpg', '/home/pi/Desktop/images/20042025/16/53/image_20042025_16_54_04_10379.jpg', '/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_15_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_25_10396.jpg
/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_34_9428.jpg
/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_45_10366.jpg
/home/pi/Desktop/images/20042025/16/53/image_20042025_16_53_54_9484.jpg
/home/pi/Desktop/images/20042025/16/53/image_20042025_16_54_04_10379.jpg
/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_15_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262976","1352262978","1352262986","1352262980","1352262982","1352262985"],"photo_ids_order":["1352262976","1352262978","1352262980","1352262982","1352262985","1352262986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c8251b05f80d5fcd37be9b1f4e1ef0e.jpg","text":"TemporaryFile(/tmp/multipartBody8780602703569134624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169993652,"filename":"image_20042025_16_53_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0db107b27388f86973a995c46be3d963.jpg","text":"TemporaryFile(/tmp/multipartBody2751242008232251471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169993652,"filename":"image_20042025_16_53_34_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/baf72779a27bb1bf99f59d2477fa64d8.jpg","text":"TemporaryFile(/tmp/multipartBody7295761356954672935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169993652,"filename":"image_20042025_16_54_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b9c129b4aaa66cd1a8e0822dea08128.jpg","text":"TemporaryFile(/tmp/multipartBody561259553497232789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169993652,"filename":"image_20042025_16_53_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac2858b0df9871c681854cf8f7fbc5db.jpg","text":"TemporaryFile(/tmp/multipartBody7927901289899431977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169993652,"filename":"image_20042025_16_53_54_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d31028fc8e894242c251130b3abd8b5.jpg","text":"TemporaryFile(/tmp/multipartBody8703827111315086410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745169993652,"filename":"image_20042025_16_54_04_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262980","file1":"1352262978","file0":"1352262976","file4":"1352262985","file5":"1352262986","file3":"1352262982"},"map_files_photo_id_array":[{"photo_id":"1352262986","filename":"file5"},{"photo_id":"1352262980","filename":"file2"},{"photo_id":"1352262985","filename":"file4"},{"photo_id":"1352262978","filename":"file1"},{"photo_id":"1352262976","filename":"file0"},{"photo_id":"1352262982","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352262976":["hashtag1","hashtag2"]},{"1352262978":["hashtag1","hashtag2"]},{"1352262986":["hashtag1","hashtag2"]},{"1352262980":["hashtag1","hashtag2"]},{"1352262982":["hashtag1","hashtag2"]},{"1352262985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352262976, 1352262978, 1352262986, 1352262980, 1352262982, 1352262985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.32100486755371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:26:32.303482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_24_9446.jpg', '/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_35_10407.jpg', '/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_44_9461.jpg', '/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_55_10361.jpg', '/home/pi/Desktop/images/20042025/16/54/image_20042025_16_55_04_9370.jpg', '/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_14_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_24_9446.jpg
/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_35_10407.jpg
/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_44_9461.jpg
/home/pi/Desktop/images/20042025/16/54/image_20042025_16_54_55_10361.jpg
/home/pi/Desktop/images/20042025/16/54/image_20042025_16_55_04_9370.jpg
/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_14_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263009","1352263011","1352262998","1352263004","1352263007","1352263001"],"photo_ids_order":["1352262998","1352263001","1352263004","1352263007","1352263009","1352263011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/930a67af8ace21a41a293ae4dbc9edb0.jpg","text":"TemporaryFile(/tmp/multipartBody675723969707542414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170052776,"filename":"image_20042025_16_55_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9d71a7b1451f81e60eb0775afd6113c.jpg","text":"TemporaryFile(/tmp/multipartBody1961524979203997229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170052776,"filename":"image_20042025_16_55_14_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8a2135bb03ccdc749e04c7c9a2e656b.jpg","text":"TemporaryFile(/tmp/multipartBody4327604485916662313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170052776,"filename":"image_20042025_16_54_24_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ac9c735e37792989c10b929f838376d.jpg","text":"TemporaryFile(/tmp/multipartBody5798565214627733790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170052776,"filename":"image_20042025_16_54_44_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6104a216d90efb67386f7f2356926bbb.jpg","text":"TemporaryFile(/tmp/multipartBody9094337116164828293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170052776,"filename":"image_20042025_16_54_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2770d1e86896f33172a1036894d3823e.jpg","text":"TemporaryFile(/tmp/multipartBody1144652582979037461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170052776,"filename":"image_20042025_16_54_35_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263004","file1":"1352263001","file0":"1352262998","file4":"1352263009","file5":"1352263011","file3":"1352263007"},"map_files_photo_id_array":[{"photo_id":"1352263011","filename":"file5"},{"photo_id":"1352263004","filename":"file2"},{"photo_id":"1352263009","filename":"file4"},{"photo_id":"1352263001","filename":"file1"},{"photo_id":"1352262998","filename":"file0"},{"photo_id":"1352263007","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263009":["hashtag1","hashtag2"]},{"1352263011":["hashtag1","hashtag2"]},{"1352262998":["hashtag1","hashtag2"]},{"1352263004":["hashtag1","hashtag2"]},{"1352263007":["hashtag1","hashtag2"]},{"1352263001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263009, 1352263011, 1352262998, 1352263004, 1352263007, 1352263001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27848792076111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:27:32.536689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_25_10380.jpg', '/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_34_9387.jpg', '/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_44_10364.jpg', '/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_55_10393.jpg', '/home/pi/Desktop/images/20042025/16/55/image_20042025_16_56_04_9388.jpg', '/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_25_10380.jpg
/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_34_9387.jpg
/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_44_10364.jpg
/home/pi/Desktop/images/20042025/16/55/image_20042025_16_55_55_10393.jpg
/home/pi/Desktop/images/20042025/16/55/image_20042025_16_56_04_9388.jpg
/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_15_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263026","1352263035","1352263029","1352263020","1352263037","1352263033"],"photo_ids_order":["1352263020","1352263026","1352263029","1352263033","1352263035","1352263037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f97c396e4c789187cb2f32aac930a429.jpg","text":"TemporaryFile(/tmp/multipartBody2769489250626956740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170112994,"filename":"image_20042025_16_55_34_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/308e715d48717387b94c04c68a0de3a6.jpg","text":"TemporaryFile(/tmp/multipartBody2939488882128912281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170112994,"filename":"image_20042025_16_56_04_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52f26c829c7e6b0cb8e38e7a39baa0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2241825058050680347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170112994,"filename":"image_20042025_16_55_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45ceccdf35840df6d0a6efc563cb0d23.jpg","text":"TemporaryFile(/tmp/multipartBody8040286728161851043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170112994,"filename":"image_20042025_16_55_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81cd5908fff4b0fa805ce4c95e002603.jpg","text":"TemporaryFile(/tmp/multipartBody6827514842403708246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170112994,"filename":"image_20042025_16_56_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/95dbef9da74d3aa46440e080ddc67791.jpg","text":"TemporaryFile(/tmp/multipartBody7495344696880755365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170112994,"filename":"image_20042025_16_55_55_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263029","file1":"1352263026","file0":"1352263020","file4":"1352263035","file5":"1352263037","file3":"1352263033"},"map_files_photo_id_array":[{"photo_id":"1352263037","filename":"file5"},{"photo_id":"1352263029","filename":"file2"},{"photo_id":"1352263035","filename":"file4"},{"photo_id":"1352263026","filename":"file1"},{"photo_id":"1352263020","filename":"file0"},{"photo_id":"1352263033","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263026":["hashtag1","hashtag2"]},{"1352263035":["hashtag1","hashtag2"]},{"1352263029":["hashtag1","hashtag2"]},{"1352263020":["hashtag1","hashtag2"]},{"1352263037":["hashtag1","hashtag2"]},{"1352263033":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263026, 1352263035, 1352263029, 1352263020, 1352263037, 1352263033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.745988368988037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:28:32.856780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_24_9465.jpg', '/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_34_10371.jpg', '/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_45_10396.jpg', '/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_54_9442.jpg', '/home/pi/Desktop/images/20042025/16/56/image_20042025_16_57_05_10373.jpg', '/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_14_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_24_9465.jpg
/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_34_10371.jpg
/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_45_10396.jpg
/home/pi/Desktop/images/20042025/16/56/image_20042025_16_56_54_9442.jpg
/home/pi/Desktop/images/20042025/16/56/image_20042025_16_57_05_10373.jpg
/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_14_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263056","1352263061","1352263055","1352263058","1352263063","1352263054"],"photo_ids_order":["1352263054","1352263055","1352263056","1352263058","1352263061","1352263063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3613d03af8b0f06a0c00c95a3b54ca39.jpg","text":"TemporaryFile(/tmp/multipartBody4023992473237910681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170173313,"filename":"image_20042025_16_56_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c767b622645852545e07fd537316a805.jpg","text":"TemporaryFile(/tmp/multipartBody4206458742700238873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170173313,"filename":"image_20042025_16_57_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a113a14aba51e7e54130eaa757b28e5.jpg","text":"TemporaryFile(/tmp/multipartBody4037140133406045495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170173313,"filename":"image_20042025_16_56_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd5b865fc6471324e487c7440bea6206.jpg","text":"TemporaryFile(/tmp/multipartBody8632351718396759774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170173313,"filename":"image_20042025_16_56_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad9d4b5fb007c7eabced9d1587396989.jpg","text":"TemporaryFile(/tmp/multipartBody7591195131708175778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170173313,"filename":"image_20042025_16_57_14_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dd440f6c46347a3bf4ed9152e8ffef3.jpg","text":"TemporaryFile(/tmp/multipartBody4557966819316049925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170173313,"filename":"image_20042025_16_56_24_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263056","file1":"1352263055","file0":"1352263054","file4":"1352263061","file5":"1352263063","file3":"1352263058"},"map_files_photo_id_array":[{"photo_id":"1352263063","filename":"file5"},{"photo_id":"1352263056","filename":"file2"},{"photo_id":"1352263061","filename":"file4"},{"photo_id":"1352263055","filename":"file1"},{"photo_id":"1352263054","filename":"file0"},{"photo_id":"1352263058","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263056":["hashtag1","hashtag2"]},{"1352263061":["hashtag1","hashtag2"]},{"1352263055":["hashtag1","hashtag2"]},{"1352263058":["hashtag1","hashtag2"]},{"1352263063":["hashtag1","hashtag2"]},{"1352263054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263056, 1352263061, 1352263055, 1352263058, 1352263063, 1352263054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.566691637039185 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:29:33.178653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_24_10384.jpg', '/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_34_9449.jpg', '/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_44_10370.jpg', '/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_55_10391.jpg', '/home/pi/Desktop/images/20042025/16/57/image_20042025_16_58_04_9467.jpg', '/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_14_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_24_10384.jpg
/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_34_9449.jpg
/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_44_10370.jpg
/home/pi/Desktop/images/20042025/16/57/image_20042025_16_57_55_10391.jpg
/home/pi/Desktop/images/20042025/16/57/image_20042025_16_58_04_9467.jpg
/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_14_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263092","1352263111","1352263085","1352263103","1352263109","1352263090"],"photo_ids_order":["1352263085","1352263090","1352263092","1352263103","1352263109","1352263111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7bdfb0076b6165fac4b12c89b1c05c6.jpg","text":"TemporaryFile(/tmp/multipartBody4849825066937765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170233642,"filename":"image_20042025_16_57_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/049b21bc7e6c4e5feb979c72ee090ad4.jpg","text":"TemporaryFile(/tmp/multipartBody254417992169223080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170233642,"filename":"image_20042025_16_58_14_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be935e2ae0bb0fd95c30b4ea7d08676b.jpg","text":"TemporaryFile(/tmp/multipartBody149581198453241949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170233642,"filename":"image_20042025_16_57_24_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92e5026dec93c31f1fca9a204b7e39f3.jpg","text":"TemporaryFile(/tmp/multipartBody7486662692125311317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170233642,"filename":"image_20042025_16_57_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fd1ac434175c91509d839d8edd1de8b.jpg","text":"TemporaryFile(/tmp/multipartBody6859023854794444176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170233642,"filename":"image_20042025_16_58_04_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59a0a4dbc29f26b62cb1717a2c2e5dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2903276974335486865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170233642,"filename":"image_20042025_16_57_34_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263092","file1":"1352263090","file0":"1352263085","file4":"1352263109","file5":"1352263111","file3":"1352263103"},"map_files_photo_id_array":[{"photo_id":"1352263111","filename":"file5"},{"photo_id":"1352263092","filename":"file2"},{"photo_id":"1352263109","filename":"file4"},{"photo_id":"1352263090","filename":"file1"},{"photo_id":"1352263085","filename":"file0"},{"photo_id":"1352263103","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263092":["hashtag1","hashtag2"]},{"1352263111":["hashtag1","hashtag2"]},{"1352263085":["hashtag1","hashtag2"]},{"1352263103":["hashtag1","hashtag2"]},{"1352263109":["hashtag1","hashtag2"]},{"1352263090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263092, 1352263111, 1352263085, 1352263103, 1352263109, 1352263090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.51361966133118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:30:32.363979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_25_10358.jpg', '/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_34_9406.jpg', '/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_45_10386.jpg', '/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_54_9400.jpg', '/home/pi/Desktop/images/20042025/16/58/image_20042025_16_59_04_10361.jpg', '/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_15_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_25_10358.jpg
/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_34_9406.jpg
/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_45_10386.jpg
/home/pi/Desktop/images/20042025/16/58/image_20042025_16_58_54_9400.jpg
/home/pi/Desktop/images/20042025/16/58/image_20042025_16_59_04_10361.jpg
/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_15_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263120","1352263123","1352263125","1352263128","1352263130","1352263132"],"photo_ids_order":["1352263120","1352263123","1352263125","1352263128","1352263130","1352263132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a46c582e452640666d3d19a14c7a00e6.jpg","text":"TemporaryFile(/tmp/multipartBody1349093697335243396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170292825,"filename":"image_20042025_16_58_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c990ebcd36e8980df8af7214a43c620.jpg","text":"TemporaryFile(/tmp/multipartBody587466828745512574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170292825,"filename":"image_20042025_16_58_34_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf7dcc047cfe4f9a4cd2bbeaefae976f.jpg","text":"TemporaryFile(/tmp/multipartBody5359320299750801668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170292825,"filename":"image_20042025_16_58_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/393af8323611ed01ef4a5156e96ea9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2435413019741559930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170292825,"filename":"image_20042025_16_58_54_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6a551241e70e8bf4dfdb1d7496b9391.jpg","text":"TemporaryFile(/tmp/multipartBody5663832565551716917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170292825,"filename":"image_20042025_16_59_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dccd7631114a462d6d2551d16cd66b6f.jpg","text":"TemporaryFile(/tmp/multipartBody1836056689127245882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170292825,"filename":"image_20042025_16_59_15_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263125","file1":"1352263123","file0":"1352263120","file4":"1352263130","file5":"1352263132","file3":"1352263128"},"map_files_photo_id_array":[{"photo_id":"1352263132","filename":"file5"},{"photo_id":"1352263125","filename":"file2"},{"photo_id":"1352263130","filename":"file4"},{"photo_id":"1352263123","filename":"file1"},{"photo_id":"1352263120","filename":"file0"},{"photo_id":"1352263128","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263120":["hashtag1","hashtag2"]},{"1352263123":["hashtag1","hashtag2"]},{"1352263125":["hashtag1","hashtag2"]},{"1352263128":["hashtag1","hashtag2"]},{"1352263130":["hashtag1","hashtag2"]},{"1352263132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263120, 1352263123, 1352263125, 1352263128, 1352263130, 1352263132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.786750316619873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:31:32.463118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_24_9366.jpg', '/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_34_10382.jpg', '/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_44_9356.jpg', '/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_54_10409.jpg', '/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_14_10076.jpg', '/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_24_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_24_9366.jpg
/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_34_10382.jpg
/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_44_9356.jpg
/home/pi/Desktop/images/20042025/16/59/image_20042025_16_59_54_10409.jpg
/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_14_10076.jpg
/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_24_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263149","1352263152","1352263160","1352263156","1352263144","1352263147"],"photo_ids_order":["1352263144","1352263147","1352263149","1352263152","1352263156","1352263160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df89ec25ec9285b575d279ccd1bce675.jpg","text":"TemporaryFile(/tmp/multipartBody1043098503948262458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170352931,"filename":"image_20042025_16_59_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/baa9d48480a73eda69307aaf1cb72ab3.jpg","text":"TemporaryFile(/tmp/multipartBody4508151319064802185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170352931,"filename":"image_20042025_16_59_54_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94f55b97e4836d130ca0177fb2a4a684.jpg","text":"TemporaryFile(/tmp/multipartBody1905945492390338632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170352931,"filename":"image_20042025_17_01_24_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1d387bdea68e4d891a7bd65f9021534.jpg","text":"TemporaryFile(/tmp/multipartBody8838882616521963035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170352931,"filename":"image_20042025_17_01_14_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06c1a784cf2b76da42cc0466ac0063e7.jpg","text":"TemporaryFile(/tmp/multipartBody3786414068789320109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170352931,"filename":"image_20042025_16_59_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea27471486209976f02f8dab6e171278.jpg","text":"TemporaryFile(/tmp/multipartBody9034375129461396801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170352931,"filename":"image_20042025_16_59_34_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263149","file1":"1352263147","file0":"1352263144","file4":"1352263156","file5":"1352263160","file3":"1352263152"},"map_files_photo_id_array":[{"photo_id":"1352263160","filename":"file5"},{"photo_id":"1352263149","filename":"file2"},{"photo_id":"1352263156","filename":"file4"},{"photo_id":"1352263147","filename":"file1"},{"photo_id":"1352263144","filename":"file0"},{"photo_id":"1352263152","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263149":["hashtag1","hashtag2"]},{"1352263152":["hashtag1","hashtag2"]},{"1352263160":["hashtag1","hashtag2"]},{"1352263156":["hashtag1","hashtag2"]},{"1352263144":["hashtag1","hashtag2"]},{"1352263147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263149, 1352263152, 1352263160, 1352263156, 1352263144, 1352263147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.084523916244507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:32:32.822028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_35_10364.jpg', '/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_44_9424.jpg', '/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_55_10400.jpg', '/home/pi/Desktop/images/20042025/17/01/image_20042025_17_02_04_9429.jpg', '/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_14_10371.jpg', '/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_25_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_35_10364.jpg
/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_44_9424.jpg
/home/pi/Desktop/images/20042025/17/01/image_20042025_17_01_55_10400.jpg
/home/pi/Desktop/images/20042025/17/01/image_20042025_17_02_04_9429.jpg
/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_14_10371.jpg
/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_25_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263190","1352263184","1352263187","1352263172","1352263175","1352263180"],"photo_ids_order":["1352263172","1352263175","1352263180","1352263184","1352263187","1352263190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df4c4c688421a68f9802cc7f5f794bdf.jpg","text":"TemporaryFile(/tmp/multipartBody9159943942353355764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170413286,"filename":"image_20042025_17_02_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c01ce2426abef06f1fcebbc5894bde31.jpg","text":"TemporaryFile(/tmp/multipartBody3808589234342142133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170413286,"filename":"image_20042025_17_02_04_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c821d1ddbd3865bc47b98207ed31162.jpg","text":"TemporaryFile(/tmp/multipartBody5711442054063692406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170413286,"filename":"image_20042025_17_02_14_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e83375391e11c78d57a494adecb3ff2c.jpg","text":"TemporaryFile(/tmp/multipartBody3025764876435399892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170413286,"filename":"image_20042025_17_01_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8362351c254f4cabdc3834dce0cec342.jpg","text":"TemporaryFile(/tmp/multipartBody204483012370118193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170413286,"filename":"image_20042025_17_01_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0227986b5971d42cfd804d457373fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6280006996299329871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170413286,"filename":"image_20042025_17_01_55_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263180","file1":"1352263175","file0":"1352263172","file4":"1352263187","file5":"1352263190","file3":"1352263184"},"map_files_photo_id_array":[{"photo_id":"1352263190","filename":"file5"},{"photo_id":"1352263180","filename":"file2"},{"photo_id":"1352263187","filename":"file4"},{"photo_id":"1352263175","filename":"file1"},{"photo_id":"1352263172","filename":"file0"},{"photo_id":"1352263184","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263190":["hashtag1","hashtag2"]},{"1352263184":["hashtag1","hashtag2"]},{"1352263187":["hashtag1","hashtag2"]},{"1352263172":["hashtag1","hashtag2"]},{"1352263175":["hashtag1","hashtag2"]},{"1352263180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263190, 1352263184, 1352263187, 1352263172, 1352263175, 1352263180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30144023895264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:33:32.965919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_34_9375.jpg', '/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_45_10363.jpg', '/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_54_9389.jpg', '/home/pi/Desktop/images/20042025/17/02/image_20042025_17_03_04_10368.jpg', '/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_15_10355.jpg', '/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_24_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_34_9375.jpg
/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_45_10363.jpg
/home/pi/Desktop/images/20042025/17/02/image_20042025_17_02_54_9389.jpg
/home/pi/Desktop/images/20042025/17/02/image_20042025_17_03_04_10368.jpg
/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_15_10355.jpg
/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_24_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263204","1352263197","1352263212","1352263215","1352263217","1352263208"],"photo_ids_order":["1352263197","1352263204","1352263208","1352263212","1352263215","1352263217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f62f2852102e5ea42475d490c05c84e.jpg","text":"TemporaryFile(/tmp/multipartBody828312942895745674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170473426,"filename":"image_20042025_17_02_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3394af82e702bf393d9dfbb24415d16c.jpg","text":"TemporaryFile(/tmp/multipartBody59465569786040511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170473426,"filename":"image_20042025_17_02_34_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/630ed920bb3ce18d4e76e3fc427b3d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1145170308867097495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170473426,"filename":"image_20042025_17_03_04_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1ad997cadcc55be3c6d551ed58f530d.jpg","text":"TemporaryFile(/tmp/multipartBody5486811899813029492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170473426,"filename":"image_20042025_17_03_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c5c4e247e4c2697ad4bf2103f90cdec.jpg","text":"TemporaryFile(/tmp/multipartBody8340079336223299134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170473426,"filename":"image_20042025_17_03_24_9558.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc7a4b705422c6ed155e09be76a72ac5.jpg","text":"TemporaryFile(/tmp/multipartBody4662698761430525771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170473426,"filename":"image_20042025_17_02_54_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263208","file1":"1352263204","file0":"1352263197","file4":"1352263215","file5":"1352263217","file3":"1352263212"},"map_files_photo_id_array":[{"photo_id":"1352263217","filename":"file5"},{"photo_id":"1352263208","filename":"file2"},{"photo_id":"1352263215","filename":"file4"},{"photo_id":"1352263204","filename":"file1"},{"photo_id":"1352263197","filename":"file0"},{"photo_id":"1352263212","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263204":["hashtag1","hashtag2"]},{"1352263197":["hashtag1","hashtag2"]},{"1352263212":["hashtag1","hashtag2"]},{"1352263215":["hashtag1","hashtag2"]},{"1352263217":["hashtag1","hashtag2"]},{"1352263208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263204, 1352263197, 1352263212, 1352263215, 1352263217, 1352263208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.520777225494385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:34:33.120586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_35_10411.jpg', '/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_44_9415.jpg', '/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_54_10451.jpg', '/home/pi/Desktop/images/20042025/17/03/image_20042025_17_04_04_9353.jpg', '/home/pi/Desktop/images/20042025/17/04/image_20042025_17_04_14_10464.jpg', '/home/pi/Desktop/images/20042025/17/04/image_20042025_17_04_25_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_35_10411.jpg
/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_44_9415.jpg
/home/pi/Desktop/images/20042025/17/03/image_20042025_17_03_54_10451.jpg
/home/pi/Desktop/images/20042025/17/03/image_20042025_17_04_04_9353.jpg
/home/pi/Desktop/images/20042025/17/04/image_20042025_17_04_14_10464.jpg
/home/pi/Desktop/images/20042025/17/04/image_20042025_17_04_25_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263236","1352263239","1352263232","1352263241","1352263229","1352263225"],"photo_ids_order":["1352263225","1352263229","1352263232","1352263236","1352263239","1352263241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54483c08193cae3a63a7acac55884b5b.jpg","text":"TemporaryFile(/tmp/multipartBody6550659482233750274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170533584,"filename":"image_20042025_17_04_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a74e4163f0f06d706dc0b32b720c35b2.jpg","text":"TemporaryFile(/tmp/multipartBody527828101769900759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170533584,"filename":"image_20042025_17_04_14_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee5db2079fc18bdf49c95b5b76f07b85.jpg","text":"TemporaryFile(/tmp/multipartBody8789490513135905495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170533584,"filename":"image_20042025_17_03_54_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e4cc58ab164d31e6ccb24e651e643b3.jpg","text":"TemporaryFile(/tmp/multipartBody7166543283430967108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170533584,"filename":"image_20042025_17_04_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8a4df2f7229e2f81f730ca75cc5ea35.jpg","text":"TemporaryFile(/tmp/multipartBody2206917537567976815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170533584,"filename":"image_20042025_17_03_44_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d520b450442e08fc101d380fa9874bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2199057871097117854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170533584,"filename":"image_20042025_17_03_35_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263232","file1":"1352263229","file0":"1352263225","file4":"1352263239","file5":"1352263241","file3":"1352263236"},"map_files_photo_id_array":[{"photo_id":"1352263241","filename":"file5"},{"photo_id":"1352263232","filename":"file2"},{"photo_id":"1352263239","filename":"file4"},{"photo_id":"1352263229","filename":"file1"},{"photo_id":"1352263225","filename":"file0"},{"photo_id":"1352263236","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263236":["hashtag1","hashtag2"]},{"1352263239":["hashtag1","hashtag2"]},{"1352263232":["hashtag1","hashtag2"]},{"1352263241":["hashtag1","hashtag2"]},{"1352263229":["hashtag1","hashtag2"]},{"1352263225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263236, 1352263239, 1352263232, 1352263241, 1352263229, 1352263225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.605594158172607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:35:32.472666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/04/image_20042025_17_04_54_9379.jpg', '/home/pi/Desktop/images/20042025/17/04/image_20042025_17_05_04_10374.jpg', '/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_24_9431.jpg', '/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_35_10376.jpg', '/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_44_9364.jpg', '/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_54_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/04/image_20042025_17_04_54_9379.jpg
/home/pi/Desktop/images/20042025/17/04/image_20042025_17_05_04_10374.jpg
/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_24_9431.jpg
/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_35_10376.jpg
/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_44_9364.jpg
/home/pi/Desktop/images/20042025/17/05/image_20042025_17_05_54_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263260","1352263254","1352263265","1352263262","1352263264","1352263258"],"photo_ids_order":["1352263254","1352263258","1352263260","1352263262","1352263264","1352263265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/147406abf3fc4a5f5b1d36381c0de33f.jpg","text":"TemporaryFile(/tmp/multipartBody929194174203686776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170592943,"filename":"image_20042025_17_05_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a002cef8295938605759272f7c2ed31.jpg","text":"TemporaryFile(/tmp/multipartBody5794984740688195443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170592943,"filename":"image_20042025_17_04_54_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70940856ad6a14ae0763d8b4d14304a7.jpg","text":"TemporaryFile(/tmp/multipartBody8913300230975779586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170592943,"filename":"image_20042025_17_05_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cbffb9c3603625900e03bcb8b2c03a5.jpg","text":"TemporaryFile(/tmp/multipartBody3180081634610327930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170592943,"filename":"image_20042025_17_05_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7975255e398c3d4c3f7eaa9583312e32.jpg","text":"TemporaryFile(/tmp/multipartBody4469698606249665904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170592943,"filename":"image_20042025_17_05_44_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90ab7a1d3b9df9a7d070df6d65599c01.jpg","text":"TemporaryFile(/tmp/multipartBody7159025698400547710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170592943,"filename":"image_20042025_17_05_04_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263260","file1":"1352263258","file0":"1352263254","file4":"1352263264","file5":"1352263265","file3":"1352263262"},"map_files_photo_id_array":[{"photo_id":"1352263265","filename":"file5"},{"photo_id":"1352263260","filename":"file2"},{"photo_id":"1352263264","filename":"file4"},{"photo_id":"1352263258","filename":"file1"},{"photo_id":"1352263254","filename":"file0"},{"photo_id":"1352263262","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263260":["hashtag1","hashtag2"]},{"1352263254":["hashtag1","hashtag2"]},{"1352263265":["hashtag1","hashtag2"]},{"1352263262":["hashtag1","hashtag2"]},{"1352263264":["hashtag1","hashtag2"]},{"1352263258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263260, 1352263254, 1352263265, 1352263262, 1352263264, 1352263258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.491058588027954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:36:32.538794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/05/image_20042025_17_06_05_10382.jpg', '/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_14_9404.jpg', '/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_24_10402.jpg', '/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_35_10357.jpg', '/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_55_10368.jpg', '/home/pi/Desktop/images/20042025/17/06/image_20042025_17_07_04_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/05/image_20042025_17_06_05_10382.jpg
/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_14_9404.jpg
/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_24_10402.jpg
/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_35_10357.jpg
/home/pi/Desktop/images/20042025/17/06/image_20042025_17_06_55_10368.jpg
/home/pi/Desktop/images/20042025/17/06/image_20042025_17_07_04_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263290","1352263284","1352263293","1352263287","1352263283","1352263294"],"photo_ids_order":["1352263283","1352263284","1352263287","1352263290","1352263293","1352263294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce694cafbd3bdb2dafc4bec71bb06cca.jpg","text":"TemporaryFile(/tmp/multipartBody3568802987363607506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170653005,"filename":"image_20042025_17_06_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b3f1e25448848261e4dbc0b19ed55e4.jpg","text":"TemporaryFile(/tmp/multipartBody300794209551209519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170653005,"filename":"image_20042025_17_06_14_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/495f6a00383907f0b09a0d1f181f0ee0.jpg","text":"TemporaryFile(/tmp/multipartBody1560760924880316431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170653005,"filename":"image_20042025_17_06_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fe1c48ad6b821c1f0fbbfb45db72853.jpg","text":"TemporaryFile(/tmp/multipartBody3201343115048387770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170653005,"filename":"image_20042025_17_06_24_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edbd665545d10b62ad210ede9c101490.jpg","text":"TemporaryFile(/tmp/multipartBody1225025556417072355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170653005,"filename":"image_20042025_17_06_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8326b905dbba1dead7b8adc46f1da683.jpg","text":"TemporaryFile(/tmp/multipartBody4816231784891046806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170653005,"filename":"image_20042025_17_07_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263287","file1":"1352263284","file0":"1352263283","file4":"1352263293","file5":"1352263294","file3":"1352263290"},"map_files_photo_id_array":[{"photo_id":"1352263294","filename":"file5"},{"photo_id":"1352263287","filename":"file2"},{"photo_id":"1352263293","filename":"file4"},{"photo_id":"1352263284","filename":"file1"},{"photo_id":"1352263283","filename":"file0"},{"photo_id":"1352263290","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263290":["hashtag1","hashtag2"]},{"1352263284":["hashtag1","hashtag2"]},{"1352263293":["hashtag1","hashtag2"]},{"1352263287":["hashtag1","hashtag2"]},{"1352263283":["hashtag1","hashtag2"]},{"1352263294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263290, 1352263284, 1352263293, 1352263287, 1352263283, 1352263294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.613303661346436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:37:32.736913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/07/image_20042025_17_07_14_10379.jpg', '/home/pi/Desktop/images/20042025/17/07/image_20042025_17_07_44_10359.jpg', '/home/pi/Desktop/images/20042025/17/07/image_20042025_17_07_55_10395.jpg', '/home/pi/Desktop/images/20042025/17/07/image_20042025_17_08_04_9431.jpg', '/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_15_10355.jpg', '/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_24_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/07/image_20042025_17_07_14_10379.jpg
/home/pi/Desktop/images/20042025/17/07/image_20042025_17_07_44_10359.jpg
/home/pi/Desktop/images/20042025/17/07/image_20042025_17_07_55_10395.jpg
/home/pi/Desktop/images/20042025/17/07/image_20042025_17_08_04_9431.jpg
/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_15_10355.jpg
/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_24_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263312","1352263321","1352263315","1352263309","1352263317","1352263319"],"photo_ids_order":["1352263309","1352263312","1352263315","1352263317","1352263319","1352263321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3aa5d8e1d359b275b0d62726cdeba71.jpg","text":"TemporaryFile(/tmp/multipartBody1964710675805614633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170713209,"filename":"image_20042025_17_07_44_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfe11e32c000fac17a1c9ee5b3128671.jpg","text":"TemporaryFile(/tmp/multipartBody2073716876471698409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170713209,"filename":"image_20042025_17_08_24_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65c5060c950c210dd8583e512a0c72b4.jpg","text":"TemporaryFile(/tmp/multipartBody3643977808119439742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170713209,"filename":"image_20042025_17_07_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f55d87872901cc6530c5befaf0a84de8.jpg","text":"TemporaryFile(/tmp/multipartBody6114703905266581364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170713209,"filename":"image_20042025_17_07_14_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58f9676eefeb1bf81e179d570d64792c.jpg","text":"TemporaryFile(/tmp/multipartBody7327903823751263393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170713209,"filename":"image_20042025_17_08_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3cdb726ece9b7d70b2cb59337bb17c41.jpg","text":"TemporaryFile(/tmp/multipartBody1022558554076556674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170713209,"filename":"image_20042025_17_08_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263315","file1":"1352263312","file0":"1352263309","file4":"1352263319","file5":"1352263321","file3":"1352263317"},"map_files_photo_id_array":[{"photo_id":"1352263321","filename":"file5"},{"photo_id":"1352263315","filename":"file2"},{"photo_id":"1352263319","filename":"file4"},{"photo_id":"1352263312","filename":"file1"},{"photo_id":"1352263309","filename":"file0"},{"photo_id":"1352263317","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263312":["hashtag1","hashtag2"]},{"1352263321":["hashtag1","hashtag2"]},{"1352263315":["hashtag1","hashtag2"]},{"1352263309":["hashtag1","hashtag2"]},{"1352263317":["hashtag1","hashtag2"]},{"1352263319":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263312, 1352263321, 1352263315, 1352263309, 1352263317, 1352263319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08281207084656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:38:32.986549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_34_10402.jpg', '/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_45_10376.jpg', '/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_54_9450.jpg', '/home/pi/Desktop/images/20042025/17/08/image_20042025_17_09_05_10356.jpg', '/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_14_9504.jpg', '/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_25_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_34_10402.jpg
/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_45_10376.jpg
/home/pi/Desktop/images/20042025/17/08/image_20042025_17_08_54_9450.jpg
/home/pi/Desktop/images/20042025/17/08/image_20042025_17_09_05_10356.jpg
/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_14_9504.jpg
/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_25_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263348","1352263347","1352263335","1352263344","1352263338","1352263342"],"photo_ids_order":["1352263335","1352263338","1352263342","1352263344","1352263347","1352263348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54232ceefc9c384cdd174a65eb89309e.jpg","text":"TemporaryFile(/tmp/multipartBody4986469492695451224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170773442,"filename":"image_20042025_17_09_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f702391f1b4a32427ed7024dda2462a.jpg","text":"TemporaryFile(/tmp/multipartBody2789233871333646603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170773442,"filename":"image_20042025_17_09_14_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f69f06c611c337de10ae398ed6509c03.jpg","text":"TemporaryFile(/tmp/multipartBody3583911645945695401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170773442,"filename":"image_20042025_17_08_34_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70697e8402e5493a273b84056b56c7f3.jpg","text":"TemporaryFile(/tmp/multipartBody8941490927103607402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170773442,"filename":"image_20042025_17_09_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55e740ee10f28e1db2f1d352f06a9d56.jpg","text":"TemporaryFile(/tmp/multipartBody1477303984838605236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170773442,"filename":"image_20042025_17_08_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97a7766ac91678a690537885390789a2.jpg","text":"TemporaryFile(/tmp/multipartBody8442054415246403781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170773442,"filename":"image_20042025_17_08_54_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263342","file1":"1352263338","file0":"1352263335","file4":"1352263347","file5":"1352263348","file3":"1352263344"},"map_files_photo_id_array":[{"photo_id":"1352263348","filename":"file5"},{"photo_id":"1352263342","filename":"file2"},{"photo_id":"1352263347","filename":"file4"},{"photo_id":"1352263338","filename":"file1"},{"photo_id":"1352263335","filename":"file0"},{"photo_id":"1352263344","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263348":["hashtag1","hashtag2"]},{"1352263347":["hashtag1","hashtag2"]},{"1352263335":["hashtag1","hashtag2"]},{"1352263344":["hashtag1","hashtag2"]},{"1352263338":["hashtag1","hashtag2"]},{"1352263342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263348, 1352263347, 1352263335, 1352263344, 1352263338, 1352263342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.546321868896484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:39:32.204735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_34_9346.jpg', '/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_44_10398.jpg', '/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_55_10441.jpg', '/home/pi/Desktop/images/20042025/17/09/image_20042025_17_10_04_9356.jpg', '/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_14_10440.jpg', '/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_24_9510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_34_9346.jpg
/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_44_10398.jpg
/home/pi/Desktop/images/20042025/17/09/image_20042025_17_09_55_10441.jpg
/home/pi/Desktop/images/20042025/17/09/image_20042025_17_10_04_9356.jpg
/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_14_10440.jpg
/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_24_9510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263374","1352263370","1352263358","1352263372","1352263360","1352263363"],"photo_ids_order":["1352263358","1352263360","1352263363","1352263370","1352263372","1352263374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18dbb8bbd0b3dbc2dde6240cdb8914c8.jpg","text":"TemporaryFile(/tmp/multipartBody7163640218023768696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170832669,"filename":"image_20042025_17_10_24_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f10f8dd7896097c2f651312b70e0e44f.jpg","text":"TemporaryFile(/tmp/multipartBody2199775106230126978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170832669,"filename":"image_20042025_17_10_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f021085af60023488e51dab4a8b240a6.jpg","text":"TemporaryFile(/tmp/multipartBody4269927367682466597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170832669,"filename":"image_20042025_17_09_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b14ee366161bf69fba56eaf365e5092.jpg","text":"TemporaryFile(/tmp/multipartBody2011857282583130179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170832669,"filename":"image_20042025_17_10_14_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07a10f28d1afb7409d88a3cd26b34cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2610486299755610381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170832669,"filename":"image_20042025_17_09_44_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9e6cbe0283684fd83630fb518597963.jpg","text":"TemporaryFile(/tmp/multipartBody3780920238035856011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170832669,"filename":"image_20042025_17_09_55_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263363","file1":"1352263360","file0":"1352263358","file4":"1352263372","file5":"1352263374","file3":"1352263370"},"map_files_photo_id_array":[{"photo_id":"1352263374","filename":"file5"},{"photo_id":"1352263363","filename":"file2"},{"photo_id":"1352263372","filename":"file4"},{"photo_id":"1352263360","filename":"file1"},{"photo_id":"1352263358","filename":"file0"},{"photo_id":"1352263370","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263374":["hashtag1","hashtag2"]},{"1352263370":["hashtag1","hashtag2"]},{"1352263358":["hashtag1","hashtag2"]},{"1352263372":["hashtag1","hashtag2"]},{"1352263360":["hashtag1","hashtag2"]},{"1352263363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263374, 1352263370, 1352263358, 1352263372, 1352263360, 1352263363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.642201900482178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:40:32.415253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_34_10368.jpg', '/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_45_10371.jpg', '/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_54_9359.jpg', '/home/pi/Desktop/images/20042025/17/10/image_20042025_17_11_04_10357.jpg', '/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_14_9347.jpg', '/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_24_10524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_34_10368.jpg
/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_45_10371.jpg
/home/pi/Desktop/images/20042025/17/10/image_20042025_17_10_54_9359.jpg
/home/pi/Desktop/images/20042025/17/10/image_20042025_17_11_04_10357.jpg
/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_14_9347.jpg
/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_24_10524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263392","1352263389","1352263401","1352263404","1352263397","1352263403"],"photo_ids_order":["1352263389","1352263392","1352263397","1352263401","1352263403","1352263404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7aa66769e6da340dff13ff8bdf81e36.jpg","text":"TemporaryFile(/tmp/multipartBody2700778276730099700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170892880,"filename":"image_20042025_17_10_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d74ae608412f70ccd8408ad7560a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody7838057493103725319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170892880,"filename":"image_20042025_17_10_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/596bc2d9e5f057356c762c00ebda8536.jpg","text":"TemporaryFile(/tmp/multipartBody1821928199432256439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170892880,"filename":"image_20042025_17_11_04_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/513aed0be7d8e32d9f705e987ce01691.jpg","text":"TemporaryFile(/tmp/multipartBody4390499413934771512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170892880,"filename":"image_20042025_17_11_24_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/06159b53701c62cbc1fda8d400db7e2d.jpg","text":"TemporaryFile(/tmp/multipartBody5314757547603334563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170892880,"filename":"image_20042025_17_10_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b4b0f20f56b0f88b40b46e17c713fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7604930018244590474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170892880,"filename":"image_20042025_17_11_14_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263397","file1":"1352263392","file0":"1352263389","file4":"1352263403","file5":"1352263404","file3":"1352263401"},"map_files_photo_id_array":[{"photo_id":"1352263404","filename":"file5"},{"photo_id":"1352263397","filename":"file2"},{"photo_id":"1352263403","filename":"file4"},{"photo_id":"1352263392","filename":"file1"},{"photo_id":"1352263389","filename":"file0"},{"photo_id":"1352263401","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263392":["hashtag1","hashtag2"]},{"1352263389":["hashtag1","hashtag2"]},{"1352263401":["hashtag1","hashtag2"]},{"1352263404":["hashtag1","hashtag2"]},{"1352263397":["hashtag1","hashtag2"]},{"1352263403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263392, 1352263389, 1352263401, 1352263404, 1352263397, 1352263403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.385222911834717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:41:32.566684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_35_10358.jpg', '/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_44_9362.jpg', '/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_54_10364.jpg', '/home/pi/Desktop/images/20042025/17/11/image_20042025_17_12_05_10355.jpg', '/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_14_9504.jpg', '/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_25_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_35_10358.jpg
/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_44_9362.jpg
/home/pi/Desktop/images/20042025/17/11/image_20042025_17_11_54_10364.jpg
/home/pi/Desktop/images/20042025/17/11/image_20042025_17_12_05_10355.jpg
/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_14_9504.jpg
/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_25_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263434","1352263428","1352263416","1352263431","1352263424","1352263421"],"photo_ids_order":["1352263416","1352263421","1352263424","1352263428","1352263431","1352263434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65f7790d926d3f093cfcdaf2ad24d16f.jpg","text":"TemporaryFile(/tmp/multipartBody2191702972398529528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170953028,"filename":"image_20042025_17_12_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/851edb7464c53aa016d53d03cb71a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody2268759848235676620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170953028,"filename":"image_20042025_17_12_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/014e155c82418e994eea2ae0c42d5470.jpg","text":"TemporaryFile(/tmp/multipartBody3850346025997383674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170953028,"filename":"image_20042025_17_11_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee02b2313cd6269b77beb8dc24ad4f75.jpg","text":"TemporaryFile(/tmp/multipartBody1927010450511769450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170953028,"filename":"image_20042025_17_12_14_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cea81bdd1cf2a265c8fa5ba38d807877.jpg","text":"TemporaryFile(/tmp/multipartBody2059631552690468997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170953028,"filename":"image_20042025_17_11_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d1fe78c4f8fe1b5eb4b336c6a478061.jpg","text":"TemporaryFile(/tmp/multipartBody6699689638480548697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745170953028,"filename":"image_20042025_17_11_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263424","file1":"1352263421","file0":"1352263416","file4":"1352263431","file5":"1352263434","file3":"1352263428"},"map_files_photo_id_array":[{"photo_id":"1352263434","filename":"file5"},{"photo_id":"1352263424","filename":"file2"},{"photo_id":"1352263431","filename":"file4"},{"photo_id":"1352263421","filename":"file1"},{"photo_id":"1352263416","filename":"file0"},{"photo_id":"1352263428","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263434":["hashtag1","hashtag2"]},{"1352263428":["hashtag1","hashtag2"]},{"1352263416":["hashtag1","hashtag2"]},{"1352263431":["hashtag1","hashtag2"]},{"1352263424":["hashtag1","hashtag2"]},{"1352263421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263434, 1352263428, 1352263416, 1352263431, 1352263424, 1352263421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.00296449661255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:42:32.722323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_34_9453.jpg', '/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_44_10382.jpg', '/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_54_9370.jpg', '/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_15_10389.jpg', '/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_24_9465.jpg', '/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_34_9453.jpg
/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_44_10382.jpg
/home/pi/Desktop/images/20042025/17/12/image_20042025_17_12_54_9370.jpg
/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_15_10389.jpg
/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_24_9465.jpg
/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_35_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263464","1352263461","1352263443","1352263466","1352263456","1352263459"],"photo_ids_order":["1352263443","1352263456","1352263459","1352263461","1352263464","1352263466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85c36c4331fedebc728a9949ece47e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5819955554703851014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171013211,"filename":"image_20042025_17_13_24_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e675cc8fb0d1e4324fb1cd1a4933e112.jpg","text":"TemporaryFile(/tmp/multipartBody5181264843218426130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171013211,"filename":"image_20042025_17_13_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b59f70bc641a0a8bcb2194cdd2dc444.jpg","text":"TemporaryFile(/tmp/multipartBody7582248537847052676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171013211,"filename":"image_20042025_17_12_34_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca8bbbe613864b7903cacc8a0afd8d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4990748955362052946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171013211,"filename":"image_20042025_17_13_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4488cf04755e04081e1bd2cf28df8c5.jpg","text":"TemporaryFile(/tmp/multipartBody4086775308573825465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171013211,"filename":"image_20042025_17_12_44_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c08c1046b6f06855cdf16eab5ac05bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6159085552506738151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171013211,"filename":"image_20042025_17_12_54_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263459","file1":"1352263456","file0":"1352263443","file4":"1352263464","file5":"1352263466","file3":"1352263461"},"map_files_photo_id_array":[{"photo_id":"1352263466","filename":"file5"},{"photo_id":"1352263459","filename":"file2"},{"photo_id":"1352263464","filename":"file4"},{"photo_id":"1352263456","filename":"file1"},{"photo_id":"1352263443","filename":"file0"},{"photo_id":"1352263461","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263464":["hashtag1","hashtag2"]},{"1352263461":["hashtag1","hashtag2"]},{"1352263443":["hashtag1","hashtag2"]},{"1352263466":["hashtag1","hashtag2"]},{"1352263456":["hashtag1","hashtag2"]},{"1352263459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263464, 1352263461, 1352263443, 1352263466, 1352263456, 1352263459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16849422454834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:43:32.969218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_44_9464.jpg', '/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_54_10374.jpg', '/home/pi/Desktop/images/20042025/17/13/image_20042025_17_14_05_10402.jpg', '/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_14_9336.jpg', '/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_34_9363.jpg', '/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_44_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_44_9464.jpg
/home/pi/Desktop/images/20042025/17/13/image_20042025_17_13_54_10374.jpg
/home/pi/Desktop/images/20042025/17/13/image_20042025_17_14_05_10402.jpg
/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_14_9336.jpg
/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_34_9363.jpg
/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_44_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263491","1352263485","1352263488","1352263481","1352263475","1352263478"],"photo_ids_order":["1352263475","1352263478","1352263481","1352263485","1352263488","1352263491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2fc9e35061085b8a8f34df8de7445df.jpg","text":"TemporaryFile(/tmp/multipartBody6756690654869248232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171073433,"filename":"image_20042025_17_14_44_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/474625214a8b71e1e78b62ceb183216b.jpg","text":"TemporaryFile(/tmp/multipartBody8253958854503105973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171073433,"filename":"image_20042025_17_14_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6f7bf1621f0515982f456bd094d3476.jpg","text":"TemporaryFile(/tmp/multipartBody9216823005524449745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171073433,"filename":"image_20042025_17_14_34_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8efd49e0a18a77dd85a1ad85cda4244f.jpg","text":"TemporaryFile(/tmp/multipartBody6110738030705117840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171073433,"filename":"image_20042025_17_14_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eac54a91e862ea3d680cfcaa35c4fb44.jpg","text":"TemporaryFile(/tmp/multipartBody5598951313332575900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171073433,"filename":"image_20042025_17_13_44_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9a13e1c222fb1d292e596706cf53862.jpg","text":"TemporaryFile(/tmp/multipartBody5437597704707403887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171073433,"filename":"image_20042025_17_13_54_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263481","file1":"1352263478","file0":"1352263475","file4":"1352263488","file5":"1352263491","file3":"1352263485"},"map_files_photo_id_array":[{"photo_id":"1352263491","filename":"file5"},{"photo_id":"1352263481","filename":"file2"},{"photo_id":"1352263488","filename":"file4"},{"photo_id":"1352263478","filename":"file1"},{"photo_id":"1352263475","filename":"file0"},{"photo_id":"1352263485","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263491":["hashtag1","hashtag2"]},{"1352263485":["hashtag1","hashtag2"]},{"1352263488":["hashtag1","hashtag2"]},{"1352263481":["hashtag1","hashtag2"]},{"1352263475":["hashtag1","hashtag2"]},{"1352263478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263491, 1352263485, 1352263488, 1352263481, 1352263475, 1352263478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.495972633361816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:44:32.251669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_55_10366.jpg', '/home/pi/Desktop/images/20042025/17/14/image_20042025_17_15_04_9384.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_14_10368.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_25_10395.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_34_9367.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_45_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_55_10366.jpg
/home/pi/Desktop/images/20042025/17/14/image_20042025_17_15_04_9384.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_14_10368.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_25_10395.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_34_9367.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_45_10382.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3967001438140869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 19:44:42.192828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_55_10366.jpg', '/home/pi/Desktop/images/20042025/17/14/image_20042025_17_15_04_9384.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_14_10368.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_25_10395.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_34_9367.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_45_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/14/image_20042025_17_14_55_10366.jpg
/home/pi/Desktop/images/20042025/17/14/image_20042025_17_15_04_9384.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_14_10368.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_25_10395.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_34_9367.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_45_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263519","1352263513","1352263509","1352263518","1352263511","1352263516"],"photo_ids_order":["1352263509","1352263511","1352263513","1352263516","1352263518","1352263519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/370c47c8570421af5bd7ac8ac80c9908.jpg","text":"TemporaryFile(/tmp/multipartBody741103154075879572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171142656,"filename":"image_20042025_17_15_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a594561450aa4445143f0cf45ce901ec.jpg","text":"TemporaryFile(/tmp/multipartBody6419147731589190935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171142656,"filename":"image_20042025_17_15_14_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/425b4b1471844f75fd1bb65534986a26.jpg","text":"TemporaryFile(/tmp/multipartBody8125859913629099540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171142656,"filename":"image_20042025_17_14_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/313b544a63107b3b7551dcb68481b12e.jpg","text":"TemporaryFile(/tmp/multipartBody6043999831499350519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171142656,"filename":"image_20042025_17_15_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8cffaa84f0976c6eb196855f325b926.jpg","text":"TemporaryFile(/tmp/multipartBody6207675514916724059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171142656,"filename":"image_20042025_17_15_04_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2141772e0b93db668ef0c8582dee948.jpg","text":"TemporaryFile(/tmp/multipartBody9135753940403314649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171142656,"filename":"image_20042025_17_15_25_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263513","file1":"1352263511","file0":"1352263509","file4":"1352263518","file5":"1352263519","file3":"1352263516"},"map_files_photo_id_array":[{"photo_id":"1352263519","filename":"file5"},{"photo_id":"1352263513","filename":"file2"},{"photo_id":"1352263518","filename":"file4"},{"photo_id":"1352263511","filename":"file1"},{"photo_id":"1352263509","filename":"file0"},{"photo_id":"1352263516","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263519":["hashtag1","hashtag2"]},{"1352263513":["hashtag1","hashtag2"]},{"1352263509":["hashtag1","hashtag2"]},{"1352263518":["hashtag1","hashtag2"]},{"1352263511":["hashtag1","hashtag2"]},{"1352263516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263519, 1352263513, 1352263509, 1352263518, 1352263511, 1352263516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.48754620552063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:45:32.347692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_54_9429.jpg', '/home/pi/Desktop/images/20042025/17/15/image_20042025_17_16_04_10384.jpg', '/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_15_10423.jpg', '/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_35_10461.jpg', '/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_44_9520.jpg', '/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_54_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_15_54_9429.jpg
/home/pi/Desktop/images/20042025/17/15/image_20042025_17_16_04_10384.jpg
/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_15_10423.jpg
/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_35_10461.jpg
/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_44_9520.jpg
/home/pi/Desktop/images/20042025/17/16/image_20042025_17_16_54_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263533","1352263536","1352263538","1352263535","1352263534","1352263537"],"photo_ids_order":["1352263533","1352263534","1352263535","1352263536","1352263537","1352263538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9451edc962b3800d758fee9102f82e76.jpg","text":"TemporaryFile(/tmp/multipartBody6584233951553739524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171192809,"filename":"image_20042025_17_15_54_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87c14923f70f04dd2b97347addb5ddc1.jpg","text":"TemporaryFile(/tmp/multipartBody1125586107314754994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171192809,"filename":"image_20042025_17_16_35_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2bcf8e5b8c0a7f8ab8fa0bd5405308d8.jpg","text":"TemporaryFile(/tmp/multipartBody238774958363472098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171192809,"filename":"image_20042025_17_16_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d2041dcfb4180fac318b1441e9301c1.jpg","text":"TemporaryFile(/tmp/multipartBody8444679552132705122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171192809,"filename":"image_20042025_17_16_15_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4cf36f4deb541385742f668feb66fe3.jpg","text":"TemporaryFile(/tmp/multipartBody7810277748153922234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171192809,"filename":"image_20042025_17_16_04_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15429d1210142186af990ac492974a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5440429733109130813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171192809,"filename":"image_20042025_17_16_44_9520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263535","file1":"1352263534","file0":"1352263533","file4":"1352263537","file5":"1352263538","file3":"1352263536"},"map_files_photo_id_array":[{"photo_id":"1352263538","filename":"file5"},{"photo_id":"1352263535","filename":"file2"},{"photo_id":"1352263537","filename":"file4"},{"photo_id":"1352263534","filename":"file1"},{"photo_id":"1352263533","filename":"file0"},{"photo_id":"1352263536","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263533":["hashtag1","hashtag2"]},{"1352263536":["hashtag1","hashtag2"]},{"1352263538":["hashtag1","hashtag2"]},{"1352263535":["hashtag1","hashtag2"]},{"1352263534":["hashtag1","hashtag2"]},{"1352263537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263533, 1352263536, 1352263538, 1352263535, 1352263534, 1352263537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.650723218917847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:46:32.480941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/16/image_20042025_17_17_04_9553.jpg', '/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_14_10353.jpg', '/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_24_9435.jpg', '/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_34_10375.jpg', '/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_45_10376.jpg', '/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_54_9492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/16/image_20042025_17_17_04_9553.jpg
/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_14_10353.jpg
/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_24_9435.jpg
/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_34_10375.jpg
/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_45_10376.jpg
/home/pi/Desktop/images/20042025/17/17/image_20042025_17_17_54_9492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263551","1352263560","1352263556","1352263547","1352263561","1352263558"],"photo_ids_order":["1352263547","1352263551","1352263556","1352263558","1352263560","1352263561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/633f01771926ebfbbf8608ef88950c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7052987597391509650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171252948,"filename":"image_20042025_17_17_14_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12c5656c6862eb36e390c8ea7bdd91cf.jpg","text":"TemporaryFile(/tmp/multipartBody784032697910861521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171252948,"filename":"image_20042025_17_17_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75225f96dd5d0533aa8bf8440527817a.jpg","text":"TemporaryFile(/tmp/multipartBody7532176401328624391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171252948,"filename":"image_20042025_17_17_24_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a8495aeadc1922b7290a6b700b016d9.jpg","text":"TemporaryFile(/tmp/multipartBody2232032779893674071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171252948,"filename":"image_20042025_17_17_04_9553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa91ab382cf942b6313f3da28b579dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1682112700523007779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171252948,"filename":"image_20042025_17_17_54_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ccdcdd4d2d34f8a5c4b05ccc2560a765.jpg","text":"TemporaryFile(/tmp/multipartBody3505232684651532880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171252948,"filename":"image_20042025_17_17_34_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263556","file1":"1352263551","file0":"1352263547","file4":"1352263560","file5":"1352263561","file3":"1352263558"},"map_files_photo_id_array":[{"photo_id":"1352263561","filename":"file5"},{"photo_id":"1352263556","filename":"file2"},{"photo_id":"1352263560","filename":"file4"},{"photo_id":"1352263551","filename":"file1"},{"photo_id":"1352263547","filename":"file0"},{"photo_id":"1352263558","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263551":["hashtag1","hashtag2"]},{"1352263560":["hashtag1","hashtag2"]},{"1352263556":["hashtag1","hashtag2"]},{"1352263547":["hashtag1","hashtag2"]},{"1352263561":["hashtag1","hashtag2"]},{"1352263558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263551, 1352263560, 1352263556, 1352263547, 1352263561, 1352263558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37066411972046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:47:32.613216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_14_9385.jpg', '/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_24_10381.jpg', '/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_35_10363.jpg', '/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_44_9445.jpg', '/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_54_10388.jpg', '/home/pi/Desktop/images/20042025/17/18/image_20042025_17_19_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_14_9385.jpg
/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_24_10381.jpg
/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_35_10363.jpg
/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_44_9445.jpg
/home/pi/Desktop/images/20042025/17/18/image_20042025_17_18_54_10388.jpg
/home/pi/Desktop/images/20042025/17/18/image_20042025_17_19_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263581","1352263587","1352263583","1352263585","1352263579","1352263576"],"photo_ids_order":["1352263576","1352263579","1352263581","1352263583","1352263585","1352263587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8869b0b06ad1c91e5df1e4a34b066f0f.jpg","text":"TemporaryFile(/tmp/multipartBody119537227809531989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171313083,"filename":"image_20042025_17_18_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/759fcbd1e2beff1f89ff2975dd5e5ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2406675203470474563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171313083,"filename":"image_20042025_17_19_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83a30e5419fe2cd25a81b06c423b4d3f.jpg","text":"TemporaryFile(/tmp/multipartBody4512754630564525745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171313083,"filename":"image_20042025_17_18_44_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/645662b84ca42bdceb7db4efcce5e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody933368248911987733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171313083,"filename":"image_20042025_17_18_54_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1974a23657889fd6e9f9d265fd46dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody3196529710027723050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171313083,"filename":"image_20042025_17_18_24_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34f0fb98c15def794059d953419e7ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7943436862199561793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171313083,"filename":"image_20042025_17_18_14_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263581","file1":"1352263579","file0":"1352263576","file4":"1352263585","file5":"1352263587","file3":"1352263583"},"map_files_photo_id_array":[{"photo_id":"1352263587","filename":"file5"},{"photo_id":"1352263581","filename":"file2"},{"photo_id":"1352263585","filename":"file4"},{"photo_id":"1352263579","filename":"file1"},{"photo_id":"1352263576","filename":"file0"},{"photo_id":"1352263583","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263581":["hashtag1","hashtag2"]},{"1352263587":["hashtag1","hashtag2"]},{"1352263583":["hashtag1","hashtag2"]},{"1352263585":["hashtag1","hashtag2"]},{"1352263579":["hashtag1","hashtag2"]},{"1352263576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263581, 1352263587, 1352263583, 1352263585, 1352263579, 1352263576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.495800971984863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:48:32.895582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_14_9444.jpg', '/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_25_10362.jpg', '/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_34_9420.jpg', '/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_44_10429.jpg', '/home/pi/Desktop/images/20042025/17/20/image_20042025_17_20_34_10366.jpg', '/home/pi/Desktop/images/20042025/17/20/image_20042025_17_20_44_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_14_9444.jpg
/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_25_10362.jpg
/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_34_9420.jpg
/home/pi/Desktop/images/20042025/17/19/image_20042025_17_19_44_10429.jpg
/home/pi/Desktop/images/20042025/17/20/image_20042025_17_20_34_10366.jpg
/home/pi/Desktop/images/20042025/17/20/image_20042025_17_20_44_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263612","1352263606","1352263608","1352263610","1352263604","1352263601"],"photo_ids_order":["1352263601","1352263604","1352263606","1352263608","1352263610","1352263612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e462a4de384b0cf9c06f3306dd8876cc.jpg","text":"TemporaryFile(/tmp/multipartBody136094857936193049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171373360,"filename":"image_20042025_17_20_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eea6d220b8672e57ab52996c366877d1.jpg","text":"TemporaryFile(/tmp/multipartBody8919349481128109104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171373360,"filename":"image_20042025_17_19_34_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24b833fdc586e6525148d823e6a2b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7231425013648526279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171373360,"filename":"image_20042025_17_19_44_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d10c2a97d2fc1db8c4fce2d4dda13206.jpg","text":"TemporaryFile(/tmp/multipartBody581429507544482827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171373360,"filename":"image_20042025_17_20_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03a1f33d5a7434ef9a548f1ef5fe2b57.jpg","text":"TemporaryFile(/tmp/multipartBody4322796473758486706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171373360,"filename":"image_20042025_17_19_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8beb7ff5a46a9d577e9847be275eceb8.jpg","text":"TemporaryFile(/tmp/multipartBody6019086785101315170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171373360,"filename":"image_20042025_17_19_14_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263606","file1":"1352263604","file0":"1352263601","file4":"1352263610","file5":"1352263612","file3":"1352263608"},"map_files_photo_id_array":[{"photo_id":"1352263612","filename":"file5"},{"photo_id":"1352263606","filename":"file2"},{"photo_id":"1352263610","filename":"file4"},{"photo_id":"1352263604","filename":"file1"},{"photo_id":"1352263601","filename":"file0"},{"photo_id":"1352263608","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263612":["hashtag1","hashtag2"]},{"1352263606":["hashtag1","hashtag2"]},{"1352263608":["hashtag1","hashtag2"]},{"1352263610":["hashtag1","hashtag2"]},{"1352263604":["hashtag1","hashtag2"]},{"1352263601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263612, 1352263606, 1352263608, 1352263610, 1352263604, 1352263601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.198805570602417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:49:33.160156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/20/image_20042025_17_20_54_10388.jpg', '/home/pi/Desktop/images/20042025/17/20/image_20042025_17_21_05_10457.jpg', '/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_14_9361.jpg', '/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_24_10379.jpg', '/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_34_9413.jpg', '/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_44_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/20/image_20042025_17_20_54_10388.jpg
/home/pi/Desktop/images/20042025/17/20/image_20042025_17_21_05_10457.jpg
/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_14_9361.jpg
/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_24_10379.jpg
/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_34_9413.jpg
/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_44_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263630","1352263624","1352263627","1352263638","1352263634","1352263636"],"photo_ids_order":["1352263624","1352263627","1352263630","1352263634","1352263636","1352263638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27ee94dae071170576798186d5d9831c.jpg","text":"TemporaryFile(/tmp/multipartBody5690220925418633276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171433638,"filename":"image_20042025_17_21_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/520973928a327ebf5f704e02ffbfc0c5.jpg","text":"TemporaryFile(/tmp/multipartBody1882899900903454703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171433638,"filename":"image_20042025_17_20_54_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/731661b9e3d17171b099a4b23fccab24.jpg","text":"TemporaryFile(/tmp/multipartBody1285842997068556892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171433638,"filename":"image_20042025_17_21_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b0f3433d645df2d8d27e5dd09fa4e01.jpg","text":"TemporaryFile(/tmp/multipartBody7094938188707742731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171433638,"filename":"image_20042025_17_21_44_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/104aaff3d7060e4ebfe0932ea9298ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7077191289559805825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171433638,"filename":"image_20042025_17_21_24_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2c282390218f3337521afab4f34d8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3701003262310261692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171433638,"filename":"image_20042025_17_21_34_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263630","file1":"1352263627","file0":"1352263624","file4":"1352263636","file5":"1352263638","file3":"1352263634"},"map_files_photo_id_array":[{"photo_id":"1352263638","filename":"file5"},{"photo_id":"1352263630","filename":"file2"},{"photo_id":"1352263636","filename":"file4"},{"photo_id":"1352263627","filename":"file1"},{"photo_id":"1352263624","filename":"file0"},{"photo_id":"1352263634","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263630":["hashtag1","hashtag2"]},{"1352263624":["hashtag1","hashtag2"]},{"1352263627":["hashtag1","hashtag2"]},{"1352263638":["hashtag1","hashtag2"]},{"1352263634":["hashtag1","hashtag2"]},{"1352263636":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263630, 1352263624, 1352263627, 1352263638, 1352263634, 1352263636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.532153844833374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:50:32.330684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_55_10355.jpg', '/home/pi/Desktop/images/20042025/17/21/image_20042025_17_22_04_9529.jpg', '/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_15_10449.jpg', '/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_24_9412.jpg', '/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_34_10387.jpg', '/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_45_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/21/image_20042025_17_21_55_10355.jpg
/home/pi/Desktop/images/20042025/17/21/image_20042025_17_22_04_9529.jpg
/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_15_10449.jpg
/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_24_9412.jpg
/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_34_10387.jpg
/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_45_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263662","1352263650","1352263655","1352263658","1352263660","1352263657"],"photo_ids_order":["1352263650","1352263655","1352263657","1352263658","1352263660","1352263662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b595c99e91431a49cd5c256f7efa36c.jpg","text":"TemporaryFile(/tmp/multipartBody4207505439132648641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171492797,"filename":"image_20042025_17_22_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e300d1b65b63a413fdebe0853ebcad5d.jpg","text":"TemporaryFile(/tmp/multipartBody7084392600324403395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171492797,"filename":"image_20042025_17_21_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c46729b33c38a830b90c82b2db8fd183.jpg","text":"TemporaryFile(/tmp/multipartBody4850279503771808045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171492797,"filename":"image_20042025_17_22_04_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c2bca6228957802af4eeca134745728.jpg","text":"TemporaryFile(/tmp/multipartBody4569711106236259025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171492797,"filename":"image_20042025_17_22_24_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24f0596c83c882e001f2ef3f1288bfea.jpg","text":"TemporaryFile(/tmp/multipartBody3614250188100415824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171492797,"filename":"image_20042025_17_22_34_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c8cebf75f7b5c81d682fea3d95127fa.jpg","text":"TemporaryFile(/tmp/multipartBody3285051767624637605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171492797,"filename":"image_20042025_17_22_15_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263657","file1":"1352263655","file0":"1352263650","file4":"1352263660","file5":"1352263662","file3":"1352263658"},"map_files_photo_id_array":[{"photo_id":"1352263662","filename":"file5"},{"photo_id":"1352263657","filename":"file2"},{"photo_id":"1352263660","filename":"file4"},{"photo_id":"1352263655","filename":"file1"},{"photo_id":"1352263650","filename":"file0"},{"photo_id":"1352263658","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263662":["hashtag1","hashtag2"]},{"1352263650":["hashtag1","hashtag2"]},{"1352263655":["hashtag1","hashtag2"]},{"1352263658":["hashtag1","hashtag2"]},{"1352263660":["hashtag1","hashtag2"]},{"1352263657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263662, 1352263650, 1352263655, 1352263658, 1352263660, 1352263657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.22399067878723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:51:32.422276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_54_9411.jpg', '/home/pi/Desktop/images/20042025/17/22/image_20042025_17_23_05_10383.jpg', '/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_14_9431.jpg', '/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_24_10389.jpg', '/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_34_9445.jpg', '/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_44_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/22/image_20042025_17_22_54_9411.jpg
/home/pi/Desktop/images/20042025/17/22/image_20042025_17_23_05_10383.jpg
/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_14_9431.jpg
/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_24_10389.jpg
/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_34_9445.jpg
/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_44_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263677","1352263686","1352263688","1352263684","1352263681","1352263675"],"photo_ids_order":["1352263675","1352263677","1352263681","1352263684","1352263686","1352263688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8e6c1d514d93a56ba4b28c0a6beb8e2.jpg","text":"TemporaryFile(/tmp/multipartBody5821547412934477138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171552885,"filename":"image_20042025_17_23_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45437be0c27541ee361b9c1dc9098592.jpg","text":"TemporaryFile(/tmp/multipartBody7839329542812988100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171552885,"filename":"image_20042025_17_23_34_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c079687f56eec98bd67e1fc0457259a.jpg","text":"TemporaryFile(/tmp/multipartBody3820993427952142512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171552885,"filename":"image_20042025_17_23_44_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77fe5a0e9197c0e9963d6a6e03f4d8d1.jpg","text":"TemporaryFile(/tmp/multipartBody8524298727084457455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171552885,"filename":"image_20042025_17_23_24_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1db71137da280cfd6d18a4b8d8001c94.jpg","text":"TemporaryFile(/tmp/multipartBody1382323973841269886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171552885,"filename":"image_20042025_17_23_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1ef609e709151232b44ea89ae95c667e.jpg","text":"TemporaryFile(/tmp/multipartBody187965568553486962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171552885,"filename":"image_20042025_17_22_54_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263681","file1":"1352263677","file0":"1352263675","file4":"1352263686","file5":"1352263688","file3":"1352263684"},"map_files_photo_id_array":[{"photo_id":"1352263688","filename":"file5"},{"photo_id":"1352263681","filename":"file2"},{"photo_id":"1352263686","filename":"file4"},{"photo_id":"1352263677","filename":"file1"},{"photo_id":"1352263675","filename":"file0"},{"photo_id":"1352263684","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263677":["hashtag1","hashtag2"]},{"1352263686":["hashtag1","hashtag2"]},{"1352263688":["hashtag1","hashtag2"]},{"1352263684":["hashtag1","hashtag2"]},{"1352263681":["hashtag1","hashtag2"]},{"1352263675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263677, 1352263686, 1352263688, 1352263684, 1352263681, 1352263675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.917964220046997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:52:32.732562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_55_10429.jpg', '/home/pi/Desktop/images/20042025/17/23/image_20042025_17_24_04_9386.jpg', '/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_15_10428.jpg', '/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_24_9477.jpg', '/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_34_10365.jpg', '/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/23/image_20042025_17_23_55_10429.jpg
/home/pi/Desktop/images/20042025/17/23/image_20042025_17_24_04_9386.jpg
/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_15_10428.jpg
/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_24_9477.jpg
/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_34_10365.jpg
/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263717","1352263708","1352263710","1352263713","1352263716","1352263704"],"photo_ids_order":["1352263704","1352263708","1352263710","1352263713","1352263716","1352263717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b29e052fc92e488cd3f7fc5995932d01.jpg","text":"TemporaryFile(/tmp/multipartBody7884554157210537884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171613200,"filename":"image_20042025_17_24_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f72587b93ffdc4271e97ea41fcbbfb62.jpg","text":"TemporaryFile(/tmp/multipartBody7374335653136726485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171613200,"filename":"image_20042025_17_24_04_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9876e3f1047bc87a221d94a3906b31f6.jpg","text":"TemporaryFile(/tmp/multipartBody8020305163676791245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171613200,"filename":"image_20042025_17_24_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa3c9f073739fddde325ae7b79bbc9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4296499811594305889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171613200,"filename":"image_20042025_17_24_24_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c98eaee2c55ebec4fdd00023b00ff869.jpg","text":"TemporaryFile(/tmp/multipartBody5197492604531826799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171613200,"filename":"image_20042025_17_24_34_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b23a18c25efa90aa1ae16846873a1230.jpg","text":"TemporaryFile(/tmp/multipartBody8523361402109913665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171613200,"filename":"image_20042025_17_23_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263710","file1":"1352263708","file0":"1352263704","file4":"1352263716","file5":"1352263717","file3":"1352263713"},"map_files_photo_id_array":[{"photo_id":"1352263717","filename":"file5"},{"photo_id":"1352263710","filename":"file2"},{"photo_id":"1352263716","filename":"file4"},{"photo_id":"1352263708","filename":"file1"},{"photo_id":"1352263704","filename":"file0"},{"photo_id":"1352263713","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263717":["hashtag1","hashtag2"]},{"1352263708":["hashtag1","hashtag2"]},{"1352263710":["hashtag1","hashtag2"]},{"1352263713":["hashtag1","hashtag2"]},{"1352263716":["hashtag1","hashtag2"]},{"1352263704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263717, 1352263708, 1352263710, 1352263713, 1352263716, 1352263704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.544018268585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:53:32.991673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_54_9430.jpg', '/home/pi/Desktop/images/20042025/17/24/image_20042025_17_25_05_10387.jpg', '/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_14_9397.jpg', '/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_24_10390.jpg', '/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_35_10385.jpg', '/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_44_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/24/image_20042025_17_24_54_9430.jpg
/home/pi/Desktop/images/20042025/17/24/image_20042025_17_25_05_10387.jpg
/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_14_9397.jpg
/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_24_10390.jpg
/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_35_10385.jpg
/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_44_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263738","1352263742","1352263736","1352263733","1352263744","1352263741"],"photo_ids_order":["1352263733","1352263736","1352263738","1352263741","1352263742","1352263744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/143ca65f9f0f3f8b74b8572c376d48ae.jpg","text":"TemporaryFile(/tmp/multipartBody7666813329879626040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171673459,"filename":"image_20042025_17_25_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e62d2c72bf089738eb22d2c960f46f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2406487832688938034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171673459,"filename":"image_20042025_17_25_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f949152ffa7a795feabed7ba396d9287.jpg","text":"TemporaryFile(/tmp/multipartBody6483768423175264852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171673459,"filename":"image_20042025_17_25_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08d9ddd078c9e1237ff8ac1610056d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8461601056292784745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171673459,"filename":"image_20042025_17_24_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b895e29acfefebd34c6be955c4a38ba4.jpg","text":"TemporaryFile(/tmp/multipartBody9163262749428781934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171673459,"filename":"image_20042025_17_25_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8256f60ea5f3d822e9ebdb91b4bfe7d2.jpg","text":"TemporaryFile(/tmp/multipartBody317462004443778639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171673459,"filename":"image_20042025_17_25_24_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263738","file1":"1352263736","file0":"1352263733","file4":"1352263742","file5":"1352263744","file3":"1352263741"},"map_files_photo_id_array":[{"photo_id":"1352263744","filename":"file5"},{"photo_id":"1352263738","filename":"file2"},{"photo_id":"1352263742","filename":"file4"},{"photo_id":"1352263736","filename":"file1"},{"photo_id":"1352263733","filename":"file0"},{"photo_id":"1352263741","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263738":["hashtag1","hashtag2"]},{"1352263742":["hashtag1","hashtag2"]},{"1352263736":["hashtag1","hashtag2"]},{"1352263733":["hashtag1","hashtag2"]},{"1352263744":["hashtag1","hashtag2"]},{"1352263741":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263738, 1352263742, 1352263736, 1352263733, 1352263744, 1352263741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79015898704529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:54:32.307369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_55_10427.jpg', '/home/pi/Desktop/images/20042025/17/25/image_20042025_17_26_04_9420.jpg', '/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_14_10379.jpg', '/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_25_10421.jpg', '/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_34_9363.jpg', '/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/25/image_20042025_17_25_55_10427.jpg
/home/pi/Desktop/images/20042025/17/25/image_20042025_17_26_04_9420.jpg
/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_14_10379.jpg
/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_25_10421.jpg
/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_34_9363.jpg
/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_45_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263770","1352263766","1352263769","1352263760","1352263763","1352263756"],"photo_ids_order":["1352263756","1352263760","1352263763","1352263766","1352263769","1352263770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4558bdf09974f7edcf1d5acf7baec528.jpg","text":"TemporaryFile(/tmp/multipartBody894507472438666534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171732775,"filename":"image_20042025_17_26_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93ddd5cf41e416dde42000878592e0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1818839118324876820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171732775,"filename":"image_20042025_17_26_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92b9cb418c7c9500142fb8b6a772b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody9164397431476201642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171732775,"filename":"image_20042025_17_26_34_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cbaf4c1b1d39bafcd6fce947e5df5600.jpg","text":"TemporaryFile(/tmp/multipartBody6009583929893286200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171732775,"filename":"image_20042025_17_26_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e91dc62e6bfcd253a72cf5ecf9c6850.jpg","text":"TemporaryFile(/tmp/multipartBody3724904796559241714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171732775,"filename":"image_20042025_17_26_14_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/948838b227a1d8a287bfcc668cdd7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8839883951820126902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171732775,"filename":"image_20042025_17_25_55_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263763","file1":"1352263760","file0":"1352263756","file4":"1352263769","file5":"1352263770","file3":"1352263766"},"map_files_photo_id_array":[{"photo_id":"1352263770","filename":"file5"},{"photo_id":"1352263763","filename":"file2"},{"photo_id":"1352263769","filename":"file4"},{"photo_id":"1352263760","filename":"file1"},{"photo_id":"1352263756","filename":"file0"},{"photo_id":"1352263766","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263770":["hashtag1","hashtag2"]},{"1352263766":["hashtag1","hashtag2"]},{"1352263769":["hashtag1","hashtag2"]},{"1352263760":["hashtag1","hashtag2"]},{"1352263763":["hashtag1","hashtag2"]},{"1352263756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263770, 1352263766, 1352263769, 1352263760, 1352263763, 1352263756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79386854171753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:55:32.482188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_54_9489.jpg', '/home/pi/Desktop/images/20042025/17/26/image_20042025_17_27_04_10389.jpg', '/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_14_9426.jpg', '/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_24_10434.jpg', '/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_44_9446.jpg', '/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_54_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/26/image_20042025_17_26_54_9489.jpg
/home/pi/Desktop/images/20042025/17/26/image_20042025_17_27_04_10389.jpg
/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_14_9426.jpg
/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_24_10434.jpg
/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_44_9446.jpg
/home/pi/Desktop/images/20042025/17/27/image_20042025_17_27_54_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263791","1352263788","1352263785","1352263790","1352263789","1352263786"],"photo_ids_order":["1352263785","1352263786","1352263788","1352263789","1352263790","1352263791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6960db0edb8c3f04824aa0d38a38d025.jpg","text":"TemporaryFile(/tmp/multipartBody5681826068926678137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171792957,"filename":"image_20042025_17_27_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d81fff43d197336f1d68a15324c8518a.jpg","text":"TemporaryFile(/tmp/multipartBody1331736924607318096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171792957,"filename":"image_20042025_17_27_14_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0fa76bce5a5141f2bfc4e548caa6575.jpg","text":"TemporaryFile(/tmp/multipartBody6170988309024406342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171792957,"filename":"image_20042025_17_26_54_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54c5264e69875a86824669ed6e05c714.jpg","text":"TemporaryFile(/tmp/multipartBody4280059684420848761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171792957,"filename":"image_20042025_17_27_44_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9acb2720df614f6d661d9d696bfacbac.jpg","text":"TemporaryFile(/tmp/multipartBody8269170768109865430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171792957,"filename":"image_20042025_17_27_24_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e0060a6b619f238ebbfde34b05cf2dc.jpg","text":"TemporaryFile(/tmp/multipartBody3681139338503520917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171792957,"filename":"image_20042025_17_27_04_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263788","file1":"1352263786","file0":"1352263785","file4":"1352263790","file5":"1352263791","file3":"1352263789"},"map_files_photo_id_array":[{"photo_id":"1352263791","filename":"file5"},{"photo_id":"1352263788","filename":"file2"},{"photo_id":"1352263790","filename":"file4"},{"photo_id":"1352263786","filename":"file1"},{"photo_id":"1352263785","filename":"file0"},{"photo_id":"1352263789","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263791":["hashtag1","hashtag2"]},{"1352263788":["hashtag1","hashtag2"]},{"1352263785":["hashtag1","hashtag2"]},{"1352263790":["hashtag1","hashtag2"]},{"1352263789":["hashtag1","hashtag2"]},{"1352263786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263791, 1352263788, 1352263785, 1352263790, 1352263789, 1352263786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.334551095962524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:56:32.704228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/27/image_20042025_17_28_04_9363.jpg', '/home/pi/Desktop/images/20042025/17/28/image_20042025_17_28_14_10413.jpg', '/home/pi/Desktop/images/20042025/17/28/image_20042025_17_28_34_9371.jpg', '/home/pi/Desktop/images/20042025/17/28/image_20042025_17_28_44_10436.jpg', '/home/pi/Desktop/images/20042025/17/28/image_20042025_17_29_04_10439.jpg', '/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_24_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/27/image_20042025_17_28_04_9363.jpg
/home/pi/Desktop/images/20042025/17/28/image_20042025_17_28_14_10413.jpg
/home/pi/Desktop/images/20042025/17/28/image_20042025_17_28_34_9371.jpg
/home/pi/Desktop/images/20042025/17/28/image_20042025_17_28_44_10436.jpg
/home/pi/Desktop/images/20042025/17/28/image_20042025_17_29_04_10439.jpg
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_24_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263816","1352263810","1352263806","1352263800","1352263803","1352263813"],"photo_ids_order":["1352263800","1352263803","1352263806","1352263810","1352263813","1352263816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a7152eaa293f46655de04238d7d052c.jpg","text":"TemporaryFile(/tmp/multipartBody2212768459316394335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171853168,"filename":"image_20042025_17_29_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e48f0e05dc849e75b545b01e76b23d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4850735826565009249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171853168,"filename":"image_20042025_17_28_44_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2fbbc206dc39c294a80fdbd926798bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7032037284303062723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171853168,"filename":"image_20042025_17_28_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b5d3908ecd840dfe73c78fd4cc25bd17.jpg","text":"TemporaryFile(/tmp/multipartBody384427084295445100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171853168,"filename":"image_20042025_17_28_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83d58904ab1d7dcb132b6e386e85f55e.jpg","text":"TemporaryFile(/tmp/multipartBody1587058930228094999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171853168,"filename":"image_20042025_17_28_14_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2833cc21cfbd1f74447641631cf25bb7.jpg","text":"TemporaryFile(/tmp/multipartBody454622548049529462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745171853168,"filename":"image_20042025_17_29_04_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263806","file1":"1352263803","file0":"1352263800","file4":"1352263813","file5":"1352263816","file3":"1352263810"},"map_files_photo_id_array":[{"photo_id":"1352263816","filename":"file5"},{"photo_id":"1352263806","filename":"file2"},{"photo_id":"1352263813","filename":"file4"},{"photo_id":"1352263803","filename":"file1"},{"photo_id":"1352263800","filename":"file0"},{"photo_id":"1352263810","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352263816":["hashtag1","hashtag2"]},{"1352263810":["hashtag1","hashtag2"]},{"1352263806":["hashtag1","hashtag2"]},{"1352263800":["hashtag1","hashtag2"]},{"1352263803":["hashtag1","hashtag2"]},{"1352263813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352263816, 1352263810, 1352263806, 1352263800, 1352263803, 1352263813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.333882570266724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 19:57:32.835200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_35_10379.jpg', '/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_44_9419.jpg', '/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_54_10378.jpg', '/home/pi/Desktop/images/20042025/17/29/image_20042025_17_30_05_10358.jpg', '/home/pi/Desktop/images/20042025/17/30/image_20042025_17_30_44_10373.jpg', '/home/pi/Desktop/images/20042025/17/30/image_20042025_17_31_04_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_35_10379.jpg
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_44_9419.jpg
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_54_10378.jpg
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_30_05_10358.jpg
/home/pi/Desktop/images/20042025/17/30/image_20042025_17_30_44_10373.jpg
/home/pi/Desktop/images/20042025/17/30/image_20042025_17_31_04_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 19:59:04.198559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_35_10379.jpg', '/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_44_9419.jpg', '/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_54_10378.jpg', '/home/pi/Desktop/images/20042025/17/29/image_20042025_17_30_05_10358.jpg', '/home/pi/Desktop/images/20042025/17/30/image_20042025_17_30_44_10373.jpg', '/home/pi/Desktop/images/20042025/17/30/image_20042025_17_31_04_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_35_10379.jpg
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_44_9419.jpg
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_29_54_10378.jpg
/home/pi/Desktop/images/20042025/17/29/image_20042025_17_30_05_10358.jpg
/home/pi/Desktop/images/20042025/17/30/image_20042025_17_30_44_10373.jpg
/home/pi/Desktop/images/20042025/17/30/image_20042025_17_31_04_10424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265017","1352265322","1352265238","1352264938","1352265162","1352265090"],"photo_ids_order":["1352264938","1352265017","1352265090","1352265162","1352265238","1352265322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4aa804851659ba0c67ec66c87dae3d82.jpg","text":"TemporaryFile(/tmp/multipartBody8933319014138849463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172004793,"filename":"image_20042025_17_29_44_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11fec2401263f043ef69c717034b22e2.jpg","text":"TemporaryFile(/tmp/multipartBody6383208438159052916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172004793,"filename":"image_20042025_17_31_04_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f3c4f58f22146cbcba6ccfdebe707e5.jpg","text":"TemporaryFile(/tmp/multipartBody5794336529774023188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172004793,"filename":"image_20042025_17_30_44_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b08d689fb80dbcaac1536fb7188f8006.jpg","text":"TemporaryFile(/tmp/multipartBody8671724991403697501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172004793,"filename":"image_20042025_17_29_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87d8f5d7b4649004555da7cdc03417a2.jpg","text":"TemporaryFile(/tmp/multipartBody5046947229479528308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172004793,"filename":"image_20042025_17_30_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b56c797de92a2c8662483c4434e043d9.jpg","text":"TemporaryFile(/tmp/multipartBody7333594867071774540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172004793,"filename":"image_20042025_17_29_54_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265090","file1":"1352265017","file0":"1352264938","file4":"1352265238","file5":"1352265322","file3":"1352265162"},"map_files_photo_id_array":[{"photo_id":"1352265322","filename":"file5"},{"photo_id":"1352265090","filename":"file2"},{"photo_id":"1352265238","filename":"file4"},{"photo_id":"1352265017","filename":"file1"},{"photo_id":"1352264938","filename":"file0"},{"photo_id":"1352265162","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352265017":["hashtag1","hashtag2"]},{"1352265322":["hashtag1","hashtag2"]},{"1352265238":["hashtag1","hashtag2"]},{"1352264938":["hashtag1","hashtag2"]},{"1352265162":["hashtag1","hashtag2"]},{"1352265090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352265017, 1352265322, 1352265238, 1352264938, 1352265162, 1352265090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.837996006011963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 19:59:42.588348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/31/image_20042025_17_31_24_9480.jpg', '/home/pi/Desktop/images/20042025/17/31/image_20042025_17_31_45_10358.jpg', '/home/pi/Desktop/images/20042025/17/31/image_20042025_17_31_54_9384.jpg', '/home/pi/Desktop/images/20042025/17/31/image_20042025_17_32_05_10375.jpg', '/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_14_9401.jpg', '/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_24_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/31/image_20042025_17_31_24_9480.jpg
/home/pi/Desktop/images/20042025/17/31/image_20042025_17_31_45_10358.jpg
/home/pi/Desktop/images/20042025/17/31/image_20042025_17_31_54_9384.jpg
/home/pi/Desktop/images/20042025/17/31/image_20042025_17_32_05_10375.jpg
/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_14_9401.jpg
/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_24_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265563","1352265638","1352265796","1352265745","1352265693","1352265846"],"photo_ids_order":["1352265563","1352265638","1352265693","1352265745","1352265796","1352265846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a40c7a4870f8ce64f2d56db15a676210.jpg","text":"TemporaryFile(/tmp/multipartBody6293443139923687844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172043051,"filename":"image_20042025_17_31_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70821617d7a801c64728e18f757c62ee.jpg","text":"TemporaryFile(/tmp/multipartBody4422266201537808650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172043051,"filename":"image_20042025_17_31_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c34464cebc1710edbd23e99d6d98459.jpg","text":"TemporaryFile(/tmp/multipartBody1447273054005901746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172043051,"filename":"image_20042025_17_32_14_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d862055d6dabf51d547311aa1457ff7f.jpg","text":"TemporaryFile(/tmp/multipartBody224141495293003157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172043051,"filename":"image_20042025_17_32_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c546dace20840747c4e99371563043ac.jpg","text":"TemporaryFile(/tmp/multipartBody1425549590357084734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172043051,"filename":"image_20042025_17_31_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c53cd6a7f46a8404000efd4a98dc0b7c.jpg","text":"TemporaryFile(/tmp/multipartBody641543103837653003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172043051,"filename":"image_20042025_17_32_24_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265693","file1":"1352265638","file0":"1352265563","file4":"1352265796","file5":"1352265846","file3":"1352265745"},"map_files_photo_id_array":[{"photo_id":"1352265846","filename":"file5"},{"photo_id":"1352265693","filename":"file2"},{"photo_id":"1352265796","filename":"file4"},{"photo_id":"1352265638","filename":"file1"},{"photo_id":"1352265563","filename":"file0"},{"photo_id":"1352265745","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352265563":["hashtag1","hashtag2"]},{"1352265638":["hashtag1","hashtag2"]},{"1352265796":["hashtag1","hashtag2"]},{"1352265745":["hashtag1","hashtag2"]},{"1352265693":["hashtag1","hashtag2"]},{"1352265846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352265563, 1352265638, 1352265796, 1352265745, 1352265693, 1352265846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41417717933655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:00:32.798481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_35_10363.jpg', '/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_44_9431.jpg', '/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_55_10375.jpg', '/home/pi/Desktop/images/20042025/17/32/image_20042025_17_33_04_9347.jpg', '/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_14_10355.jpg', '/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_35_10363.jpg
/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_44_9431.jpg
/home/pi/Desktop/images/20042025/17/32/image_20042025_17_32_55_10375.jpg
/home/pi/Desktop/images/20042025/17/32/image_20042025_17_33_04_9347.jpg
/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_14_10355.jpg
/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266094","1352266217","1352266159","1352266299","1352266272","1352266245"],"photo_ids_order":["1352266094","1352266159","1352266217","1352266245","1352266272","1352266299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca435a232a9317c3cc2550711f005e91.jpg","text":"TemporaryFile(/tmp/multipartBody6518167889742839901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172093257,"filename":"image_20042025_17_32_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e612f2052702a4fdbed5e7ab7a77479.jpg","text":"TemporaryFile(/tmp/multipartBody1836368513184480422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172093257,"filename":"image_20042025_17_32_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56654f3bb0762ff38c672f917660cb06.jpg","text":"TemporaryFile(/tmp/multipartBody471749920016495555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172093257,"filename":"image_20042025_17_32_44_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d7a67da514e9670ba86bc91940d91c0.jpg","text":"TemporaryFile(/tmp/multipartBody1428389188646653713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172093257,"filename":"image_20042025_17_33_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/735c5c9a43ef51d7c5c32edc62313ecd.jpg","text":"TemporaryFile(/tmp/multipartBody9206278274232922561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172093257,"filename":"image_20042025_17_33_14_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3466c8cc8c9e6692ec6704435fe2d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8441589214383424069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172093257,"filename":"image_20042025_17_33_04_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266217","file1":"1352266159","file0":"1352266094","file4":"1352266272","file5":"1352266299","file3":"1352266245"},"map_files_photo_id_array":[{"photo_id":"1352266299","filename":"file5"},{"photo_id":"1352266217","filename":"file2"},{"photo_id":"1352266272","filename":"file4"},{"photo_id":"1352266159","filename":"file1"},{"photo_id":"1352266094","filename":"file0"},{"photo_id":"1352266245","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266094":["hashtag1","hashtag2"]},{"1352266217":["hashtag1","hashtag2"]},{"1352266159":["hashtag1","hashtag2"]},{"1352266299":["hashtag1","hashtag2"]},{"1352266272":["hashtag1","hashtag2"]},{"1352266245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266094, 1352266217, 1352266159, 1352266299, 1352266272, 1352266245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.2194402217865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:01:32.956809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_34_9434.jpg', '/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_44_10376.jpg', '/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_54_9430.jpg', '/home/pi/Desktop/images/20042025/17/33/image_20042025_17_34_04_10379.jpg', '/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_15_10360.jpg', '/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_24_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_34_9434.jpg
/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_44_10376.jpg
/home/pi/Desktop/images/20042025/17/33/image_20042025_17_33_54_9430.jpg
/home/pi/Desktop/images/20042025/17/33/image_20042025_17_34_04_10379.jpg
/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_15_10360.jpg
/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_24_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266418","1352266426","1352266428","1352266413","1352266422","1352266410"],"photo_ids_order":["1352266410","1352266413","1352266418","1352266422","1352266426","1352266428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e94a29c8ab0aee9ba3a6506f775a91b.jpg","text":"TemporaryFile(/tmp/multipartBody6190059807372462860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172153423,"filename":"image_20042025_17_33_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/189d130a9c834f584f9c36f367693dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7517913086145267722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172153423,"filename":"image_20042025_17_34_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3a3e85ced24867e91049bbd8f465c4ce.jpg","text":"TemporaryFile(/tmp/multipartBody8044988638589635971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172153423,"filename":"image_20042025_17_34_24_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96ea56858e4b5956488c7044bc134094.jpg","text":"TemporaryFile(/tmp/multipartBody6216403285887622468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172153423,"filename":"image_20042025_17_33_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3055fe1779a666c8f271ebe94c11c802.jpg","text":"TemporaryFile(/tmp/multipartBody5554946606198535269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172153423,"filename":"image_20042025_17_34_04_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/16fcd4670237ffd0a8b81adff512c9f7.jpg","text":"TemporaryFile(/tmp/multipartBody9091179723055199929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172153423,"filename":"image_20042025_17_33_34_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266418","file1":"1352266413","file0":"1352266410","file4":"1352266426","file5":"1352266428","file3":"1352266422"},"map_files_photo_id_array":[{"photo_id":"1352266428","filename":"file5"},{"photo_id":"1352266418","filename":"file2"},{"photo_id":"1352266426","filename":"file4"},{"photo_id":"1352266413","filename":"file1"},{"photo_id":"1352266410","filename":"file0"},{"photo_id":"1352266422","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266418":["hashtag1","hashtag2"]},{"1352266426":["hashtag1","hashtag2"]},{"1352266428":["hashtag1","hashtag2"]},{"1352266413":["hashtag1","hashtag2"]},{"1352266422":["hashtag1","hashtag2"]},{"1352266410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266418, 1352266426, 1352266428, 1352266413, 1352266422, 1352266410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12371516227722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:02:32.147618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_34_10362.jpg', '/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_45_10358.jpg', '/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_54_9439.jpg', '/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_14_9471.jpg', '/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_24_10405.jpg', '/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_34_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_34_10362.jpg
/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_45_10358.jpg
/home/pi/Desktop/images/20042025/17/34/image_20042025_17_34_54_9439.jpg
/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_14_9471.jpg
/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_24_10405.jpg
/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_34_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266660","1352266686","1352266695","1352266719","1352266697","1352266679"],"photo_ids_order":["1352266660","1352266679","1352266686","1352266695","1352266697","1352266719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/251ef215f6291f1eddd98450c710a481.jpg","text":"TemporaryFile(/tmp/multipartBody6413862801408455719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172212613,"filename":"image_20042025_17_34_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3879e781e3e9c026af8347235667fc5d.jpg","text":"TemporaryFile(/tmp/multipartBody7707404028745879425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172212613,"filename":"image_20042025_17_34_54_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/805e745aaa91ae56327e050ed72ee7b5.jpg","text":"TemporaryFile(/tmp/multipartBody787635014603075241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172212613,"filename":"image_20042025_17_35_14_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d66feb8a39aa13fb7ab5dbb6c98f736.jpg","text":"TemporaryFile(/tmp/multipartBody5156236828943941989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172212613,"filename":"image_20042025_17_35_34_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08e8bd8fe5d75ce9ac9102b86d7015fa.jpg","text":"TemporaryFile(/tmp/multipartBody1740307174994013467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172212613,"filename":"image_20042025_17_35_24_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4b7922d90a820e32b7d9b206ebd6d616.jpg","text":"TemporaryFile(/tmp/multipartBody5278588055608871188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172212613,"filename":"image_20042025_17_34_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266686","file1":"1352266679","file0":"1352266660","file4":"1352266697","file5":"1352266719","file3":"1352266695"},"map_files_photo_id_array":[{"photo_id":"1352266719","filename":"file5"},{"photo_id":"1352266686","filename":"file2"},{"photo_id":"1352266697","filename":"file4"},{"photo_id":"1352266679","filename":"file1"},{"photo_id":"1352266660","filename":"file0"},{"photo_id":"1352266695","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266660":["hashtag1","hashtag2"]},{"1352266686":["hashtag1","hashtag2"]},{"1352266695":["hashtag1","hashtag2"]},{"1352266719":["hashtag1","hashtag2"]},{"1352266697":["hashtag1","hashtag2"]},{"1352266679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266660, 1352266686, 1352266695, 1352266719, 1352266697, 1352266679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.094918251037598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:03:32.275429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_44_10437.jpg', '/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_55_10373.jpg', '/home/pi/Desktop/images/20042025/17/35/image_20042025_17_36_04_9399.jpg', '/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_14_10367.jpg', '/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_24_9464.jpg', '/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_34_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_44_10437.jpg
/home/pi/Desktop/images/20042025/17/35/image_20042025_17_35_55_10373.jpg
/home/pi/Desktop/images/20042025/17/35/image_20042025_17_36_04_9399.jpg
/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_14_10367.jpg
/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_24_9464.jpg
/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_34_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266763","1352266777","1352266774","1352266767","1352266779","1352266772"],"photo_ids_order":["1352266763","1352266767","1352266772","1352266774","1352266777","1352266779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e6e1ec90f38af4482e7731b5c73f7e2.jpg","text":"TemporaryFile(/tmp/multipartBody560390876722549532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172272740,"filename":"image_20042025_17_35_44_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9399939cfc90b7252a5288bd21bac028.jpg","text":"TemporaryFile(/tmp/multipartBody2864775457587166507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172272740,"filename":"image_20042025_17_36_24_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a6f2f6ccc0f455fb15e593556162eee.jpg","text":"TemporaryFile(/tmp/multipartBody6362170525271483200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172272740,"filename":"image_20042025_17_36_14_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4335418a5257242f0c02fa5d5ca4beb7.jpg","text":"TemporaryFile(/tmp/multipartBody7875946142628816500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172272740,"filename":"image_20042025_17_35_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79da2cfddc4d043fe9795d233733b2be.jpg","text":"TemporaryFile(/tmp/multipartBody8819732477655982709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172272740,"filename":"image_20042025_17_36_34_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d7872f8478593fb305f89f44b9aca6ba.jpg","text":"TemporaryFile(/tmp/multipartBody3857580829227553453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172272740,"filename":"image_20042025_17_36_04_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266772","file1":"1352266767","file0":"1352266763","file4":"1352266777","file5":"1352266779","file3":"1352266774"},"map_files_photo_id_array":[{"photo_id":"1352266779","filename":"file5"},{"photo_id":"1352266772","filename":"file2"},{"photo_id":"1352266777","filename":"file4"},{"photo_id":"1352266767","filename":"file1"},{"photo_id":"1352266763","filename":"file0"},{"photo_id":"1352266774","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266763":["hashtag1","hashtag2"]},{"1352266777":["hashtag1","hashtag2"]},{"1352266774":["hashtag1","hashtag2"]},{"1352266767":["hashtag1","hashtag2"]},{"1352266779":["hashtag1","hashtag2"]},{"1352266772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266763, 1352266777, 1352266774, 1352266767, 1352266779, 1352266772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.396676063537598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:04:32.567025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_45_10375.jpg', '/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_54_9432.jpg', '/home/pi/Desktop/images/20042025/17/36/image_20042025_17_37_04_10374.jpg', '/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_24_9369.jpg', '/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_35_10385.jpg', '/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_44_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_45_10375.jpg
/home/pi/Desktop/images/20042025/17/36/image_20042025_17_36_54_9432.jpg
/home/pi/Desktop/images/20042025/17/36/image_20042025_17_37_04_10374.jpg
/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_24_9369.jpg
/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_35_10385.jpg
/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_44_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266802","1352266795","1352266789","1352266792","1352266804","1352266799"],"photo_ids_order":["1352266789","1352266792","1352266795","1352266799","1352266802","1352266804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2964dfa820dfd90f0c604b8f921e0939.jpg","text":"TemporaryFile(/tmp/multipartBody7942504336669783722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172333032,"filename":"image_20042025_17_37_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a89f3d7b19b68c9dd24eab0601cdd76b.jpg","text":"TemporaryFile(/tmp/multipartBody648647749843120228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172333032,"filename":"image_20042025_17_37_04_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6006ac35fadb2dde8a6cbc233617e2f.jpg","text":"TemporaryFile(/tmp/multipartBody1220861655658357441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172333032,"filename":"image_20042025_17_36_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15099005813bcc5cb7e090b53d1cdd9c.jpg","text":"TemporaryFile(/tmp/multipartBody5172469630811326620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172333032,"filename":"image_20042025_17_36_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99f01ecc1280ee2abb5612ae90cdfc39.jpg","text":"TemporaryFile(/tmp/multipartBody7618840779335928791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172333032,"filename":"image_20042025_17_37_44_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4f770bba4283d7dc608b6afeba033415.jpg","text":"TemporaryFile(/tmp/multipartBody5259817428344929055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172333032,"filename":"image_20042025_17_37_24_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266795","file1":"1352266792","file0":"1352266789","file4":"1352266802","file5":"1352266804","file3":"1352266799"},"map_files_photo_id_array":[{"photo_id":"1352266804","filename":"file5"},{"photo_id":"1352266795","filename":"file2"},{"photo_id":"1352266802","filename":"file4"},{"photo_id":"1352266792","filename":"file1"},{"photo_id":"1352266789","filename":"file0"},{"photo_id":"1352266799","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266802":["hashtag1","hashtag2"]},{"1352266795":["hashtag1","hashtag2"]},{"1352266789":["hashtag1","hashtag2"]},{"1352266792":["hashtag1","hashtag2"]},{"1352266804":["hashtag1","hashtag2"]},{"1352266799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266802, 1352266795, 1352266789, 1352266792, 1352266804, 1352266799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.648849487304688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:05:32.750293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_54_10379.jpg', '/home/pi/Desktop/images/20042025/17/37/image_20042025_17_38_05_10379.jpg', '/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_14_9480.jpg', '/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_34_9419.jpg', '/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_44_10370.jpg', '/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_55_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/37/image_20042025_17_37_54_10379.jpg
/home/pi/Desktop/images/20042025/17/37/image_20042025_17_38_05_10379.jpg
/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_14_9480.jpg
/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_34_9419.jpg
/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_44_10370.jpg
/home/pi/Desktop/images/20042025/17/38/image_20042025_17_38_55_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266820","1352266814","1352266811","1352266825","1352266816","1352266824"],"photo_ids_order":["1352266811","1352266814","1352266816","1352266820","1352266824","1352266825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0218f641941310c821975ecc2e52111e.jpg","text":"TemporaryFile(/tmp/multipartBody6924966501567991310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172393216,"filename":"image_20042025_17_38_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/92d4172b7d69f975d31cc0bafb6bb89a.jpg","text":"TemporaryFile(/tmp/multipartBody5280968925895073673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172393216,"filename":"image_20042025_17_38_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a79cf0063826102960c2911424a4703.jpg","text":"TemporaryFile(/tmp/multipartBody3974011240333803196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172393216,"filename":"image_20042025_17_37_54_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67deff95e45132f159daca5bae80c3ab.jpg","text":"TemporaryFile(/tmp/multipartBody7978395853323963326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172393216,"filename":"image_20042025_17_38_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1efabb873e876e58ecced7a4a7c4575e.jpg","text":"TemporaryFile(/tmp/multipartBody1848451777857691439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172393216,"filename":"image_20042025_17_38_14_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3df587a170dcbb4593b1b8f1242dc82e.jpg","text":"TemporaryFile(/tmp/multipartBody103643216354587050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172393216,"filename":"image_20042025_17_38_44_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266816","file1":"1352266814","file0":"1352266811","file4":"1352266824","file5":"1352266825","file3":"1352266820"},"map_files_photo_id_array":[{"photo_id":"1352266825","filename":"file5"},{"photo_id":"1352266816","filename":"file2"},{"photo_id":"1352266824","filename":"file4"},{"photo_id":"1352266814","filename":"file1"},{"photo_id":"1352266811","filename":"file0"},{"photo_id":"1352266820","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266820":["hashtag1","hashtag2"]},{"1352266814":["hashtag1","hashtag2"]},{"1352266811":["hashtag1","hashtag2"]},{"1352266825":["hashtag1","hashtag2"]},{"1352266816":["hashtag1","hashtag2"]},{"1352266824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266820, 1352266814, 1352266811, 1352266825, 1352266816, 1352266824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33803033828735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:06:33.034854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/38/image_20042025_17_39_04_9365.jpg', '/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_15_10429.jpg', '/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_24_9462.jpg', '/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_34_10361.jpg', '/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_45_10351.jpg', '/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_54_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/38/image_20042025_17_39_04_9365.jpg
/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_15_10429.jpg
/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_24_9462.jpg
/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_34_10361.jpg
/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_45_10351.jpg
/home/pi/Desktop/images/20042025/17/39/image_20042025_17_39_54_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266853","1352266841","1352266838","1352266849","1352266845","1352266833"],"photo_ids_order":["1352266833","1352266838","1352266841","1352266845","1352266849","1352266853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f95cb27ec1cd885feebb3ba36a963b27.jpg","text":"TemporaryFile(/tmp/multipartBody8179863993927232868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172453507,"filename":"image_20042025_17_39_54_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db3254dc99808b05994b817dacd23b33.jpg","text":"TemporaryFile(/tmp/multipartBody8939937822220492134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172453507,"filename":"image_20042025_17_39_24_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb93b0e13bb36e4e365fe1f714ebeaa7.jpg","text":"TemporaryFile(/tmp/multipartBody8987351630163701881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172453507,"filename":"image_20042025_17_39_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c3a9f660879e493c3d5b02f32cb5523.jpg","text":"TemporaryFile(/tmp/multipartBody463173140573942547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172453507,"filename":"image_20042025_17_39_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85203e152503e51a46400542d04ee583.jpg","text":"TemporaryFile(/tmp/multipartBody3783109315530467438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172453507,"filename":"image_20042025_17_39_34_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1ff1bd70c8dc4cc50eb23f72c2ae9e0.jpg","text":"TemporaryFile(/tmp/multipartBody8829325560202037496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172453507,"filename":"image_20042025_17_39_04_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266841","file1":"1352266838","file0":"1352266833","file4":"1352266849","file5":"1352266853","file3":"1352266845"},"map_files_photo_id_array":[{"photo_id":"1352266853","filename":"file5"},{"photo_id":"1352266841","filename":"file2"},{"photo_id":"1352266849","filename":"file4"},{"photo_id":"1352266838","filename":"file1"},{"photo_id":"1352266833","filename":"file0"},{"photo_id":"1352266845","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266853":["hashtag1","hashtag2"]},{"1352266841":["hashtag1","hashtag2"]},{"1352266838":["hashtag1","hashtag2"]},{"1352266849":["hashtag1","hashtag2"]},{"1352266845":["hashtag1","hashtag2"]},{"1352266833":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266853, 1352266841, 1352266838, 1352266849, 1352266845, 1352266833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.971506357192993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:07:32.165774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/39/image_20042025_17_40_05_10375.jpg', '/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_14_9368.jpg', '/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_24_10374.jpg', '/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_35_10364.jpg', '/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_44_9430.jpg', '/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_54_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/39/image_20042025_17_40_05_10375.jpg
/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_14_9368.jpg
/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_24_10374.jpg
/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_35_10364.jpg
/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_44_9430.jpg
/home/pi/Desktop/images/20042025/17/40/image_20042025_17_40_54_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266874","1352266868","1352266861","1352266877","1352266871","1352266865"],"photo_ids_order":["1352266861","1352266865","1352266868","1352266871","1352266874","1352266877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b4e410f5208657c960fe0bc861df163.jpg","text":"TemporaryFile(/tmp/multipartBody831646533168422431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172512627,"filename":"image_20042025_17_40_44_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c31dbea107a0468bc023ae923a78bafe.jpg","text":"TemporaryFile(/tmp/multipartBody323068703837385880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172512627,"filename":"image_20042025_17_40_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c51a12a0587f6f851eace9442d5a52d8.jpg","text":"TemporaryFile(/tmp/multipartBody1813679484910318825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172512627,"filename":"image_20042025_17_40_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7808868df171efc8c8c998c573cecd2f.jpg","text":"TemporaryFile(/tmp/multipartBody6135842536141276798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172512627,"filename":"image_20042025_17_40_54_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba55a7edfe4e794722a1d248ef6e2f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3754995395701451992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172512627,"filename":"image_20042025_17_40_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ce183e7e2b3da48746c89ce6d3b4222.jpg","text":"TemporaryFile(/tmp/multipartBody5042506405038995189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172512627,"filename":"image_20042025_17_40_14_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266868","file1":"1352266865","file0":"1352266861","file4":"1352266874","file5":"1352266877","file3":"1352266871"},"map_files_photo_id_array":[{"photo_id":"1352266877","filename":"file5"},{"photo_id":"1352266868","filename":"file2"},{"photo_id":"1352266874","filename":"file4"},{"photo_id":"1352266865","filename":"file1"},{"photo_id":"1352266861","filename":"file0"},{"photo_id":"1352266871","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266874":["hashtag1","hashtag2"]},{"1352266868":["hashtag1","hashtag2"]},{"1352266861":["hashtag1","hashtag2"]},{"1352266877":["hashtag1","hashtag2"]},{"1352266871":["hashtag1","hashtag2"]},{"1352266865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266874, 1352266868, 1352266861, 1352266877, 1352266871, 1352266865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83902621269226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:08:32.402668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/40/image_20042025_17_41_05_10358.jpg', '/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_25_10368.jpg', '/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_34_9362.jpg', '/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_44_10450.jpg', '/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_55_10367.jpg', '/home/pi/Desktop/images/20042025/17/41/image_20042025_17_42_04_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/40/image_20042025_17_41_05_10358.jpg
/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_25_10368.jpg
/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_34_9362.jpg
/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_44_10450.jpg
/home/pi/Desktop/images/20042025/17/41/image_20042025_17_41_55_10367.jpg
/home/pi/Desktop/images/20042025/17/41/image_20042025_17_42_04_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266901","1352266910","1352266906","1352266890","1352266895","1352266886"],"photo_ids_order":["1352266886","1352266890","1352266895","1352266901","1352266906","1352266910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a4fcac666251f3ab5e89743264a3dce.jpg","text":"TemporaryFile(/tmp/multipartBody7711017508728395456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172572873,"filename":"image_20042025_17_41_44_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/048872a9b3f19a70e8bec549722faffc.jpg","text":"TemporaryFile(/tmp/multipartBody2358752023616674432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172572873,"filename":"image_20042025_17_42_04_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20f4e83838fd6a0ce23654db958d4a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4689455514970897657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172572873,"filename":"image_20042025_17_41_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99735b34e18c318062ef8f721de1a37d.jpg","text":"TemporaryFile(/tmp/multipartBody7970171682012874395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172572873,"filename":"image_20042025_17_41_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05c5392f705b578002ae3c9ff5776fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8963710001694112621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172572873,"filename":"image_20042025_17_41_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f66de967c0ce975a9c47ed00de0fe73.jpg","text":"TemporaryFile(/tmp/multipartBody6266082606593581843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172572873,"filename":"image_20042025_17_41_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266895","file1":"1352266890","file0":"1352266886","file4":"1352266906","file5":"1352266910","file3":"1352266901"},"map_files_photo_id_array":[{"photo_id":"1352266910","filename":"file5"},{"photo_id":"1352266895","filename":"file2"},{"photo_id":"1352266906","filename":"file4"},{"photo_id":"1352266890","filename":"file1"},{"photo_id":"1352266886","filename":"file0"},{"photo_id":"1352266901","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266901":["hashtag1","hashtag2"]},{"1352266910":["hashtag1","hashtag2"]},{"1352266906":["hashtag1","hashtag2"]},{"1352266890":["hashtag1","hashtag2"]},{"1352266895":["hashtag1","hashtag2"]},{"1352266886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266901, 1352266910, 1352266906, 1352266890, 1352266895, 1352266886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60372734069824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:09:32.647193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_15_10437.jpg', '/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_24_9477.jpg', '/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_34_10361.jpg', '/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_45_10414.jpg', '/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_54_9401.jpg', '/home/pi/Desktop/images/20042025/17/42/image_20042025_17_43_05_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_15_10437.jpg
/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_24_9477.jpg
/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_34_10361.jpg
/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_45_10414.jpg
/home/pi/Desktop/images/20042025/17/42/image_20042025_17_42_54_9401.jpg
/home/pi/Desktop/images/20042025/17/42/image_20042025_17_43_05_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266940","1352266937","1352266930","1352266927","1352266941","1352266932"],"photo_ids_order":["1352266927","1352266930","1352266932","1352266937","1352266940","1352266941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aecee81d44020fd101aff095faf24650.jpg","text":"TemporaryFile(/tmp/multipartBody8026052359389543553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172633128,"filename":"image_20042025_17_42_54_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11deec24a99f184183c315b3a6b3b302.jpg","text":"TemporaryFile(/tmp/multipartBody2963281404440618580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172633128,"filename":"image_20042025_17_42_45_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe51a607624e0691ce17d7784816c7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5885459407507864743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172633128,"filename":"image_20042025_17_42_24_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ece656f62ebd474022a100117f769bf3.jpg","text":"TemporaryFile(/tmp/multipartBody4304674496913032617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172633128,"filename":"image_20042025_17_42_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/609b9fb4ebfea76035f85a29a11c5fa9.jpg","text":"TemporaryFile(/tmp/multipartBody5867739100116224389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172633128,"filename":"image_20042025_17_43_05_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f03fd432434df25a476b98bda6d3022c.jpg","text":"TemporaryFile(/tmp/multipartBody7365054428244135111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172633128,"filename":"image_20042025_17_42_34_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266932","file1":"1352266930","file0":"1352266927","file4":"1352266940","file5":"1352266941","file3":"1352266937"},"map_files_photo_id_array":[{"photo_id":"1352266941","filename":"file5"},{"photo_id":"1352266932","filename":"file2"},{"photo_id":"1352266940","filename":"file4"},{"photo_id":"1352266930","filename":"file1"},{"photo_id":"1352266927","filename":"file0"},{"photo_id":"1352266937","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266940":["hashtag1","hashtag2"]},{"1352266937":["hashtag1","hashtag2"]},{"1352266930":["hashtag1","hashtag2"]},{"1352266927":["hashtag1","hashtag2"]},{"1352266941":["hashtag1","hashtag2"]},{"1352266932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266940, 1352266937, 1352266930, 1352266927, 1352266941, 1352266932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.560726404190063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:10:32.991446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_14_9423.jpg', '/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_24_10445.jpg', '/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_35_10373.jpg', '/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_44_9367.jpg', '/home/pi/Desktop/images/20042025/17/43/image_20042025_17_44_04_9434.jpg', '/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_25_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_14_9423.jpg
/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_24_10445.jpg
/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_35_10373.jpg
/home/pi/Desktop/images/20042025/17/43/image_20042025_17_43_44_9367.jpg
/home/pi/Desktop/images/20042025/17/43/image_20042025_17_44_04_9434.jpg
/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_25_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266969","1352266960","1352266966","1352266971","1352266962","1352266958"],"photo_ids_order":["1352266958","1352266960","1352266962","1352266966","1352266969","1352266971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b861ec57e61cc05c2d40fafbe880b50.jpg","text":"TemporaryFile(/tmp/multipartBody3477957572110961770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172693450,"filename":"image_20042025_17_44_04_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c1ac5c43fbe4e071df84ee722caa845.jpg","text":"TemporaryFile(/tmp/multipartBody5497042735257149110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172693450,"filename":"image_20042025_17_43_24_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5b929dcc9ae2b3c2280e03af983d9f31.jpg","text":"TemporaryFile(/tmp/multipartBody7241866314879808623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172693450,"filename":"image_20042025_17_43_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9532b376457da9010c6bfd61012353df.jpg","text":"TemporaryFile(/tmp/multipartBody8995521272357746324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172693450,"filename":"image_20042025_17_44_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b474202cb2c56b948e3e53fb9cb9b5da.jpg","text":"TemporaryFile(/tmp/multipartBody1238242380296574885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172693450,"filename":"image_20042025_17_43_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97f9038d8c5c4bc85a1bc33297046a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5703396212786203269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172693450,"filename":"image_20042025_17_43_14_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266962","file1":"1352266960","file0":"1352266958","file4":"1352266969","file5":"1352266971","file3":"1352266966"},"map_files_photo_id_array":[{"photo_id":"1352266971","filename":"file5"},{"photo_id":"1352266962","filename":"file2"},{"photo_id":"1352266969","filename":"file4"},{"photo_id":"1352266960","filename":"file1"},{"photo_id":"1352266958","filename":"file0"},{"photo_id":"1352266966","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352266969":["hashtag1","hashtag2"]},{"1352266960":["hashtag1","hashtag2"]},{"1352266966":["hashtag1","hashtag2"]},{"1352266971":["hashtag1","hashtag2"]},{"1352266962":["hashtag1","hashtag2"]},{"1352266958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352266969, 1352266960, 1352266966, 1352266971, 1352266962, 1352266958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.34908151626587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:11:32.294544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_34_9359.jpg', '/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_45_10384.jpg', '/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_54_9368.jpg', '/home/pi/Desktop/images/20042025/17/44/image_20042025_17_45_04_10354.jpg', '/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_15_10389.jpg', '/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_24_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_34_9359.jpg
/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_45_10384.jpg
/home/pi/Desktop/images/20042025/17/44/image_20042025_17_44_54_9368.jpg
/home/pi/Desktop/images/20042025/17/44/image_20042025_17_45_04_10354.jpg
/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_15_10389.jpg
/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_24_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267009","1352267006","1352267002","1352266992","1352266988","1352266997"],"photo_ids_order":["1352266988","1352266992","1352266997","1352267002","1352267006","1352267009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f4e90fe1eb5d6b9485f667be875b71d.jpg","text":"TemporaryFile(/tmp/multipartBody6184458479252192557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172752769,"filename":"image_20042025_17_45_24_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e56a37a2890be7428733031727fbbfb4.jpg","text":"TemporaryFile(/tmp/multipartBody2452969262627725854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172752769,"filename":"image_20042025_17_45_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1f4a0912a11c9f1e35ff82c3a6033ba.jpg","text":"TemporaryFile(/tmp/multipartBody797611334194707688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172752769,"filename":"image_20042025_17_45_04_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8fb2a66a0c89cf1182569c6db26b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody895339250385487641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172752769,"filename":"image_20042025_17_44_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d07c800cf39f5b9c5fe0aaaff13b618.jpg","text":"TemporaryFile(/tmp/multipartBody8102968285719046166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172752769,"filename":"image_20042025_17_44_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/610b8fc574e86357f7f2d02a7c1b5262.jpg","text":"TemporaryFile(/tmp/multipartBody228537413016297216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172752769,"filename":"image_20042025_17_44_54_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266997","file1":"1352266992","file0":"1352266988","file4":"1352267006","file5":"1352267009","file3":"1352267002"},"map_files_photo_id_array":[{"photo_id":"1352267009","filename":"file5"},{"photo_id":"1352266997","filename":"file2"},{"photo_id":"1352267006","filename":"file4"},{"photo_id":"1352266992","filename":"file1"},{"photo_id":"1352266988","filename":"file0"},{"photo_id":"1352267002","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267009":["hashtag1","hashtag2"]},{"1352267006":["hashtag1","hashtag2"]},{"1352267002":["hashtag1","hashtag2"]},{"1352266992":["hashtag1","hashtag2"]},{"1352266988":["hashtag1","hashtag2"]},{"1352266997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267009, 1352267006, 1352267002, 1352266992, 1352266988, 1352266997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.63984704017639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:12:32.372045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_34_10385.jpg', '/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_44_9358.jpg', '/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_54_10510.jpg', '/home/pi/Desktop/images/20042025/17/45/image_20042025_17_46_05_10368.jpg', '/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_14_9442.jpg', '/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_34_10385.jpg
/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_44_9358.jpg
/home/pi/Desktop/images/20042025/17/45/image_20042025_17_45_54_10510.jpg
/home/pi/Desktop/images/20042025/17/45/image_20042025_17_46_05_10368.jpg
/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_14_9442.jpg
/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267042","1352267035","1352267026","1352267040","1352267028","1352267031"],"photo_ids_order":["1352267026","1352267028","1352267031","1352267035","1352267040","1352267042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac041c083fd64de5503d56180afc68f2.jpg","text":"TemporaryFile(/tmp/multipartBody6576259418458063014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172812846,"filename":"image_20042025_17_46_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c58d314c2b3d010be497a26c53c280be.jpg","text":"TemporaryFile(/tmp/multipartBody7297878529688125607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172812846,"filename":"image_20042025_17_46_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/feaaf58d8fb043b9467ee51752d31345.jpg","text":"TemporaryFile(/tmp/multipartBody620184733943174636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172812846,"filename":"image_20042025_17_45_34_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d872caa07ddd6307e6b6b9d88ad612d9.jpg","text":"TemporaryFile(/tmp/multipartBody1891596153464212122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172812846,"filename":"image_20042025_17_46_14_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69be2738a8c2c5e49466b746dc7284e1.jpg","text":"TemporaryFile(/tmp/multipartBody5110390708587590359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172812846,"filename":"image_20042025_17_45_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d38fddc5b03d6b84ac6e09a920b8888d.jpg","text":"TemporaryFile(/tmp/multipartBody8342372311882016158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172812846,"filename":"image_20042025_17_45_54_10510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267031","file1":"1352267028","file0":"1352267026","file4":"1352267040","file5":"1352267042","file3":"1352267035"},"map_files_photo_id_array":[{"photo_id":"1352267042","filename":"file5"},{"photo_id":"1352267031","filename":"file2"},{"photo_id":"1352267040","filename":"file4"},{"photo_id":"1352267028","filename":"file1"},{"photo_id":"1352267026","filename":"file0"},{"photo_id":"1352267035","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267042":["hashtag1","hashtag2"]},{"1352267035":["hashtag1","hashtag2"]},{"1352267026":["hashtag1","hashtag2"]},{"1352267040":["hashtag1","hashtag2"]},{"1352267028":["hashtag1","hashtag2"]},{"1352267031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267042, 1352267035, 1352267026, 1352267040, 1352267028, 1352267031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55687355995178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:13:32.653989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_44_10473.jpg', '/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_54_9409.jpg', '/home/pi/Desktop/images/20042025/17/46/image_20042025_17_47_04_10376.jpg', '/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_15_10364.jpg', '/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_24_9421.jpg', '/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_34_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_44_10473.jpg
/home/pi/Desktop/images/20042025/17/46/image_20042025_17_46_54_9409.jpg
/home/pi/Desktop/images/20042025/17/46/image_20042025_17_47_04_10376.jpg
/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_15_10364.jpg
/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_24_9421.jpg
/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_34_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267071","1352267068","1352267058","1352267063","1352267066","1352267060"],"photo_ids_order":["1352267058","1352267060","1352267063","1352267066","1352267068","1352267071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6ad4176279fccc6f442f3861de6b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody5831442919606639822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172873118,"filename":"image_20042025_17_47_34_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e3b24b99b12034a2d27c13ea12dfaf8.jpg","text":"TemporaryFile(/tmp/multipartBody8500759756657357390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172873118,"filename":"image_20042025_17_47_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89532ca2e58b835feaf0164e2540886b.jpg","text":"TemporaryFile(/tmp/multipartBody7018688240575228414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172873118,"filename":"image_20042025_17_46_44_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ab7a8e992f4b44070a10db0380402ff.jpg","text":"TemporaryFile(/tmp/multipartBody9154725586750905941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172873118,"filename":"image_20042025_17_47_04_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cd0ad11b92286de6f367e530713423f.jpg","text":"TemporaryFile(/tmp/multipartBody1992738778942675318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172873118,"filename":"image_20042025_17_47_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2bad46473c11e68539864e4d2c82db33.jpg","text":"TemporaryFile(/tmp/multipartBody6632511074918741662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172873118,"filename":"image_20042025_17_46_54_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267063","file1":"1352267060","file0":"1352267058","file4":"1352267068","file5":"1352267071","file3":"1352267066"},"map_files_photo_id_array":[{"photo_id":"1352267071","filename":"file5"},{"photo_id":"1352267063","filename":"file2"},{"photo_id":"1352267068","filename":"file4"},{"photo_id":"1352267060","filename":"file1"},{"photo_id":"1352267058","filename":"file0"},{"photo_id":"1352267066","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267071":["hashtag1","hashtag2"]},{"1352267068":["hashtag1","hashtag2"]},{"1352267058":["hashtag1","hashtag2"]},{"1352267063":["hashtag1","hashtag2"]},{"1352267066":["hashtag1","hashtag2"]},{"1352267060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267071, 1352267068, 1352267058, 1352267063, 1352267066, 1352267060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.668965101242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:14:32.810620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_54_10477.jpg', '/home/pi/Desktop/images/20042025/17/47/image_20042025_17_48_05_10362.jpg', '/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_14_9435.jpg', '/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_25_10562.jpg', '/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_34_9432.jpg', '/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_44_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/47/image_20042025_17_47_54_10477.jpg
/home/pi/Desktop/images/20042025/17/47/image_20042025_17_48_05_10362.jpg
/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_14_9435.jpg
/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_25_10562.jpg
/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_34_9432.jpg
/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_44_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267098","1352267102","1352267092","1352267104","1352267100","1352267096"],"photo_ids_order":["1352267092","1352267096","1352267098","1352267100","1352267102","1352267104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4e7b10a29df60326ab39c3027535466.jpg","text":"TemporaryFile(/tmp/multipartBody337087251889845901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172933289,"filename":"image_20042025_17_48_14_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60eae47e9c1e2af565d84b7ee3ad5d01.jpg","text":"TemporaryFile(/tmp/multipartBody4797760296840055681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172933289,"filename":"image_20042025_17_48_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6326f95e151b0acbeac8d8ef75fa997e.jpg","text":"TemporaryFile(/tmp/multipartBody5748070147976613163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172933289,"filename":"image_20042025_17_47_54_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/242b06f8c07cb9b1d2f4c0c9a0ca10b1.jpg","text":"TemporaryFile(/tmp/multipartBody1327113841980999103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172933289,"filename":"image_20042025_17_48_44_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e9bd9ae4259fce67c3bf3fb48ab6738.jpg","text":"TemporaryFile(/tmp/multipartBody613417265057765753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172933289,"filename":"image_20042025_17_48_25_10562.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc0a8fdebb37821b3a862b1784cf6007.jpg","text":"TemporaryFile(/tmp/multipartBody2028223400733141087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172933289,"filename":"image_20042025_17_48_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267098","file1":"1352267096","file0":"1352267092","file4":"1352267102","file5":"1352267104","file3":"1352267100"},"map_files_photo_id_array":[{"photo_id":"1352267104","filename":"file5"},{"photo_id":"1352267098","filename":"file2"},{"photo_id":"1352267102","filename":"file4"},{"photo_id":"1352267096","filename":"file1"},{"photo_id":"1352267092","filename":"file0"},{"photo_id":"1352267100","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267098":["hashtag1","hashtag2"]},{"1352267102":["hashtag1","hashtag2"]},{"1352267092":["hashtag1","hashtag2"]},{"1352267104":["hashtag1","hashtag2"]},{"1352267100":["hashtag1","hashtag2"]},{"1352267096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267098, 1352267102, 1352267092, 1352267104, 1352267100, 1352267096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21994638442993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:15:33.100653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_54_9364.jpg', '/home/pi/Desktop/images/20042025/17/48/image_20042025_17_49_04_10624.jpg', '/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_14_9391.jpg', '/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_24_10378.jpg', '/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_35_10459.jpg', '/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_44_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/48/image_20042025_17_48_54_9364.jpg
/home/pi/Desktop/images/20042025/17/48/image_20042025_17_49_04_10624.jpg
/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_14_9391.jpg
/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_24_10378.jpg
/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_35_10459.jpg
/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_44_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267120","1352267123","1352267117","1352267122","1352267116","1352267125"],"photo_ids_order":["1352267116","1352267117","1352267120","1352267122","1352267123","1352267125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3b2d3ef7268b3a74e85c2dd0ba9dee8.jpg","text":"TemporaryFile(/tmp/multipartBody996544554186788031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172993565,"filename":"image_20042025_17_49_14_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b17f1d95ca30f655db9c7320749d5cbb.jpg","text":"TemporaryFile(/tmp/multipartBody8035036785253159049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172993565,"filename":"image_20042025_17_49_35_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93d7e7eb85ad81080c5199131c7839dc.jpg","text":"TemporaryFile(/tmp/multipartBody1004744634656850474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172993565,"filename":"image_20042025_17_49_04_10624.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23696057fe50d7149080b66397e1da11.jpg","text":"TemporaryFile(/tmp/multipartBody8181206412839273551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172993565,"filename":"image_20042025_17_49_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f134c49a618d74562acbfd122687437.jpg","text":"TemporaryFile(/tmp/multipartBody6357057197703087140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172993565,"filename":"image_20042025_17_48_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/410d55a2843e5f3439193ad6fbe839c0.jpg","text":"TemporaryFile(/tmp/multipartBody7357907008017298286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745172993565,"filename":"image_20042025_17_49_44_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267120","file1":"1352267117","file0":"1352267116","file4":"1352267123","file5":"1352267125","file3":"1352267122"},"map_files_photo_id_array":[{"photo_id":"1352267125","filename":"file5"},{"photo_id":"1352267120","filename":"file2"},{"photo_id":"1352267123","filename":"file4"},{"photo_id":"1352267117","filename":"file1"},{"photo_id":"1352267116","filename":"file0"},{"photo_id":"1352267122","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267120":["hashtag1","hashtag2"]},{"1352267123":["hashtag1","hashtag2"]},{"1352267117":["hashtag1","hashtag2"]},{"1352267122":["hashtag1","hashtag2"]},{"1352267116":["hashtag1","hashtag2"]},{"1352267125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267120, 1352267123, 1352267117, 1352267122, 1352267116, 1352267125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.050798654556274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:16:32.406527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_54_10378.jpg', '/home/pi/Desktop/images/20042025/17/49/image_20042025_17_50_05_10354.jpg', '/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_14_9451.jpg', '/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_25_10358.jpg', '/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_44_10386.jpg', '/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/49/image_20042025_17_49_54_10378.jpg
/home/pi/Desktop/images/20042025/17/49/image_20042025_17_50_05_10354.jpg
/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_14_9451.jpg
/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_25_10358.jpg
/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_44_10386.jpg
/home/pi/Desktop/images/20042025/17/50/image_20042025_17_50_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267141","1352267152","1352267155","1352267149","1352267145","1352267154"],"photo_ids_order":["1352267141","1352267145","1352267149","1352267152","1352267154","1352267155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a28b408a33fab94f9a127625d50861da.jpg","text":"TemporaryFile(/tmp/multipartBody8057251157715658642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173052878,"filename":"image_20042025_17_49_54_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55252a67009b7e7721e8486fffce7df3.jpg","text":"TemporaryFile(/tmp/multipartBody5572245809288763134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173052878,"filename":"image_20042025_17_50_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d30789ee609ae7f80f6337f858fe608d.jpg","text":"TemporaryFile(/tmp/multipartBody4345039926104964018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173052878,"filename":"image_20042025_17_50_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dca8e02f1780a4be2699146ee6d1ff0.jpg","text":"TemporaryFile(/tmp/multipartBody251596384312737059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173052878,"filename":"image_20042025_17_50_14_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c00e4ea07b625afe9125a674a67440e5.jpg","text":"TemporaryFile(/tmp/multipartBody7766581506707809239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173052878,"filename":"image_20042025_17_50_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36611d776a39106ad60cb09c267cf29f.jpg","text":"TemporaryFile(/tmp/multipartBody5778553384133436879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173052878,"filename":"image_20042025_17_50_44_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267149","file1":"1352267145","file0":"1352267141","file4":"1352267154","file5":"1352267155","file3":"1352267152"},"map_files_photo_id_array":[{"photo_id":"1352267155","filename":"file5"},{"photo_id":"1352267149","filename":"file2"},{"photo_id":"1352267154","filename":"file4"},{"photo_id":"1352267145","filename":"file1"},{"photo_id":"1352267141","filename":"file0"},{"photo_id":"1352267152","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267141":["hashtag1","hashtag2"]},{"1352267152":["hashtag1","hashtag2"]},{"1352267155":["hashtag1","hashtag2"]},{"1352267149":["hashtag1","hashtag2"]},{"1352267145":["hashtag1","hashtag2"]},{"1352267154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267141, 1352267152, 1352267155, 1352267149, 1352267145, 1352267154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.465663194656372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:17:32.498032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/50/image_20042025_17_51_04_10440.jpg', '/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_15_10360.jpg', '/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_24_9457.jpg', '/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_34_10370.jpg', '/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_44_9406.jpg', '/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_54_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/50/image_20042025_17_51_04_10440.jpg
/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_15_10360.jpg
/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_24_9457.jpg
/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_34_10370.jpg
/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_44_9406.jpg
/home/pi/Desktop/images/20042025/17/51/image_20042025_17_51_54_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267182","1352267184","1352267180","1352267174","1352267177","1352267171"],"photo_ids_order":["1352267171","1352267174","1352267177","1352267180","1352267182","1352267184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34c7ff02e515be8d3a6601d965b9eccc.jpg","text":"TemporaryFile(/tmp/multipartBody300859846872445100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173112986,"filename":"image_20042025_17_51_44_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adf5ef8133ff350f87d2895b847af06e.jpg","text":"TemporaryFile(/tmp/multipartBody4568040175855191040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173112986,"filename":"image_20042025_17_51_54_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/577d6a23564de809d2f6b14f484cdf4d.jpg","text":"TemporaryFile(/tmp/multipartBody4350970664750724834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173112986,"filename":"image_20042025_17_51_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac10f2e128d2d1d66e1e98291b4d76b3.jpg","text":"TemporaryFile(/tmp/multipartBody751308537640966269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173112986,"filename":"image_20042025_17_51_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a59d768c1fc7022c1e059a101d4902ab.jpg","text":"TemporaryFile(/tmp/multipartBody2922090605871052318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173112986,"filename":"image_20042025_17_51_24_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5a332ff79f8085f1dc0e1bd0483ac54.jpg","text":"TemporaryFile(/tmp/multipartBody8491328837920513015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173112986,"filename":"image_20042025_17_51_04_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267177","file1":"1352267174","file0":"1352267171","file4":"1352267182","file5":"1352267184","file3":"1352267180"},"map_files_photo_id_array":[{"photo_id":"1352267184","filename":"file5"},{"photo_id":"1352267177","filename":"file2"},{"photo_id":"1352267182","filename":"file4"},{"photo_id":"1352267174","filename":"file1"},{"photo_id":"1352267171","filename":"file0"},{"photo_id":"1352267180","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267182":["hashtag1","hashtag2"]},{"1352267184":["hashtag1","hashtag2"]},{"1352267180":["hashtag1","hashtag2"]},{"1352267174":["hashtag1","hashtag2"]},{"1352267177":["hashtag1","hashtag2"]},{"1352267171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267182, 1352267184, 1352267180, 1352267174, 1352267177, 1352267171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.027703523635864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:18:32.796578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/51/image_20042025_17_52_05_10389.jpg', '/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_14_9353.jpg', '/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_24_10404.jpg', '/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_34_9360.jpg', '/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_44_10378.jpg', '/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_55_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/51/image_20042025_17_52_05_10389.jpg
/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_14_9353.jpg
/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_24_10404.jpg
/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_34_9360.jpg
/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_44_10378.jpg
/home/pi/Desktop/images/20042025/17/52/image_20042025_17_52_55_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267207","1352267203","1352267199","1352267214","1352267195","1352267210"],"photo_ids_order":["1352267195","1352267199","1352267203","1352267207","1352267210","1352267214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1e16b1414fd9945fe7ba4146f268753.jpg","text":"TemporaryFile(/tmp/multipartBody2300236284208227040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173173255,"filename":"image_20042025_17_52_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fe7ec3a123efe5e24f21104d4b2d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody8839317291702241183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173173255,"filename":"image_20042025_17_52_24_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6f32d55843610be35c914cb26675e86.jpg","text":"TemporaryFile(/tmp/multipartBody4237478065327001821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173173255,"filename":"image_20042025_17_52_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b5f19badfddc920bf35fd11fb63fff7.jpg","text":"TemporaryFile(/tmp/multipartBody1399444250044390404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173173255,"filename":"image_20042025_17_52_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/496bc42c749c18c78b4c3e788d599139.jpg","text":"TemporaryFile(/tmp/multipartBody4639535895767090580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173173255,"filename":"image_20042025_17_52_05_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25b27a60b36d55c6dfa1aa2a041c69a3.jpg","text":"TemporaryFile(/tmp/multipartBody283840115106883139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173173255,"filename":"image_20042025_17_52_44_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267203","file1":"1352267199","file0":"1352267195","file4":"1352267210","file5":"1352267214","file3":"1352267207"},"map_files_photo_id_array":[{"photo_id":"1352267214","filename":"file5"},{"photo_id":"1352267203","filename":"file2"},{"photo_id":"1352267210","filename":"file4"},{"photo_id":"1352267199","filename":"file1"},{"photo_id":"1352267195","filename":"file0"},{"photo_id":"1352267207","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267207":["hashtag1","hashtag2"]},{"1352267203":["hashtag1","hashtag2"]},{"1352267199":["hashtag1","hashtag2"]},{"1352267214":["hashtag1","hashtag2"]},{"1352267195":["hashtag1","hashtag2"]},{"1352267210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267207, 1352267203, 1352267199, 1352267214, 1352267195, 1352267210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.496410608291626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:19:33.017667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/52/image_20042025_17_53_04_9403.jpg', '/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_14_10450.jpg', '/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_34_10386.jpg', '/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_45_10374.jpg', '/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_54_9475.jpg', '/home/pi/Desktop/images/20042025/17/53/image_20042025_17_54_04_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/52/image_20042025_17_53_04_9403.jpg
/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_14_10450.jpg
/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_34_10386.jpg
/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_45_10374.jpg
/home/pi/Desktop/images/20042025/17/53/image_20042025_17_53_54_9475.jpg
/home/pi/Desktop/images/20042025/17/53/image_20042025_17_54_04_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267233","1352267230","1352267244","1352267226","1352267235","1352267238"],"photo_ids_order":["1352267226","1352267230","1352267233","1352267235","1352267238","1352267244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e00cb4609f6e7b41a797ef4931e4483.jpg","text":"TemporaryFile(/tmp/multipartBody6392268306712358074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173233497,"filename":"image_20042025_17_53_34_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b19ba641be05e5f4a73598a0bb1d6f8.jpg","text":"TemporaryFile(/tmp/multipartBody8997459103826893939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173233497,"filename":"image_20042025_17_53_14_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c9623c92784f3f73dc365a4f416625b.jpg","text":"TemporaryFile(/tmp/multipartBody3883441222555340020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173233497,"filename":"image_20042025_17_54_04_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89090b6dd57c105c65154f6dc5df6421.jpg","text":"TemporaryFile(/tmp/multipartBody7795525403931104032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173233497,"filename":"image_20042025_17_53_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f41c85fa015996a883fb041e4b16d6f6.jpg","text":"TemporaryFile(/tmp/multipartBody4008915747595117133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173233497,"filename":"image_20042025_17_53_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d8154186906dd4fc76ec26966d78877.jpg","text":"TemporaryFile(/tmp/multipartBody965741601395501490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173233497,"filename":"image_20042025_17_53_54_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267233","file1":"1352267230","file0":"1352267226","file4":"1352267238","file5":"1352267244","file3":"1352267235"},"map_files_photo_id_array":[{"photo_id":"1352267244","filename":"file5"},{"photo_id":"1352267233","filename":"file2"},{"photo_id":"1352267238","filename":"file4"},{"photo_id":"1352267230","filename":"file1"},{"photo_id":"1352267226","filename":"file0"},{"photo_id":"1352267235","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267233":["hashtag1","hashtag2"]},{"1352267230":["hashtag1","hashtag2"]},{"1352267244":["hashtag1","hashtag2"]},{"1352267226":["hashtag1","hashtag2"]},{"1352267235":["hashtag1","hashtag2"]},{"1352267238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267233, 1352267230, 1352267244, 1352267226, 1352267235, 1352267238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.056501150131226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:20:32.295572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_15_10356.jpg', '/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_24_9445.jpg', '/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_35_10404.jpg', '/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_44_9469.jpg', '/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_54_10362.jpg', '/home/pi/Desktop/images/20042025/17/54/image_20042025_17_55_04_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_15_10356.jpg
/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_24_9445.jpg
/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_35_10404.jpg
/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_44_9469.jpg
/home/pi/Desktop/images/20042025/17/54/image_20042025_17_54_54_10362.jpg
/home/pi/Desktop/images/20042025/17/54/image_20042025_17_55_04_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267251","1352267260","1352267257","1352267262","1352267255","1352267264"],"photo_ids_order":["1352267251","1352267255","1352267257","1352267260","1352267262","1352267264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5af8b01bcc1c5c92d66848c0dfcb52f.jpg","text":"TemporaryFile(/tmp/multipartBody6857897780932421724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173292754,"filename":"image_20042025_17_54_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78fc344785852298cf3a047c7119badf.jpg","text":"TemporaryFile(/tmp/multipartBody736275491385251431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173292754,"filename":"image_20042025_17_54_44_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7439557c3d2d10d79d93054422ab546.jpg","text":"TemporaryFile(/tmp/multipartBody3323404604093449927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173292754,"filename":"image_20042025_17_54_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6bdf1a0fc01b3343cc53448b77d97c5.jpg","text":"TemporaryFile(/tmp/multipartBody1682904212035291485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173292754,"filename":"image_20042025_17_54_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af6cb7186b9bc26ddd111cd950e4d80c.jpg","text":"TemporaryFile(/tmp/multipartBody3201235887734738994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173292754,"filename":"image_20042025_17_54_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c04bb2bec5999d49af09b753473c33e1.jpg","text":"TemporaryFile(/tmp/multipartBody534844356085404013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173292754,"filename":"image_20042025_17_55_04_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267257","file1":"1352267255","file0":"1352267251","file4":"1352267262","file5":"1352267264","file3":"1352267260"},"map_files_photo_id_array":[{"photo_id":"1352267264","filename":"file5"},{"photo_id":"1352267257","filename":"file2"},{"photo_id":"1352267262","filename":"file4"},{"photo_id":"1352267255","filename":"file1"},{"photo_id":"1352267251","filename":"file0"},{"photo_id":"1352267260","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267251":["hashtag1","hashtag2"]},{"1352267260":["hashtag1","hashtag2"]},{"1352267257":["hashtag1","hashtag2"]},{"1352267262":["hashtag1","hashtag2"]},{"1352267255":["hashtag1","hashtag2"]},{"1352267264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267251, 1352267260, 1352267257, 1352267262, 1352267255, 1352267264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55909204483032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:21:32.471870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_14_10442.jpg', '/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_25_10364.jpg', '/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_34_9449.jpg', '/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_54_9432.jpg', '/home/pi/Desktop/images/20042025/17/55/image_20042025_17_56_04_10385.jpg', '/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_15_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_14_10442.jpg
/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_25_10364.jpg
/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_34_9449.jpg
/home/pi/Desktop/images/20042025/17/55/image_20042025_17_55_54_9432.jpg
/home/pi/Desktop/images/20042025/17/55/image_20042025_17_56_04_10385.jpg
/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_15_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267287","1352267281","1352267289","1352267283","1352267285","1352267279"],"photo_ids_order":["1352267279","1352267281","1352267283","1352267285","1352267287","1352267289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42197d3896456a5401d62a12c3a7673c.jpg","text":"TemporaryFile(/tmp/multipartBody4108500460519937586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173352933,"filename":"image_20042025_17_56_04_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/155f802700d3cc7b7683e810f34cf19b.jpg","text":"TemporaryFile(/tmp/multipartBody3931483188679899050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173352933,"filename":"image_20042025_17_55_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe0b9efdca881de4a234508dd06bcbfb.jpg","text":"TemporaryFile(/tmp/multipartBody4791316968265293660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173352933,"filename":"image_20042025_17_56_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94a1cbeb74acb77ab5f5da6af61d28e9.jpg","text":"TemporaryFile(/tmp/multipartBody543458512860620787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173352933,"filename":"image_20042025_17_55_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/276852505111e9ac3a27de717577f92c.jpg","text":"TemporaryFile(/tmp/multipartBody5270892963682379997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173352933,"filename":"image_20042025_17_55_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e25e0996d0c093fa0c9e8ea23e5f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody4164491994337011515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173352933,"filename":"image_20042025_17_55_14_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267283","file1":"1352267281","file0":"1352267279","file4":"1352267287","file5":"1352267289","file3":"1352267285"},"map_files_photo_id_array":[{"photo_id":"1352267289","filename":"file5"},{"photo_id":"1352267283","filename":"file2"},{"photo_id":"1352267287","filename":"file4"},{"photo_id":"1352267281","filename":"file1"},{"photo_id":"1352267279","filename":"file0"},{"photo_id":"1352267285","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267287":["hashtag1","hashtag2"]},{"1352267281":["hashtag1","hashtag2"]},{"1352267289":["hashtag1","hashtag2"]},{"1352267283":["hashtag1","hashtag2"]},{"1352267285":["hashtag1","hashtag2"]},{"1352267279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267287, 1352267281, 1352267289, 1352267283, 1352267285, 1352267279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.550477266311646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:22:32.621356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_24_9428.jpg', '/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_35_10366.jpg', '/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_44_9366.jpg', '/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_54_10441.jpg', '/home/pi/Desktop/images/20042025/17/56/image_20042025_17_57_05_10355.jpg', '/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_14_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_24_9428.jpg
/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_35_10366.jpg
/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_44_9366.jpg
/home/pi/Desktop/images/20042025/17/56/image_20042025_17_56_54_10441.jpg
/home/pi/Desktop/images/20042025/17/56/image_20042025_17_57_05_10355.jpg
/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_14_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267308","1352267298","1352267307","1352267301","1352267310","1352267304"],"photo_ids_order":["1352267298","1352267301","1352267304","1352267307","1352267308","1352267310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/852ce79ec552ec2c79a1c10c906ced25.jpg","text":"TemporaryFile(/tmp/multipartBody5932365850396504971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173413087,"filename":"image_20042025_17_57_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bb3f4eadb621aafe2f150c74d1605fd.jpg","text":"TemporaryFile(/tmp/multipartBody8404322976993123139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173413087,"filename":"image_20042025_17_56_24_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38b282028a8db6b4c9324334f49c33f3.jpg","text":"TemporaryFile(/tmp/multipartBody1472335663401897345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173413087,"filename":"image_20042025_17_56_54_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2811593019a32a8ba53504881b1815a0.jpg","text":"TemporaryFile(/tmp/multipartBody8266939693506875910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173413087,"filename":"image_20042025_17_56_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff171c53c27371fd021396d3c39ed3de.jpg","text":"TemporaryFile(/tmp/multipartBody8253788559416847705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173413087,"filename":"image_20042025_17_57_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b93a5d18eb5a46a77cf08183d44e7c37.jpg","text":"TemporaryFile(/tmp/multipartBody499735132498104571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173413087,"filename":"image_20042025_17_56_44_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267304","file1":"1352267301","file0":"1352267298","file4":"1352267308","file5":"1352267310","file3":"1352267307"},"map_files_photo_id_array":[{"photo_id":"1352267310","filename":"file5"},{"photo_id":"1352267304","filename":"file2"},{"photo_id":"1352267308","filename":"file4"},{"photo_id":"1352267301","filename":"file1"},{"photo_id":"1352267298","filename":"file0"},{"photo_id":"1352267307","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267308":["hashtag1","hashtag2"]},{"1352267298":["hashtag1","hashtag2"]},{"1352267307":["hashtag1","hashtag2"]},{"1352267301":["hashtag1","hashtag2"]},{"1352267310":["hashtag1","hashtag2"]},{"1352267304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267308, 1352267298, 1352267307, 1352267301, 1352267310, 1352267304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.43993353843689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:23:32.799379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_24_10378.jpg', '/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_35_10372.jpg', '/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_44_9424.jpg', '/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_55_10368.jpg', '/home/pi/Desktop/images/20042025/17/57/image_20042025_17_58_04_9439.jpg', '/home/pi/Desktop/images/20042025/17/58/image_20042025_17_58_14_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_24_10378.jpg
/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_35_10372.jpg
/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_44_9424.jpg
/home/pi/Desktop/images/20042025/17/57/image_20042025_17_57_55_10368.jpg
/home/pi/Desktop/images/20042025/17/57/image_20042025_17_58_04_9439.jpg
/home/pi/Desktop/images/20042025/17/58/image_20042025_17_58_14_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267333","1352267327","1352267323","1352267331","1352267319","1352267336"],"photo_ids_order":["1352267319","1352267323","1352267327","1352267331","1352267333","1352267336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11ce36addd05f8917a3acabaca1463f0.jpg","text":"TemporaryFile(/tmp/multipartBody1959422986167152225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173473261,"filename":"image_20042025_17_58_04_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c3495c90a50d8f7a24ed4b0200785e5a.jpg","text":"TemporaryFile(/tmp/multipartBody2163941514051570629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173473261,"filename":"image_20042025_17_57_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dc8e940ea99870da8a82faeaf25d7e9.jpg","text":"TemporaryFile(/tmp/multipartBody6974853183184880499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173473261,"filename":"image_20042025_17_57_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/348fbc5242427b11a58d0cb73d753aca.jpg","text":"TemporaryFile(/tmp/multipartBody8991374741360410845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173473261,"filename":"image_20042025_17_57_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df3166e2c137f814d7713e9002d53415.jpg","text":"TemporaryFile(/tmp/multipartBody9208431963292258073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173473261,"filename":"image_20042025_17_57_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a91bc03786aa57d5a6ac0d75051029b4.jpg","text":"TemporaryFile(/tmp/multipartBody7770295852532507539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173473261,"filename":"image_20042025_17_58_14_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267327","file1":"1352267323","file0":"1352267319","file4":"1352267333","file5":"1352267336","file3":"1352267331"},"map_files_photo_id_array":[{"photo_id":"1352267336","filename":"file5"},{"photo_id":"1352267327","filename":"file2"},{"photo_id":"1352267333","filename":"file4"},{"photo_id":"1352267323","filename":"file1"},{"photo_id":"1352267319","filename":"file0"},{"photo_id":"1352267331","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267333":["hashtag1","hashtag2"]},{"1352267327":["hashtag1","hashtag2"]},{"1352267323":["hashtag1","hashtag2"]},{"1352267331":["hashtag1","hashtag2"]},{"1352267319":["hashtag1","hashtag2"]},{"1352267336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267333, 1352267327, 1352267323, 1352267331, 1352267319, 1352267336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.293067932128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:24:33.126213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/58/image_20042025_17_58_25_10378.jpg', '/home/pi/Desktop/images/20042025/17/58/image_20042025_17_58_34_9424.jpg', '/home/pi/Desktop/images/20042025/17/58/image_20042025_17_59_04_10364.jpg', '/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_15_10398.jpg', '/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_24_9473.jpg', '/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_35_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/58/image_20042025_17_58_25_10378.jpg
/home/pi/Desktop/images/20042025/17/58/image_20042025_17_58_34_9424.jpg
/home/pi/Desktop/images/20042025/17/58/image_20042025_17_59_04_10364.jpg
/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_15_10398.jpg
/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_24_9473.jpg
/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_35_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267359","1352267361","1352267352","1352267354","1352267363","1352267357"],"photo_ids_order":["1352267352","1352267354","1352267357","1352267359","1352267361","1352267363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7d5a0b63d719ea01c990789f7404bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6768209241698863409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173533604,"filename":"image_20042025_17_59_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0e29829f407a03a96dd9a291d72c379.jpg","text":"TemporaryFile(/tmp/multipartBody3821624116938888238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173533604,"filename":"image_20042025_17_59_24_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63772306be9a8b05614e0155fa0df417.jpg","text":"TemporaryFile(/tmp/multipartBody4710040152150687223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173533604,"filename":"image_20042025_17_58_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/02dabbdd105db81713213ca08480ae77.jpg","text":"TemporaryFile(/tmp/multipartBody1459151158985635446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173533604,"filename":"image_20042025_17_58_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f508abbeb114716f136f489243f37619.jpg","text":"TemporaryFile(/tmp/multipartBody8151413396223871876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173533604,"filename":"image_20042025_17_59_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99dfea0f52e97b75391e4dce735f9fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7616042012141411537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173533604,"filename":"image_20042025_17_59_04_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267357","file1":"1352267354","file0":"1352267352","file4":"1352267361","file5":"1352267363","file3":"1352267359"},"map_files_photo_id_array":[{"photo_id":"1352267363","filename":"file5"},{"photo_id":"1352267357","filename":"file2"},{"photo_id":"1352267361","filename":"file4"},{"photo_id":"1352267354","filename":"file1"},{"photo_id":"1352267352","filename":"file0"},{"photo_id":"1352267359","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267359":["hashtag1","hashtag2"]},{"1352267361":["hashtag1","hashtag2"]},{"1352267352":["hashtag1","hashtag2"]},{"1352267354":["hashtag1","hashtag2"]},{"1352267363":["hashtag1","hashtag2"]},{"1352267357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267359, 1352267361, 1352267352, 1352267354, 1352267363, 1352267357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.443023681640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:25:32.369319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_44_9458.jpg', '/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_55_10444.jpg', '/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_14_10078.jpg', '/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_24_10438.jpg', '/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_35_10411.jpg', '/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_44_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_44_9458.jpg
/home/pi/Desktop/images/20042025/17/59/image_20042025_17_59_55_10444.jpg
/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_14_10078.jpg
/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_24_10438.jpg
/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_35_10411.jpg
/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_44_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267377","1352267389","1352267388","1352267385","1352267387","1352267381"],"photo_ids_order":["1352267377","1352267381","1352267385","1352267387","1352267388","1352267389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6dd36b829218d826a6cffc62208969d.jpg","text":"TemporaryFile(/tmp/multipartBody8610667678020585572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173592854,"filename":"image_20042025_17_59_44_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0d285fe2496d82136bcd2159d375861.jpg","text":"TemporaryFile(/tmp/multipartBody5291044124905049868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173592854,"filename":"image_20042025_18_01_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97712015008445aef093ce4786498ac8.jpg","text":"TemporaryFile(/tmp/multipartBody951209662895107907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173592854,"filename":"image_20042025_18_01_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0037842b39a9567e38aec81da36994d4.jpg","text":"TemporaryFile(/tmp/multipartBody2155078851778426142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173592854,"filename":"image_20042025_18_01_14_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ba4d3de573744534d390d363d99266a.jpg","text":"TemporaryFile(/tmp/multipartBody4653410571765236796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173592854,"filename":"image_20042025_18_01_24_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74029bf89d96a75a84f4859d190a078b.jpg","text":"TemporaryFile(/tmp/multipartBody4710758984810368253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173592854,"filename":"image_20042025_17_59_55_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267385","file1":"1352267381","file0":"1352267377","file4":"1352267388","file5":"1352267389","file3":"1352267387"},"map_files_photo_id_array":[{"photo_id":"1352267389","filename":"file5"},{"photo_id":"1352267385","filename":"file2"},{"photo_id":"1352267388","filename":"file4"},{"photo_id":"1352267381","filename":"file1"},{"photo_id":"1352267377","filename":"file0"},{"photo_id":"1352267387","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267377":["hashtag1","hashtag2"]},{"1352267389":["hashtag1","hashtag2"]},{"1352267388":["hashtag1","hashtag2"]},{"1352267385":["hashtag1","hashtag2"]},{"1352267387":["hashtag1","hashtag2"]},{"1352267381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267377, 1352267389, 1352267388, 1352267385, 1352267387, 1352267381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98119926452637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:26:32.393688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_55_10446.jpg', '/home/pi/Desktop/images/20042025/18/01/image_20042025_18_02_04_9367.jpg', '/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_15_10501.jpg', '/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_24_9431.jpg', '/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_34_10372.jpg', '/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/01/image_20042025_18_01_55_10446.jpg
/home/pi/Desktop/images/20042025/18/01/image_20042025_18_02_04_9367.jpg
/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_15_10501.jpg
/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_24_9431.jpg
/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_34_10372.jpg
/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267411","1352267414","1352267408","1352267416","1352267412","1352267409"],"photo_ids_order":["1352267408","1352267409","1352267411","1352267412","1352267414","1352267416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f158987b547eed0c2fb1d5ed0be2b467.jpg","text":"TemporaryFile(/tmp/multipartBody3244667257554100331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173652854,"filename":"image_20042025_18_02_15_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/194fc2e838bf289da11556212e0e05dd.jpg","text":"TemporaryFile(/tmp/multipartBody4250847688952788195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173652854,"filename":"image_20042025_18_02_34_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8ee88ded996f04fb00fc58cf113e12d.jpg","text":"TemporaryFile(/tmp/multipartBody2305950884838130397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173652854,"filename":"image_20042025_18_01_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adb8e7731e9f74d1a751c3bfa76cfa7a.jpg","text":"TemporaryFile(/tmp/multipartBody8157836652856687447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173652854,"filename":"image_20042025_18_02_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/460e3f279a2eb157fc96129e8c54bb46.jpg","text":"TemporaryFile(/tmp/multipartBody2708982390024911727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173652854,"filename":"image_20042025_18_02_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/640e25465c7112f1f499beccd904e22a.jpg","text":"TemporaryFile(/tmp/multipartBody3870348661397778117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173652854,"filename":"image_20042025_18_02_04_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267411","file1":"1352267409","file0":"1352267408","file4":"1352267414","file5":"1352267416","file3":"1352267412"},"map_files_photo_id_array":[{"photo_id":"1352267416","filename":"file5"},{"photo_id":"1352267411","filename":"file2"},{"photo_id":"1352267414","filename":"file4"},{"photo_id":"1352267409","filename":"file1"},{"photo_id":"1352267408","filename":"file0"},{"photo_id":"1352267412","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267411":["hashtag1","hashtag2"]},{"1352267414":["hashtag1","hashtag2"]},{"1352267408":["hashtag1","hashtag2"]},{"1352267416":["hashtag1","hashtag2"]},{"1352267412":["hashtag1","hashtag2"]},{"1352267409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267411, 1352267414, 1352267408, 1352267416, 1352267412, 1352267409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83964514732361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:27:32.745902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_54_9352.jpg', '/home/pi/Desktop/images/20042025/18/02/image_20042025_18_03_05_10435.jpg', '/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_14_9415.jpg', '/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_24_10476.jpg', '/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_35_10357.jpg', '/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_44_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/02/image_20042025_18_02_54_9352.jpg
/home/pi/Desktop/images/20042025/18/02/image_20042025_18_03_05_10435.jpg
/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_14_9415.jpg
/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_24_10476.jpg
/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_35_10357.jpg
/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_44_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267432","1352267443","1352267437","1352267439","1352267430","1352267441"],"photo_ids_order":["1352267430","1352267432","1352267437","1352267439","1352267441","1352267443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0bd81be7e6f4c43778ceeae0d99b30ab.jpg","text":"TemporaryFile(/tmp/multipartBody3079308989385811599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173713199,"filename":"image_20042025_18_03_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e00323befca63a80ff18cefbb0b70443.jpg","text":"TemporaryFile(/tmp/multipartBody5466861705160936258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173713199,"filename":"image_20042025_18_03_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23660b8afd55e80411094580aed336bc.jpg","text":"TemporaryFile(/tmp/multipartBody8880461633262319623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173713199,"filename":"image_20042025_18_03_14_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a7d9de214da3d0a6d4fccd0e1cc6c82.jpg","text":"TemporaryFile(/tmp/multipartBody8313602944757853754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173713199,"filename":"image_20042025_18_03_24_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4e192b4cab9f1601773f66c3f4a33fd7.jpg","text":"TemporaryFile(/tmp/multipartBody9210185152342445000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173713199,"filename":"image_20042025_18_02_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b096ed2d1047045441ca032f575042c2.jpg","text":"TemporaryFile(/tmp/multipartBody4384241534450627498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173713199,"filename":"image_20042025_18_03_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267437","file1":"1352267432","file0":"1352267430","file4":"1352267441","file5":"1352267443","file3":"1352267439"},"map_files_photo_id_array":[{"photo_id":"1352267443","filename":"file5"},{"photo_id":"1352267437","filename":"file2"},{"photo_id":"1352267441","filename":"file4"},{"photo_id":"1352267432","filename":"file1"},{"photo_id":"1352267430","filename":"file0"},{"photo_id":"1352267439","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267432":["hashtag1","hashtag2"]},{"1352267443":["hashtag1","hashtag2"]},{"1352267437":["hashtag1","hashtag2"]},{"1352267439":["hashtag1","hashtag2"]},{"1352267430":["hashtag1","hashtag2"]},{"1352267441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267432, 1352267443, 1352267437, 1352267439, 1352267430, 1352267441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20638346672058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:28:33.062495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_55_10425.jpg', '/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_14_10348.jpg', '/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_25_10385.jpg', '/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_34_9438.jpg', '/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_45_10374.jpg', '/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_54_9503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/03/image_20042025_18_03_55_10425.jpg
/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_14_10348.jpg
/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_25_10385.jpg
/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_34_9438.jpg
/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_45_10374.jpg
/home/pi/Desktop/images/20042025/18/04/image_20042025_18_04_54_9503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267458","1352267467","1352267455","1352267471","1352267465","1352267468"],"photo_ids_order":["1352267455","1352267458","1352267465","1352267467","1352267468","1352267471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/213edb3dab2ffcd53b31fb26f4c26661.jpg","text":"TemporaryFile(/tmp/multipartBody6817024507557675282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173773531,"filename":"image_20042025_18_04_14_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25edd05235c21b54ec2fdfb7ae3fba4b.jpg","text":"TemporaryFile(/tmp/multipartBody6859799451385973009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173773531,"filename":"image_20042025_18_04_34_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fba43ae75bfd166fa300d001f7e38542.jpg","text":"TemporaryFile(/tmp/multipartBody3547292616350309472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173773531,"filename":"image_20042025_18_03_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e6d57e237ac2716a1b23c960880fbd8.jpg","text":"TemporaryFile(/tmp/multipartBody4910614098315297670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173773531,"filename":"image_20042025_18_04_54_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa87d6698e23d05df7ff84b9589b8821.jpg","text":"TemporaryFile(/tmp/multipartBody1899858829934016121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173773531,"filename":"image_20042025_18_04_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7e5cf8cf84c828915d82ed6508c20d34.jpg","text":"TemporaryFile(/tmp/multipartBody9116480431930252942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173773531,"filename":"image_20042025_18_04_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267465","file1":"1352267458","file0":"1352267455","file4":"1352267468","file5":"1352267471","file3":"1352267467"},"map_files_photo_id_array":[{"photo_id":"1352267471","filename":"file5"},{"photo_id":"1352267465","filename":"file2"},{"photo_id":"1352267468","filename":"file4"},{"photo_id":"1352267458","filename":"file1"},{"photo_id":"1352267455","filename":"file0"},{"photo_id":"1352267467","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267458":["hashtag1","hashtag2"]},{"1352267467":["hashtag1","hashtag2"]},{"1352267455":["hashtag1","hashtag2"]},{"1352267471":["hashtag1","hashtag2"]},{"1352267465":["hashtag1","hashtag2"]},{"1352267468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267458, 1352267467, 1352267455, 1352267471, 1352267465, 1352267468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97202110290527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:29:32.221106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/04/image_20042025_18_05_04_10363.jpg', '/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_24_9360.jpg', '/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_35_10466.jpg', '/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_44_9447.jpg', '/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_55_10456.jpg', '/home/pi/Desktop/images/20042025/18/05/image_20042025_18_06_04_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/04/image_20042025_18_05_04_10363.jpg
/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_24_9360.jpg
/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_35_10466.jpg
/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_44_9447.jpg
/home/pi/Desktop/images/20042025/18/05/image_20042025_18_05_55_10456.jpg
/home/pi/Desktop/images/20042025/18/05/image_20042025_18_06_04_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267494","1352267491","1352267481","1352267484","1352267492","1352267489"],"photo_ids_order":["1352267481","1352267484","1352267489","1352267491","1352267492","1352267494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee713a21f150a31d96e7f2d3c796bd55.jpg","text":"TemporaryFile(/tmp/multipartBody274344828700431167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173832681,"filename":"image_20042025_18_06_04_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f3470db7922e7dff19253ae5872d610.jpg","text":"TemporaryFile(/tmp/multipartBody3133548274738593721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173832681,"filename":"image_20042025_18_05_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2df7755ba8202035af035fac1a745e0.jpg","text":"TemporaryFile(/tmp/multipartBody2340681994452066442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173832681,"filename":"image_20042025_18_05_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca91bd8ae339160c2c7b6c3cd72cb2cb.jpg","text":"TemporaryFile(/tmp/multipartBody8295498339300403818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173832681,"filename":"image_20042025_18_05_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85c5f3a11cd4eb011eceaf7ebec45f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3285885027231752755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173832681,"filename":"image_20042025_18_05_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9be519aabfc58641dbf97d18cf420b4e.jpg","text":"TemporaryFile(/tmp/multipartBody7039897727835777148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173832681,"filename":"image_20042025_18_05_35_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267489","file1":"1352267484","file0":"1352267481","file4":"1352267492","file5":"1352267494","file3":"1352267491"},"map_files_photo_id_array":[{"photo_id":"1352267494","filename":"file5"},{"photo_id":"1352267489","filename":"file2"},{"photo_id":"1352267492","filename":"file4"},{"photo_id":"1352267484","filename":"file1"},{"photo_id":"1352267481","filename":"file0"},{"photo_id":"1352267491","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267494":["hashtag1","hashtag2"]},{"1352267491":["hashtag1","hashtag2"]},{"1352267481":["hashtag1","hashtag2"]},{"1352267484":["hashtag1","hashtag2"]},{"1352267492":["hashtag1","hashtag2"]},{"1352267489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267494, 1352267491, 1352267481, 1352267484, 1352267492, 1352267489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43773102760315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:30:32.359206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_14_10364.jpg', '/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_25_10375.jpg', '/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_34_9348.jpg', '/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_55_10359.jpg', '/home/pi/Desktop/images/20042025/18/06/image_20042025_18_07_04_9432.jpg', '/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_14_10364.jpg
/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_25_10375.jpg
/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_34_9348.jpg
/home/pi/Desktop/images/20042025/18/06/image_20042025_18_06_55_10359.jpg
/home/pi/Desktop/images/20042025/18/06/image_20042025_18_07_04_9432.jpg
/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267510","1352267513","1352267523","1352267517","1352267520","1352267522"],"photo_ids_order":["1352267510","1352267513","1352267517","1352267520","1352267522","1352267523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb44d4a57db4875964b4601960647f76.jpg","text":"TemporaryFile(/tmp/multipartBody5214715306734072314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173892829,"filename":"image_20042025_18_06_14_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d66575dd52bc3f6e63e5d79de606c420.jpg","text":"TemporaryFile(/tmp/multipartBody13919686836150572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173892829,"filename":"image_20042025_18_06_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd80a19292a22909c690fa689d6d418a.jpg","text":"TemporaryFile(/tmp/multipartBody8321356648738975759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173892829,"filename":"image_20042025_18_07_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51b557ea43b98f1a2685f982f3886d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4024192266701596159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173892829,"filename":"image_20042025_18_06_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d769165016e654ed109df81a9ae1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4717371458908420121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173892829,"filename":"image_20042025_18_06_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc61d5a75b96ceee5de67d54e0b5015b.jpg","text":"TemporaryFile(/tmp/multipartBody4249665204673794460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173892829,"filename":"image_20042025_18_07_04_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267517","file1":"1352267513","file0":"1352267510","file4":"1352267522","file5":"1352267523","file3":"1352267520"},"map_files_photo_id_array":[{"photo_id":"1352267523","filename":"file5"},{"photo_id":"1352267517","filename":"file2"},{"photo_id":"1352267522","filename":"file4"},{"photo_id":"1352267513","filename":"file1"},{"photo_id":"1352267510","filename":"file0"},{"photo_id":"1352267520","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267510":["hashtag1","hashtag2"]},{"1352267513":["hashtag1","hashtag2"]},{"1352267523":["hashtag1","hashtag2"]},{"1352267517":["hashtag1","hashtag2"]},{"1352267520":["hashtag1","hashtag2"]},{"1352267522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267510, 1352267513, 1352267523, 1352267517, 1352267520, 1352267522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2020308971405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:31:32.468960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_24_9442.jpg', '/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_35_10442.jpg', '/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_45_10367.jpg', '/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_54_9434.jpg', '/home/pi/Desktop/images/20042025/18/07/image_20042025_18_08_05_10362.jpg', '/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_14_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_24_9442.jpg
/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_35_10442.jpg
/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_45_10367.jpg
/home/pi/Desktop/images/20042025/18/07/image_20042025_18_07_54_9434.jpg
/home/pi/Desktop/images/20042025/18/07/image_20042025_18_08_05_10362.jpg
/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_14_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267545","1352267539","1352267542","1352267535","1352267550","1352267552"],"photo_ids_order":["1352267535","1352267539","1352267542","1352267545","1352267550","1352267552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6eed4e99487d2f6fa269dd8bd74d5869.jpg","text":"TemporaryFile(/tmp/multipartBody80612074429731019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173952947,"filename":"image_20042025_18_07_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b95305ca367faffdc5247de878de5d6e.jpg","text":"TemporaryFile(/tmp/multipartBody9153518731243770777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173952947,"filename":"image_20042025_18_07_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fb122c34a01823c46da340ca5a96ad7.jpg","text":"TemporaryFile(/tmp/multipartBody2309084781228498619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173952947,"filename":"image_20042025_18_07_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a8e729f1cf4390535dc2426e011d412.jpg","text":"TemporaryFile(/tmp/multipartBody2304452052484769787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173952947,"filename":"image_20042025_18_07_24_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f423540636691068b098f441ebff6e8.jpg","text":"TemporaryFile(/tmp/multipartBody4323989102041589083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173952947,"filename":"image_20042025_18_08_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6084b275a875f6aa7d8b370e3a18e023.jpg","text":"TemporaryFile(/tmp/multipartBody4379234334926939056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745173952947,"filename":"image_20042025_18_08_14_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267542","file1":"1352267539","file0":"1352267535","file4":"1352267550","file5":"1352267552","file3":"1352267545"},"map_files_photo_id_array":[{"photo_id":"1352267552","filename":"file5"},{"photo_id":"1352267542","filename":"file2"},{"photo_id":"1352267550","filename":"file4"},{"photo_id":"1352267539","filename":"file1"},{"photo_id":"1352267535","filename":"file0"},{"photo_id":"1352267545","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267545":["hashtag1","hashtag2"]},{"1352267539":["hashtag1","hashtag2"]},{"1352267542":["hashtag1","hashtag2"]},{"1352267535":["hashtag1","hashtag2"]},{"1352267550":["hashtag1","hashtag2"]},{"1352267552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267545, 1352267539, 1352267542, 1352267535, 1352267550, 1352267552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81750845909119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:32:32.795502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_25_10370.jpg', '/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_34_9531.jpg', '/home/pi/Desktop/images/20042025/18/08/image_20042025_18_09_04_9415.jpg', '/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_15_10457.jpg', '/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_24_9426.jpg', '/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_45_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_25_10370.jpg
/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_34_9531.jpg
/home/pi/Desktop/images/20042025/18/08/image_20042025_18_09_04_9415.jpg
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_15_10457.jpg
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_24_9426.jpg
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_45_10427.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39067959785461426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 20:32:42.809961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_25_10370.jpg', '/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_34_9531.jpg', '/home/pi/Desktop/images/20042025/18/08/image_20042025_18_09_04_9415.jpg', '/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_15_10457.jpg', '/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_24_9426.jpg', '/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_45_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_25_10370.jpg
/home/pi/Desktop/images/20042025/18/08/image_20042025_18_08_34_9531.jpg
/home/pi/Desktop/images/20042025/18/08/image_20042025_18_09_04_9415.jpg
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_15_10457.jpg
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_24_9426.jpg
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_45_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267590","1352267586","1352267589","1352267583","1352267579","1352267588"],"photo_ids_order":["1352267579","1352267583","1352267586","1352267588","1352267589","1352267590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f7cd09b9f25c3a1a531848c09e5afd2.jpg","text":"TemporaryFile(/tmp/multipartBody4899202235961658767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174023277,"filename":"image_20042025_18_09_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/040dc92854aa8b611883a4b48d4b5515.jpg","text":"TemporaryFile(/tmp/multipartBody532815379370121962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174023277,"filename":"image_20042025_18_09_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b70eefb08becb421a1ac545d085be879.jpg","text":"TemporaryFile(/tmp/multipartBody1892221852704238696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174023277,"filename":"image_20042025_18_09_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae337adcc5777bb7bdd500504505b78d.jpg","text":"TemporaryFile(/tmp/multipartBody5999713767083654724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174023277,"filename":"image_20042025_18_08_34_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/65b0f8da19ba5270e38bd9050570aaaa.jpg","text":"TemporaryFile(/tmp/multipartBody9000835986312416394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174023277,"filename":"image_20042025_18_08_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35d83e9786f12167246c1ee5f0bcc5d2.jpg","text":"TemporaryFile(/tmp/multipartBody4509589654363885186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174023277,"filename":"image_20042025_18_09_15_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267586","file1":"1352267583","file0":"1352267579","file4":"1352267589","file5":"1352267590","file3":"1352267588"},"map_files_photo_id_array":[{"photo_id":"1352267590","filename":"file5"},{"photo_id":"1352267586","filename":"file2"},{"photo_id":"1352267589","filename":"file4"},{"photo_id":"1352267583","filename":"file1"},{"photo_id":"1352267579","filename":"file0"},{"photo_id":"1352267588","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267590":["hashtag1","hashtag2"]},{"1352267586":["hashtag1","hashtag2"]},{"1352267589":["hashtag1","hashtag2"]},{"1352267583":["hashtag1","hashtag2"]},{"1352267579":["hashtag1","hashtag2"]},{"1352267588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267590, 1352267586, 1352267589, 1352267583, 1352267579, 1352267588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.929222106933594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:33:32.978429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_54_9358.jpg', '/home/pi/Desktop/images/20042025/18/09/image_20042025_18_10_05_10366.jpg', '/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_14_9390.jpg', '/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_24_10365.jpg', '/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_44_9471.jpg', '/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_09_54_9358.jpg
/home/pi/Desktop/images/20042025/18/09/image_20042025_18_10_05_10366.jpg
/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_14_9390.jpg
/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_24_10365.jpg
/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_44_9471.jpg
/home/pi/Desktop/images/20042025/18/10/image_20042025_18_10_55_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267605","1352267614","1352267602","1352267610","1352267613","1352267607"],"photo_ids_order":["1352267602","1352267605","1352267607","1352267610","1352267613","1352267614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/691766ff8cc3b9427c466af661c120d4.jpg","text":"TemporaryFile(/tmp/multipartBody5475836135905851208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174073445,"filename":"image_20042025_18_10_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1424e49a5859202ac2dc76f71cf924ec.jpg","text":"TemporaryFile(/tmp/multipartBody4855378222496873910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174073445,"filename":"image_20042025_18_10_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54e83dede7d5746133f2202b62413c73.jpg","text":"TemporaryFile(/tmp/multipartBody7151860711932552428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174073445,"filename":"image_20042025_18_09_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/720a4d436cf75bfdf040545869d56fb4.jpg","text":"TemporaryFile(/tmp/multipartBody1894204470872519203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174073445,"filename":"image_20042025_18_10_24_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/181cb582841f04ceb3a78e306845432c.jpg","text":"TemporaryFile(/tmp/multipartBody6251364552805997758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174073445,"filename":"image_20042025_18_10_44_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03c0295376b0d40590a91616e87ee273.jpg","text":"TemporaryFile(/tmp/multipartBody2358444253134857975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174073445,"filename":"image_20042025_18_10_14_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267607","file1":"1352267605","file0":"1352267602","file4":"1352267613","file5":"1352267614","file3":"1352267610"},"map_files_photo_id_array":[{"photo_id":"1352267614","filename":"file5"},{"photo_id":"1352267607","filename":"file2"},{"photo_id":"1352267613","filename":"file4"},{"photo_id":"1352267605","filename":"file1"},{"photo_id":"1352267602","filename":"file0"},{"photo_id":"1352267610","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267605":["hashtag1","hashtag2"]},{"1352267614":["hashtag1","hashtag2"]},{"1352267602":["hashtag1","hashtag2"]},{"1352267610":["hashtag1","hashtag2"]},{"1352267613":["hashtag1","hashtag2"]},{"1352267607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267605, 1352267614, 1352267602, 1352267610, 1352267613, 1352267607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.882710218429565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:34:32.161379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/10/image_20042025_18_11_04_9379.jpg', '/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_14_10353.jpg', '/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_25_10428.jpg', '/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_34_9419.jpg', '/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_45_10409.jpg', '/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_54_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/10/image_20042025_18_11_04_9379.jpg
/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_14_10353.jpg
/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_25_10428.jpg
/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_34_9419.jpg
/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_45_10409.jpg
/home/pi/Desktop/images/20042025/18/11/image_20042025_18_11_54_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267634","1352267637","1352267622","1352267631","1352267625","1352267628"],"photo_ids_order":["1352267622","1352267625","1352267628","1352267631","1352267634","1352267637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f92c970ba4d1e29dfda7433300f0ffc7.jpg","text":"TemporaryFile(/tmp/multipartBody1091695990058873428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174132633,"filename":"image_20042025_18_11_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf9cc23685df7110ba722dee64d233b9.jpg","text":"TemporaryFile(/tmp/multipartBody5758590118357046061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174132633,"filename":"image_20042025_18_11_54_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13e66e913efe47cb2510eaec1aa9af60.jpg","text":"TemporaryFile(/tmp/multipartBody5734995627774493268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174132633,"filename":"image_20042025_18_11_04_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cfe77bc7bbdf328311ce4a8faefb014.jpg","text":"TemporaryFile(/tmp/multipartBody6324306259260320433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174132633,"filename":"image_20042025_18_11_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/61b2639028bf8470b574cef23deec375.jpg","text":"TemporaryFile(/tmp/multipartBody1232858112659547340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174132633,"filename":"image_20042025_18_11_14_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3471c0b05c9622458d4e27b3fdb8afe.jpg","text":"TemporaryFile(/tmp/multipartBody4903451687237492700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174132633,"filename":"image_20042025_18_11_25_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267628","file1":"1352267625","file0":"1352267622","file4":"1352267634","file5":"1352267637","file3":"1352267631"},"map_files_photo_id_array":[{"photo_id":"1352267637","filename":"file5"},{"photo_id":"1352267628","filename":"file2"},{"photo_id":"1352267634","filename":"file4"},{"photo_id":"1352267625","filename":"file1"},{"photo_id":"1352267622","filename":"file0"},{"photo_id":"1352267631","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267634":["hashtag1","hashtag2"]},{"1352267637":["hashtag1","hashtag2"]},{"1352267622":["hashtag1","hashtag2"]},{"1352267631":["hashtag1","hashtag2"]},{"1352267625":["hashtag1","hashtag2"]},{"1352267628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267634, 1352267637, 1352267622, 1352267631, 1352267625, 1352267628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.33889126777649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:35:32.300452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/11/image_20042025_18_12_04_10381.jpg', '/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_24_9460.jpg', '/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_35_10352.jpg', '/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_44_9522.jpg', '/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_55_10428.jpg', '/home/pi/Desktop/images/20042025/18/12/image_20042025_18_13_04_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/11/image_20042025_18_12_04_10381.jpg
/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_24_9460.jpg
/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_35_10352.jpg
/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_44_9522.jpg
/home/pi/Desktop/images/20042025/18/12/image_20042025_18_12_55_10428.jpg
/home/pi/Desktop/images/20042025/18/12/image_20042025_18_13_04_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267656","1352267659","1352267661","1352267663","1352267651","1352267648"],"photo_ids_order":["1352267648","1352267651","1352267656","1352267659","1352267661","1352267663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c342ee4f8d62bee1444b45872e4650c.jpg","text":"TemporaryFile(/tmp/multipartBody2068758334264845319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174192779,"filename":"image_20042025_18_12_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e3b526e399344256d4941463ff7756b.jpg","text":"TemporaryFile(/tmp/multipartBody3731258983590251807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174192779,"filename":"image_20042025_18_12_44_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfed1e638b5cecf50a6b9478017648f7.jpg","text":"TemporaryFile(/tmp/multipartBody5829147475388756979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174192779,"filename":"image_20042025_18_12_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8768fd84272c7d3ca2f77b21c4167049.jpg","text":"TemporaryFile(/tmp/multipartBody4120798755081090198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174192779,"filename":"image_20042025_18_13_04_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74584d3ee2f6fec9d0fb3de67052515f.jpg","text":"TemporaryFile(/tmp/multipartBody8665282322979068613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174192779,"filename":"image_20042025_18_12_24_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8aea900f022d0a542e2d5d12eec8ee30.jpg","text":"TemporaryFile(/tmp/multipartBody6289846092358230116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174192779,"filename":"image_20042025_18_12_04_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267656","file1":"1352267651","file0":"1352267648","file4":"1352267661","file5":"1352267663","file3":"1352267659"},"map_files_photo_id_array":[{"photo_id":"1352267663","filename":"file5"},{"photo_id":"1352267656","filename":"file2"},{"photo_id":"1352267661","filename":"file4"},{"photo_id":"1352267651","filename":"file1"},{"photo_id":"1352267648","filename":"file0"},{"photo_id":"1352267659","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267656":["hashtag1","hashtag2"]},{"1352267659":["hashtag1","hashtag2"]},{"1352267661":["hashtag1","hashtag2"]},{"1352267663":["hashtag1","hashtag2"]},{"1352267651":["hashtag1","hashtag2"]},{"1352267648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267656, 1352267659, 1352267661, 1352267663, 1352267651, 1352267648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.969189643859863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:36:32.450605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_14_10370.jpg', '/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_25_10383.jpg', '/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_34_9419.jpg', '/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_45_10367.jpg', '/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_54_9426.jpg', '/home/pi/Desktop/images/20042025/18/13/image_20042025_18_14_04_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_14_10370.jpg
/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_25_10383.jpg
/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_34_9419.jpg
/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_45_10367.jpg
/home/pi/Desktop/images/20042025/18/13/image_20042025_18_13_54_9426.jpg
/home/pi/Desktop/images/20042025/18/13/image_20042025_18_14_04_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267686","1352267680","1352267684","1352267678","1352267687","1352267675"],"photo_ids_order":["1352267675","1352267678","1352267680","1352267684","1352267686","1352267687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81227dc2d46b6d63cb6b4bfe873adbdc.jpg","text":"TemporaryFile(/tmp/multipartBody8768640479071297212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174252927,"filename":"image_20042025_18_13_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d09903a3b7a13706052fd03e0470af6.jpg","text":"TemporaryFile(/tmp/multipartBody5036949563060830576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174252927,"filename":"image_20042025_18_13_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/928551d8517e8ffec27f051573b07f2f.jpg","text":"TemporaryFile(/tmp/multipartBody4059435131143762846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174252927,"filename":"image_20042025_18_13_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86ac14a4b9050a77c135de96bbe8d9a4.jpg","text":"TemporaryFile(/tmp/multipartBody194511077136148107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174252927,"filename":"image_20042025_18_13_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88953584e0a4618b7a59fe89744f65c3.jpg","text":"TemporaryFile(/tmp/multipartBody5230482308122202394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174252927,"filename":"image_20042025_18_14_04_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bd437e7a3ce8d34da3a5a2863bb35dbd.jpg","text":"TemporaryFile(/tmp/multipartBody991706720394101735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174252927,"filename":"image_20042025_18_13_14_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267680","file1":"1352267678","file0":"1352267675","file4":"1352267686","file5":"1352267687","file3":"1352267684"},"map_files_photo_id_array":[{"photo_id":"1352267687","filename":"file5"},{"photo_id":"1352267680","filename":"file2"},{"photo_id":"1352267686","filename":"file4"},{"photo_id":"1352267678","filename":"file1"},{"photo_id":"1352267675","filename":"file0"},{"photo_id":"1352267684","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267686":["hashtag1","hashtag2"]},{"1352267680":["hashtag1","hashtag2"]},{"1352267684":["hashtag1","hashtag2"]},{"1352267678":["hashtag1","hashtag2"]},{"1352267687":["hashtag1","hashtag2"]},{"1352267675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267686, 1352267680, 1352267684, 1352267678, 1352267687, 1352267675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12643051147461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:37:32.724823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_15_10351.jpg', '/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_24_9434.jpg', '/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_35_10369.jpg', '/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_44_9423.jpg', '/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_54_10376.jpg', '/home/pi/Desktop/images/20042025/18/14/image_20042025_18_15_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_15_10351.jpg
/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_24_9434.jpg
/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_35_10369.jpg
/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_44_9423.jpg
/home/pi/Desktop/images/20042025/18/14/image_20042025_18_14_54_10376.jpg
/home/pi/Desktop/images/20042025/18/14/image_20042025_18_15_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267702","1352267711","1352267698","1352267710","1352267713","1352267706"],"photo_ids_order":["1352267698","1352267702","1352267706","1352267710","1352267711","1352267713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0328148899baf445f928a595a47cc040.jpg","text":"TemporaryFile(/tmp/multipartBody1411544618276620790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174313189,"filename":"image_20042025_18_14_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94a5421813fcf2195bfe6660f56a06fa.jpg","text":"TemporaryFile(/tmp/multipartBody3289959150552898553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174313189,"filename":"image_20042025_18_14_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3653fdaacef4abc15f465033d1b35c76.jpg","text":"TemporaryFile(/tmp/multipartBody4477777589200876562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174313189,"filename":"image_20042025_18_14_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fca4eb23bbaaf239115ce88e1a2ac12e.jpg","text":"TemporaryFile(/tmp/multipartBody4961453989132402318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174313189,"filename":"image_20042025_18_14_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a72cca7444c8a8551cc6bc764fdfa4e5.jpg","text":"TemporaryFile(/tmp/multipartBody4903004437385292620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174313189,"filename":"image_20042025_18_15_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b984de6b279fe19f01e0f5590d28a52f.jpg","text":"TemporaryFile(/tmp/multipartBody7970427404038416105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174313189,"filename":"image_20042025_18_14_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267706","file1":"1352267702","file0":"1352267698","file4":"1352267711","file5":"1352267713","file3":"1352267710"},"map_files_photo_id_array":[{"photo_id":"1352267713","filename":"file5"},{"photo_id":"1352267706","filename":"file2"},{"photo_id":"1352267711","filename":"file4"},{"photo_id":"1352267702","filename":"file1"},{"photo_id":"1352267698","filename":"file0"},{"photo_id":"1352267710","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267702":["hashtag1","hashtag2"]},{"1352267711":["hashtag1","hashtag2"]},{"1352267698":["hashtag1","hashtag2"]},{"1352267710":["hashtag1","hashtag2"]},{"1352267713":["hashtag1","hashtag2"]},{"1352267706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267702, 1352267711, 1352267698, 1352267710, 1352267713, 1352267706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.047269821166992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:38:32.979796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_14_9356.jpg', '/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_24_10361.jpg', '/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_34_9544.jpg', '/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_45_10472.jpg', '/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_54_9502.jpg', '/home/pi/Desktop/images/20042025/18/15/image_20042025_18_16_04_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_14_9356.jpg
/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_24_10361.jpg
/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_34_9544.jpg
/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_45_10472.jpg
/home/pi/Desktop/images/20042025/18/15/image_20042025_18_15_54_9502.jpg
/home/pi/Desktop/images/20042025/18/15/image_20042025_18_16_04_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267737","1352267731","1352267733","1352267727","1352267735","1352267729"],"photo_ids_order":["1352267727","1352267729","1352267731","1352267733","1352267735","1352267737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de11f272276f1ee198adbbe33c887ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8011417598955601935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174373443,"filename":"image_20042025_18_16_04_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6a7b4f0841ac2d022c01f94d1d339ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8909253975652716858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174373443,"filename":"image_20042025_18_15_34_9544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4e1e6a96fdedaa2aa13f45b65df3644.jpg","text":"TemporaryFile(/tmp/multipartBody2053548979490018796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174373443,"filename":"image_20042025_18_15_45_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/abd72621fe77dd81bc8ed501b1d9b292.jpg","text":"TemporaryFile(/tmp/multipartBody1167961491630857147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174373443,"filename":"image_20042025_18_15_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fedf01198153f27221eeb4b1b3218a05.jpg","text":"TemporaryFile(/tmp/multipartBody1691328697669855177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174373443,"filename":"image_20042025_18_15_54_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38d3c1bf3450a1fd65cc3f2f166ece39.jpg","text":"TemporaryFile(/tmp/multipartBody820177288429868851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174373443,"filename":"image_20042025_18_15_24_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267731","file1":"1352267729","file0":"1352267727","file4":"1352267735","file5":"1352267737","file3":"1352267733"},"map_files_photo_id_array":[{"photo_id":"1352267737","filename":"file5"},{"photo_id":"1352267731","filename":"file2"},{"photo_id":"1352267735","filename":"file4"},{"photo_id":"1352267729","filename":"file1"},{"photo_id":"1352267727","filename":"file0"},{"photo_id":"1352267733","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267737":["hashtag1","hashtag2"]},{"1352267731":["hashtag1","hashtag2"]},{"1352267733":["hashtag1","hashtag2"]},{"1352267727":["hashtag1","hashtag2"]},{"1352267735":["hashtag1","hashtag2"]},{"1352267729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267737, 1352267731, 1352267733, 1352267727, 1352267735, 1352267729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82987856864929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:39:32.295032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_15_10436.jpg', '/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_24_9424.jpg', '/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_35_10374.jpg', '/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_44_9414.jpg', '/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_14_9388.jpg', '/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_25_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_15_10436.jpg
/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_24_9424.jpg
/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_35_10374.jpg
/home/pi/Desktop/images/20042025/18/16/image_20042025_18_16_44_9414.jpg
/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_14_9388.jpg
/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_25_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267761","1352267758","1352267743","1352267754","1352267750","1352267747"],"photo_ids_order":["1352267743","1352267747","1352267750","1352267754","1352267758","1352267761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/71da86aff61e513708e75083b30c3de1.jpg","text":"TemporaryFile(/tmp/multipartBody8594845426581887979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174432755,"filename":"image_20042025_18_17_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf1aed4327a9ae7e7dd689ec31c32cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1801063246364320862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174432755,"filename":"image_20042025_18_17_14_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5831a9797385699360a19c8f1c29ece.jpg","text":"TemporaryFile(/tmp/multipartBody1302959848621630768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174432755,"filename":"image_20042025_18_16_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/222ac095ab01e70dd655e10bd2e42f67.jpg","text":"TemporaryFile(/tmp/multipartBody5609908935192477183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174432755,"filename":"image_20042025_18_16_44_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d87e57b02d62b42d63be3cb6ce322da6.jpg","text":"TemporaryFile(/tmp/multipartBody4874932474028698220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174432755,"filename":"image_20042025_18_16_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63ed5d7d5c022a18ec42f48978713343.jpg","text":"TemporaryFile(/tmp/multipartBody7927450952725700078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174432755,"filename":"image_20042025_18_16_24_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267750","file1":"1352267747","file0":"1352267743","file4":"1352267758","file5":"1352267761","file3":"1352267754"},"map_files_photo_id_array":[{"photo_id":"1352267761","filename":"file5"},{"photo_id":"1352267750","filename":"file2"},{"photo_id":"1352267758","filename":"file4"},{"photo_id":"1352267747","filename":"file1"},{"photo_id":"1352267743","filename":"file0"},{"photo_id":"1352267754","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267761":["hashtag1","hashtag2"]},{"1352267758":["hashtag1","hashtag2"]},{"1352267743":["hashtag1","hashtag2"]},{"1352267754":["hashtag1","hashtag2"]},{"1352267750":["hashtag1","hashtag2"]},{"1352267747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267761, 1352267758, 1352267743, 1352267754, 1352267750, 1352267747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54371428489685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:40:32.488917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_34_9461.jpg', '/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_45_10362.jpg', '/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_55_10368.jpg', '/home/pi/Desktop/images/20042025/18/17/image_20042025_18_18_04_9363.jpg', '/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_24_9370.jpg', '/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_34_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_34_9461.jpg
/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_45_10362.jpg
/home/pi/Desktop/images/20042025/18/17/image_20042025_18_17_55_10368.jpg
/home/pi/Desktop/images/20042025/18/17/image_20042025_18_18_04_9363.jpg
/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_24_9370.jpg
/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_34_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267785","1352267788","1352267776","1352267790","1352267780","1352267783"],"photo_ids_order":["1352267776","1352267780","1352267783","1352267785","1352267788","1352267790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67a6df84f686c40297f435c3de760fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5268411533103511832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174492953,"filename":"image_20042025_18_18_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/431cfcefb9a2dfc67181fe955cdd6035.jpg","text":"TemporaryFile(/tmp/multipartBody5616708967242487210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174492953,"filename":"image_20042025_18_18_24_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c520c10be061f1d8ace41ac3f4e020a.jpg","text":"TemporaryFile(/tmp/multipartBody6383642893537459734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174492953,"filename":"image_20042025_18_17_34_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3d91608d860ec8afceceea6e1cf3640.jpg","text":"TemporaryFile(/tmp/multipartBody8111314115625271787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174492953,"filename":"image_20042025_18_18_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/adf1ee86739e771babd05cba7fae584c.jpg","text":"TemporaryFile(/tmp/multipartBody2917291235658174215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174492953,"filename":"image_20042025_18_17_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66ca44b1cc048e435ffb23a099c23205.jpg","text":"TemporaryFile(/tmp/multipartBody1639147529900999988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174492953,"filename":"image_20042025_18_17_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267783","file1":"1352267780","file0":"1352267776","file4":"1352267788","file5":"1352267790","file3":"1352267785"},"map_files_photo_id_array":[{"photo_id":"1352267790","filename":"file5"},{"photo_id":"1352267783","filename":"file2"},{"photo_id":"1352267788","filename":"file4"},{"photo_id":"1352267780","filename":"file1"},{"photo_id":"1352267776","filename":"file0"},{"photo_id":"1352267785","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267785":["hashtag1","hashtag2"]},{"1352267788":["hashtag1","hashtag2"]},{"1352267776":["hashtag1","hashtag2"]},{"1352267790":["hashtag1","hashtag2"]},{"1352267780":["hashtag1","hashtag2"]},{"1352267783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267785, 1352267788, 1352267776, 1352267790, 1352267780, 1352267783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19693946838379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:41:32.862092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_45_10396.jpg', '/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_54_9409.jpg', '/home/pi/Desktop/images/20042025/18/19/image_20042025_18_19_14_9444.jpg', '/home/pi/Desktop/images/20042025/18/19/image_20042025_18_19_24_10375.jpg', '/home/pi/Desktop/images/20042025/18/19/image_20042025_18_19_55_10381.jpg', '/home/pi/Desktop/images/20042025/18/19/image_20042025_18_20_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_45_10396.jpg
/home/pi/Desktop/images/20042025/18/18/image_20042025_18_18_54_9409.jpg
/home/pi/Desktop/images/20042025/18/19/image_20042025_18_19_14_9444.jpg
/home/pi/Desktop/images/20042025/18/19/image_20042025_18_19_24_10375.jpg
/home/pi/Desktop/images/20042025/18/19/image_20042025_18_19_55_10381.jpg
/home/pi/Desktop/images/20042025/18/19/image_20042025_18_20_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267801","1352267804","1352267803","1352267806","1352267805","1352267808"],"photo_ids_order":["1352267801","1352267803","1352267804","1352267805","1352267806","1352267808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eeffb8fe748c086a68ed5a31addd919e.jpg","text":"TemporaryFile(/tmp/multipartBody9016432352549490125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174553321,"filename":"image_20042025_18_18_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74a5d585e6c5111db76ca6c8a8937516.jpg","text":"TemporaryFile(/tmp/multipartBody8157674953702793700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174553321,"filename":"image_20042025_18_19_14_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd4fe005ac8acbfb682abf84b1a3d127.jpg","text":"TemporaryFile(/tmp/multipartBody8725103740968548284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174553321,"filename":"image_20042025_18_18_54_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f3ec46c00395a0b6281e56cb52752e0.jpg","text":"TemporaryFile(/tmp/multipartBody1674823616883124619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174553321,"filename":"image_20042025_18_19_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcf678adc16d5e4131c46a5e3c0ebf62.jpg","text":"TemporaryFile(/tmp/multipartBody8271759967993945656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174553321,"filename":"image_20042025_18_19_24_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7521d515590c166a3b481037df217762.jpg","text":"TemporaryFile(/tmp/multipartBody1352444751196133569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174553321,"filename":"image_20042025_18_20_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267804","file1":"1352267803","file0":"1352267801","file4":"1352267806","file5":"1352267808","file3":"1352267805"},"map_files_photo_id_array":[{"photo_id":"1352267808","filename":"file5"},{"photo_id":"1352267804","filename":"file2"},{"photo_id":"1352267806","filename":"file4"},{"photo_id":"1352267803","filename":"file1"},{"photo_id":"1352267801","filename":"file0"},{"photo_id":"1352267805","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267801":["hashtag1","hashtag2"]},{"1352267804":["hashtag1","hashtag2"]},{"1352267803":["hashtag1","hashtag2"]},{"1352267806":["hashtag1","hashtag2"]},{"1352267805":["hashtag1","hashtag2"]},{"1352267808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267801, 1352267804, 1352267803, 1352267806, 1352267805, 1352267808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.279866456985474 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:42:32.989821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_14_9416.jpg', '/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_25_10358.jpg', '/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_34_9375.jpg', '/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_44_10444.jpg', '/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_55_10379.jpg', '/home/pi/Desktop/images/20042025/18/20/image_20042025_18_21_04_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_14_9416.jpg
/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_25_10358.jpg
/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_34_9375.jpg
/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_44_10444.jpg
/home/pi/Desktop/images/20042025/18/20/image_20042025_18_20_55_10379.jpg
/home/pi/Desktop/images/20042025/18/20/image_20042025_18_21_04_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267830","1352267833","1352267827","1352267835","1352267838","1352267837"],"photo_ids_order":["1352267827","1352267830","1352267833","1352267835","1352267837","1352267838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3e0ac013f2651e088e822c7a9359df0.jpg","text":"TemporaryFile(/tmp/multipartBody6322506346353298304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174613443,"filename":"image_20042025_18_20_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2f10c1a99ed9048947e76f667e6aec8.jpg","text":"TemporaryFile(/tmp/multipartBody8235045056941644898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174613443,"filename":"image_20042025_18_20_34_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/684ceec121dd56d2b2b44da780dacfdf.jpg","text":"TemporaryFile(/tmp/multipartBody8410749722504466421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174613443,"filename":"image_20042025_18_20_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf156b9695815e84b6f5e0688dc6fc36.jpg","text":"TemporaryFile(/tmp/multipartBody5090790395366634567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174613443,"filename":"image_20042025_18_20_44_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/258d62e3ff6b42aad4c03144d59b3dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6643223161254476172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174613443,"filename":"image_20042025_18_21_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ea398c5625e7513f14ae3de94d002dd.jpg","text":"TemporaryFile(/tmp/multipartBody4100547265160602706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174613443,"filename":"image_20042025_18_20_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267833","file1":"1352267830","file0":"1352267827","file4":"1352267837","file5":"1352267838","file3":"1352267835"},"map_files_photo_id_array":[{"photo_id":"1352267838","filename":"file5"},{"photo_id":"1352267833","filename":"file2"},{"photo_id":"1352267837","filename":"file4"},{"photo_id":"1352267830","filename":"file1"},{"photo_id":"1352267827","filename":"file0"},{"photo_id":"1352267835","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267830":["hashtag1","hashtag2"]},{"1352267833":["hashtag1","hashtag2"]},{"1352267827":["hashtag1","hashtag2"]},{"1352267835":["hashtag1","hashtag2"]},{"1352267838":["hashtag1","hashtag2"]},{"1352267837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267830, 1352267833, 1352267827, 1352267835, 1352267838, 1352267837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.949155807495117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:43:32.303688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/21/image_20042025_18_21_15_10367.jpg', '/home/pi/Desktop/images/20042025/18/21/image_20042025_18_21_45_10399.jpg', '/home/pi/Desktop/images/20042025/18/21/image_20042025_18_21_54_9441.jpg', '/home/pi/Desktop/images/20042025/18/21/image_20042025_18_22_05_10422.jpg', '/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_14_9357.jpg', '/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_24_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/21/image_20042025_18_21_15_10367.jpg
/home/pi/Desktop/images/20042025/18/21/image_20042025_18_21_45_10399.jpg
/home/pi/Desktop/images/20042025/18/21/image_20042025_18_21_54_9441.jpg
/home/pi/Desktop/images/20042025/18/21/image_20042025_18_22_05_10422.jpg
/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_14_9357.jpg
/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_24_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267866","1352267854","1352267859","1352267850","1352267868","1352267862"],"photo_ids_order":["1352267850","1352267854","1352267859","1352267862","1352267866","1352267868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/753c21429435f34f0e467fe3a383f458.jpg","text":"TemporaryFile(/tmp/multipartBody8005161623842120349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174672764,"filename":"image_20042025_18_22_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12e16b38e3aa7ff853bc62c5740e735c.jpg","text":"TemporaryFile(/tmp/multipartBody3416314793623547503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174672764,"filename":"image_20042025_18_21_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b61cf9a8526acb63c563615b3d72c18.jpg","text":"TemporaryFile(/tmp/multipartBody6774692144591194476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174672764,"filename":"image_20042025_18_21_54_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1183362611e736f1e1b9e148ba7a31f.jpg","text":"TemporaryFile(/tmp/multipartBody3201144403685579303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174672764,"filename":"image_20042025_18_21_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1cd5a514e3f74ec1ca46d21d3924564.jpg","text":"TemporaryFile(/tmp/multipartBody442663959665328312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174672764,"filename":"image_20042025_18_22_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04a50481573dfa88e5bbaaa68d885765.jpg","text":"TemporaryFile(/tmp/multipartBody4803244025608750144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174672764,"filename":"image_20042025_18_22_05_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267859","file1":"1352267854","file0":"1352267850","file4":"1352267866","file5":"1352267868","file3":"1352267862"},"map_files_photo_id_array":[{"photo_id":"1352267868","filename":"file5"},{"photo_id":"1352267859","filename":"file2"},{"photo_id":"1352267866","filename":"file4"},{"photo_id":"1352267854","filename":"file1"},{"photo_id":"1352267850","filename":"file0"},{"photo_id":"1352267862","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267866":["hashtag1","hashtag2"]},{"1352267854":["hashtag1","hashtag2"]},{"1352267859":["hashtag1","hashtag2"]},{"1352267850":["hashtag1","hashtag2"]},{"1352267868":["hashtag1","hashtag2"]},{"1352267862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267866, 1352267854, 1352267859, 1352267850, 1352267868, 1352267862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27834510803223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:44:32.463375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_35_10360.jpg', '/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_44_9377.jpg', '/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_55_10362.jpg', '/home/pi/Desktop/images/20042025/18/22/image_20042025_18_23_05_10417.jpg', '/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_14_9459.jpg', '/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_25_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_35_10360.jpg
/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_44_9377.jpg
/home/pi/Desktop/images/20042025/18/22/image_20042025_18_22_55_10362.jpg
/home/pi/Desktop/images/20042025/18/22/image_20042025_18_23_05_10417.jpg
/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_14_9459.jpg
/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_25_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267887","1352267895","1352267898","1352267891","1352267882","1352267885"],"photo_ids_order":["1352267882","1352267885","1352267887","1352267891","1352267895","1352267898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59a0a67f85ba729878edf1c6ad5ab8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1259969042722048235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174732940,"filename":"image_20042025_18_22_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0179559486ad20b9024c32f495a00d6.jpg","text":"TemporaryFile(/tmp/multipartBody2105117728296725568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174732940,"filename":"image_20042025_18_23_14_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0c76d2e3ddfcae5566264e7a10bb77f8.jpg","text":"TemporaryFile(/tmp/multipartBody353492667629325341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174732940,"filename":"image_20042025_18_23_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8da67eceeff42b7da2d89be444588f4.jpg","text":"TemporaryFile(/tmp/multipartBody5076113718515576752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174732940,"filename":"image_20042025_18_23_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83165c8d348cb3d79a834d298b78f3aa.jpg","text":"TemporaryFile(/tmp/multipartBody8617908277550917374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174732940,"filename":"image_20042025_18_22_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc37b61847f2e51fc95f1b5a4dd448f0.jpg","text":"TemporaryFile(/tmp/multipartBody5571920885286664142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174732940,"filename":"image_20042025_18_22_44_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267887","file1":"1352267885","file0":"1352267882","file4":"1352267895","file5":"1352267898","file3":"1352267891"},"map_files_photo_id_array":[{"photo_id":"1352267898","filename":"file5"},{"photo_id":"1352267887","filename":"file2"},{"photo_id":"1352267895","filename":"file4"},{"photo_id":"1352267885","filename":"file1"},{"photo_id":"1352267882","filename":"file0"},{"photo_id":"1352267891","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267887":["hashtag1","hashtag2"]},{"1352267895":["hashtag1","hashtag2"]},{"1352267898":["hashtag1","hashtag2"]},{"1352267891":["hashtag1","hashtag2"]},{"1352267882":["hashtag1","hashtag2"]},{"1352267885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267887, 1352267895, 1352267898, 1352267891, 1352267882, 1352267885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.88553261756897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:45:32.785876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_34_9458.jpg', '/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_45_10378.jpg', '/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_54_9378.jpg', '/home/pi/Desktop/images/20042025/18/23/image_20042025_18_24_04_10348.jpg', '/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_15_10435.jpg', '/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_24_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_34_9458.jpg
/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_45_10378.jpg
/home/pi/Desktop/images/20042025/18/23/image_20042025_18_23_54_9378.jpg
/home/pi/Desktop/images/20042025/18/23/image_20042025_18_24_04_10348.jpg
/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_15_10435.jpg
/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_24_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267915","1352267909","1352267917","1352267911","1352267913","1352267918"],"photo_ids_order":["1352267909","1352267911","1352267913","1352267915","1352267917","1352267918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f911a5a5c962c504a5f3d8def64209e6.jpg","text":"TemporaryFile(/tmp/multipartBody2924483471544082656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174793250,"filename":"image_20042025_18_24_04_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4840c87d4504cb8d53d5dccb750686de.jpg","text":"TemporaryFile(/tmp/multipartBody7752269961267506190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174793250,"filename":"image_20042025_18_23_34_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fc0dd077b8666bf5e54a3085afa2747.jpg","text":"TemporaryFile(/tmp/multipartBody5291757669805989083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174793250,"filename":"image_20042025_18_24_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/542b0e3dd3b95351d9397d839db2bfc9.jpg","text":"TemporaryFile(/tmp/multipartBody7038233741599946046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174793250,"filename":"image_20042025_18_23_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0995f1b384266edffcb661ea2fe4d474.jpg","text":"TemporaryFile(/tmp/multipartBody3481325407261209045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174793250,"filename":"image_20042025_18_23_54_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa403807352fc494effd1f234925da70.jpg","text":"TemporaryFile(/tmp/multipartBody3845459114223255912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174793250,"filename":"image_20042025_18_24_24_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267913","file1":"1352267911","file0":"1352267909","file4":"1352267917","file5":"1352267918","file3":"1352267915"},"map_files_photo_id_array":[{"photo_id":"1352267918","filename":"file5"},{"photo_id":"1352267913","filename":"file2"},{"photo_id":"1352267917","filename":"file4"},{"photo_id":"1352267911","filename":"file1"},{"photo_id":"1352267909","filename":"file0"},{"photo_id":"1352267915","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267915":["hashtag1","hashtag2"]},{"1352267909":["hashtag1","hashtag2"]},{"1352267917":["hashtag1","hashtag2"]},{"1352267911":["hashtag1","hashtag2"]},{"1352267913":["hashtag1","hashtag2"]},{"1352267918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267915, 1352267909, 1352267917, 1352267911, 1352267913, 1352267918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.204383850097656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:46:32.809753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_35_10368.jpg', '/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_44_9470.jpg', '/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_55_10431.jpg', '/home/pi/Desktop/images/20042025/18/24/image_20042025_18_25_04_9467.jpg', '/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_14_10371.jpg', '/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_25_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_35_10368.jpg
/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_44_9470.jpg
/home/pi/Desktop/images/20042025/18/24/image_20042025_18_24_55_10431.jpg
/home/pi/Desktop/images/20042025/18/24/image_20042025_18_25_04_9467.jpg
/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_14_10371.jpg
/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_25_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267941","1352267936","1352267939","1352267930","1352267933","1352267927"],"photo_ids_order":["1352267927","1352267930","1352267933","1352267936","1352267939","1352267941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f6b3d7b7b6508f5b7096e4be025e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5101137194215361073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174853286,"filename":"image_20042025_18_25_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fbce2480b19b42ce8ec0a5ee48e6cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2698711737136927475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174853286,"filename":"image_20042025_18_25_04_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96c9cb65d7dde07039c58dd4b99dee82.jpg","text":"TemporaryFile(/tmp/multipartBody1265017737814461519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174853286,"filename":"image_20042025_18_25_14_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5994db4a3e3f2620de048f5e5d1b0ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6740087166104632600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174853286,"filename":"image_20042025_18_24_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90b8a04e4d8c69c3cd792244ec57b594.jpg","text":"TemporaryFile(/tmp/multipartBody7016109849600021507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174853286,"filename":"image_20042025_18_24_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff6f5f6ae88d14513082e7c3fa2e6e7f.jpg","text":"TemporaryFile(/tmp/multipartBody157855272045233059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174853286,"filename":"image_20042025_18_24_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267933","file1":"1352267930","file0":"1352267927","file4":"1352267939","file5":"1352267941","file3":"1352267936"},"map_files_photo_id_array":[{"photo_id":"1352267941","filename":"file5"},{"photo_id":"1352267933","filename":"file2"},{"photo_id":"1352267939","filename":"file4"},{"photo_id":"1352267930","filename":"file1"},{"photo_id":"1352267927","filename":"file0"},{"photo_id":"1352267936","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267941":["hashtag1","hashtag2"]},{"1352267936":["hashtag1","hashtag2"]},{"1352267939":["hashtag1","hashtag2"]},{"1352267930":["hashtag1","hashtag2"]},{"1352267933":["hashtag1","hashtag2"]},{"1352267927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267941, 1352267936, 1352267939, 1352267930, 1352267933, 1352267927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.608635425567627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:47:33.120082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_34_9448.jpg', '/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_45_10431.jpg', '/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_54_9373.jpg', '/home/pi/Desktop/images/20042025/18/25/image_20042025_18_26_04_10388.jpg', '/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_15_10367.jpg', '/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_24_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_34_9448.jpg
/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_45_10431.jpg
/home/pi/Desktop/images/20042025/18/25/image_20042025_18_25_54_9373.jpg
/home/pi/Desktop/images/20042025/18/25/image_20042025_18_26_04_10388.jpg
/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_15_10367.jpg
/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_24_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267968","1352267956","1352267958","1352267960","1352267963","1352267966"],"photo_ids_order":["1352267956","1352267958","1352267960","1352267963","1352267966","1352267968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37d9cb6981c24755a1da85c2955b9395.jpg","text":"TemporaryFile(/tmp/multipartBody3995329467014340955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174913582,"filename":"image_20042025_18_26_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c06bece332e8a9113935dbf40ca4281d.jpg","text":"TemporaryFile(/tmp/multipartBody1747414141813984511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174913582,"filename":"image_20042025_18_25_34_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93d12581bf939ca44206a85f89c261c9.jpg","text":"TemporaryFile(/tmp/multipartBody6832683034173250874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174913582,"filename":"image_20042025_18_25_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4fce6c4a082df01f6dfe68b54dd572bb.jpg","text":"TemporaryFile(/tmp/multipartBody1573946360418366452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174913582,"filename":"image_20042025_18_25_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/892418b5afc8c113887634e40de4796a.jpg","text":"TemporaryFile(/tmp/multipartBody4722262110686833059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174913582,"filename":"image_20042025_18_26_04_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c21d071af847f864dcf3be1d5839860.jpg","text":"TemporaryFile(/tmp/multipartBody5507605922389380293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174913582,"filename":"image_20042025_18_26_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267960","file1":"1352267958","file0":"1352267956","file4":"1352267966","file5":"1352267968","file3":"1352267963"},"map_files_photo_id_array":[{"photo_id":"1352267968","filename":"file5"},{"photo_id":"1352267960","filename":"file2"},{"photo_id":"1352267966","filename":"file4"},{"photo_id":"1352267958","filename":"file1"},{"photo_id":"1352267956","filename":"file0"},{"photo_id":"1352267963","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267968":["hashtag1","hashtag2"]},{"1352267956":["hashtag1","hashtag2"]},{"1352267958":["hashtag1","hashtag2"]},{"1352267960":["hashtag1","hashtag2"]},{"1352267963":["hashtag1","hashtag2"]},{"1352267966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267968, 1352267956, 1352267958, 1352267960, 1352267963, 1352267966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.040088891983032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:48:32.251540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_35_10446.jpg', '/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_44_9420.jpg', '/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_54_10372.jpg', '/home/pi/Desktop/images/20042025/18/26/image_20042025_18_27_05_10359.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_14_9357.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_25_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_35_10446.jpg
/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_44_9420.jpg
/home/pi/Desktop/images/20042025/18/26/image_20042025_18_26_54_10372.jpg
/home/pi/Desktop/images/20042025/18/26/image_20042025_18_27_05_10359.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_14_9357.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_25_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267995","1352267988","1352267979","1352267999","1352267993","1352267984"],"photo_ids_order":["1352267979","1352267984","1352267988","1352267993","1352267995","1352267999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f4ecd518b36ca0e85fa1240bcfa579a2.jpg","text":"TemporaryFile(/tmp/multipartBody8277891576409900448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174972718,"filename":"image_20042025_18_27_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e1bf17ac501d17348209303cfbb1721.jpg","text":"TemporaryFile(/tmp/multipartBody7490317662473489403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174972718,"filename":"image_20042025_18_26_54_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52b407831460b76a04c5f831756fb8ee.jpg","text":"TemporaryFile(/tmp/multipartBody2049286734070851879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174972718,"filename":"image_20042025_18_26_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bd4841f7186741bf84aa542b16be198.jpg","text":"TemporaryFile(/tmp/multipartBody7650530931696529196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174972718,"filename":"image_20042025_18_27_25_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c389307f6172ad60e365950ea0c6e04.jpg","text":"TemporaryFile(/tmp/multipartBody2735076189619448248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174972718,"filename":"image_20042025_18_27_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b55c34a4c81df2bf5ee7793fcc5a6b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3988073576389081195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745174972718,"filename":"image_20042025_18_26_44_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267988","file1":"1352267984","file0":"1352267979","file4":"1352267995","file5":"1352267999","file3":"1352267993"},"map_files_photo_id_array":[{"photo_id":"1352267999","filename":"file5"},{"photo_id":"1352267988","filename":"file2"},{"photo_id":"1352267995","filename":"file4"},{"photo_id":"1352267984","filename":"file1"},{"photo_id":"1352267979","filename":"file0"},{"photo_id":"1352267993","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352267995":["hashtag1","hashtag2"]},{"1352267988":["hashtag1","hashtag2"]},{"1352267979":["hashtag1","hashtag2"]},{"1352267999":["hashtag1","hashtag2"]},{"1352267993":["hashtag1","hashtag2"]},{"1352267984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352267995, 1352267988, 1352267979, 1352267999, 1352267993, 1352267984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5844304561615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:49:32.757772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_34_9447.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_44_10371.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_55_10440.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_28_04_9341.jpg', '/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_15_10341.jpg', '/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_44_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_34_9447.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_44_10371.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_55_10440.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_28_04_9341.jpg
/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_15_10341.jpg
/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_44_9483.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39287567138671875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 20:49:42.747012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_34_9447.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_44_10371.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_55_10440.jpg', '/home/pi/Desktop/images/20042025/18/27/image_20042025_18_28_04_9341.jpg', '/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_15_10341.jpg', '/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_44_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_34_9447.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_44_10371.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_27_55_10440.jpg
/home/pi/Desktop/images/20042025/18/27/image_20042025_18_28_04_9341.jpg
/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_15_10341.jpg
/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_44_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268028","1352268022","1352268031","1352268025","1352268033","1352268032"],"photo_ids_order":["1352268022","1352268025","1352268028","1352268031","1352268032","1352268033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/febe71d94863b59647873a8fd2d5b326.jpg","text":"TemporaryFile(/tmp/multipartBody2014706425928344694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175043214,"filename":"image_20042025_18_27_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9242ef53ca98d69537c2a3f859e25242.jpg","text":"TemporaryFile(/tmp/multipartBody650353490265399647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175043214,"filename":"image_20042025_18_27_34_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b93865ee63de3ab840b61315ce597e79.jpg","text":"TemporaryFile(/tmp/multipartBody4319265040843091393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175043214,"filename":"image_20042025_18_28_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8bc03b6eed7bafd8c77dd72940efd76.jpg","text":"TemporaryFile(/tmp/multipartBody5541343357156179639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175043214,"filename":"image_20042025_18_27_44_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6354f9a810f7eabc3dde43608602e7c8.jpg","text":"TemporaryFile(/tmp/multipartBody3878832098616298327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175043214,"filename":"image_20042025_18_28_44_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5e1559a04f38d4efa96ea556087aa70.jpg","text":"TemporaryFile(/tmp/multipartBody3028640182131115031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175043214,"filename":"image_20042025_18_28_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268028","file1":"1352268025","file0":"1352268022","file4":"1352268032","file5":"1352268033","file3":"1352268031"},"map_files_photo_id_array":[{"photo_id":"1352268033","filename":"file5"},{"photo_id":"1352268028","filename":"file2"},{"photo_id":"1352268032","filename":"file4"},{"photo_id":"1352268025","filename":"file1"},{"photo_id":"1352268022","filename":"file0"},{"photo_id":"1352268031","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268028":["hashtag1","hashtag2"]},{"1352268022":["hashtag1","hashtag2"]},{"1352268031":["hashtag1","hashtag2"]},{"1352268025":["hashtag1","hashtag2"]},{"1352268033":["hashtag1","hashtag2"]},{"1352268032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268028, 1352268022, 1352268031, 1352268025, 1352268033, 1352268032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.90716552734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:50:32.688603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_54_10389.jpg', '/home/pi/Desktop/images/20042025/18/28/image_20042025_18_29_05_10379.jpg', '/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_14_9358.jpg', '/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_25_10383.jpg', '/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_35_10357.jpg', '/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_44_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/28/image_20042025_18_28_54_10389.jpg
/home/pi/Desktop/images/20042025/18/28/image_20042025_18_29_05_10379.jpg
/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_14_9358.jpg
/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_25_10383.jpg
/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_35_10357.jpg
/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_44_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268052","1352268046","1352268043","1352268054","1352268056","1352268050"],"photo_ids_order":["1352268043","1352268046","1352268050","1352268052","1352268054","1352268056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b286ee892321ea2d205a50427fab4f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8690437122422295587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175093160,"filename":"image_20042025_18_29_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb922b6353cfa5a6f5f97256a3f519ed.jpg","text":"TemporaryFile(/tmp/multipartBody1630478702359743468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175093160,"filename":"image_20042025_18_29_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e687ca4dc903ded715ce2fc10dfc3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8725673537802279448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175093160,"filename":"image_20042025_18_28_54_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44040bc7c0052756ca57ba80666c3a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1040079893994693824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175093160,"filename":"image_20042025_18_29_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3bc7b7949d326ea17294b25f29bbe26d.jpg","text":"TemporaryFile(/tmp/multipartBody1101638088080527808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175093160,"filename":"image_20042025_18_29_44_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1c83ceb312e395f8887a2c5c469dbb5.jpg","text":"TemporaryFile(/tmp/multipartBody6843020554211800884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175093160,"filename":"image_20042025_18_29_14_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268050","file1":"1352268046","file0":"1352268043","file4":"1352268054","file5":"1352268056","file3":"1352268052"},"map_files_photo_id_array":[{"photo_id":"1352268056","filename":"file5"},{"photo_id":"1352268050","filename":"file2"},{"photo_id":"1352268054","filename":"file4"},{"photo_id":"1352268046","filename":"file1"},{"photo_id":"1352268043","filename":"file0"},{"photo_id":"1352268052","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268052":["hashtag1","hashtag2"]},{"1352268046":["hashtag1","hashtag2"]},{"1352268043":["hashtag1","hashtag2"]},{"1352268054":["hashtag1","hashtag2"]},{"1352268056":["hashtag1","hashtag2"]},{"1352268050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268052, 1352268046, 1352268043, 1352268054, 1352268056, 1352268050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.800323009490967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:51:32.854734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_55_10360.jpg', '/home/pi/Desktop/images/20042025/18/29/image_20042025_18_30_04_9456.jpg', '/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_25_10437.jpg', '/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_34_9355.jpg', '/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_45_10368.jpg', '/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_54_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/29/image_20042025_18_29_55_10360.jpg
/home/pi/Desktop/images/20042025/18/29/image_20042025_18_30_04_9456.jpg
/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_25_10437.jpg
/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_34_9355.jpg
/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_45_10368.jpg
/home/pi/Desktop/images/20042025/18/30/image_20042025_18_30_54_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268076","1352268084","1352268072","1352268086","1352268080","1352268068"],"photo_ids_order":["1352268068","1352268072","1352268076","1352268080","1352268084","1352268086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70c1901bd35fcff40be5b8aef68fdd49.jpg","text":"TemporaryFile(/tmp/multipartBody2246689233343417383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175153329,"filename":"image_20042025_18_30_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1b000b49b35402174c086c36cb57328.jpg","text":"TemporaryFile(/tmp/multipartBody3718062288864566386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175153329,"filename":"image_20042025_18_30_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ef65efcc2d61da1bcd852f673946739.jpg","text":"TemporaryFile(/tmp/multipartBody7403255525074021635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175153329,"filename":"image_20042025_18_30_04_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11688bf88e9d910c1a041b73af59c637.jpg","text":"TemporaryFile(/tmp/multipartBody7915958153945871551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175153329,"filename":"image_20042025_18_30_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09b120d96b55cc68a76781811282f5fe.jpg","text":"TemporaryFile(/tmp/multipartBody4184739361444759049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175153329,"filename":"image_20042025_18_30_34_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5478ebe709a739a8a44cb0bb5d063559.jpg","text":"TemporaryFile(/tmp/multipartBody7531313855698801408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175153329,"filename":"image_20042025_18_29_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268076","file1":"1352268072","file0":"1352268068","file4":"1352268084","file5":"1352268086","file3":"1352268080"},"map_files_photo_id_array":[{"photo_id":"1352268086","filename":"file5"},{"photo_id":"1352268076","filename":"file2"},{"photo_id":"1352268084","filename":"file4"},{"photo_id":"1352268072","filename":"file1"},{"photo_id":"1352268068","filename":"file0"},{"photo_id":"1352268080","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268076":["hashtag1","hashtag2"]},{"1352268084":["hashtag1","hashtag2"]},{"1352268072":["hashtag1","hashtag2"]},{"1352268086":["hashtag1","hashtag2"]},{"1352268080":["hashtag1","hashtag2"]},{"1352268068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268076, 1352268084, 1352268072, 1352268086, 1352268080, 1352268068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79241418838501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:52:33.100639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/30/image_20042025_18_31_04_10415.jpg', '/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_15_10459.jpg', '/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_24_9375.jpg', '/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_35_10434.jpg', '/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_44_9410.jpg', '/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/30/image_20042025_18_31_04_10415.jpg
/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_15_10459.jpg
/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_24_9375.jpg
/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_35_10434.jpg
/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_44_9410.jpg
/home/pi/Desktop/images/20042025/18/31/image_20042025_18_31_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268100","1352268106","1352268108","1352268110","1352268104","1352268097"],"photo_ids_order":["1352268097","1352268100","1352268104","1352268106","1352268108","1352268110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e80936190a9747e970ad4941679ec526.jpg","text":"TemporaryFile(/tmp/multipartBody3381315581153254629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175213574,"filename":"image_20042025_18_31_15_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8a51a47c554c5750543ae6ff25d9780.jpg","text":"TemporaryFile(/tmp/multipartBody8651446434326085494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175213574,"filename":"image_20042025_18_31_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c16f9371beebc0e23398565a27f04dd.jpg","text":"TemporaryFile(/tmp/multipartBody5975648325477774180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175213574,"filename":"image_20042025_18_31_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20e337e98c61b4a21d015e89caa0ef87.jpg","text":"TemporaryFile(/tmp/multipartBody8624118524893265223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175213574,"filename":"image_20042025_18_31_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b2e3423f15f6675a8faee456e918297.jpg","text":"TemporaryFile(/tmp/multipartBody4683640394761221376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175213574,"filename":"image_20042025_18_31_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ea5251faa96ce5a42fc20f63f1b5aa6.jpg","text":"TemporaryFile(/tmp/multipartBody831634290089934485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175213574,"filename":"image_20042025_18_31_04_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268104","file1":"1352268100","file0":"1352268097","file4":"1352268108","file5":"1352268110","file3":"1352268106"},"map_files_photo_id_array":[{"photo_id":"1352268110","filename":"file5"},{"photo_id":"1352268104","filename":"file2"},{"photo_id":"1352268108","filename":"file4"},{"photo_id":"1352268100","filename":"file1"},{"photo_id":"1352268097","filename":"file0"},{"photo_id":"1352268106","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268100":["hashtag1","hashtag2"]},{"1352268106":["hashtag1","hashtag2"]},{"1352268108":["hashtag1","hashtag2"]},{"1352268110":["hashtag1","hashtag2"]},{"1352268104":["hashtag1","hashtag2"]},{"1352268097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268100, 1352268106, 1352268108, 1352268110, 1352268104, 1352268097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.175103425979614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:53:32.329598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/31/image_20042025_18_32_05_10405.jpg', '/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_14_9332.jpg', '/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_25_10380.jpg', '/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_34_9403.jpg', '/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_44_10385.jpg', '/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/31/image_20042025_18_32_05_10405.jpg
/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_14_9332.jpg
/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_25_10380.jpg
/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_34_9403.jpg
/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_44_10385.jpg
/home/pi/Desktop/images/20042025/18/32/image_20042025_18_32_55_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268133","1352268136","1352268139","1352268141","1352268123","1352268129"],"photo_ids_order":["1352268123","1352268129","1352268133","1352268136","1352268139","1352268141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a85197c42603f59f2d891157445894b4.jpg","text":"TemporaryFile(/tmp/multipartBody1999556974039881970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175272807,"filename":"image_20042025_18_32_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf3e58231bfb1e50b0d3e66d713e5628.jpg","text":"TemporaryFile(/tmp/multipartBody1209870923528323905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175272807,"filename":"image_20042025_18_32_34_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc082d118d6b8a24fa4f5bebca8a04be.jpg","text":"TemporaryFile(/tmp/multipartBody7542230476352779258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175272807,"filename":"image_20042025_18_32_44_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/923ced5de56b09e1e08caafab008d1f9.jpg","text":"TemporaryFile(/tmp/multipartBody5830199591117266858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175272807,"filename":"image_20042025_18_32_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14b9a95f499292a6531245c88d0ac515.jpg","text":"TemporaryFile(/tmp/multipartBody2349908856681776495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175272807,"filename":"image_20042025_18_32_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5254bc9e79a2668e5c163baebab9a01.jpg","text":"TemporaryFile(/tmp/multipartBody2586242868468885887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175272807,"filename":"image_20042025_18_32_14_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268133","file1":"1352268129","file0":"1352268123","file4":"1352268139","file5":"1352268141","file3":"1352268136"},"map_files_photo_id_array":[{"photo_id":"1352268141","filename":"file5"},{"photo_id":"1352268133","filename":"file2"},{"photo_id":"1352268139","filename":"file4"},{"photo_id":"1352268129","filename":"file1"},{"photo_id":"1352268123","filename":"file0"},{"photo_id":"1352268136","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268133":["hashtag1","hashtag2"]},{"1352268136":["hashtag1","hashtag2"]},{"1352268139":["hashtag1","hashtag2"]},{"1352268141":["hashtag1","hashtag2"]},{"1352268123":["hashtag1","hashtag2"]},{"1352268129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268133, 1352268136, 1352268139, 1352268141, 1352268123, 1352268129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.967800617218018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:54:32.621116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/32/image_20042025_18_33_04_9370.jpg', '/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_15_10367.jpg', '/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_24_9432.jpg', '/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_34_10348.jpg', '/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_45_10418.jpg', '/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_54_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/32/image_20042025_18_33_04_9370.jpg
/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_15_10367.jpg
/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_24_9432.jpg
/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_34_10348.jpg
/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_45_10418.jpg
/home/pi/Desktop/images/20042025/18/33/image_20042025_18_33_54_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268169","1352268156","1352268159","1352268167","1352268161","1352268164"],"photo_ids_order":["1352268156","1352268159","1352268161","1352268164","1352268167","1352268169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa84c0c7e42ff18cad8d5076e6a65d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4579576176721707575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175333085,"filename":"image_20042025_18_33_54_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07c6ead7c870ef934fc7a29a53cccb88.jpg","text":"TemporaryFile(/tmp/multipartBody7730666546315688016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175333085,"filename":"image_20042025_18_33_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20db87987adb7087bc14fc2e11688b54.jpg","text":"TemporaryFile(/tmp/multipartBody7690423607710529740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175333085,"filename":"image_20042025_18_33_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c8d82088594abc226b45fafe6387197.jpg","text":"TemporaryFile(/tmp/multipartBody8805588521596581874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175333085,"filename":"image_20042025_18_33_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f94752364c18d7ff48f69c0d3068601.jpg","text":"TemporaryFile(/tmp/multipartBody9093567073028063308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175333085,"filename":"image_20042025_18_33_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/222701c06ec690703de67470b37db28d.jpg","text":"TemporaryFile(/tmp/multipartBody2482791984682185422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175333085,"filename":"image_20042025_18_33_34_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268161","file1":"1352268159","file0":"1352268156","file4":"1352268167","file5":"1352268169","file3":"1352268164"},"map_files_photo_id_array":[{"photo_id":"1352268169","filename":"file5"},{"photo_id":"1352268161","filename":"file2"},{"photo_id":"1352268167","filename":"file4"},{"photo_id":"1352268159","filename":"file1"},{"photo_id":"1352268156","filename":"file0"},{"photo_id":"1352268164","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268169":["hashtag1","hashtag2"]},{"1352268156":["hashtag1","hashtag2"]},{"1352268159":["hashtag1","hashtag2"]},{"1352268167":["hashtag1","hashtag2"]},{"1352268161":["hashtag1","hashtag2"]},{"1352268164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268169, 1352268156, 1352268159, 1352268167, 1352268161, 1352268164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.627130270004272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:55:32.705374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/33/image_20042025_18_34_05_10368.jpg', '/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_14_9500.jpg', '/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_25_10458.jpg', '/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_34_9476.jpg', '/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_44_10369.jpg', '/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/33/image_20042025_18_34_05_10368.jpg
/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_14_9500.jpg
/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_25_10458.jpg
/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_34_9476.jpg
/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_44_10369.jpg
/home/pi/Desktop/images/20042025/18/34/image_20042025_18_34_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268193","1352268192","1352268183","1352268191","1352268185","1352268188"],"photo_ids_order":["1352268183","1352268185","1352268188","1352268191","1352268192","1352268193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aac8283e15ca029a44afe763f03a0576.jpg","text":"TemporaryFile(/tmp/multipartBody3442192286959998632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175393176,"filename":"image_20042025_18_34_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73e8a421d707cbcdfd2d0d8246066087.jpg","text":"TemporaryFile(/tmp/multipartBody3383533578859797257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175393176,"filename":"image_20042025_18_34_44_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/33be3d5d6a818eb090d6b68d5ec981b3.jpg","text":"TemporaryFile(/tmp/multipartBody3641136012596726809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175393176,"filename":"image_20042025_18_34_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38f96eb5261c061d3f05307ea15a5268.jpg","text":"TemporaryFile(/tmp/multipartBody4912660853783027683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175393176,"filename":"image_20042025_18_34_34_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d8632c3037e99f7531bd20ab2fb6ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1849591404533810755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175393176,"filename":"image_20042025_18_34_14_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6bc165b4d3dc04fa68eccffc6bedf2e5.jpg","text":"TemporaryFile(/tmp/multipartBody2345435045822607280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175393176,"filename":"image_20042025_18_34_25_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268188","file1":"1352268185","file0":"1352268183","file4":"1352268192","file5":"1352268193","file3":"1352268191"},"map_files_photo_id_array":[{"photo_id":"1352268193","filename":"file5"},{"photo_id":"1352268188","filename":"file2"},{"photo_id":"1352268192","filename":"file4"},{"photo_id":"1352268185","filename":"file1"},{"photo_id":"1352268183","filename":"file0"},{"photo_id":"1352268191","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268193":["hashtag1","hashtag2"]},{"1352268192":["hashtag1","hashtag2"]},{"1352268183":["hashtag1","hashtag2"]},{"1352268191":["hashtag1","hashtag2"]},{"1352268185":["hashtag1","hashtag2"]},{"1352268188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268193, 1352268192, 1352268183, 1352268191, 1352268185, 1352268188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.06679391860962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:56:33.029807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/34/image_20042025_18_35_04_9400.jpg', '/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_15_10341.jpg', '/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_25_10362.jpg', '/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_34_9423.jpg', '/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_45_10425.jpg', '/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_54_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/34/image_20042025_18_35_04_9400.jpg
/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_15_10341.jpg
/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_25_10362.jpg
/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_34_9423.jpg
/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_45_10425.jpg
/home/pi/Desktop/images/20042025/18/35/image_20042025_18_35_54_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268439","1352268467","1352268413","1352268410","1352268404","1352268407"],"photo_ids_order":["1352268404","1352268407","1352268410","1352268413","1352268439","1352268467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d4cf36103993a914d98895814cb5519.jpg","text":"TemporaryFile(/tmp/multipartBody4532304514099836079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175453497,"filename":"image_20042025_18_35_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0302093de9d8a3c2c463e1aa03f14a77.jpg","text":"TemporaryFile(/tmp/multipartBody855901020640544023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175453497,"filename":"image_20042025_18_35_54_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2ce17fdf20924d59f1c1dc2fec22df1.jpg","text":"TemporaryFile(/tmp/multipartBody4646586153291370488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175453497,"filename":"image_20042025_18_35_34_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9584a345b4016e381994b2ff9f55a26a.jpg","text":"TemporaryFile(/tmp/multipartBody8415338620933848510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175453497,"filename":"image_20042025_18_35_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea80405bd22945264ec6c1da3ce8139c.jpg","text":"TemporaryFile(/tmp/multipartBody8523697433430066715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175453497,"filename":"image_20042025_18_35_04_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0c3aa77d1602fb236ac3e60bcae8a18.jpg","text":"TemporaryFile(/tmp/multipartBody2605652246411137647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175453497,"filename":"image_20042025_18_35_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268410","file1":"1352268407","file0":"1352268404","file4":"1352268439","file5":"1352268467","file3":"1352268413"},"map_files_photo_id_array":[{"photo_id":"1352268467","filename":"file5"},{"photo_id":"1352268410","filename":"file2"},{"photo_id":"1352268439","filename":"file4"},{"photo_id":"1352268407","filename":"file1"},{"photo_id":"1352268404","filename":"file0"},{"photo_id":"1352268413","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268439":["hashtag1","hashtag2"]},{"1352268467":["hashtag1","hashtag2"]},{"1352268413":["hashtag1","hashtag2"]},{"1352268410":["hashtag1","hashtag2"]},{"1352268404":["hashtag1","hashtag2"]},{"1352268407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268439, 1352268467, 1352268413, 1352268410, 1352268404, 1352268407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.257707118988037 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 20:57:33.082101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/35/image_20042025_18_36_04_10370.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_15_10375.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_24_9369.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_35_10361.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_44_9430.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_54_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/35/image_20042025_18_36_04_10370.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_15_10375.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_24_9369.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_35_10361.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_44_9430.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_54_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 20:59:04.247911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/35/image_20042025_18_36_04_10370.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_15_10375.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_24_9369.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_35_10361.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_44_9430.jpg', '/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_54_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/35/image_20042025_18_36_04_10370.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_15_10375.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_24_9369.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_35_10361.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_44_9430.jpg
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_36_54_10374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268990","1352268927","1352268899","1352268869","1352268839","1352268958"],"photo_ids_order":["1352268839","1352268869","1352268899","1352268927","1352268958","1352268990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a712cd857afd087b5f6452afd2103378.jpg","text":"TemporaryFile(/tmp/multipartBody8113409353069728552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175604834,"filename":"image_20042025_18_36_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a65db3a68ae1f19145d72e45b58378ca.jpg","text":"TemporaryFile(/tmp/multipartBody7481064518680271680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175604834,"filename":"image_20042025_18_36_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93a5ad6e12b0aa6a10ad56975e180c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8370807380716922830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175604834,"filename":"image_20042025_18_36_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ff16c2d2e2d39831b6284cb15ddc6ec.jpg","text":"TemporaryFile(/tmp/multipartBody1932023074681629808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175604834,"filename":"image_20042025_18_36_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/111fc4ffb414144c12480032b30b1517.jpg","text":"TemporaryFile(/tmp/multipartBody8568323917625240801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175604834,"filename":"image_20042025_18_36_04_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c5bdc26fe0f2c118376b3dd8c791742.jpg","text":"TemporaryFile(/tmp/multipartBody8078467879062438624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175604834,"filename":"image_20042025_18_36_44_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268899","file1":"1352268869","file0":"1352268839","file4":"1352268958","file5":"1352268990","file3":"1352268927"},"map_files_photo_id_array":[{"photo_id":"1352268990","filename":"file5"},{"photo_id":"1352268899","filename":"file2"},{"photo_id":"1352268958","filename":"file4"},{"photo_id":"1352268869","filename":"file1"},{"photo_id":"1352268839","filename":"file0"},{"photo_id":"1352268927","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352268990":["hashtag1","hashtag2"]},{"1352268927":["hashtag1","hashtag2"]},{"1352268899":["hashtag1","hashtag2"]},{"1352268869":["hashtag1","hashtag2"]},{"1352268839":["hashtag1","hashtag2"]},{"1352268958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352268990, 1352268927, 1352268899, 1352268869, 1352268839, 1352268958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.70952844619751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 20:59:43.168472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/36/image_20042025_18_37_05_10361.jpg', '/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_14_9437.jpg', '/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_34_9498.jpg', '/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_44_10363.jpg', '/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_55_10372.jpg', '/home/pi/Desktop/images/20042025/18/37/image_20042025_18_38_04_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/36/image_20042025_18_37_05_10361.jpg
/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_14_9437.jpg
/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_34_9498.jpg
/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_44_10363.jpg
/home/pi/Desktop/images/20042025/18/37/image_20042025_18_37_55_10372.jpg
/home/pi/Desktop/images/20042025/18/37/image_20042025_18_38_04_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269224","1352269196","1352269166","1352269139","1352269264","1352269111"],"photo_ids_order":["1352269111","1352269139","1352269166","1352269196","1352269224","1352269264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba9e9b1296c8b0587c363750a9f9aa66.jpg","text":"TemporaryFile(/tmp/multipartBody7753892118674725674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175643633,"filename":"image_20042025_18_37_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b365ff28b41346c02e25a202afec658.jpg","text":"TemporaryFile(/tmp/multipartBody398803420558164557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175643633,"filename":"image_20042025_18_37_44_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b939ffc52bd3df19ab71a4024a4d19e7.jpg","text":"TemporaryFile(/tmp/multipartBody3581056418306335704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175643633,"filename":"image_20042025_18_37_34_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88239e4f11f7d9ac32d563c92d8ee125.jpg","text":"TemporaryFile(/tmp/multipartBody5914236002434306384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175643633,"filename":"image_20042025_18_37_14_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/702550dde1fce34af2472265b21514de.jpg","text":"TemporaryFile(/tmp/multipartBody6799616010178250422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175643633,"filename":"image_20042025_18_38_04_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00a77189fa93fb06664b1ba936ebd02f.jpg","text":"TemporaryFile(/tmp/multipartBody2863097119672382119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175643633,"filename":"image_20042025_18_37_05_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269166","file1":"1352269139","file0":"1352269111","file4":"1352269224","file5":"1352269264","file3":"1352269196"},"map_files_photo_id_array":[{"photo_id":"1352269264","filename":"file5"},{"photo_id":"1352269166","filename":"file2"},{"photo_id":"1352269224","filename":"file4"},{"photo_id":"1352269139","filename":"file1"},{"photo_id":"1352269111","filename":"file0"},{"photo_id":"1352269196","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269224":["hashtag1","hashtag2"]},{"1352269196":["hashtag1","hashtag2"]},{"1352269166":["hashtag1","hashtag2"]},{"1352269139":["hashtag1","hashtag2"]},{"1352269264":["hashtag1","hashtag2"]},{"1352269111":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269224, 1352269196, 1352269166, 1352269139, 1352269264, 1352269111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.471018075942993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:00:32.200204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_15_10386.jpg', '/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_24_9472.jpg', '/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_34_10367.jpg', '/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_45_10369.jpg', '/home/pi/Desktop/images/20042025/18/38/image_20042025_18_39_05_10360.jpg', '/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_15_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_15_10386.jpg
/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_24_9472.jpg
/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_34_10367.jpg
/home/pi/Desktop/images/20042025/18/38/image_20042025_18_38_45_10369.jpg
/home/pi/Desktop/images/20042025/18/38/image_20042025_18_39_05_10360.jpg
/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_15_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269314","1352269317","1352269310","1352269307","1352269304","1352269321"],"photo_ids_order":["1352269304","1352269307","1352269310","1352269314","1352269317","1352269321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfb6a6406435c88e9b8522cc6d410832.jpg","text":"TemporaryFile(/tmp/multipartBody977830515869224930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175692678,"filename":"image_20042025_18_38_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6851efdbe8c15bb12ad061a4280949e1.jpg","text":"TemporaryFile(/tmp/multipartBody6587904008978618782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175692678,"filename":"image_20042025_18_39_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e296e06ebf66498d722651ae87238a8.jpg","text":"TemporaryFile(/tmp/multipartBody3756755220012594583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175692678,"filename":"image_20042025_18_38_34_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35b3c5f1d61b757e8d5a6c05f27e727c.jpg","text":"TemporaryFile(/tmp/multipartBody1921942234596014259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175692678,"filename":"image_20042025_18_38_24_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/593dad4de15f934eed28c5b685dec17c.jpg","text":"TemporaryFile(/tmp/multipartBody6284953430544925061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175692678,"filename":"image_20042025_18_38_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fff0b14c7e02df4efdd06b831930c266.jpg","text":"TemporaryFile(/tmp/multipartBody3659782379653941556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175692678,"filename":"image_20042025_18_39_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269310","file1":"1352269307","file0":"1352269304","file4":"1352269317","file5":"1352269321","file3":"1352269314"},"map_files_photo_id_array":[{"photo_id":"1352269321","filename":"file5"},{"photo_id":"1352269310","filename":"file2"},{"photo_id":"1352269317","filename":"file4"},{"photo_id":"1352269307","filename":"file1"},{"photo_id":"1352269304","filename":"file0"},{"photo_id":"1352269314","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269314":["hashtag1","hashtag2"]},{"1352269317":["hashtag1","hashtag2"]},{"1352269310":["hashtag1","hashtag2"]},{"1352269307":["hashtag1","hashtag2"]},{"1352269304":["hashtag1","hashtag2"]},{"1352269321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269314, 1352269317, 1352269310, 1352269307, 1352269304, 1352269321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.623582124710083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:01:32.396245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_24_9389.jpg', '/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_35_10376.jpg', '/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_44_9414.jpg', '/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_54_10352.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_14_9366.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_24_9389.jpg
/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_35_10376.jpg
/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_44_9414.jpg
/home/pi/Desktop/images/20042025/18/39/image_20042025_18_39_54_10352.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_14_9366.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_25_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269587","1352269525","1352269542","1352269545","1352269582","1352269552"],"photo_ids_order":["1352269525","1352269542","1352269545","1352269552","1352269582","1352269587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fcf1efb654076e8b19eca362acd7dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2042699534375010951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175752856,"filename":"image_20042025_18_40_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0ceb7a39a091f96ca55a3682dcb4058.jpg","text":"TemporaryFile(/tmp/multipartBody5016676085360226421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175752856,"filename":"image_20042025_18_39_24_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6edd9baec1a23eb3f34f4b360fc24cd.jpg","text":"TemporaryFile(/tmp/multipartBody6877125412535771981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175752856,"filename":"image_20042025_18_39_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62c5a4598c19ab33cde1b22ef52f2e9a.jpg","text":"TemporaryFile(/tmp/multipartBody548955824956172485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175752856,"filename":"image_20042025_18_39_44_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d00c3f74fb0671047c0d47c964181ca7.jpg","text":"TemporaryFile(/tmp/multipartBody3933459536523823452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175752856,"filename":"image_20042025_18_40_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91a2e04a6192f2db32d9d3db5862539d.jpg","text":"TemporaryFile(/tmp/multipartBody8966897658787955734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175752856,"filename":"image_20042025_18_39_54_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269545","file1":"1352269542","file0":"1352269525","file4":"1352269582","file5":"1352269587","file3":"1352269552"},"map_files_photo_id_array":[{"photo_id":"1352269587","filename":"file5"},{"photo_id":"1352269545","filename":"file2"},{"photo_id":"1352269582","filename":"file4"},{"photo_id":"1352269542","filename":"file1"},{"photo_id":"1352269525","filename":"file0"},{"photo_id":"1352269552","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269587":["hashtag1","hashtag2"]},{"1352269525":["hashtag1","hashtag2"]},{"1352269542":["hashtag1","hashtag2"]},{"1352269545":["hashtag1","hashtag2"]},{"1352269582":["hashtag1","hashtag2"]},{"1352269552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269587, 1352269525, 1352269542, 1352269545, 1352269582, 1352269552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.853002786636353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:02:32.471165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_34_9459.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_44_10375.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_55_10435.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_41_04_9341.jpg', '/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_35_10447.jpg', '/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_54_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_34_9459.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_44_10375.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_55_10435.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_41_04_9341.jpg
/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_35_10447.jpg
/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_54_9407.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38260507583618164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 21:02:42.544157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_34_9459.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_44_10375.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_55_10435.jpg', '/home/pi/Desktop/images/20042025/18/40/image_20042025_18_41_04_9341.jpg', '/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_35_10447.jpg', '/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_54_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_34_9459.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_44_10375.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_40_55_10435.jpg
/home/pi/Desktop/images/20042025/18/40/image_20042025_18_41_04_9341.jpg
/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_35_10447.jpg
/home/pi/Desktop/images/20042025/18/41/image_20042025_18_41_54_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269656","1352269652","1352269646","1352269655","1352269649","1352269643"],"photo_ids_order":["1352269643","1352269646","1352269649","1352269652","1352269655","1352269656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/106072b9c38945699e1b9d7896b7162b.jpg","text":"TemporaryFile(/tmp/multipartBody4163592271398235220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175823039,"filename":"image_20042025_18_41_54_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/51c436c194afecf7df1393e945593fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1331592765591051474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175823039,"filename":"image_20042025_18_41_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93ad4dae881001d1a9c6cfb85b4c581e.jpg","text":"TemporaryFile(/tmp/multipartBody2060779070375415144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175823039,"filename":"image_20042025_18_40_44_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8c6800e807c00b6bb41fdb3bdc711ecf.jpg","text":"TemporaryFile(/tmp/multipartBody2036167302526566103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175823039,"filename":"image_20042025_18_41_35_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9c333b50acbf95f9ca1d275eee23ad7.jpg","text":"TemporaryFile(/tmp/multipartBody1560677933872759443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175823039,"filename":"image_20042025_18_40_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14b52450dbfdece183a193d98e4cedff.jpg","text":"TemporaryFile(/tmp/multipartBody7671956162163910965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175823039,"filename":"image_20042025_18_40_34_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269649","file1":"1352269646","file0":"1352269643","file4":"1352269655","file5":"1352269656","file3":"1352269652"},"map_files_photo_id_array":[{"photo_id":"1352269656","filename":"file5"},{"photo_id":"1352269649","filename":"file2"},{"photo_id":"1352269655","filename":"file4"},{"photo_id":"1352269646","filename":"file1"},{"photo_id":"1352269643","filename":"file0"},{"photo_id":"1352269652","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269656":["hashtag1","hashtag2"]},{"1352269652":["hashtag1","hashtag2"]},{"1352269646":["hashtag1","hashtag2"]},{"1352269655":["hashtag1","hashtag2"]},{"1352269649":["hashtag1","hashtag2"]},{"1352269643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269656, 1352269652, 1352269646, 1352269655, 1352269649, 1352269643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.294683694839478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:03:32.630965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/41/image_20042025_18_42_05_10364.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_24_10408.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_44_9368.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_55_10358.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_43_05_10355.jpg', '/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_14_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/41/image_20042025_18_42_05_10364.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_24_10408.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_44_9368.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_55_10358.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_43_05_10355.jpg
/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_14_9356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37833237648010254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 21:03:42.669770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/41/image_20042025_18_42_05_10364.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_24_10408.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_44_9368.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_55_10358.jpg', '/home/pi/Desktop/images/20042025/18/42/image_20042025_18_43_05_10355.jpg', '/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_14_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/41/image_20042025_18_42_05_10364.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_24_10408.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_44_9368.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_42_55_10358.jpg
/home/pi/Desktop/images/20042025/18/42/image_20042025_18_43_05_10355.jpg
/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_14_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269689","1352269691","1352269679","1352269693","1352269675","1352269684"],"photo_ids_order":["1352269675","1352269679","1352269684","1352269689","1352269691","1352269693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f18ca940691345cc572834fd4a68037b.jpg","text":"TemporaryFile(/tmp/multipartBody4989615858423505890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175883137,"filename":"image_20042025_18_42_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e7ad0f2daeadc80c068982750c757f0.jpg","text":"TemporaryFile(/tmp/multipartBody5608345511923767745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175883137,"filename":"image_20042025_18_43_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54963f3bb172deee871bd9351586bd51.jpg","text":"TemporaryFile(/tmp/multipartBody1939553543713941678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175883137,"filename":"image_20042025_18_42_24_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cc56d7f9270b8fac81b3ae5277ad5ef.jpg","text":"TemporaryFile(/tmp/multipartBody3525127506252244518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175883137,"filename":"image_20042025_18_43_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/86b760a79b3d0258d819508a78726831.jpg","text":"TemporaryFile(/tmp/multipartBody4950186772417952193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175883137,"filename":"image_20042025_18_42_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc4904b1cca9cececd0687599fec74d9.jpg","text":"TemporaryFile(/tmp/multipartBody7087397442882530953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175883137,"filename":"image_20042025_18_42_44_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269684","file1":"1352269679","file0":"1352269675","file4":"1352269691","file5":"1352269693","file3":"1352269689"},"map_files_photo_id_array":[{"photo_id":"1352269693","filename":"file5"},{"photo_id":"1352269684","filename":"file2"},{"photo_id":"1352269691","filename":"file4"},{"photo_id":"1352269679","filename":"file1"},{"photo_id":"1352269675","filename":"file0"},{"photo_id":"1352269689","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269689":["hashtag1","hashtag2"]},{"1352269691":["hashtag1","hashtag2"]},{"1352269679":["hashtag1","hashtag2"]},{"1352269693":["hashtag1","hashtag2"]},{"1352269675":["hashtag1","hashtag2"]},{"1352269684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269689, 1352269691, 1352269679, 1352269693, 1352269675, 1352269684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8140754699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:04:32.892007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_25_10374.jpg', '/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_34_9471.jpg', '/home/pi/Desktop/images/20042025/18/43/image_20042025_18_44_04_10370.jpg', '/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_15_10452.jpg', '/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_24_9407.jpg', '/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_35_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_25_10374.jpg
/home/pi/Desktop/images/20042025/18/43/image_20042025_18_43_34_9471.jpg
/home/pi/Desktop/images/20042025/18/43/image_20042025_18_44_04_10370.jpg
/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_15_10452.jpg
/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_24_9407.jpg
/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_35_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269719","1352269704","1352269707","1352269715","1352269700","1352269711"],"photo_ids_order":["1352269700","1352269704","1352269707","1352269711","1352269715","1352269719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/619f3408e8fb15bdb15a4315a58e0a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8257400127904248849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175933355,"filename":"image_20042025_18_44_35_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14637ed45900f75bfb7959dc044eed54.jpg","text":"TemporaryFile(/tmp/multipartBody8240460244618110410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175933355,"filename":"image_20042025_18_43_34_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c57d41253b8e7da785e6776d90814a44.jpg","text":"TemporaryFile(/tmp/multipartBody4351445390971518124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175933355,"filename":"image_20042025_18_44_04_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8057626c38972630b21fddbf5bddf088.jpg","text":"TemporaryFile(/tmp/multipartBody4456575421665991872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175933355,"filename":"image_20042025_18_44_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31ec47f2fdef8a1a7b400b195a4ca9b6.jpg","text":"TemporaryFile(/tmp/multipartBody1466316854713730748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175933355,"filename":"image_20042025_18_43_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/32cef0b0794aba3a6dc179efc8e254d6.jpg","text":"TemporaryFile(/tmp/multipartBody5059069411802657257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175933355,"filename":"image_20042025_18_44_15_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269707","file1":"1352269704","file0":"1352269700","file4":"1352269715","file5":"1352269719","file3":"1352269711"},"map_files_photo_id_array":[{"photo_id":"1352269719","filename":"file5"},{"photo_id":"1352269707","filename":"file2"},{"photo_id":"1352269715","filename":"file4"},{"photo_id":"1352269704","filename":"file1"},{"photo_id":"1352269700","filename":"file0"},{"photo_id":"1352269711","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269719":["hashtag1","hashtag2"]},{"1352269704":["hashtag1","hashtag2"]},{"1352269707":["hashtag1","hashtag2"]},{"1352269715":["hashtag1","hashtag2"]},{"1352269700":["hashtag1","hashtag2"]},{"1352269711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269719, 1352269704, 1352269707, 1352269715, 1352269700, 1352269711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.165146827697754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:05:33.118775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_44_9455.jpg', '/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_55_10382.jpg', '/home/pi/Desktop/images/20042025/18/44/image_20042025_18_45_05_10357.jpg', '/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_14_9354.jpg', '/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_25_10381.jpg', '/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_44_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_44_9455.jpg
/home/pi/Desktop/images/20042025/18/44/image_20042025_18_44_55_10382.jpg
/home/pi/Desktop/images/20042025/18/44/image_20042025_18_45_05_10357.jpg
/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_14_9354.jpg
/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_25_10381.jpg
/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_44_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269740","1352269734","1352269733","1352269736","1352269739","1352269738"],"photo_ids_order":["1352269733","1352269734","1352269736","1352269738","1352269739","1352269740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93879a493c1b8c94ee85d8ce4f11611c.jpg","text":"TemporaryFile(/tmp/multipartBody1251638178356404735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175993580,"filename":"image_20042025_18_45_44_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/218cc4d525e98aa0329ec2c04326d6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6808842623767516895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175993580,"filename":"image_20042025_18_44_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef7a5e0050de23496da1d36be15d7fc9.jpg","text":"TemporaryFile(/tmp/multipartBody790659224109173136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175993580,"filename":"image_20042025_18_44_44_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfd53dfca4fa51c54019f41304e2423a.jpg","text":"TemporaryFile(/tmp/multipartBody6059172528435380697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175993580,"filename":"image_20042025_18_45_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7019195e04b890101035c09a47a5d420.jpg","text":"TemporaryFile(/tmp/multipartBody8781331959036410682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175993580,"filename":"image_20042025_18_45_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9d71a207c87dfd233dd614c1ae36f1b.jpg","text":"TemporaryFile(/tmp/multipartBody9042815087183814528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745175993580,"filename":"image_20042025_18_45_14_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269736","file1":"1352269734","file0":"1352269733","file4":"1352269739","file5":"1352269740","file3":"1352269738"},"map_files_photo_id_array":[{"photo_id":"1352269740","filename":"file5"},{"photo_id":"1352269736","filename":"file2"},{"photo_id":"1352269739","filename":"file4"},{"photo_id":"1352269734","filename":"file1"},{"photo_id":"1352269733","filename":"file0"},{"photo_id":"1352269738","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269740":["hashtag1","hashtag2"]},{"1352269734":["hashtag1","hashtag2"]},{"1352269733":["hashtag1","hashtag2"]},{"1352269736":["hashtag1","hashtag2"]},{"1352269739":["hashtag1","hashtag2"]},{"1352269738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269740, 1352269734, 1352269733, 1352269736, 1352269739, 1352269738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.211350202560425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:06:32.244639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_55_10402.jpg', '/home/pi/Desktop/images/20042025/18/45/image_20042025_18_46_04_9429.jpg', '/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_15_10353.jpg', '/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_24_9489.jpg', '/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_34_10362.jpg', '/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_45_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/45/image_20042025_18_45_55_10402.jpg
/home/pi/Desktop/images/20042025/18/45/image_20042025_18_46_04_9429.jpg
/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_15_10353.jpg
/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_24_9489.jpg
/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_34_10362.jpg
/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_45_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269752","1352269760","1352269748","1352269757","1352269762","1352269765"],"photo_ids_order":["1352269748","1352269752","1352269757","1352269760","1352269762","1352269765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30b88693d8b1dfe1287834fe66982fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3535678330112158215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176052703,"filename":"image_20042025_18_46_04_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa75198a1c97a8845ee34051e20e4320.jpg","text":"TemporaryFile(/tmp/multipartBody40742047403575155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176052703,"filename":"image_20042025_18_46_24_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10be7ee9ac912844cf9c0300a7a5418b.jpg","text":"TemporaryFile(/tmp/multipartBody5609602634624618562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176052703,"filename":"image_20042025_18_45_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aab7d569d1339883b6b5feced7288d08.jpg","text":"TemporaryFile(/tmp/multipartBody1978933666765896083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176052703,"filename":"image_20042025_18_46_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63cf80bfd7924ba89ff8499b25843af5.jpg","text":"TemporaryFile(/tmp/multipartBody5183145156948647694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176052703,"filename":"image_20042025_18_46_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3b9e9edc0ff3a07fb28f30a55201c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6820841956329832528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176052703,"filename":"image_20042025_18_46_45_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269757","file1":"1352269752","file0":"1352269748","file4":"1352269762","file5":"1352269765","file3":"1352269760"},"map_files_photo_id_array":[{"photo_id":"1352269765","filename":"file5"},{"photo_id":"1352269757","filename":"file2"},{"photo_id":"1352269762","filename":"file4"},{"photo_id":"1352269752","filename":"file1"},{"photo_id":"1352269748","filename":"file0"},{"photo_id":"1352269760","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269752":["hashtag1","hashtag2"]},{"1352269760":["hashtag1","hashtag2"]},{"1352269748":["hashtag1","hashtag2"]},{"1352269757":["hashtag1","hashtag2"]},{"1352269762":["hashtag1","hashtag2"]},{"1352269765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269752, 1352269760, 1352269748, 1352269757, 1352269762, 1352269765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.804363250732422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:07:32.537681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_54_9431.jpg', '/home/pi/Desktop/images/20042025/18/46/image_20042025_18_47_05_10384.jpg', '/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_14_9346.jpg', '/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_24_10434.jpg', '/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_35_10366.jpg', '/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_44_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/46/image_20042025_18_46_54_9431.jpg
/home/pi/Desktop/images/20042025/18/46/image_20042025_18_47_05_10384.jpg
/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_14_9346.jpg
/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_24_10434.jpg
/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_35_10366.jpg
/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_44_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269785","1352269773","1352269781","1352269787","1352269783","1352269777"],"photo_ids_order":["1352269773","1352269777","1352269781","1352269783","1352269785","1352269787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/67cf9a78b4327e9d4b45a2ebf716d23d.jpg","text":"TemporaryFile(/tmp/multipartBody4273304561973306072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176113005,"filename":"image_20042025_18_47_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/544b0ba0f7f29ec8f019a670e05937b1.jpg","text":"TemporaryFile(/tmp/multipartBody2443090125315815831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176113005,"filename":"image_20042025_18_46_54_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/837cf9c6badc966593084ce800328dec.jpg","text":"TemporaryFile(/tmp/multipartBody7909471122187072893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176113005,"filename":"image_20042025_18_47_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7a77c720182f7c190b2bdec22705035.jpg","text":"TemporaryFile(/tmp/multipartBody2758048554069584265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176113005,"filename":"image_20042025_18_47_44_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/586e91d819d60c9099ca1f37b9a98c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3414819749507582038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176113005,"filename":"image_20042025_18_47_24_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb86a76bd8b53f1d5e2e4dbe369c6cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7050989580982308269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176113005,"filename":"image_20042025_18_47_05_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269781","file1":"1352269777","file0":"1352269773","file4":"1352269785","file5":"1352269787","file3":"1352269783"},"map_files_photo_id_array":[{"photo_id":"1352269787","filename":"file5"},{"photo_id":"1352269781","filename":"file2"},{"photo_id":"1352269785","filename":"file4"},{"photo_id":"1352269777","filename":"file1"},{"photo_id":"1352269773","filename":"file0"},{"photo_id":"1352269783","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269785":["hashtag1","hashtag2"]},{"1352269773":["hashtag1","hashtag2"]},{"1352269781":["hashtag1","hashtag2"]},{"1352269787":["hashtag1","hashtag2"]},{"1352269783":["hashtag1","hashtag2"]},{"1352269777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269785, 1352269773, 1352269781, 1352269787, 1352269783, 1352269777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.66384744644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:08:32.588780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_55_10359.jpg', '/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_14_10357.jpg', '/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_25_10378.jpg', '/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_34_9349.jpg', '/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_45_10429.jpg', '/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_54_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/47/image_20042025_18_47_55_10359.jpg
/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_14_10357.jpg
/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_25_10378.jpg
/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_34_9349.jpg
/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_45_10429.jpg
/home/pi/Desktop/images/20042025/18/48/image_20042025_18_48_54_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269801","1352269814","1352269808","1352269811","1352269805","1352269813"],"photo_ids_order":["1352269801","1352269805","1352269808","1352269811","1352269813","1352269814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d0904f07c3b3154d661a004ce8391bb.jpg","text":"TemporaryFile(/tmp/multipartBody2076185180516216691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176173059,"filename":"image_20042025_18_47_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a70d9088f51ec08d4f7f8720d6cd4303.jpg","text":"TemporaryFile(/tmp/multipartBody7583614044622210623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176173059,"filename":"image_20042025_18_48_54_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc0b3e09d96fc83fcd7ab30e1650b398.jpg","text":"TemporaryFile(/tmp/multipartBody674287920374197005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176173059,"filename":"image_20042025_18_48_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b52e0b2a1d6d7725022e29bd34195e16.jpg","text":"TemporaryFile(/tmp/multipartBody495689785294327297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176173059,"filename":"image_20042025_18_48_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77aa783a2f0f6923472b52c8d09ca18f.jpg","text":"TemporaryFile(/tmp/multipartBody1282024411203722093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176173059,"filename":"image_20042025_18_48_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ad27a9d998e87ba1688db74d21c28ac.jpg","text":"TemporaryFile(/tmp/multipartBody1131987726958312203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176173059,"filename":"image_20042025_18_48_45_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269808","file1":"1352269805","file0":"1352269801","file4":"1352269813","file5":"1352269814","file3":"1352269811"},"map_files_photo_id_array":[{"photo_id":"1352269814","filename":"file5"},{"photo_id":"1352269808","filename":"file2"},{"photo_id":"1352269813","filename":"file4"},{"photo_id":"1352269805","filename":"file1"},{"photo_id":"1352269801","filename":"file0"},{"photo_id":"1352269811","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269801":["hashtag1","hashtag2"]},{"1352269814":["hashtag1","hashtag2"]},{"1352269808":["hashtag1","hashtag2"]},{"1352269811":["hashtag1","hashtag2"]},{"1352269805":["hashtag1","hashtag2"]},{"1352269813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269801, 1352269814, 1352269808, 1352269811, 1352269805, 1352269813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.363722562789917 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:09:32.883196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/48/image_20042025_18_49_04_10361.jpg', '/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_15_10363.jpg', '/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_24_9426.jpg', '/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_35_10406.jpg', '/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_44_9416.jpg', '/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_54_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/48/image_20042025_18_49_04_10361.jpg
/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_15_10363.jpg
/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_24_9426.jpg
/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_35_10406.jpg
/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_44_9416.jpg
/home/pi/Desktop/images/20042025/18/49/image_20042025_18_49_54_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269845","1352269835","1352269838","1352269843","1352269831","1352269840"],"photo_ids_order":["1352269831","1352269835","1352269838","1352269840","1352269843","1352269845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79f768c2e106b998468698988ffe6fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8645241756449488298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176233341,"filename":"image_20042025_18_49_54_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca216ee2ef1d5f427ae6490247699e6a.jpg","text":"TemporaryFile(/tmp/multipartBody4667408303915610709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176233341,"filename":"image_20042025_18_49_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad3c7a31e453fb6c8aca576345d7425e.jpg","text":"TemporaryFile(/tmp/multipartBody8655537273705467284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176233341,"filename":"image_20042025_18_49_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80359549c7a1e501c5d19ac4a573dcb5.jpg","text":"TemporaryFile(/tmp/multipartBody2042174709266257190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176233341,"filename":"image_20042025_18_49_44_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b1f94240b2a2357129c338571ee32ba.jpg","text":"TemporaryFile(/tmp/multipartBody4952490422162055419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176233341,"filename":"image_20042025_18_49_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7c6bcf2e6d2e3ed0f65a84bd7b02b14.jpg","text":"TemporaryFile(/tmp/multipartBody407439713456722330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176233341,"filename":"image_20042025_18_49_35_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269838","file1":"1352269835","file0":"1352269831","file4":"1352269843","file5":"1352269845","file3":"1352269840"},"map_files_photo_id_array":[{"photo_id":"1352269845","filename":"file5"},{"photo_id":"1352269838","filename":"file2"},{"photo_id":"1352269843","filename":"file4"},{"photo_id":"1352269835","filename":"file1"},{"photo_id":"1352269831","filename":"file0"},{"photo_id":"1352269840","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269845":["hashtag1","hashtag2"]},{"1352269835":["hashtag1","hashtag2"]},{"1352269838":["hashtag1","hashtag2"]},{"1352269843":["hashtag1","hashtag2"]},{"1352269831":["hashtag1","hashtag2"]},{"1352269840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269845, 1352269835, 1352269838, 1352269843, 1352269831, 1352269840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52990460395813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:10:33.179131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/49/image_20042025_18_50_05_10418.jpg', '/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_14_9431.jpg', '/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_25_10358.jpg', '/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_34_9419.jpg', '/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_44_10358.jpg', '/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/49/image_20042025_18_50_05_10418.jpg
/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_14_9431.jpg
/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_25_10358.jpg
/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_34_9419.jpg
/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_44_10358.jpg
/home/pi/Desktop/images/20042025/18/50/image_20042025_18_50_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269872","1352269866","1352269863","1352269859","1352269868","1352269870"],"photo_ids_order":["1352269859","1352269863","1352269866","1352269868","1352269870","1352269872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6dffc3971d114e9736d4e0a26240bf14.jpg","text":"TemporaryFile(/tmp/multipartBody6547150970247502835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176293649,"filename":"image_20042025_18_50_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2401789d86ccb534f169a6350841aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody5860304499099485519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176293649,"filename":"image_20042025_18_50_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5aa01adf4b3883dd35da9c570499fe2e.jpg","text":"TemporaryFile(/tmp/multipartBody5209707483174272085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176293649,"filename":"image_20042025_18_50_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a19b131922ae75549efd9221ba62124.jpg","text":"TemporaryFile(/tmp/multipartBody797719958628575391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176293649,"filename":"image_20042025_18_50_05_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c000625a6157f6ed5a740923144c76a8.jpg","text":"TemporaryFile(/tmp/multipartBody4200400610771940600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176293649,"filename":"image_20042025_18_50_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/261f4e6375c136af0c48e363aa810d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2719834312083119399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176293649,"filename":"image_20042025_18_50_44_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269866","file1":"1352269863","file0":"1352269859","file4":"1352269870","file5":"1352269872","file3":"1352269868"},"map_files_photo_id_array":[{"photo_id":"1352269872","filename":"file5"},{"photo_id":"1352269866","filename":"file2"},{"photo_id":"1352269870","filename":"file4"},{"photo_id":"1352269863","filename":"file1"},{"photo_id":"1352269859","filename":"file0"},{"photo_id":"1352269868","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269872":["hashtag1","hashtag2"]},{"1352269866":["hashtag1","hashtag2"]},{"1352269863":["hashtag1","hashtag2"]},{"1352269859":["hashtag1","hashtag2"]},{"1352269868":["hashtag1","hashtag2"]},{"1352269870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269872, 1352269866, 1352269863, 1352269859, 1352269868, 1352269870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.54257845878601 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:11:32.331582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/50/image_20042025_18_51_04_9452.jpg', '/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_15_10357.jpg', '/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_24_9472.jpg', '/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_34_10365.jpg', '/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_45_10363.jpg', '/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_54_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/50/image_20042025_18_51_04_9452.jpg
/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_15_10357.jpg
/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_24_9472.jpg
/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_34_10365.jpg
/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_45_10363.jpg
/home/pi/Desktop/images/20042025/18/51/image_20042025_18_51_54_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269899","1352269884","1352269895","1352269901","1352269891","1352269888"],"photo_ids_order":["1352269884","1352269888","1352269891","1352269895","1352269899","1352269901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6ead608eaf56143d6747b95efb0675b0.jpg","text":"TemporaryFile(/tmp/multipartBody7150258357138918125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176352791,"filename":"image_20042025_18_51_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fcd30abc4735fc97c6300bf2d374f2f4.jpg","text":"TemporaryFile(/tmp/multipartBody5913236680839550442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176352791,"filename":"image_20042025_18_51_04_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d3c3ca91732a71d12ff5790ef84c581.jpg","text":"TemporaryFile(/tmp/multipartBody4049597454849933757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176352791,"filename":"image_20042025_18_51_34_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dcd8139e5222062afd8fe4ea3699e947.jpg","text":"TemporaryFile(/tmp/multipartBody7231598134537680726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176352791,"filename":"image_20042025_18_51_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9dafcb642cf718c00efa636997f2a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3654782476063234114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176352791,"filename":"image_20042025_18_51_24_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acaf37622faf47d2dd2d9d64a7a7a811.jpg","text":"TemporaryFile(/tmp/multipartBody4016220578642812556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176352791,"filename":"image_20042025_18_51_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269891","file1":"1352269888","file0":"1352269884","file4":"1352269899","file5":"1352269901","file3":"1352269895"},"map_files_photo_id_array":[{"photo_id":"1352269901","filename":"file5"},{"photo_id":"1352269891","filename":"file2"},{"photo_id":"1352269899","filename":"file4"},{"photo_id":"1352269888","filename":"file1"},{"photo_id":"1352269884","filename":"file0"},{"photo_id":"1352269895","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269899":["hashtag1","hashtag2"]},{"1352269884":["hashtag1","hashtag2"]},{"1352269895":["hashtag1","hashtag2"]},{"1352269901":["hashtag1","hashtag2"]},{"1352269891":["hashtag1","hashtag2"]},{"1352269888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269899, 1352269884, 1352269895, 1352269901, 1352269891, 1352269888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.299062252044678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:12:32.457581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_15_10361.jpg', '/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_24_9438.jpg', '/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_35_10412.jpg', '/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_44_9428.jpg', '/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_55_10357.jpg', '/home/pi/Desktop/images/20042025/18/52/image_20042025_18_53_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_15_10361.jpg
/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_24_9438.jpg
/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_35_10412.jpg
/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_44_9428.jpg
/home/pi/Desktop/images/20042025/18/52/image_20042025_18_52_55_10357.jpg
/home/pi/Desktop/images/20042025/18/52/image_20042025_18_53_05_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269920","1352269913","1352269916","1352269930","1352269924","1352269927"],"photo_ids_order":["1352269913","1352269916","1352269920","1352269924","1352269927","1352269930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1166203a4ddc78db365899239e5270d.jpg","text":"TemporaryFile(/tmp/multipartBody2648497270546371425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176412927,"filename":"image_20042025_18_52_35_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/284dc22fad02cff0c7d14cafb3c0584c.jpg","text":"TemporaryFile(/tmp/multipartBody6748219696387133678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176412927,"filename":"image_20042025_18_52_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19541baab534e2637aa3ac7bfe9360de.jpg","text":"TemporaryFile(/tmp/multipartBody9180524258424538248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176412927,"filename":"image_20042025_18_52_24_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e3f0013bd152a5db3802f51753bd1a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7681996996465993963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176412927,"filename":"image_20042025_18_53_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ffd43cef0f14eed66bfec8b26ef93f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3504878472018938756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176412927,"filename":"image_20042025_18_52_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe02d429a16585bc595b11a9017682f8.jpg","text":"TemporaryFile(/tmp/multipartBody7863413134893543785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176412927,"filename":"image_20042025_18_52_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269920","file1":"1352269916","file0":"1352269913","file4":"1352269927","file5":"1352269930","file3":"1352269924"},"map_files_photo_id_array":[{"photo_id":"1352269930","filename":"file5"},{"photo_id":"1352269920","filename":"file2"},{"photo_id":"1352269927","filename":"file4"},{"photo_id":"1352269916","filename":"file1"},{"photo_id":"1352269913","filename":"file0"},{"photo_id":"1352269924","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269920":["hashtag1","hashtag2"]},{"1352269913":["hashtag1","hashtag2"]},{"1352269916":["hashtag1","hashtag2"]},{"1352269930":["hashtag1","hashtag2"]},{"1352269924":["hashtag1","hashtag2"]},{"1352269927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269920, 1352269913, 1352269916, 1352269930, 1352269924, 1352269927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.94874668121338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:13:32.652623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_14_9435.jpg', '/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_25_10364.jpg', '/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_34_9367.jpg', '/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_44_10356.jpg', '/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_55_10381.jpg', '/home/pi/Desktop/images/20042025/18/53/image_20042025_18_54_04_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_14_9435.jpg
/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_25_10364.jpg
/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_34_9367.jpg
/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_44_10356.jpg
/home/pi/Desktop/images/20042025/18/53/image_20042025_18_53_55_10381.jpg
/home/pi/Desktop/images/20042025/18/53/image_20042025_18_54_04_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269959","1352269953","1352269956","1352269961","1352269943","1352269948"],"photo_ids_order":["1352269943","1352269948","1352269953","1352269956","1352269959","1352269961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/13df46e391a2d803d23d350f599d2ffa.jpg","text":"TemporaryFile(/tmp/multipartBody879069749194801641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176473120,"filename":"image_20042025_18_53_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e870c67d7c7323211d92b3ee8ece0aa.jpg","text":"TemporaryFile(/tmp/multipartBody5207644904149829823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176473120,"filename":"image_20042025_18_53_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2765596e3e5fbd250fcfc089eb03c170.jpg","text":"TemporaryFile(/tmp/multipartBody3509744647242059137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176473120,"filename":"image_20042025_18_53_44_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae253cfdda15194492f416aa0121e27c.jpg","text":"TemporaryFile(/tmp/multipartBody3878995710305214715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176473120,"filename":"image_20042025_18_54_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce3943eb0b73484ee73ebfaf7f7a62bf.jpg","text":"TemporaryFile(/tmp/multipartBody8884863024483671482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176473120,"filename":"image_20042025_18_53_14_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03d884348591d25a2d32315fb8ef7814.jpg","text":"TemporaryFile(/tmp/multipartBody6971819495648605879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176473120,"filename":"image_20042025_18_53_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269953","file1":"1352269948","file0":"1352269943","file4":"1352269959","file5":"1352269961","file3":"1352269956"},"map_files_photo_id_array":[{"photo_id":"1352269961","filename":"file5"},{"photo_id":"1352269953","filename":"file2"},{"photo_id":"1352269959","filename":"file4"},{"photo_id":"1352269948","filename":"file1"},{"photo_id":"1352269943","filename":"file0"},{"photo_id":"1352269956","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269959":["hashtag1","hashtag2"]},{"1352269953":["hashtag1","hashtag2"]},{"1352269956":["hashtag1","hashtag2"]},{"1352269961":["hashtag1","hashtag2"]},{"1352269943":["hashtag1","hashtag2"]},{"1352269948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269959, 1352269953, 1352269956, 1352269961, 1352269943, 1352269948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08905053138733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:14:32.884600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_15_10402.jpg', '/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_24_9445.jpg', '/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_34_10371.jpg', '/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_45_10377.jpg', '/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_54_9411.jpg', '/home/pi/Desktop/images/20042025/18/54/image_20042025_18_55_05_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_15_10402.jpg
/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_24_9445.jpg
/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_34_10371.jpg
/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_45_10377.jpg
/home/pi/Desktop/images/20042025/18/54/image_20042025_18_54_54_9411.jpg
/home/pi/Desktop/images/20042025/18/54/image_20042025_18_55_05_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269986","1352269989","1352269982","1352269976","1352269991","1352269979"],"photo_ids_order":["1352269976","1352269979","1352269982","1352269986","1352269989","1352269991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4023bea23e07a8183be87a8804c155bf.jpg","text":"TemporaryFile(/tmp/multipartBody7080775690344384524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176533359,"filename":"image_20042025_18_54_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a117565b967fd33faa9397c9015d296a.jpg","text":"TemporaryFile(/tmp/multipartBody4988505556956896209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176533359,"filename":"image_20042025_18_54_54_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c87e26142ed76755dc0b8515f16cd5a.jpg","text":"TemporaryFile(/tmp/multipartBody5591736242313069453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176533359,"filename":"image_20042025_18_54_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0a4275a5f84136df6189c83d44a8180.jpg","text":"TemporaryFile(/tmp/multipartBody5331076831887762143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176533359,"filename":"image_20042025_18_54_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cb178dad3e3fcaa62fa51f95213bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody2912031034022694369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176533359,"filename":"image_20042025_18_55_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72e0ec0d13529e2b7dcb3fd858d750e3.jpg","text":"TemporaryFile(/tmp/multipartBody6372542054257513901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176533359,"filename":"image_20042025_18_54_24_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269982","file1":"1352269979","file0":"1352269976","file4":"1352269989","file5":"1352269991","file3":"1352269986"},"map_files_photo_id_array":[{"photo_id":"1352269991","filename":"file5"},{"photo_id":"1352269982","filename":"file2"},{"photo_id":"1352269989","filename":"file4"},{"photo_id":"1352269979","filename":"file1"},{"photo_id":"1352269976","filename":"file0"},{"photo_id":"1352269986","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352269986":["hashtag1","hashtag2"]},{"1352269989":["hashtag1","hashtag2"]},{"1352269982":["hashtag1","hashtag2"]},{"1352269976":["hashtag1","hashtag2"]},{"1352269991":["hashtag1","hashtag2"]},{"1352269979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352269986, 1352269989, 1352269982, 1352269976, 1352269991, 1352269979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.33475160598755 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:15:33.079334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_14_9455.jpg', '/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_25_10438.jpg', '/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_35_10373.jpg', '/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_55_10371.jpg', '/home/pi/Desktop/images/20042025/18/55/image_20042025_18_56_04_9357.jpg', '/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_14_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_14_9455.jpg
/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_25_10438.jpg
/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_35_10373.jpg
/home/pi/Desktop/images/20042025/18/55/image_20042025_18_55_55_10371.jpg
/home/pi/Desktop/images/20042025/18/55/image_20042025_18_56_04_9357.jpg
/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_14_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270011","1352270014","1352270016","1352270013","1352270015","1352270009"],"photo_ids_order":["1352270009","1352270011","1352270013","1352270014","1352270015","1352270016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/531d8185a99ce4e3f6da818356a48738.jpg","text":"TemporaryFile(/tmp/multipartBody4915458331713349437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176593568,"filename":"image_20042025_18_55_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f000d3e6095b1035887d661a969b662e.jpg","text":"TemporaryFile(/tmp/multipartBody1757460155563947549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176593568,"filename":"image_20042025_18_55_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b3013a21a6e81e821108c410f20d1ce.jpg","text":"TemporaryFile(/tmp/multipartBody6286537087505739841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176593568,"filename":"image_20042025_18_56_14_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9fd4e196db8f452edc0807b56902dde.jpg","text":"TemporaryFile(/tmp/multipartBody3024248312869793915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176593568,"filename":"image_20042025_18_55_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3b9a1486a4664f73b965ab59e12d3e2.jpg","text":"TemporaryFile(/tmp/multipartBody1020834800715093793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176593568,"filename":"image_20042025_18_56_04_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d5342e497e4100e8f2e15b5e4e63326.jpg","text":"TemporaryFile(/tmp/multipartBody6193243295935207466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176593568,"filename":"image_20042025_18_55_14_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270013","file1":"1352270011","file0":"1352270009","file4":"1352270015","file5":"1352270016","file3":"1352270014"},"map_files_photo_id_array":[{"photo_id":"1352270016","filename":"file5"},{"photo_id":"1352270013","filename":"file2"},{"photo_id":"1352270015","filename":"file4"},{"photo_id":"1352270011","filename":"file1"},{"photo_id":"1352270009","filename":"file0"},{"photo_id":"1352270014","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270011":["hashtag1","hashtag2"]},{"1352270014":["hashtag1","hashtag2"]},{"1352270016":["hashtag1","hashtag2"]},{"1352270013":["hashtag1","hashtag2"]},{"1352270015":["hashtag1","hashtag2"]},{"1352270009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270011, 1352270014, 1352270016, 1352270013, 1352270015, 1352270009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.173216104507446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:16:32.256623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_25_10392.jpg', '/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_45_10419.jpg', '/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_54_9476.jpg', '/home/pi/Desktop/images/20042025/18/56/image_20042025_18_57_04_10361.jpg', '/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_15_10361.jpg', '/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_24_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_25_10392.jpg
/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_45_10419.jpg
/home/pi/Desktop/images/20042025/18/56/image_20042025_18_56_54_9476.jpg
/home/pi/Desktop/images/20042025/18/56/image_20042025_18_57_04_10361.jpg
/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_15_10361.jpg
/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_24_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270035","1352270040","1352270028","1352270043","1352270045","1352270030"],"photo_ids_order":["1352270028","1352270030","1352270035","1352270040","1352270043","1352270045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b72300b3ecf62e76f0e6adab7c13b5be.jpg","text":"TemporaryFile(/tmp/multipartBody1102170775731747461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176652722,"filename":"image_20042025_18_56_54_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e45ead4d623c5b3506fdbef824145d6.jpg","text":"TemporaryFile(/tmp/multipartBody6315400712552267207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176652722,"filename":"image_20042025_18_57_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/073d57650d9f8e220563254f304843b7.jpg","text":"TemporaryFile(/tmp/multipartBody1202739991886773538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176652722,"filename":"image_20042025_18_56_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea5714913366aded167345920860bcc4.jpg","text":"TemporaryFile(/tmp/multipartBody6170065777943066167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176652722,"filename":"image_20042025_18_57_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64ec2fe6fec14a884af176f0de195bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1520946688683887345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176652722,"filename":"image_20042025_18_57_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/350032e60c63a261230a37657ff8f4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2754959032732433787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176652722,"filename":"image_20042025_18_56_45_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270035","file1":"1352270030","file0":"1352270028","file4":"1352270043","file5":"1352270045","file3":"1352270040"},"map_files_photo_id_array":[{"photo_id":"1352270045","filename":"file5"},{"photo_id":"1352270035","filename":"file2"},{"photo_id":"1352270043","filename":"file4"},{"photo_id":"1352270030","filename":"file1"},{"photo_id":"1352270028","filename":"file0"},{"photo_id":"1352270040","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270035":["hashtag1","hashtag2"]},{"1352270040":["hashtag1","hashtag2"]},{"1352270028":["hashtag1","hashtag2"]},{"1352270043":["hashtag1","hashtag2"]},{"1352270045":["hashtag1","hashtag2"]},{"1352270030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270035, 1352270040, 1352270028, 1352270043, 1352270045, 1352270030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.3391854763031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:17:32.730735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_35_10355.jpg', '/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_44_9430.jpg', '/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_54_10373.jpg', '/home/pi/Desktop/images/20042025/18/57/image_20042025_18_58_05_10369.jpg', '/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_14_9377.jpg', '/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_25_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_35_10355.jpg
/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_44_9430.jpg
/home/pi/Desktop/images/20042025/18/57/image_20042025_18_57_54_10373.jpg
/home/pi/Desktop/images/20042025/18/57/image_20042025_18_58_05_10369.jpg
/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_14_9377.jpg
/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_25_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270062","1352270065","1352270067","1352270061","1352270063","1352270069"],"photo_ids_order":["1352270061","1352270062","1352270063","1352270065","1352270067","1352270069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d845a1fee9665f32308ac13e60e5aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody7651748920820788106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176713208,"filename":"image_20042025_18_57_44_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c353c357b844bbef6730019987291464.jpg","text":"TemporaryFile(/tmp/multipartBody3513185481489083471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176713208,"filename":"image_20042025_18_58_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff614791e100197c4ddccfab426cc7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1740842874316672054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176713208,"filename":"image_20042025_18_58_14_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31063a4e97ef2d4ba19658cc46520838.jpg","text":"TemporaryFile(/tmp/multipartBody826826253322517506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176713208,"filename":"image_20042025_18_57_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23ba2fdd3b065fdfb1e1d21f1111c1d8.jpg","text":"TemporaryFile(/tmp/multipartBody1201029252413692736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176713208,"filename":"image_20042025_18_57_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/945ccfb461cf9b1e76a8761acb193273.jpg","text":"TemporaryFile(/tmp/multipartBody3997648007139594815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176713208,"filename":"image_20042025_18_58_25_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270063","file1":"1352270062","file0":"1352270061","file4":"1352270067","file5":"1352270069","file3":"1352270065"},"map_files_photo_id_array":[{"photo_id":"1352270069","filename":"file5"},{"photo_id":"1352270063","filename":"file2"},{"photo_id":"1352270067","filename":"file4"},{"photo_id":"1352270062","filename":"file1"},{"photo_id":"1352270061","filename":"file0"},{"photo_id":"1352270065","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270062":["hashtag1","hashtag2"]},{"1352270065":["hashtag1","hashtag2"]},{"1352270067":["hashtag1","hashtag2"]},{"1352270061":["hashtag1","hashtag2"]},{"1352270063":["hashtag1","hashtag2"]},{"1352270069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270062, 1352270065, 1352270067, 1352270061, 1352270063, 1352270069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81791853904724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:18:33.090857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_35_10359.jpg', '/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_44_9434.jpg', '/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_55_10360.jpg', '/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_14_10359.jpg', '/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_25_10364.jpg', '/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_34_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_35_10359.jpg
/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_44_9434.jpg
/home/pi/Desktop/images/20042025/18/58/image_20042025_18_58_55_10360.jpg
/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_14_10359.jpg
/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_25_10364.jpg
/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_34_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270103","1352270093","1352270096","1352270099","1352270086","1352270089"],"photo_ids_order":["1352270086","1352270089","1352270093","1352270096","1352270099","1352270103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a4097d9c16b175731bc555e6f39e18b.jpg","text":"TemporaryFile(/tmp/multipartBody5909531537225774009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176773567,"filename":"image_20042025_18_59_34_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5b155060e8fd1d8d951221c2bef7765.jpg","text":"TemporaryFile(/tmp/multipartBody6935473478852998392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176773567,"filename":"image_20042025_18_58_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4375dd0adb851a850c1decef362d642c.jpg","text":"TemporaryFile(/tmp/multipartBody3169247392574634726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176773567,"filename":"image_20042025_18_59_14_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e78573d114e218ccb72da1bd0149a61d.jpg","text":"TemporaryFile(/tmp/multipartBody3131454342966417873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176773567,"filename":"image_20042025_18_59_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef76054b671f4540e6b323205b521241.jpg","text":"TemporaryFile(/tmp/multipartBody8441168832454419161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176773567,"filename":"image_20042025_18_58_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4bd9db44cc4a21bcf22c11fd48fcb61.jpg","text":"TemporaryFile(/tmp/multipartBody2124640237222654135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176773567,"filename":"image_20042025_18_58_44_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270093","file1":"1352270089","file0":"1352270086","file4":"1352270099","file5":"1352270103","file3":"1352270096"},"map_files_photo_id_array":[{"photo_id":"1352270103","filename":"file5"},{"photo_id":"1352270093","filename":"file2"},{"photo_id":"1352270099","filename":"file4"},{"photo_id":"1352270089","filename":"file1"},{"photo_id":"1352270086","filename":"file0"},{"photo_id":"1352270096","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270103":["hashtag1","hashtag2"]},{"1352270093":["hashtag1","hashtag2"]},{"1352270096":["hashtag1","hashtag2"]},{"1352270099":["hashtag1","hashtag2"]},{"1352270086":["hashtag1","hashtag2"]},{"1352270089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270103, 1352270093, 1352270096, 1352270099, 1352270086, 1352270089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69512629508972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:19:32.533123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_45_10366.jpg', '/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_54_9390.jpg', '/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_14_10073.jpg', '/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_24_10451.jpg', '/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_35_10379.jpg', '/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_44_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_45_10366.jpg
/home/pi/Desktop/images/20042025/18/59/image_20042025_18_59_54_9390.jpg
/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_14_10073.jpg
/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_24_10451.jpg
/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_35_10379.jpg
/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_44_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270119","1352270127","1352270121","1352270124","1352270129","1352270117"],"photo_ids_order":["1352270117","1352270119","1352270121","1352270124","1352270127","1352270129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bb1f927ea42955ce6d31cdabcc31486.jpg","text":"TemporaryFile(/tmp/multipartBody5284981347362551575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176833007,"filename":"image_20042025_18_59_54_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6276fd57859b5352c83cf36248f78d34.jpg","text":"TemporaryFile(/tmp/multipartBody6576222330876734802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176833007,"filename":"image_20042025_19_01_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/771319dcb7463d984bfafea93b67fadb.jpg","text":"TemporaryFile(/tmp/multipartBody7728818261231046227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176833007,"filename":"image_20042025_19_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/190027c1aca067543a19276c5c01b1b2.jpg","text":"TemporaryFile(/tmp/multipartBody3549626044259170768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176833007,"filename":"image_20042025_19_01_24_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da49c15e21f26c05a57f9d85006b4022.jpg","text":"TemporaryFile(/tmp/multipartBody2472977620871276058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176833007,"filename":"image_20042025_19_01_44_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8f35fd281010a73a4ff52f59a6f06b7.jpg","text":"TemporaryFile(/tmp/multipartBody6460489094860439180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176833007,"filename":"image_20042025_18_59_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270121","file1":"1352270119","file0":"1352270117","file4":"1352270127","file5":"1352270129","file3":"1352270124"},"map_files_photo_id_array":[{"photo_id":"1352270129","filename":"file5"},{"photo_id":"1352270121","filename":"file2"},{"photo_id":"1352270127","filename":"file4"},{"photo_id":"1352270119","filename":"file1"},{"photo_id":"1352270117","filename":"file0"},{"photo_id":"1352270124","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270119":["hashtag1","hashtag2"]},{"1352270127":["hashtag1","hashtag2"]},{"1352270121":["hashtag1","hashtag2"]},{"1352270124":["hashtag1","hashtag2"]},{"1352270129":["hashtag1","hashtag2"]},{"1352270117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270119, 1352270127, 1352270121, 1352270124, 1352270129, 1352270117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.337280750274658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:20:32.491202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_55_10418.jpg', '/home/pi/Desktop/images/20042025/19/01/image_20042025_19_02_04_9457.jpg', '/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_14_10425.jpg', '/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_25_10368.jpg', '/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_34_9467.jpg', '/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_45_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/01/image_20042025_19_01_55_10418.jpg
/home/pi/Desktop/images/20042025/19/01/image_20042025_19_02_04_9457.jpg
/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_14_10425.jpg
/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_25_10368.jpg
/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_34_9467.jpg
/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_45_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270155","1352270163","1352270169","1352270159","1352270167","1352270152"],"photo_ids_order":["1352270152","1352270155","1352270159","1352270163","1352270167","1352270169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c8003912917c10522335d0ba12bb2e5.jpg","text":"TemporaryFile(/tmp/multipartBody5789528931322493881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176892966,"filename":"image_20042025_19_02_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/510f93822358e0758c9afd33d16066c1.jpg","text":"TemporaryFile(/tmp/multipartBody4636655487476133894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176892966,"filename":"image_20042025_19_02_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98b8d39a399d443bb0565a0fb9161d12.jpg","text":"TemporaryFile(/tmp/multipartBody7102148377009802431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176892966,"filename":"image_20042025_19_02_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5782424a476734a6243b78dec078eca.jpg","text":"TemporaryFile(/tmp/multipartBody4932185977730310741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176892966,"filename":"image_20042025_19_02_14_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f804338149917286bbf1f2bb929e1c8.jpg","text":"TemporaryFile(/tmp/multipartBody3249373473332800663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176892966,"filename":"image_20042025_19_02_34_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/773926e4e0f5fd144254657954404266.jpg","text":"TemporaryFile(/tmp/multipartBody1819661384956289646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176892966,"filename":"image_20042025_19_01_55_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270159","file1":"1352270155","file0":"1352270152","file4":"1352270167","file5":"1352270169","file3":"1352270163"},"map_files_photo_id_array":[{"photo_id":"1352270169","filename":"file5"},{"photo_id":"1352270159","filename":"file2"},{"photo_id":"1352270167","filename":"file4"},{"photo_id":"1352270155","filename":"file1"},{"photo_id":"1352270152","filename":"file0"},{"photo_id":"1352270163","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270155":["hashtag1","hashtag2"]},{"1352270163":["hashtag1","hashtag2"]},{"1352270169":["hashtag1","hashtag2"]},{"1352270159":["hashtag1","hashtag2"]},{"1352270167":["hashtag1","hashtag2"]},{"1352270152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270155, 1352270163, 1352270169, 1352270159, 1352270167, 1352270152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.32428526878357 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:21:32.765909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_54_9470.jpg', '/home/pi/Desktop/images/20042025/19/02/image_20042025_19_03_04_10387.jpg', '/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_14_9380.jpg', '/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_24_10402.jpg', '/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_44_9418.jpg', '/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_55_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/02/image_20042025_19_02_54_9470.jpg
/home/pi/Desktop/images/20042025/19/02/image_20042025_19_03_04_10387.jpg
/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_14_9380.jpg
/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_24_10402.jpg
/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_44_9418.jpg
/home/pi/Desktop/images/20042025/19/03/image_20042025_19_03_55_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270199","1352270184","1352270202","1352270195","1352270189","1352270191"],"photo_ids_order":["1352270184","1352270189","1352270191","1352270195","1352270199","1352270202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/159623b6b8456bfd8a89d66896aba1aa.jpg","text":"TemporaryFile(/tmp/multipartBody7361687416815381036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176953236,"filename":"image_20042025_19_03_44_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63c6c42d90e3c2dbde1c3956d060b207.jpg","text":"TemporaryFile(/tmp/multipartBody1600303765578133503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176953236,"filename":"image_20042025_19_02_54_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9d459bf1ca504be395aa95315076060.jpg","text":"TemporaryFile(/tmp/multipartBody7256752899575569813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176953236,"filename":"image_20042025_19_03_55_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/975cbab57922821124a83383742524b0.jpg","text":"TemporaryFile(/tmp/multipartBody3500518743048999736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176953236,"filename":"image_20042025_19_03_24_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1992bfcfebc47cd049b45e57e0e33915.jpg","text":"TemporaryFile(/tmp/multipartBody3541343614819252541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176953236,"filename":"image_20042025_19_03_04_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d20cfcad669a8e4d1ce09aca82c74ea.jpg","text":"TemporaryFile(/tmp/multipartBody593096350742575613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745176953236,"filename":"image_20042025_19_03_14_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270191","file1":"1352270189","file0":"1352270184","file4":"1352270199","file5":"1352270202","file3":"1352270195"},"map_files_photo_id_array":[{"photo_id":"1352270202","filename":"file5"},{"photo_id":"1352270191","filename":"file2"},{"photo_id":"1352270199","filename":"file4"},{"photo_id":"1352270189","filename":"file1"},{"photo_id":"1352270184","filename":"file0"},{"photo_id":"1352270195","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270199":["hashtag1","hashtag2"]},{"1352270184":["hashtag1","hashtag2"]},{"1352270202":["hashtag1","hashtag2"]},{"1352270195":["hashtag1","hashtag2"]},{"1352270189":["hashtag1","hashtag2"]},{"1352270191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270199, 1352270184, 1352270202, 1352270195, 1352270189, 1352270191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.074862241744995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:22:33.006764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/03/image_20042025_19_04_04_9510.jpg', '/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_14_10413.jpg', '/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_25_10371.jpg', '/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_34_9361.jpg', '/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_45_10382.jpg', '/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_54_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/03/image_20042025_19_04_04_9510.jpg
/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_14_10413.jpg
/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_25_10371.jpg
/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_34_9361.jpg
/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_45_10382.jpg
/home/pi/Desktop/images/20042025/19/04/image_20042025_19_04_54_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270236","1352270235","1352270223","1352270231","1352270225","1352270228"],"photo_ids_order":["1352270223","1352270225","1352270228","1352270231","1352270235","1352270236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56081060c34b571167be6d52a49400c0.jpg","text":"TemporaryFile(/tmp/multipartBody1644538058219473428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177013484,"filename":"image_20042025_19_04_54_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4436521f578f185dc34710367ec7751a.jpg","text":"TemporaryFile(/tmp/multipartBody2575949692728713951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177013484,"filename":"image_20042025_19_04_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e6392d17464cd957a9bab705de195f0.jpg","text":"TemporaryFile(/tmp/multipartBody590800651609106720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177013484,"filename":"image_20042025_19_04_04_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d9988554d6f4e0bf97c869c1fca00bf.jpg","text":"TemporaryFile(/tmp/multipartBody6074401510781554072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177013484,"filename":"image_20042025_19_04_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf49de3afceba03a8841e6140d02adc7.jpg","text":"TemporaryFile(/tmp/multipartBody6353873966739715494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177013484,"filename":"image_20042025_19_04_14_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b11074c4657a28ec17396d080b8e5250.jpg","text":"TemporaryFile(/tmp/multipartBody1109266524748127941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177013484,"filename":"image_20042025_19_04_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270228","file1":"1352270225","file0":"1352270223","file4":"1352270235","file5":"1352270236","file3":"1352270231"},"map_files_photo_id_array":[{"photo_id":"1352270236","filename":"file5"},{"photo_id":"1352270228","filename":"file2"},{"photo_id":"1352270235","filename":"file4"},{"photo_id":"1352270225","filename":"file1"},{"photo_id":"1352270223","filename":"file0"},{"photo_id":"1352270231","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270236":["hashtag1","hashtag2"]},{"1352270235":["hashtag1","hashtag2"]},{"1352270223":["hashtag1","hashtag2"]},{"1352270231":["hashtag1","hashtag2"]},{"1352270225":["hashtag1","hashtag2"]},{"1352270228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270236, 1352270235, 1352270223, 1352270231, 1352270225, 1352270228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78223896026611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:23:32.206118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/04/image_20042025_19_05_04_10354.jpg', '/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_24_9371.jpg', '/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_35_10389.jpg', '/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_44_9540.jpg', '/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_54_10382.jpg', '/home/pi/Desktop/images/20042025/19/05/image_20042025_19_06_04_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/04/image_20042025_19_05_04_10354.jpg
/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_24_9371.jpg
/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_35_10389.jpg
/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_44_9540.jpg
/home/pi/Desktop/images/20042025/19/05/image_20042025_19_05_54_10382.jpg
/home/pi/Desktop/images/20042025/19/05/image_20042025_19_06_04_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270260","1352270262","1352270253","1352270256","1352270264","1352270251"],"photo_ids_order":["1352270251","1352270253","1352270256","1352270260","1352270262","1352270264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3de6e2956e450b7c50175aeacdc196b9.jpg","text":"TemporaryFile(/tmp/multipartBody3421539788077255455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177072677,"filename":"image_20042025_19_05_44_9540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c15d14d63a8b3c935b048f248c05561.jpg","text":"TemporaryFile(/tmp/multipartBody4989364334553420719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177072677,"filename":"image_20042025_19_05_54_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f1f959018098d513e2010bf683ab241.jpg","text":"TemporaryFile(/tmp/multipartBody5579839680055317536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177072677,"filename":"image_20042025_19_05_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25eb857eee057442ad2e2acc9015f7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4047877090551682642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177072677,"filename":"image_20042025_19_05_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c0a67d1097430e09568beb948c32d1e4.jpg","text":"TemporaryFile(/tmp/multipartBody7154978586190336387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177072677,"filename":"image_20042025_19_06_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d651c22b800b83164384f443ec285e6.jpg","text":"TemporaryFile(/tmp/multipartBody1327259937219794958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177072677,"filename":"image_20042025_19_05_04_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270256","file1":"1352270253","file0":"1352270251","file4":"1352270262","file5":"1352270264","file3":"1352270260"},"map_files_photo_id_array":[{"photo_id":"1352270264","filename":"file5"},{"photo_id":"1352270256","filename":"file2"},{"photo_id":"1352270262","filename":"file4"},{"photo_id":"1352270253","filename":"file1"},{"photo_id":"1352270251","filename":"file0"},{"photo_id":"1352270260","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270260":["hashtag1","hashtag2"]},{"1352270262":["hashtag1","hashtag2"]},{"1352270253":["hashtag1","hashtag2"]},{"1352270256":["hashtag1","hashtag2"]},{"1352270264":["hashtag1","hashtag2"]},{"1352270251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270260, 1352270262, 1352270253, 1352270256, 1352270264, 1352270251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.023178100585938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:24:32.449675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_14_10446.jpg', '/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_25_10393.jpg', '/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_34_9452.jpg', '/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_44_10368.jpg', '/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_54_9509.jpg', '/home/pi/Desktop/images/20042025/19/06/image_20042025_19_07_04_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_14_10446.jpg
/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_25_10393.jpg
/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_34_9452.jpg
/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_44_10368.jpg
/home/pi/Desktop/images/20042025/19/06/image_20042025_19_06_54_9509.jpg
/home/pi/Desktop/images/20042025/19/06/image_20042025_19_07_04_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270285","1352270297","1352270300","1352270299","1352270290","1352270293"],"photo_ids_order":["1352270285","1352270290","1352270293","1352270297","1352270299","1352270300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfdb2e68f6652a2f488f8778f8c50103.jpg","text":"TemporaryFile(/tmp/multipartBody8649767451502364084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177132938,"filename":"image_20042025_19_06_14_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37e0b49eebfff4ea99680511329e6b19.jpg","text":"TemporaryFile(/tmp/multipartBody2251104039790973338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177132938,"filename":"image_20042025_19_06_44_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84d0dc21a143ebfdcfefd59e9b98d695.jpg","text":"TemporaryFile(/tmp/multipartBody69885969225391216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177132938,"filename":"image_20042025_19_07_04_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/742158d098ed3a8c89a570937ffc1653.jpg","text":"TemporaryFile(/tmp/multipartBody3794502697417723718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177132938,"filename":"image_20042025_19_06_54_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc7a8840f095a5190cf924a19712da99.jpg","text":"TemporaryFile(/tmp/multipartBody1353041584151383490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177132938,"filename":"image_20042025_19_06_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bfd70be23593ef05f8fdef38618a42ef.jpg","text":"TemporaryFile(/tmp/multipartBody805082732992151583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177132938,"filename":"image_20042025_19_06_34_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270293","file1":"1352270290","file0":"1352270285","file4":"1352270299","file5":"1352270300","file3":"1352270297"},"map_files_photo_id_array":[{"photo_id":"1352270300","filename":"file5"},{"photo_id":"1352270293","filename":"file2"},{"photo_id":"1352270299","filename":"file4"},{"photo_id":"1352270290","filename":"file1"},{"photo_id":"1352270285","filename":"file0"},{"photo_id":"1352270297","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270285":["hashtag1","hashtag2"]},{"1352270297":["hashtag1","hashtag2"]},{"1352270300":["hashtag1","hashtag2"]},{"1352270299":["hashtag1","hashtag2"]},{"1352270290":["hashtag1","hashtag2"]},{"1352270293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270285, 1352270297, 1352270300, 1352270299, 1352270290, 1352270293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.86116862297058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:25:32.488712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_15_10357.jpg', '/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_24_9412.jpg', '/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_35_10366.jpg', '/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_44_9472.jpg', '/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_54_10431.jpg', '/home/pi/Desktop/images/20042025/19/07/image_20042025_19_08_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_15_10357.jpg
/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_24_9412.jpg
/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_35_10366.jpg
/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_44_9472.jpg
/home/pi/Desktop/images/20042025/19/07/image_20042025_19_07_54_10431.jpg
/home/pi/Desktop/images/20042025/19/07/image_20042025_19_08_05_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270323","1352270331","1352270325","1352270328","1352270322","1352270333"],"photo_ids_order":["1352270322","1352270323","1352270325","1352270328","1352270331","1352270333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f31bc7cdfec7012bacf0813bcf56c86.jpg","text":"TemporaryFile(/tmp/multipartBody5045983603117264416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177192957,"filename":"image_20042025_19_07_24_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e8c8db67c3283c4fc0be30159bb8562.jpg","text":"TemporaryFile(/tmp/multipartBody2898894986132090317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177192957,"filename":"image_20042025_19_07_54_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/30d8666845d3f32e4844f2a32020be9a.jpg","text":"TemporaryFile(/tmp/multipartBody3874233057662817114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177192957,"filename":"image_20042025_19_07_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/68c8ef503ec79c901b4229aa002be3b1.jpg","text":"TemporaryFile(/tmp/multipartBody8757302116828694194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177192957,"filename":"image_20042025_19_07_44_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e5a62f42aa1b1cadc2833e301975051.jpg","text":"TemporaryFile(/tmp/multipartBody3839338295758550930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177192957,"filename":"image_20042025_19_07_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6016198729551b688ec4863e0fc7ae14.jpg","text":"TemporaryFile(/tmp/multipartBody4894090665512285305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177192957,"filename":"image_20042025_19_08_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270325","file1":"1352270323","file0":"1352270322","file4":"1352270331","file5":"1352270333","file3":"1352270328"},"map_files_photo_id_array":[{"photo_id":"1352270333","filename":"file5"},{"photo_id":"1352270325","filename":"file2"},{"photo_id":"1352270331","filename":"file4"},{"photo_id":"1352270323","filename":"file1"},{"photo_id":"1352270322","filename":"file0"},{"photo_id":"1352270328","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270323":["hashtag1","hashtag2"]},{"1352270331":["hashtag1","hashtag2"]},{"1352270325":["hashtag1","hashtag2"]},{"1352270328":["hashtag1","hashtag2"]},{"1352270322":["hashtag1","hashtag2"]},{"1352270333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270323, 1352270331, 1352270325, 1352270328, 1352270322, 1352270333)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.383764028549194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:26:32.698255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_14_9355.jpg', '/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_25_10367.jpg', '/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_34_9481.jpg', '/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_44_10372.jpg', '/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_54_9428.jpg', '/home/pi/Desktop/images/20042025/19/08/image_20042025_19_09_04_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_14_9355.jpg
/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_25_10367.jpg
/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_34_9481.jpg
/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_44_10372.jpg
/home/pi/Desktop/images/20042025/19/08/image_20042025_19_08_54_9428.jpg
/home/pi/Desktop/images/20042025/19/08/image_20042025_19_09_04_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270362","1352270356","1352270367","1352270360","1352270351","1352270365"],"photo_ids_order":["1352270351","1352270356","1352270360","1352270362","1352270365","1352270367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/930759fa3c9ad083503c71efa135dcc5.jpg","text":"TemporaryFile(/tmp/multipartBody8574824593052808211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177253178,"filename":"image_20042025_19_08_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cb9e3caff1e06fa4bb8adb2ce40ab96.jpg","text":"TemporaryFile(/tmp/multipartBody2258731636854576904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177253178,"filename":"image_20042025_19_08_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7dcc013c1072c54153b788f210b0a14.jpg","text":"TemporaryFile(/tmp/multipartBody3521196899600657759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177253178,"filename":"image_20042025_19_09_04_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf5d148d930ec4a0238f99005a6cece9.jpg","text":"TemporaryFile(/tmp/multipartBody1624100425645914895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177253178,"filename":"image_20042025_19_08_34_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e7877a295b4aedff806c78e284cfaf3.jpg","text":"TemporaryFile(/tmp/multipartBody5897851180478899423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177253178,"filename":"image_20042025_19_08_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8931eda2f98f824e230814953364e461.jpg","text":"TemporaryFile(/tmp/multipartBody648581784635296222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177253178,"filename":"image_20042025_19_08_54_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270360","file1":"1352270356","file0":"1352270351","file4":"1352270365","file5":"1352270367","file3":"1352270362"},"map_files_photo_id_array":[{"photo_id":"1352270367","filename":"file5"},{"photo_id":"1352270360","filename":"file2"},{"photo_id":"1352270365","filename":"file4"},{"photo_id":"1352270356","filename":"file1"},{"photo_id":"1352270351","filename":"file0"},{"photo_id":"1352270362","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270362":["hashtag1","hashtag2"]},{"1352270356":["hashtag1","hashtag2"]},{"1352270367":["hashtag1","hashtag2"]},{"1352270360":["hashtag1","hashtag2"]},{"1352270351":["hashtag1","hashtag2"]},{"1352270365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270362, 1352270356, 1352270367, 1352270360, 1352270351, 1352270365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.783448934555054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:27:32.949859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_15_10405.jpg', '/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_24_9391.jpg', '/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_34_10385.jpg', '/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_45_10365.jpg', '/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_54_9447.jpg', '/home/pi/Desktop/images/20042025/19/09/image_20042025_19_10_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_15_10405.jpg
/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_24_9391.jpg
/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_34_10385.jpg
/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_45_10365.jpg
/home/pi/Desktop/images/20042025/19/09/image_20042025_19_09_54_9447.jpg
/home/pi/Desktop/images/20042025/19/09/image_20042025_19_10_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270388","1352270382","1352270379","1352270384","1352270395","1352270392"],"photo_ids_order":["1352270379","1352270382","1352270384","1352270388","1352270392","1352270395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8430473d14171966752654d182d1c7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3651280541123336955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177313418,"filename":"image_20042025_19_09_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3826721896d62e46e1ef765a054557db.jpg","text":"TemporaryFile(/tmp/multipartBody9141628168858681162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177313418,"filename":"image_20042025_19_09_24_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e216d42ef4fa7f2b897097b4d08c43a.jpg","text":"TemporaryFile(/tmp/multipartBody7109999492646538366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177313418,"filename":"image_20042025_19_09_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/625000f01aa3f8c6ae217891e4ebcc86.jpg","text":"TemporaryFile(/tmp/multipartBody1876252848458528900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177313418,"filename":"image_20042025_19_09_34_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a918ad3870eff364c53a4df4b765c88.jpg","text":"TemporaryFile(/tmp/multipartBody3216593498944143573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177313418,"filename":"image_20042025_19_10_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7cee45140982e5cb965256de9fef187.jpg","text":"TemporaryFile(/tmp/multipartBody4613187661777757248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177313418,"filename":"image_20042025_19_09_54_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270384","file1":"1352270382","file0":"1352270379","file4":"1352270392","file5":"1352270395","file3":"1352270388"},"map_files_photo_id_array":[{"photo_id":"1352270395","filename":"file5"},{"photo_id":"1352270384","filename":"file2"},{"photo_id":"1352270392","filename":"file4"},{"photo_id":"1352270382","filename":"file1"},{"photo_id":"1352270379","filename":"file0"},{"photo_id":"1352270388","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270388":["hashtag1","hashtag2"]},{"1352270382":["hashtag1","hashtag2"]},{"1352270379":["hashtag1","hashtag2"]},{"1352270384":["hashtag1","hashtag2"]},{"1352270395":["hashtag1","hashtag2"]},{"1352270392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270388, 1352270382, 1352270379, 1352270384, 1352270395, 1352270392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.104506015777588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:28:32.176605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_14_9456.jpg', '/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_24_10368.jpg', '/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_34_9373.jpg', '/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_44_10438.jpg', '/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_55_10381.jpg', '/home/pi/Desktop/images/20042025/19/10/image_20042025_19_11_04_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_14_9456.jpg
/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_24_10368.jpg
/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_34_9373.jpg
/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_44_10438.jpg
/home/pi/Desktop/images/20042025/19/10/image_20042025_19_10_55_10381.jpg
/home/pi/Desktop/images/20042025/19/10/image_20042025_19_11_04_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270416","1352270424","1352270412","1352270421","1352270429","1352270426"],"photo_ids_order":["1352270412","1352270416","1352270421","1352270424","1352270426","1352270429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ed83b12b6e67ad513d43d066eea69e59.jpg","text":"TemporaryFile(/tmp/multipartBody5243590139527665115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177372643,"filename":"image_20042025_19_10_24_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9671698964739e57e4274abe35cb8f07.jpg","text":"TemporaryFile(/tmp/multipartBody8542818724734271713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177372643,"filename":"image_20042025_19_10_44_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f7b611b787afd79cda8414e2b304974.jpg","text":"TemporaryFile(/tmp/multipartBody4707388256159832968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177372643,"filename":"image_20042025_19_10_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/046b6a2fc996ab8e3be261ce09ff40af.jpg","text":"TemporaryFile(/tmp/multipartBody8299659921071275769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177372643,"filename":"image_20042025_19_10_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba8dadf80e2533a177d76c6f2bc2465d.jpg","text":"TemporaryFile(/tmp/multipartBody4227939830252328282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177372643,"filename":"image_20042025_19_11_04_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ce506b0593b060a6810241d0ee58169.jpg","text":"TemporaryFile(/tmp/multipartBody5119065043642003899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177372643,"filename":"image_20042025_19_10_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270421","file1":"1352270416","file0":"1352270412","file4":"1352270426","file5":"1352270429","file3":"1352270424"},"map_files_photo_id_array":[{"photo_id":"1352270429","filename":"file5"},{"photo_id":"1352270421","filename":"file2"},{"photo_id":"1352270426","filename":"file4"},{"photo_id":"1352270416","filename":"file1"},{"photo_id":"1352270412","filename":"file0"},{"photo_id":"1352270424","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270416":["hashtag1","hashtag2"]},{"1352270424":["hashtag1","hashtag2"]},{"1352270412":["hashtag1","hashtag2"]},{"1352270421":["hashtag1","hashtag2"]},{"1352270429":["hashtag1","hashtag2"]},{"1352270426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270416, 1352270424, 1352270412, 1352270421, 1352270429, 1352270426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02717876434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:29:32.322567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_14_10370.jpg', '/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_24_9359.jpg', '/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_34_10397.jpg', '/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_45_10415.jpg', '/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_54_9420.jpg', '/home/pi/Desktop/images/20042025/19/11/image_20042025_19_12_04_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_14_10370.jpg
/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_24_9359.jpg
/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_34_10397.jpg
/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_45_10415.jpg
/home/pi/Desktop/images/20042025/19/11/image_20042025_19_11_54_9420.jpg
/home/pi/Desktop/images/20042025/19/11/image_20042025_19_12_04_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270467","1352270449","1352270457","1352270441","1352270444","1352270470"],"photo_ids_order":["1352270441","1352270444","1352270449","1352270457","1352270467","1352270470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8d29f6329be4af117cd9afabfc8fdd25.jpg","text":"TemporaryFile(/tmp/multipartBody7389175538389611587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177432792,"filename":"image_20042025_19_11_54_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3850dcdcd523659bfbf2fcd69f0055b4.jpg","text":"TemporaryFile(/tmp/multipartBody4419094483125099738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177432792,"filename":"image_20042025_19_11_34_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c27b7ef1ac10249ac6e6578f95f27da.jpg","text":"TemporaryFile(/tmp/multipartBody5850547991106297967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177432792,"filename":"image_20042025_19_11_45_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e6728adc5ec4b2adf33cbc154c27b0d.jpg","text":"TemporaryFile(/tmp/multipartBody2773982504854872429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177432792,"filename":"image_20042025_19_11_14_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/339b0b09fdfea3465a7694915dcc4835.jpg","text":"TemporaryFile(/tmp/multipartBody8686096050641050897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177432792,"filename":"image_20042025_19_11_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bce0bd6e2354398b5e2e8c82cb2eb858.jpg","text":"TemporaryFile(/tmp/multipartBody2851507570667231234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177432792,"filename":"image_20042025_19_12_04_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270449","file1":"1352270444","file0":"1352270441","file4":"1352270467","file5":"1352270470","file3":"1352270457"},"map_files_photo_id_array":[{"photo_id":"1352270470","filename":"file5"},{"photo_id":"1352270449","filename":"file2"},{"photo_id":"1352270467","filename":"file4"},{"photo_id":"1352270444","filename":"file1"},{"photo_id":"1352270441","filename":"file0"},{"photo_id":"1352270457","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270467":["hashtag1","hashtag2"]},{"1352270449":["hashtag1","hashtag2"]},{"1352270457":["hashtag1","hashtag2"]},{"1352270441":["hashtag1","hashtag2"]},{"1352270444":["hashtag1","hashtag2"]},{"1352270470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270467, 1352270449, 1352270457, 1352270441, 1352270444, 1352270470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.03674864768982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:30:32.536180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_14_9360.jpg', '/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_24_10406.jpg', '/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_35_10361.jpg', '/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_44_9423.jpg', '/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_54_10434.jpg', '/home/pi/Desktop/images/20042025/19/12/image_20042025_19_13_04_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_14_9360.jpg
/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_24_10406.jpg
/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_35_10361.jpg
/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_44_9423.jpg
/home/pi/Desktop/images/20042025/19/12/image_20042025_19_12_54_10434.jpg
/home/pi/Desktop/images/20042025/19/12/image_20042025_19_13_04_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270499","1352270493","1352270496","1352270483","1352270486","1352270489"],"photo_ids_order":["1352270483","1352270486","1352270489","1352270493","1352270496","1352270499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c1b80ceba2914efaeb53a61737c59f8.jpg","text":"TemporaryFile(/tmp/multipartBody7915884085327192606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177493005,"filename":"image_20042025_19_13_04_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c80f02dce7734a164fdd080d63257111.jpg","text":"TemporaryFile(/tmp/multipartBody5669567745863132533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177493005,"filename":"image_20042025_19_12_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1812767e575989ff10194b39c5fba13f.jpg","text":"TemporaryFile(/tmp/multipartBody2814654736955630415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177493005,"filename":"image_20042025_19_12_54_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdddc9cebc91a0750245f11beb3c24f8.jpg","text":"TemporaryFile(/tmp/multipartBody8581417305356863974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177493005,"filename":"image_20042025_19_12_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97c846ab07c150d92ce2c16702dfab1d.jpg","text":"TemporaryFile(/tmp/multipartBody2860575940311211138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177493005,"filename":"image_20042025_19_12_24_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1d2d591cc187346ca8a8a8f237339a4.jpg","text":"TemporaryFile(/tmp/multipartBody7904584891376874103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177493005,"filename":"image_20042025_19_12_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270489","file1":"1352270486","file0":"1352270483","file4":"1352270496","file5":"1352270499","file3":"1352270493"},"map_files_photo_id_array":[{"photo_id":"1352270499","filename":"file5"},{"photo_id":"1352270489","filename":"file2"},{"photo_id":"1352270496","filename":"file4"},{"photo_id":"1352270486","filename":"file1"},{"photo_id":"1352270483","filename":"file0"},{"photo_id":"1352270493","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270499":["hashtag1","hashtag2"]},{"1352270493":["hashtag1","hashtag2"]},{"1352270496":["hashtag1","hashtag2"]},{"1352270483":["hashtag1","hashtag2"]},{"1352270486":["hashtag1","hashtag2"]},{"1352270489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270499, 1352270493, 1352270496, 1352270483, 1352270486, 1352270489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00521397590637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:31:32.883813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_14_10439.jpg', '/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_25_10409.jpg', '/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_34_9344.jpg', '/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_45_10377.jpg', '/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_54_9355.jpg', '/home/pi/Desktop/images/20042025/19/13/image_20042025_19_14_04_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_14_10439.jpg
/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_25_10409.jpg
/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_34_9344.jpg
/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_45_10377.jpg
/home/pi/Desktop/images/20042025/19/13/image_20042025_19_13_54_9355.jpg
/home/pi/Desktop/images/20042025/19/13/image_20042025_19_14_04_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270515","1352270523","1352270517","1352270520","1352270510","1352270513"],"photo_ids_order":["1352270510","1352270513","1352270515","1352270517","1352270520","1352270523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7430528d6a2062bdcbdedbd9a7d8735.jpg","text":"TemporaryFile(/tmp/multipartBody2511908616377450620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177553355,"filename":"image_20042025_19_13_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ad06520b00d3b68611e59e0e12dc6bd.jpg","text":"TemporaryFile(/tmp/multipartBody6799228342990904959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177553355,"filename":"image_20042025_19_14_04_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/918166a06f7a6c385605b2733f6c11e9.jpg","text":"TemporaryFile(/tmp/multipartBody281523238561749258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177553355,"filename":"image_20042025_19_13_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d994b1fcacab76d5f64f57f9427ed0b7.jpg","text":"TemporaryFile(/tmp/multipartBody2070861985924227472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177553355,"filename":"image_20042025_19_13_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7718055f41743dd50dfd4f3db59e9084.jpg","text":"TemporaryFile(/tmp/multipartBody8999617673790845518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177553355,"filename":"image_20042025_19_13_14_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3bea4187d155da10a89d3b91ca283d3c.jpg","text":"TemporaryFile(/tmp/multipartBody3452667255344304311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177553355,"filename":"image_20042025_19_13_25_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270515","file1":"1352270513","file0":"1352270510","file4":"1352270520","file5":"1352270523","file3":"1352270517"},"map_files_photo_id_array":[{"photo_id":"1352270523","filename":"file5"},{"photo_id":"1352270515","filename":"file2"},{"photo_id":"1352270520","filename":"file4"},{"photo_id":"1352270513","filename":"file1"},{"photo_id":"1352270510","filename":"file0"},{"photo_id":"1352270517","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270515":["hashtag1","hashtag2"]},{"1352270523":["hashtag1","hashtag2"]},{"1352270517":["hashtag1","hashtag2"]},{"1352270520":["hashtag1","hashtag2"]},{"1352270510":["hashtag1","hashtag2"]},{"1352270513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270515, 1352270523, 1352270517, 1352270520, 1352270510, 1352270513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.847365617752075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:32:32.259629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_15_10473.jpg', '/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_24_9368.jpg', '/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_35_10376.jpg', '/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_44_9473.jpg', '/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_54_10368.jpg', '/home/pi/Desktop/images/20042025/19/14/image_20042025_19_15_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_15_10473.jpg
/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_24_9368.jpg
/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_35_10376.jpg
/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_44_9473.jpg
/home/pi/Desktop/images/20042025/19/14/image_20042025_19_14_54_10368.jpg
/home/pi/Desktop/images/20042025/19/14/image_20042025_19_15_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270551","1352270539","1352270542","1352270553","1352270546","1352270549"],"photo_ids_order":["1352270539","1352270542","1352270546","1352270549","1352270551","1352270553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7d85f85fdbf26ce0d8ef58b751e8d23.jpg","text":"TemporaryFile(/tmp/multipartBody4105840474156009341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177612756,"filename":"image_20042025_19_14_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/120da793f98c30a20f215454a56ac3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2448374249924061763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177612756,"filename":"image_20042025_19_14_15_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/586b0b97cb3f9dd005fef6d29ce35219.jpg","text":"TemporaryFile(/tmp/multipartBody3294922836687039617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177612756,"filename":"image_20042025_19_14_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79485d023acdb8cf13894482a84f30c1.jpg","text":"TemporaryFile(/tmp/multipartBody9006218427781825258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177612756,"filename":"image_20042025_19_15_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52978495afc9edc3544d01ee05d1d09c.jpg","text":"TemporaryFile(/tmp/multipartBody6987149256416481122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177612756,"filename":"image_20042025_19_14_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4581fb70b78fd89d8336d4ca8d3ffc0.jpg","text":"TemporaryFile(/tmp/multipartBody6793486308629312099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177612756,"filename":"image_20042025_19_14_44_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270546","file1":"1352270542","file0":"1352270539","file4":"1352270551","file5":"1352270553","file3":"1352270549"},"map_files_photo_id_array":[{"photo_id":"1352270553","filename":"file5"},{"photo_id":"1352270546","filename":"file2"},{"photo_id":"1352270551","filename":"file4"},{"photo_id":"1352270542","filename":"file1"},{"photo_id":"1352270539","filename":"file0"},{"photo_id":"1352270549","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270551":["hashtag1","hashtag2"]},{"1352270539":["hashtag1","hashtag2"]},{"1352270542":["hashtag1","hashtag2"]},{"1352270553":["hashtag1","hashtag2"]},{"1352270546":["hashtag1","hashtag2"]},{"1352270549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270551, 1352270539, 1352270542, 1352270553, 1352270546, 1352270549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.659176111221313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:33:32.566641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_14_9353.jpg', '/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_24_10370.jpg', '/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_35_10383.jpg', '/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_44_9450.jpg', '/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_55_10364.jpg', '/home/pi/Desktop/images/20042025/19/15/image_20042025_19_16_04_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_14_9353.jpg
/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_24_10370.jpg
/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_35_10383.jpg
/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_44_9450.jpg
/home/pi/Desktop/images/20042025/19/15/image_20042025_19_15_55_10364.jpg
/home/pi/Desktop/images/20042025/19/15/image_20042025_19_16_04_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270571","1352270574","1352270568","1352270577","1352270562","1352270565"],"photo_ids_order":["1352270562","1352270565","1352270568","1352270571","1352270574","1352270577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d083e659142c233e60e399d5ae07dd57.jpg","text":"TemporaryFile(/tmp/multipartBody340810414723434357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177673045,"filename":"image_20042025_19_15_44_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36deff1c5c7930eb1639efa06abceefa.jpg","text":"TemporaryFile(/tmp/multipartBody6887531564876091417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177673045,"filename":"image_20042025_19_15_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1518b95b3ad5e061a20edf6664e8b40a.jpg","text":"TemporaryFile(/tmp/multipartBody5791875446720890160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177673045,"filename":"image_20042025_19_15_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bed37ccffb3f1a4739cecfede61701fe.jpg","text":"TemporaryFile(/tmp/multipartBody5652885958627312730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177673045,"filename":"image_20042025_19_16_04_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4dc80223efbf80267cf7e19138350247.jpg","text":"TemporaryFile(/tmp/multipartBody5226531648335656332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177673045,"filename":"image_20042025_19_15_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b74c4452a6df4f47a4c1bcfe1ab1954.jpg","text":"TemporaryFile(/tmp/multipartBody8616623321501733848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177673045,"filename":"image_20042025_19_15_24_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270568","file1":"1352270565","file0":"1352270562","file4":"1352270574","file5":"1352270577","file3":"1352270571"},"map_files_photo_id_array":[{"photo_id":"1352270577","filename":"file5"},{"photo_id":"1352270568","filename":"file2"},{"photo_id":"1352270574","filename":"file4"},{"photo_id":"1352270565","filename":"file1"},{"photo_id":"1352270562","filename":"file0"},{"photo_id":"1352270571","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270571":["hashtag1","hashtag2"]},{"1352270574":["hashtag1","hashtag2"]},{"1352270568":["hashtag1","hashtag2"]},{"1352270577":["hashtag1","hashtag2"]},{"1352270562":["hashtag1","hashtag2"]},{"1352270565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270571, 1352270574, 1352270568, 1352270577, 1352270562, 1352270565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.936827659606934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:34:32.622971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_14_10353.jpg', '/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_25_10373.jpg', '/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_34_9354.jpg', '/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_45_10428.jpg', '/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_54_9533.jpg', '/home/pi/Desktop/images/20042025/19/16/image_20042025_19_17_05_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_14_10353.jpg
/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_25_10373.jpg
/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_34_9354.jpg
/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_45_10428.jpg
/home/pi/Desktop/images/20042025/19/16/image_20042025_19_16_54_9533.jpg
/home/pi/Desktop/images/20042025/19/16/image_20042025_19_17_05_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270602","1352270597","1352270601","1352270603","1352270587","1352270599"],"photo_ids_order":["1352270587","1352270597","1352270599","1352270601","1352270602","1352270603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/947942decf5af87a45a9fac633a32613.jpg","text":"TemporaryFile(/tmp/multipartBody6208534056032200041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177733092,"filename":"image_20042025_19_16_54_9533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31ad202bd5cc41dfd375dc17c5900d81.jpg","text":"TemporaryFile(/tmp/multipartBody8626100529522632130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177733092,"filename":"image_20042025_19_16_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1bbd75e92c4d1f5ef2b418d2a28c239.jpg","text":"TemporaryFile(/tmp/multipartBody6153900961937679597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177733092,"filename":"image_20042025_19_16_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e82741c9dea84f98209814b73a945273.jpg","text":"TemporaryFile(/tmp/multipartBody8444572067584285816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177733092,"filename":"image_20042025_19_17_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbd66d71d4889a960b0189d826ebc72b.jpg","text":"TemporaryFile(/tmp/multipartBody577661762192803294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177733092,"filename":"image_20042025_19_16_14_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de3645607199a3982eaab61539d9198a.jpg","text":"TemporaryFile(/tmp/multipartBody5116556543134688348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177733092,"filename":"image_20042025_19_16_34_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270599","file1":"1352270597","file0":"1352270587","file4":"1352270602","file5":"1352270603","file3":"1352270601"},"map_files_photo_id_array":[{"photo_id":"1352270603","filename":"file5"},{"photo_id":"1352270599","filename":"file2"},{"photo_id":"1352270602","filename":"file4"},{"photo_id":"1352270597","filename":"file1"},{"photo_id":"1352270587","filename":"file0"},{"photo_id":"1352270601","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270602":["hashtag1","hashtag2"]},{"1352270597":["hashtag1","hashtag2"]},{"1352270601":["hashtag1","hashtag2"]},{"1352270603":["hashtag1","hashtag2"]},{"1352270587":["hashtag1","hashtag2"]},{"1352270599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270602, 1352270597, 1352270601, 1352270603, 1352270587, 1352270599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92216110229492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:35:32.879103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_14_9363.jpg', '/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_24_10392.jpg', '/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_35_10374.jpg', '/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_44_9423.jpg', '/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_55_10441.jpg', '/home/pi/Desktop/images/20042025/19/17/image_20042025_19_18_04_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_14_9363.jpg
/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_24_10392.jpg
/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_35_10374.jpg
/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_44_9423.jpg
/home/pi/Desktop/images/20042025/19/17/image_20042025_19_17_55_10441.jpg
/home/pi/Desktop/images/20042025/19/17/image_20042025_19_18_04_9517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270626","1352270617","1352270625","1352270619","1352270621","1352270624"],"photo_ids_order":["1352270617","1352270619","1352270621","1352270624","1352270625","1352270626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aba3b33ae4f29e199a82e4039a2600e2.jpg","text":"TemporaryFile(/tmp/multipartBody4763389142419493469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177793341,"filename":"image_20042025_19_18_04_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10e7494ff718a6321ee321bce194e8d7.jpg","text":"TemporaryFile(/tmp/multipartBody5083211864412719019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177793341,"filename":"image_20042025_19_17_14_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d029f3e333947f4304c5755fa45234d3.jpg","text":"TemporaryFile(/tmp/multipartBody2518609556136989365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177793341,"filename":"image_20042025_19_17_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c84e737a5f8f33d089d779fe7a225f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1372349017619377335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177793341,"filename":"image_20042025_19_17_24_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dacd10cac48df763e4df66ffcba773c8.jpg","text":"TemporaryFile(/tmp/multipartBody8496254704153010914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177793341,"filename":"image_20042025_19_17_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e759be59b9edfa4e80bb3a4db4005c28.jpg","text":"TemporaryFile(/tmp/multipartBody7111086451924179614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177793341,"filename":"image_20042025_19_17_44_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270621","file1":"1352270619","file0":"1352270617","file4":"1352270625","file5":"1352270626","file3":"1352270624"},"map_files_photo_id_array":[{"photo_id":"1352270626","filename":"file5"},{"photo_id":"1352270621","filename":"file2"},{"photo_id":"1352270625","filename":"file4"},{"photo_id":"1352270619","filename":"file1"},{"photo_id":"1352270617","filename":"file0"},{"photo_id":"1352270624","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270626":["hashtag1","hashtag2"]},{"1352270617":["hashtag1","hashtag2"]},{"1352270625":["hashtag1","hashtag2"]},{"1352270619":["hashtag1","hashtag2"]},{"1352270621":["hashtag1","hashtag2"]},{"1352270624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270626, 1352270617, 1352270625, 1352270619, 1352270621, 1352270624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.495832443237305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:36:33.079826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_14_10372.jpg', '/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_25_10374.jpg', '/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_34_9357.jpg', '/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_45_10395.jpg', '/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_54_9384.jpg', '/home/pi/Desktop/images/20042025/19/18/image_20042025_19_19_04_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_14_10372.jpg
/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_25_10374.jpg
/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_34_9357.jpg
/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_45_10395.jpg
/home/pi/Desktop/images/20042025/19/18/image_20042025_19_18_54_9384.jpg
/home/pi/Desktop/images/20042025/19/18/image_20042025_19_19_04_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270653","1352270658","1352270672","1352270666","1352270669","1352270648"],"photo_ids_order":["1352270648","1352270653","1352270658","1352270666","1352270669","1352270672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d00540d30b1e35178cf518b264c21a1.jpg","text":"TemporaryFile(/tmp/multipartBody731362863190570636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177853568,"filename":"image_20042025_19_18_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05df23fb78dedf632964d5ecab2a5448.jpg","text":"TemporaryFile(/tmp/multipartBody2736317646497816990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177853568,"filename":"image_20042025_19_18_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/002973e9f496421b4a1222ab3eef547a.jpg","text":"TemporaryFile(/tmp/multipartBody1766069886706306748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177853568,"filename":"image_20042025_19_19_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e8b0f701884ee18f76fb36e20f0ac36.jpg","text":"TemporaryFile(/tmp/multipartBody779113265703184309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177853568,"filename":"image_20042025_19_18_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a58b4bf6b1e2d827363ff4f076e037d5.jpg","text":"TemporaryFile(/tmp/multipartBody4829662678797705374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177853568,"filename":"image_20042025_19_18_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b2c425ef073bec922d041201db4b0dd9.jpg","text":"TemporaryFile(/tmp/multipartBody332758866357713345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177853568,"filename":"image_20042025_19_18_14_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270658","file1":"1352270653","file0":"1352270648","file4":"1352270669","file5":"1352270672","file3":"1352270666"},"map_files_photo_id_array":[{"photo_id":"1352270672","filename":"file5"},{"photo_id":"1352270658","filename":"file2"},{"photo_id":"1352270669","filename":"file4"},{"photo_id":"1352270653","filename":"file1"},{"photo_id":"1352270648","filename":"file0"},{"photo_id":"1352270666","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270653":["hashtag1","hashtag2"]},{"1352270658":["hashtag1","hashtag2"]},{"1352270672":["hashtag1","hashtag2"]},{"1352270666":["hashtag1","hashtag2"]},{"1352270669":["hashtag1","hashtag2"]},{"1352270648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270653, 1352270658, 1352270672, 1352270666, 1352270669, 1352270648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.399831533432007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:37:32.380115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_15_10349.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_24_9456.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_34_10408.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_44_9352.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_54_10374.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_20_05_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_15_10349.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_24_9456.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_34_10408.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_44_9352.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_54_10374.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_20_05_10382.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3789536952972412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 21:37:42.367940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_15_10349.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_24_9456.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_34_10408.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_44_9352.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_54_10374.jpg', '/home/pi/Desktop/images/20042025/19/19/image_20042025_19_20_05_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_15_10349.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_24_9456.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_34_10408.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_44_9352.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_19_54_10374.jpg
/home/pi/Desktop/images/20042025/19/19/image_20042025_19_20_05_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270743","1352270731","1352270736","1352270745","1352270739","1352270744"],"photo_ids_order":["1352270731","1352270736","1352270739","1352270743","1352270744","1352270745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4041eff71e045f5b3182fe899762a9d6.jpg","text":"TemporaryFile(/tmp/multipartBody8316944567149570022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177922836,"filename":"image_20042025_19_19_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ee5d31f38144a8bf38e5349e8b00390.jpg","text":"TemporaryFile(/tmp/multipartBody8901149067437559836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177922836,"filename":"image_20042025_19_19_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4c7b00b88cfd20f21de40cd68da3bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6479655613007806054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177922836,"filename":"image_20042025_19_19_24_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43c3cd1c1e6314fa92cd2c89af45d1a4.jpg","text":"TemporaryFile(/tmp/multipartBody6978251129146191144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177922836,"filename":"image_20042025_19_20_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/326bbf238cb4f13a62d4f3f35676d7ce.jpg","text":"TemporaryFile(/tmp/multipartBody335360159115747863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177922836,"filename":"image_20042025_19_19_34_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/651be3d7af16b911ee77b11baad976cb.jpg","text":"TemporaryFile(/tmp/multipartBody8709972654182688035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177922836,"filename":"image_20042025_19_19_54_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270739","file1":"1352270736","file0":"1352270731","file4":"1352270744","file5":"1352270745","file3":"1352270743"},"map_files_photo_id_array":[{"photo_id":"1352270745","filename":"file5"},{"photo_id":"1352270739","filename":"file2"},{"photo_id":"1352270744","filename":"file4"},{"photo_id":"1352270736","filename":"file1"},{"photo_id":"1352270731","filename":"file0"},{"photo_id":"1352270743","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270743":["hashtag1","hashtag2"]},{"1352270731":["hashtag1","hashtag2"]},{"1352270736":["hashtag1","hashtag2"]},{"1352270745":["hashtag1","hashtag2"]},{"1352270739":["hashtag1","hashtag2"]},{"1352270744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270743, 1352270731, 1352270736, 1352270745, 1352270739, 1352270744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.32179570198059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:38:32.499675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_14_9479.jpg', '/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_25_10453.jpg', '/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_34_9465.jpg', '/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_44_10400.jpg', '/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_55_10382.jpg', '/home/pi/Desktop/images/20042025/19/20/image_20042025_19_21_04_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_14_9479.jpg
/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_25_10453.jpg
/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_34_9465.jpg
/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_44_10400.jpg
/home/pi/Desktop/images/20042025/19/20/image_20042025_19_20_55_10382.jpg
/home/pi/Desktop/images/20042025/19/20/image_20042025_19_21_04_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270764","1352270758","1352270754","1352270750","1352270768","1352270761"],"photo_ids_order":["1352270750","1352270754","1352270758","1352270761","1352270764","1352270768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c49bcc24e52f580a26eb5b678224ba18.jpg","text":"TemporaryFile(/tmp/multipartBody4814144758402727776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177972969,"filename":"image_20042025_19_20_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/267119f0e76ecd7479b4b65dd8bc07b4.jpg","text":"TemporaryFile(/tmp/multipartBody944098477883294814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177972969,"filename":"image_20042025_19_20_34_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a30c329ab997e9ef0c1eed0e9f3fc2b.jpg","text":"TemporaryFile(/tmp/multipartBody6122845262204815744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177972969,"filename":"image_20042025_19_20_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb8f6a4dc1194d230a96e97e239b0179.jpg","text":"TemporaryFile(/tmp/multipartBody4975503776069434594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177972969,"filename":"image_20042025_19_20_14_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9efa5b20a1623841d31caa93d796ee53.jpg","text":"TemporaryFile(/tmp/multipartBody3878002284453215161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177972969,"filename":"image_20042025_19_21_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd99e56acb1576db67b206aa617b9a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4623682980163916578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745177972969,"filename":"image_20042025_19_20_44_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270758","file1":"1352270754","file0":"1352270750","file4":"1352270764","file5":"1352270768","file3":"1352270761"},"map_files_photo_id_array":[{"photo_id":"1352270768","filename":"file5"},{"photo_id":"1352270758","filename":"file2"},{"photo_id":"1352270764","filename":"file4"},{"photo_id":"1352270754","filename":"file1"},{"photo_id":"1352270750","filename":"file0"},{"photo_id":"1352270761","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270764":["hashtag1","hashtag2"]},{"1352270758":["hashtag1","hashtag2"]},{"1352270754":["hashtag1","hashtag2"]},{"1352270750":["hashtag1","hashtag2"]},{"1352270768":["hashtag1","hashtag2"]},{"1352270761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270764, 1352270758, 1352270754, 1352270750, 1352270768, 1352270761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.764850854873657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:39:32.740276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_14_10353.jpg', '/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_24_9352.jpg', '/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_34_10475.jpg', '/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_45_10390.jpg', '/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_54_9452.jpg', '/home/pi/Desktop/images/20042025/19/21/image_20042025_19_22_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_14_10353.jpg
/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_24_9352.jpg
/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_34_10475.jpg
/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_45_10390.jpg
/home/pi/Desktop/images/20042025/19/21/image_20042025_19_21_54_9452.jpg
/home/pi/Desktop/images/20042025/19/21/image_20042025_19_22_05_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270793","1352270795","1352270789","1352270798","1352270783","1352270801"],"photo_ids_order":["1352270783","1352270789","1352270793","1352270795","1352270798","1352270801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a01dd3ad6bcd9082f8f76787bc2a4dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6607416940493698080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178033223,"filename":"image_20042025_19_21_34_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0db59ef2fbfced5fe0e7882796d8adc9.jpg","text":"TemporaryFile(/tmp/multipartBody1665269187258978999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178033223,"filename":"image_20042025_19_21_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4491e0601241f1f4b09743ee507699f7.jpg","text":"TemporaryFile(/tmp/multipartBody2049465302463419538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178033223,"filename":"image_20042025_19_21_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbac7a1ecced6fb1ae9c63d126a303fb.jpg","text":"TemporaryFile(/tmp/multipartBody6900336979050346855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178033223,"filename":"image_20042025_19_21_54_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aded31a2b657fa58c2620de3e13848d8.jpg","text":"TemporaryFile(/tmp/multipartBody7897051702048085230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178033223,"filename":"image_20042025_19_21_14_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48349ba5fd6d30e4e5ee9b98853ec502.jpg","text":"TemporaryFile(/tmp/multipartBody6142152302191848752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178033223,"filename":"image_20042025_19_22_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270793","file1":"1352270789","file0":"1352270783","file4":"1352270798","file5":"1352270801","file3":"1352270795"},"map_files_photo_id_array":[{"photo_id":"1352270801","filename":"file5"},{"photo_id":"1352270793","filename":"file2"},{"photo_id":"1352270798","filename":"file4"},{"photo_id":"1352270789","filename":"file1"},{"photo_id":"1352270783","filename":"file0"},{"photo_id":"1352270795","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270793":["hashtag1","hashtag2"]},{"1352270795":["hashtag1","hashtag2"]},{"1352270789":["hashtag1","hashtag2"]},{"1352270798":["hashtag1","hashtag2"]},{"1352270783":["hashtag1","hashtag2"]},{"1352270801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270793, 1352270795, 1352270789, 1352270798, 1352270783, 1352270801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92310166358948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:40:32.814619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_14_9339.jpg', '/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_24_10376.jpg', '/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_35_10440.jpg', '/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_55_10355.jpg', '/home/pi/Desktop/images/20042025/19/22/image_20042025_19_23_04_9354.jpg', '/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_14_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_14_9339.jpg
/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_24_10376.jpg
/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_35_10440.jpg
/home/pi/Desktop/images/20042025/19/22/image_20042025_19_22_55_10355.jpg
/home/pi/Desktop/images/20042025/19/22/image_20042025_19_23_04_9354.jpg
/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_14_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270836","1352270833","1352270841","1352270838","1352270852","1352270848"],"photo_ids_order":["1352270833","1352270836","1352270838","1352270841","1352270848","1352270852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/731e7f027e7aff402970bd6fe005f91c.jpg","text":"TemporaryFile(/tmp/multipartBody4383826852246669612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178093286,"filename":"image_20042025_19_22_24_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8d829b440729f6c9ec16d263fda38c7.jpg","text":"TemporaryFile(/tmp/multipartBody8106198284661464461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178093286,"filename":"image_20042025_19_22_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa340ded93c263f2aade73298cd2fc45.jpg","text":"TemporaryFile(/tmp/multipartBody2137962766758479649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178093286,"filename":"image_20042025_19_22_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d719e6bf06d9383f82f75878ea4f9606.jpg","text":"TemporaryFile(/tmp/multipartBody8293424271826558268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178093286,"filename":"image_20042025_19_22_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d49c101b57847881d3ba2ecddcbddf38.jpg","text":"TemporaryFile(/tmp/multipartBody2790688431383388517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178093286,"filename":"image_20042025_19_23_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22936b78766030b4165f1e350648e804.jpg","text":"TemporaryFile(/tmp/multipartBody5559020030179047849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178093286,"filename":"image_20042025_19_23_04_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270838","file1":"1352270836","file0":"1352270833","file4":"1352270848","file5":"1352270852","file3":"1352270841"},"map_files_photo_id_array":[{"photo_id":"1352270852","filename":"file5"},{"photo_id":"1352270838","filename":"file2"},{"photo_id":"1352270848","filename":"file4"},{"photo_id":"1352270836","filename":"file1"},{"photo_id":"1352270833","filename":"file0"},{"photo_id":"1352270841","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270836":["hashtag1","hashtag2"]},{"1352270833":["hashtag1","hashtag2"]},{"1352270841":["hashtag1","hashtag2"]},{"1352270838":["hashtag1","hashtag2"]},{"1352270852":["hashtag1","hashtag2"]},{"1352270848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270836, 1352270833, 1352270841, 1352270838, 1352270852, 1352270848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92062592506409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:41:33.133603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_25_10404.jpg', '/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_34_9412.jpg', '/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_55_10362.jpg', '/home/pi/Desktop/images/20042025/19/23/image_20042025_19_24_04_9358.jpg', '/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_15_10360.jpg', '/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_24_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_25_10404.jpg
/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_34_9412.jpg
/home/pi/Desktop/images/20042025/19/23/image_20042025_19_23_55_10362.jpg
/home/pi/Desktop/images/20042025/19/23/image_20042025_19_24_04_9358.jpg
/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_15_10360.jpg
/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_24_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270863","1352270871","1352270865","1352270873","1352270867","1352270869"],"photo_ids_order":["1352270863","1352270865","1352270867","1352270869","1352270871","1352270873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87ed93811e092aa0c0d1bdbed03d73df.jpg","text":"TemporaryFile(/tmp/multipartBody3777301683555795200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178153645,"filename":"image_20042025_19_23_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7888b3661b65a138750dc8a948025331.jpg","text":"TemporaryFile(/tmp/multipartBody8458394587893717518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178153645,"filename":"image_20042025_19_24_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9b47112de825baeef18a2e8bd172287.jpg","text":"TemporaryFile(/tmp/multipartBody7459847689281276312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178153645,"filename":"image_20042025_19_23_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f26f42ffc8a9f1442ffab5cb75107e2c.jpg","text":"TemporaryFile(/tmp/multipartBody4093767021387381252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178153645,"filename":"image_20042025_19_24_24_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acc0285baa69ccc5c5577b5ec975d3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6703186767790254114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178153645,"filename":"image_20042025_19_23_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e2ec5feda4387d0f6d020f14184bc62c.jpg","text":"TemporaryFile(/tmp/multipartBody8535922566087605347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178153645,"filename":"image_20042025_19_24_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270867","file1":"1352270865","file0":"1352270863","file4":"1352270871","file5":"1352270873","file3":"1352270869"},"map_files_photo_id_array":[{"photo_id":"1352270873","filename":"file5"},{"photo_id":"1352270867","filename":"file2"},{"photo_id":"1352270871","filename":"file4"},{"photo_id":"1352270865","filename":"file1"},{"photo_id":"1352270863","filename":"file0"},{"photo_id":"1352270869","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270863":["hashtag1","hashtag2"]},{"1352270871":["hashtag1","hashtag2"]},{"1352270865":["hashtag1","hashtag2"]},{"1352270873":["hashtag1","hashtag2"]},{"1352270867":["hashtag1","hashtag2"]},{"1352270869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270863, 1352270871, 1352270865, 1352270873, 1352270867, 1352270869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.672242879867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:42:32.321118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_34_10375.jpg', '/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_45_10352.jpg', '/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_54_9391.jpg', '/home/pi/Desktop/images/20042025/19/24/image_20042025_19_25_05_10383.jpg', '/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_14_9356.jpg', '/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_24_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_34_10375.jpg
/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_45_10352.jpg
/home/pi/Desktop/images/20042025/19/24/image_20042025_19_24_54_9391.jpg
/home/pi/Desktop/images/20042025/19/24/image_20042025_19_25_05_10383.jpg
/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_14_9356.jpg
/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_24_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270892","1352270894","1352270888","1352270897","1352270885","1352270899"],"photo_ids_order":["1352270885","1352270888","1352270892","1352270894","1352270897","1352270899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e12f0e4a9dc2fbfd8f1164807982fc97.jpg","text":"TemporaryFile(/tmp/multipartBody8560748694951131387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178212789,"filename":"image_20042025_19_24_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/727b85bd0846538e6bc0b09b1c0e891e.jpg","text":"TemporaryFile(/tmp/multipartBody2416543212291558371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178212789,"filename":"image_20042025_19_25_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b6e78064d2258cb99fe03656a7db7197.jpg","text":"TemporaryFile(/tmp/multipartBody8232888296640940713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178212789,"filename":"image_20042025_19_24_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b32c9bd1ea66c06653618321c0fa45b.jpg","text":"TemporaryFile(/tmp/multipartBody1829984274238618985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178212789,"filename":"image_20042025_19_25_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29cbe8c4d454886a54d28dd2fa3a4418.jpg","text":"TemporaryFile(/tmp/multipartBody1702661959270987568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178212789,"filename":"image_20042025_19_24_34_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b316c9bfb8415ac4d1ca308d56e374d0.jpg","text":"TemporaryFile(/tmp/multipartBody1598337645487653200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178212789,"filename":"image_20042025_19_25_24_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270892","file1":"1352270888","file0":"1352270885","file4":"1352270897","file5":"1352270899","file3":"1352270894"},"map_files_photo_id_array":[{"photo_id":"1352270899","filename":"file5"},{"photo_id":"1352270892","filename":"file2"},{"photo_id":"1352270897","filename":"file4"},{"photo_id":"1352270888","filename":"file1"},{"photo_id":"1352270885","filename":"file0"},{"photo_id":"1352270894","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270892":["hashtag1","hashtag2"]},{"1352270894":["hashtag1","hashtag2"]},{"1352270888":["hashtag1","hashtag2"]},{"1352270897":["hashtag1","hashtag2"]},{"1352270885":["hashtag1","hashtag2"]},{"1352270899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270892, 1352270894, 1352270888, 1352270897, 1352270885, 1352270899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93116307258606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:43:32.525868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_35_10420.jpg', '/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_44_9411.jpg', '/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_54_10384.jpg', '/home/pi/Desktop/images/20042025/19/25/image_20042025_19_26_05_10355.jpg', '/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_14_9441.jpg', '/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_25_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_35_10420.jpg
/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_44_9411.jpg
/home/pi/Desktop/images/20042025/19/25/image_20042025_19_25_54_10384.jpg
/home/pi/Desktop/images/20042025/19/25/image_20042025_19_26_05_10355.jpg
/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_14_9441.jpg
/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_25_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270929","1352270924","1352270918","1352270927","1352270921","1352270915"],"photo_ids_order":["1352270915","1352270918","1352270921","1352270924","1352270927","1352270929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/93fbdcde59b8fb38ceeda2552dc0bed9.jpg","text":"TemporaryFile(/tmp/multipartBody9193735103416720933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178272997,"filename":"image_20042025_19_26_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/313cd0f5261b3e45d026ec58d399b975.jpg","text":"TemporaryFile(/tmp/multipartBody4505079545548310731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178272997,"filename":"image_20042025_19_26_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3437c92afa3ea7b020cecb19a8192ab.jpg","text":"TemporaryFile(/tmp/multipartBody3518900998287135416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178272997,"filename":"image_20042025_19_25_44_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2c30b465ef273abd953317213961906.jpg","text":"TemporaryFile(/tmp/multipartBody4384961840786055290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178272997,"filename":"image_20042025_19_26_14_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bd0e93e2a3f6bede7a359dab8ad42f8.jpg","text":"TemporaryFile(/tmp/multipartBody3003158957870063543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178272997,"filename":"image_20042025_19_25_54_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cb9d659161e18937b9d908ad98485a4.jpg","text":"TemporaryFile(/tmp/multipartBody6231534588450936495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178272997,"filename":"image_20042025_19_25_35_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270921","file1":"1352270918","file0":"1352270915","file4":"1352270927","file5":"1352270929","file3":"1352270924"},"map_files_photo_id_array":[{"photo_id":"1352270929","filename":"file5"},{"photo_id":"1352270921","filename":"file2"},{"photo_id":"1352270927","filename":"file4"},{"photo_id":"1352270918","filename":"file1"},{"photo_id":"1352270915","filename":"file0"},{"photo_id":"1352270924","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270929":["hashtag1","hashtag2"]},{"1352270924":["hashtag1","hashtag2"]},{"1352270918":["hashtag1","hashtag2"]},{"1352270927":["hashtag1","hashtag2"]},{"1352270921":["hashtag1","hashtag2"]},{"1352270915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270929, 1352270924, 1352270918, 1352270927, 1352270921, 1352270915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.16600251197815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:44:32.915158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_34_9400.jpg', '/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_44_10392.jpg', '/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_55_10363.jpg', '/home/pi/Desktop/images/20042025/19/26/image_20042025_19_27_04_9405.jpg', '/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_15_10377.jpg', '/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_24_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_34_9400.jpg
/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_44_10392.jpg
/home/pi/Desktop/images/20042025/19/26/image_20042025_19_26_55_10363.jpg
/home/pi/Desktop/images/20042025/19/26/image_20042025_19_27_04_9405.jpg
/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_15_10377.jpg
/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_24_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270956","1352270950","1352270946","1352270942","1352270948","1352270953"],"photo_ids_order":["1352270942","1352270946","1352270948","1352270950","1352270953","1352270956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5a43e17afd3fb14584927b871036470f.jpg","text":"TemporaryFile(/tmp/multipartBody8181586123967389032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178333387,"filename":"image_20042025_19_27_24_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ab5cf7265794a2c7ca447938b1fae51.jpg","text":"TemporaryFile(/tmp/multipartBody3815165288664993539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178333387,"filename":"image_20042025_19_27_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/891d498b3cf51d6d0ae82045b609c7cf.jpg","text":"TemporaryFile(/tmp/multipartBody6013457205658776358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178333387,"filename":"image_20042025_19_26_44_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50876aa875de904fa4d8fe085c42bdcb.jpg","text":"TemporaryFile(/tmp/multipartBody8962955186508516810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178333387,"filename":"image_20042025_19_26_34_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a89ec6df3fdb0809f40f566d9add78bd.jpg","text":"TemporaryFile(/tmp/multipartBody5874992144228166922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178333387,"filename":"image_20042025_19_26_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/921981fb2e9459ebaf5ec289f11eaf3a.jpg","text":"TemporaryFile(/tmp/multipartBody6541800670165924924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178333387,"filename":"image_20042025_19_27_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270948","file1":"1352270946","file0":"1352270942","file4":"1352270953","file5":"1352270956","file3":"1352270950"},"map_files_photo_id_array":[{"photo_id":"1352270956","filename":"file5"},{"photo_id":"1352270948","filename":"file2"},{"photo_id":"1352270953","filename":"file4"},{"photo_id":"1352270946","filename":"file1"},{"photo_id":"1352270942","filename":"file0"},{"photo_id":"1352270950","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270956":["hashtag1","hashtag2"]},{"1352270950":["hashtag1","hashtag2"]},{"1352270946":["hashtag1","hashtag2"]},{"1352270942":["hashtag1","hashtag2"]},{"1352270948":["hashtag1","hashtag2"]},{"1352270953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270956, 1352270950, 1352270946, 1352270942, 1352270948, 1352270953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.097319841384888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:45:33.222110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_35_10465.jpg', '/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_44_9376.jpg', '/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_54_10440.jpg', '/home/pi/Desktop/images/20042025/19/27/image_20042025_19_28_05_10379.jpg', '/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_14_9384.jpg', '/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_25_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_35_10465.jpg
/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_44_9376.jpg
/home/pi/Desktop/images/20042025/19/27/image_20042025_19_27_54_10440.jpg
/home/pi/Desktop/images/20042025/19/27/image_20042025_19_28_05_10379.jpg
/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_14_9384.jpg
/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_25_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270970","1352270973","1352270972","1352270975","1352270974","1352270968"],"photo_ids_order":["1352270968","1352270970","1352270972","1352270973","1352270974","1352270975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ebbd1c34cbc77050e2e390c6139476c.jpg","text":"TemporaryFile(/tmp/multipartBody3898543511186083820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178393702,"filename":"image_20042025_19_27_44_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8e3d683bb42a1f5b63681450d55cf91.jpg","text":"TemporaryFile(/tmp/multipartBody5854914261368224339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178393702,"filename":"image_20042025_19_28_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fe6fc6f6eef37d3085606724b1b0f82.jpg","text":"TemporaryFile(/tmp/multipartBody7157401332117143829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178393702,"filename":"image_20042025_19_27_54_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83e61b9fdc2146bab436b92068f92627.jpg","text":"TemporaryFile(/tmp/multipartBody2638567456001001237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178393702,"filename":"image_20042025_19_28_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0ae8252972ca2d8bcdcada857305bb20.jpg","text":"TemporaryFile(/tmp/multipartBody7927014145754518555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178393702,"filename":"image_20042025_19_28_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f71d03c820c70b0f96f271f627ea2bc8.jpg","text":"TemporaryFile(/tmp/multipartBody4006740858739118574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178393702,"filename":"image_20042025_19_27_35_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270972","file1":"1352270970","file0":"1352270968","file4":"1352270974","file5":"1352270975","file3":"1352270973"},"map_files_photo_id_array":[{"photo_id":"1352270975","filename":"file5"},{"photo_id":"1352270972","filename":"file2"},{"photo_id":"1352270974","filename":"file4"},{"photo_id":"1352270970","filename":"file1"},{"photo_id":"1352270968","filename":"file0"},{"photo_id":"1352270973","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270970":["hashtag1","hashtag2"]},{"1352270973":["hashtag1","hashtag2"]},{"1352270972":["hashtag1","hashtag2"]},{"1352270975":["hashtag1","hashtag2"]},{"1352270974":["hashtag1","hashtag2"]},{"1352270968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270970, 1352270973, 1352270972, 1352270975, 1352270974, 1352270968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93315124511719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:46:32.345918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_34_9367.jpg', '/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_44_10372.jpg', '/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_55_10451.jpg', '/home/pi/Desktop/images/20042025/19/28/image_20042025_19_29_04_9395.jpg', '/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_14_10358.jpg', '/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_34_9367.jpg
/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_44_10372.jpg
/home/pi/Desktop/images/20042025/19/28/image_20042025_19_28_55_10451.jpg
/home/pi/Desktop/images/20042025/19/28/image_20042025_19_29_04_9395.jpg
/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_14_10358.jpg
/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270994","1352270990","1352270996","1352270984","1352270992","1352270986"],"photo_ids_order":["1352270984","1352270986","1352270990","1352270992","1352270994","1352270996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8aa2a74d2c2b30ecaabe2a4b788cee3.jpg","text":"TemporaryFile(/tmp/multipartBody6179723920466175509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178452826,"filename":"image_20042025_19_29_14_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f0a1bf0de75116efc7fa15a4967763b1.jpg","text":"TemporaryFile(/tmp/multipartBody7929443044434636298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178452826,"filename":"image_20042025_19_28_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6358f485632622b0a17d079f867329f2.jpg","text":"TemporaryFile(/tmp/multipartBody3782891865783109112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178452826,"filename":"image_20042025_19_29_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62cf8488002980d40725d3afe53f2339.jpg","text":"TemporaryFile(/tmp/multipartBody3224698018268581621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178452826,"filename":"image_20042025_19_28_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e9105169c3ee82d471e49ab26b41e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6289427342440539656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178452826,"filename":"image_20042025_19_29_04_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75d9d7110fea4ded355c3826a2b02e42.jpg","text":"TemporaryFile(/tmp/multipartBody2509277885683366752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178452826,"filename":"image_20042025_19_28_44_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270990","file1":"1352270986","file0":"1352270984","file4":"1352270994","file5":"1352270996","file3":"1352270992"},"map_files_photo_id_array":[{"photo_id":"1352270996","filename":"file5"},{"photo_id":"1352270990","filename":"file2"},{"photo_id":"1352270994","filename":"file4"},{"photo_id":"1352270986","filename":"file1"},{"photo_id":"1352270984","filename":"file0"},{"photo_id":"1352270992","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352270994":["hashtag1","hashtag2"]},{"1352270990":["hashtag1","hashtag2"]},{"1352270996":["hashtag1","hashtag2"]},{"1352270984":["hashtag1","hashtag2"]},{"1352270992":["hashtag1","hashtag2"]},{"1352270986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352270994, 1352270990, 1352270996, 1352270984, 1352270992, 1352270986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.672566652297974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:47:32.650672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_34_9371.jpg', '/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_45_10361.jpg', '/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_54_9499.jpg', '/home/pi/Desktop/images/20042025/19/29/image_20042025_19_30_04_10376.jpg', '/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_15_10361.jpg', '/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_24_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_34_9371.jpg
/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_45_10361.jpg
/home/pi/Desktop/images/20042025/19/29/image_20042025_19_29_54_9499.jpg
/home/pi/Desktop/images/20042025/19/29/image_20042025_19_30_04_10376.jpg
/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_15_10361.jpg
/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_24_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271012","1352271015","1352271009","1352271018","1352271006","1352271022"],"photo_ids_order":["1352271006","1352271009","1352271012","1352271015","1352271018","1352271022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c5426189df65b317fb8de14c8bb0302.jpg","text":"TemporaryFile(/tmp/multipartBody585226683370016424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178513134,"filename":"image_20042025_19_29_54_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58236739ecd81de289927b29270953b4.jpg","text":"TemporaryFile(/tmp/multipartBody665010220725386325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178513134,"filename":"image_20042025_19_30_04_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/15bac387fb5b5a9f6f3d5757e0fc743b.jpg","text":"TemporaryFile(/tmp/multipartBody3761569207506127221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178513134,"filename":"image_20042025_19_29_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ba9ab58ea6d9b498b24c6d75d9a6964f.jpg","text":"TemporaryFile(/tmp/multipartBody5203787394608965241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178513134,"filename":"image_20042025_19_30_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/921970dc4d28c112cfee12ef5dd64ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6620372827659563161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178513134,"filename":"image_20042025_19_29_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62c85c8d92f79895ae4bd706cca32e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7545284031158757767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178513134,"filename":"image_20042025_19_30_24_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271012","file1":"1352271009","file0":"1352271006","file4":"1352271018","file5":"1352271022","file3":"1352271015"},"map_files_photo_id_array":[{"photo_id":"1352271022","filename":"file5"},{"photo_id":"1352271012","filename":"file2"},{"photo_id":"1352271018","filename":"file4"},{"photo_id":"1352271009","filename":"file1"},{"photo_id":"1352271006","filename":"file0"},{"photo_id":"1352271015","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271012":["hashtag1","hashtag2"]},{"1352271015":["hashtag1","hashtag2"]},{"1352271009":["hashtag1","hashtag2"]},{"1352271018":["hashtag1","hashtag2"]},{"1352271006":["hashtag1","hashtag2"]},{"1352271022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271012, 1352271015, 1352271009, 1352271018, 1352271006, 1352271022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.952496767044067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:48:32.857552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_35_10440.jpg', '/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_44_9421.jpg', '/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_54_10379.jpg', '/home/pi/Desktop/images/20042025/19/30/image_20042025_19_31_05_10400.jpg', '/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_14_9431.jpg', '/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_25_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_35_10440.jpg
/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_44_9421.jpg
/home/pi/Desktop/images/20042025/19/30/image_20042025_19_30_54_10379.jpg
/home/pi/Desktop/images/20042025/19/30/image_20042025_19_31_05_10400.jpg
/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_14_9431.jpg
/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_25_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271039","1352271042","1352271044","1352271032","1352271034","1352271037"],"photo_ids_order":["1352271032","1352271034","1352271037","1352271039","1352271042","1352271044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/480e1f823c991859f33e3a8b3c5ab840.jpg","text":"TemporaryFile(/tmp/multipartBody8393579446169003876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178573319,"filename":"image_20042025_19_31_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6abe636647835ee3697133c9fdbdb6c5.jpg","text":"TemporaryFile(/tmp/multipartBody8462430309941354119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178573319,"filename":"image_20042025_19_31_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3882e354af355604b4c17e18073eb71.jpg","text":"TemporaryFile(/tmp/multipartBody1372650331274604487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178573319,"filename":"image_20042025_19_31_25_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3462e6a48afe0437f5be8664ba5c3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4316427784060596445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178573319,"filename":"image_20042025_19_30_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e61f9576b1ee30aa61dea134a94367d0.jpg","text":"TemporaryFile(/tmp/multipartBody8423317023365078904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178573319,"filename":"image_20042025_19_30_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ad812d27e1bc552d75bd1b42999a969.jpg","text":"TemporaryFile(/tmp/multipartBody2131852018321279680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178573319,"filename":"image_20042025_19_30_54_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271037","file1":"1352271034","file0":"1352271032","file4":"1352271042","file5":"1352271044","file3":"1352271039"},"map_files_photo_id_array":[{"photo_id":"1352271044","filename":"file5"},{"photo_id":"1352271037","filename":"file2"},{"photo_id":"1352271042","filename":"file4"},{"photo_id":"1352271034","filename":"file1"},{"photo_id":"1352271032","filename":"file0"},{"photo_id":"1352271039","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271039":["hashtag1","hashtag2"]},{"1352271042":["hashtag1","hashtag2"]},{"1352271044":["hashtag1","hashtag2"]},{"1352271032":["hashtag1","hashtag2"]},{"1352271034":["hashtag1","hashtag2"]},{"1352271037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271039, 1352271042, 1352271044, 1352271032, 1352271034, 1352271037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.561691284179688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:49:32.986154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_34_9355.jpg', '/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_44_10370.jpg', '/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_55_10364.jpg', '/home/pi/Desktop/images/20042025/19/31/image_20042025_19_32_04_9401.jpg', '/home/pi/Desktop/images/20042025/19/32/image_20042025_19_32_15_10387.jpg', '/home/pi/Desktop/images/20042025/19/32/image_20042025_19_32_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_34_9355.jpg
/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_44_10370.jpg
/home/pi/Desktop/images/20042025/19/31/image_20042025_19_31_55_10364.jpg
/home/pi/Desktop/images/20042025/19/31/image_20042025_19_32_04_9401.jpg
/home/pi/Desktop/images/20042025/19/32/image_20042025_19_32_15_10387.jpg
/home/pi/Desktop/images/20042025/19/32/image_20042025_19_32_45_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271069","1352271071","1352271062","1352271065","1352271059","1352271067"],"photo_ids_order":["1352271059","1352271062","1352271065","1352271067","1352271069","1352271071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4cfa6f590dcde11acd2e6608970246c.jpg","text":"TemporaryFile(/tmp/multipartBody1537140302820909106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178633462,"filename":"image_20042025_19_32_15_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2aabe80a73791e7064da37addd3aea72.jpg","text":"TemporaryFile(/tmp/multipartBody6625691763868631583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178633462,"filename":"image_20042025_19_32_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12b01c769e85b9a2068594aadd47cfa7.jpg","text":"TemporaryFile(/tmp/multipartBody129742453229076372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178633462,"filename":"image_20042025_19_31_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/91bedbc35e24e15eeb8103ab78c58410.jpg","text":"TemporaryFile(/tmp/multipartBody1492543854409433128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178633462,"filename":"image_20042025_19_31_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e067da2a8e3a717581e7bbe74513176f.jpg","text":"TemporaryFile(/tmp/multipartBody5456150828948848743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178633462,"filename":"image_20042025_19_31_34_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df47bfb531e85c9df6fc2b23c5b90cb3.jpg","text":"TemporaryFile(/tmp/multipartBody722952576091648763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178633462,"filename":"image_20042025_19_32_04_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271065","file1":"1352271062","file0":"1352271059","file4":"1352271069","file5":"1352271071","file3":"1352271067"},"map_files_photo_id_array":[{"photo_id":"1352271071","filename":"file5"},{"photo_id":"1352271065","filename":"file2"},{"photo_id":"1352271069","filename":"file4"},{"photo_id":"1352271062","filename":"file1"},{"photo_id":"1352271059","filename":"file0"},{"photo_id":"1352271067","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271069":["hashtag1","hashtag2"]},{"1352271071":["hashtag1","hashtag2"]},{"1352271062":["hashtag1","hashtag2"]},{"1352271065":["hashtag1","hashtag2"]},{"1352271059":["hashtag1","hashtag2"]},{"1352271067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271069, 1352271071, 1352271062, 1352271065, 1352271059, 1352271067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.308429956436157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:50:32.229894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/32/image_20042025_19_32_54_9386.jpg', '/home/pi/Desktop/images/20042025/19/32/image_20042025_19_33_05_10354.jpg', '/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_14_9434.jpg', '/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_24_10380.jpg', '/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_35_10410.jpg', '/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_44_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/32/image_20042025_19_32_54_9386.jpg
/home/pi/Desktop/images/20042025/19/32/image_20042025_19_33_05_10354.jpg
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_14_9434.jpg
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_24_10380.jpg
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_35_10410.jpg
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_44_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271087","1352271090","1352271098","1352271092","1352271095","1352271100"],"photo_ids_order":["1352271087","1352271090","1352271092","1352271095","1352271098","1352271100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c20dd00f4b38230da66948144190d8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2248027293762335038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178692696,"filename":"image_20042025_19_32_54_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f14893aee438f48a54bc46b9d04abef7.jpg","text":"TemporaryFile(/tmp/multipartBody5887281443156039683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178692696,"filename":"image_20042025_19_33_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0797ecd3cfcbf6a32c2c8daa33f11067.jpg","text":"TemporaryFile(/tmp/multipartBody2693848126448525707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178692696,"filename":"image_20042025_19_33_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a97c1bbe1bb331f209f8f26bc1d27d32.jpg","text":"TemporaryFile(/tmp/multipartBody4411736250752597035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178692696,"filename":"image_20042025_19_33_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff2ac49a5711ab581c810a83b1db0a11.jpg","text":"TemporaryFile(/tmp/multipartBody899766343632957374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178692696,"filename":"image_20042025_19_33_24_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3df18c54f76f2106176e2e01764bef4d.jpg","text":"TemporaryFile(/tmp/multipartBody2250119292715239010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178692696,"filename":"image_20042025_19_33_44_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271092","file1":"1352271090","file0":"1352271087","file4":"1352271098","file5":"1352271100","file3":"1352271095"},"map_files_photo_id_array":[{"photo_id":"1352271100","filename":"file5"},{"photo_id":"1352271092","filename":"file2"},{"photo_id":"1352271098","filename":"file4"},{"photo_id":"1352271090","filename":"file1"},{"photo_id":"1352271087","filename":"file0"},{"photo_id":"1352271095","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271087":["hashtag1","hashtag2"]},{"1352271090":["hashtag1","hashtag2"]},{"1352271098":["hashtag1","hashtag2"]},{"1352271092":["hashtag1","hashtag2"]},{"1352271095":["hashtag1","hashtag2"]},{"1352271100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271087, 1352271090, 1352271098, 1352271092, 1352271095, 1352271100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57981252670288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:51:32.395861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_54_10375.jpg', '/home/pi/Desktop/images/20042025/19/33/image_20042025_19_34_04_9392.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_14_10431.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_25_10380.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_34_9453.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_54_10375.jpg
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_34_04_9392.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_14_10431.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_25_10380.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_34_9453.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_45_10377.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38004112243652344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 21:51:42.471739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_54_10375.jpg', '/home/pi/Desktop/images/20042025/19/33/image_20042025_19_34_04_9392.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_14_10431.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_25_10380.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_34_9453.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_33_54_10375.jpg
/home/pi/Desktop/images/20042025/19/33/image_20042025_19_34_04_9392.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_14_10431.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_25_10380.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_34_9453.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_45_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271124","1352271120","1352271117","1352271122","1352271125","1352271115"],"photo_ids_order":["1352271115","1352271117","1352271120","1352271122","1352271124","1352271125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/095e8af3041715c6f5f63f5b59f84b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6208926989886529781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178762947,"filename":"image_20042025_19_34_34_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/76f964ce074ed1ef6e74bc2a3ebf5054.jpg","text":"TemporaryFile(/tmp/multipartBody4895735845677415856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178762947,"filename":"image_20042025_19_34_14_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69f94ca53a123c9868fa1a1f64cb252e.jpg","text":"TemporaryFile(/tmp/multipartBody4835354314482478390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178762947,"filename":"image_20042025_19_34_04_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12689245a5a0171353deb3ff886e9eed.jpg","text":"TemporaryFile(/tmp/multipartBody725944536816497808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178762947,"filename":"image_20042025_19_34_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c59bc82283033ad036e75dc036cbf16.jpg","text":"TemporaryFile(/tmp/multipartBody8410040405352454968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178762947,"filename":"image_20042025_19_34_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cf187438464362aa1bd2d13d337ca20.jpg","text":"TemporaryFile(/tmp/multipartBody413429817249023554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178762947,"filename":"image_20042025_19_33_54_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271120","file1":"1352271117","file0":"1352271115","file4":"1352271124","file5":"1352271125","file3":"1352271122"},"map_files_photo_id_array":[{"photo_id":"1352271125","filename":"file5"},{"photo_id":"1352271120","filename":"file2"},{"photo_id":"1352271124","filename":"file4"},{"photo_id":"1352271117","filename":"file1"},{"photo_id":"1352271115","filename":"file0"},{"photo_id":"1352271122","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271124":["hashtag1","hashtag2"]},{"1352271120":["hashtag1","hashtag2"]},{"1352271117":["hashtag1","hashtag2"]},{"1352271122":["hashtag1","hashtag2"]},{"1352271125":["hashtag1","hashtag2"]},{"1352271115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271124, 1352271120, 1352271117, 1352271122, 1352271125, 1352271115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.81369137763977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:52:32.637823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_54_9363.jpg', '/home/pi/Desktop/images/20042025/19/34/image_20042025_19_35_04_10439.jpg', '/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_15_10449.jpg', '/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_24_9406.jpg', '/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_35_10358.jpg', '/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_44_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_34_54_9363.jpg
/home/pi/Desktop/images/20042025/19/34/image_20042025_19_35_04_10439.jpg
/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_15_10449.jpg
/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_24_9406.jpg
/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_35_10358.jpg
/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_44_9470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271138","1352271147","1352271149","1352271140","1352271151","1352271145"],"photo_ids_order":["1352271138","1352271140","1352271145","1352271147","1352271149","1352271151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6e994a44b1916cb827a7b835215e0a22.jpg","text":"TemporaryFile(/tmp/multipartBody6360402220675921954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178813126,"filename":"image_20042025_19_34_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db85e3c1c821db17d63c7e533f26d0d2.jpg","text":"TemporaryFile(/tmp/multipartBody4572724644668963759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178813126,"filename":"image_20042025_19_35_24_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/518be48e12a93ece90494fde206d2873.jpg","text":"TemporaryFile(/tmp/multipartBody1165797779362884952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178813126,"filename":"image_20042025_19_35_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e00de837b0e027ba922e753e7295a357.jpg","text":"TemporaryFile(/tmp/multipartBody4983866464089736388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178813126,"filename":"image_20042025_19_35_04_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20cc0dd3f2c271c7e38c7ef228127e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7147764855969445731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178813126,"filename":"image_20042025_19_35_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d4da81bfc62ea0c392c13d58cf4a283.jpg","text":"TemporaryFile(/tmp/multipartBody7868346041614746732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178813126,"filename":"image_20042025_19_35_15_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271145","file1":"1352271140","file0":"1352271138","file4":"1352271149","file5":"1352271151","file3":"1352271147"},"map_files_photo_id_array":[{"photo_id":"1352271151","filename":"file5"},{"photo_id":"1352271145","filename":"file2"},{"photo_id":"1352271149","filename":"file4"},{"photo_id":"1352271140","filename":"file1"},{"photo_id":"1352271138","filename":"file0"},{"photo_id":"1352271147","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271138":["hashtag1","hashtag2"]},{"1352271147":["hashtag1","hashtag2"]},{"1352271149":["hashtag1","hashtag2"]},{"1352271140":["hashtag1","hashtag2"]},{"1352271151":["hashtag1","hashtag2"]},{"1352271145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271138, 1352271147, 1352271149, 1352271140, 1352271151, 1352271145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46282696723938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:53:32.889463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_54_10393.jpg', '/home/pi/Desktop/images/20042025/19/35/image_20042025_19_36_05_10371.jpg', '/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_14_9394.jpg', '/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_25_10368.jpg', '/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_45_10441.jpg', '/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_54_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/35/image_20042025_19_35_54_10393.jpg
/home/pi/Desktop/images/20042025/19/35/image_20042025_19_36_05_10371.jpg
/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_14_9394.jpg
/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_25_10368.jpg
/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_45_10441.jpg
/home/pi/Desktop/images/20042025/19/36/image_20042025_19_36_54_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271170","1352271167","1352271161","1352271155","1352271164","1352271158"],"photo_ids_order":["1352271155","1352271158","1352271161","1352271164","1352271167","1352271170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d43bc381ae3fcc6063d770433b68f37.jpg","text":"TemporaryFile(/tmp/multipartBody369682861030182300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178873353,"filename":"image_20042025_19_36_54_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/534b36df2f1d0c5dbfcdedbc7de20792.jpg","text":"TemporaryFile(/tmp/multipartBody8766493696722430979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178873353,"filename":"image_20042025_19_36_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/678972b1193e03c24fac9c7d00733c28.jpg","text":"TemporaryFile(/tmp/multipartBody4497527506080018999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178873353,"filename":"image_20042025_19_36_14_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c963b93b6e39bb88da3da124f1676f0.jpg","text":"TemporaryFile(/tmp/multipartBody7364695766805548131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178873353,"filename":"image_20042025_19_35_54_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e55029079b75c309303e858c4b24f9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1052768589655234996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178873353,"filename":"image_20042025_19_36_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a01b207195205f74849c22c1d3251ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2001336959978220681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178873353,"filename":"image_20042025_19_36_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271161","file1":"1352271158","file0":"1352271155","file4":"1352271167","file5":"1352271170","file3":"1352271164"},"map_files_photo_id_array":[{"photo_id":"1352271170","filename":"file5"},{"photo_id":"1352271161","filename":"file2"},{"photo_id":"1352271167","filename":"file4"},{"photo_id":"1352271158","filename":"file1"},{"photo_id":"1352271155","filename":"file0"},{"photo_id":"1352271164","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271170":["hashtag1","hashtag2"]},{"1352271167":["hashtag1","hashtag2"]},{"1352271161":["hashtag1","hashtag2"]},{"1352271155":["hashtag1","hashtag2"]},{"1352271164":["hashtag1","hashtag2"]},{"1352271158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271170, 1352271167, 1352271161, 1352271155, 1352271164, 1352271158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.858062982559204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:54:33.227017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/36/image_20042025_19_37_04_10350.jpg', '/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_15_10412.jpg', '/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_24_9508.jpg', '/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_35_10434.jpg', '/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_44_9448.jpg', '/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_54_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/36/image_20042025_19_37_04_10350.jpg
/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_15_10412.jpg
/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_24_9508.jpg
/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_35_10434.jpg
/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_44_9448.jpg
/home/pi/Desktop/images/20042025/19/37/image_20042025_19_37_54_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271191","1352271185","1352271179","1352271194","1352271188","1352271182"],"photo_ids_order":["1352271179","1352271182","1352271185","1352271188","1352271191","1352271194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7435805ee32717a0b0ab663689a7dd5b.jpg","text":"TemporaryFile(/tmp/multipartBody8904034397001840809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178933691,"filename":"image_20042025_19_37_44_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b409573191f294002c21bd79415eb41f.jpg","text":"TemporaryFile(/tmp/multipartBody2180401714231386973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178933691,"filename":"image_20042025_19_37_24_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af463b39082e18fd8fa7591ef8b28e52.jpg","text":"TemporaryFile(/tmp/multipartBody4673236417244684169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178933691,"filename":"image_20042025_19_37_04_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a00d1b6aa58996bf4095ad62cd564ad.jpg","text":"TemporaryFile(/tmp/multipartBody7547601780309198502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178933691,"filename":"image_20042025_19_37_54_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/429887c545c27cfeb12359efe376a765.jpg","text":"TemporaryFile(/tmp/multipartBody8795572529534947580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178933691,"filename":"image_20042025_19_37_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5b8696fa6228f35a55d3f073b6bc990.jpg","text":"TemporaryFile(/tmp/multipartBody1529148080406791720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178933691,"filename":"image_20042025_19_37_15_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271185","file1":"1352271182","file0":"1352271179","file4":"1352271191","file5":"1352271194","file3":"1352271188"},"map_files_photo_id_array":[{"photo_id":"1352271194","filename":"file5"},{"photo_id":"1352271185","filename":"file2"},{"photo_id":"1352271191","filename":"file4"},{"photo_id":"1352271182","filename":"file1"},{"photo_id":"1352271179","filename":"file0"},{"photo_id":"1352271188","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271191":["hashtag1","hashtag2"]},{"1352271185":["hashtag1","hashtag2"]},{"1352271179":["hashtag1","hashtag2"]},{"1352271194":["hashtag1","hashtag2"]},{"1352271188":["hashtag1","hashtag2"]},{"1352271182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271191, 1352271185, 1352271179, 1352271194, 1352271188, 1352271182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.35449719429016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:55:32.342820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/37/image_20042025_19_38_05_10364.jpg', '/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_14_9370.jpg', '/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_25_10402.jpg', '/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_34_9435.jpg', '/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_44_10458.jpg', '/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/37/image_20042025_19_38_05_10364.jpg
/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_14_9370.jpg
/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_25_10402.jpg
/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_34_9435.jpg
/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_44_10458.jpg
/home/pi/Desktop/images/20042025/19/38/image_20042025_19_38_55_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271210","1352271213","1352271207","1352271216","1352271218","1352271200"],"photo_ids_order":["1352271200","1352271207","1352271210","1352271213","1352271216","1352271218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8bb3a823d1dde58ec0dd82cbb3644b8.jpg","text":"TemporaryFile(/tmp/multipartBody5116832578065700241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178992818,"filename":"image_20042025_19_38_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/17308f687af8094e7954b7bab46c0219.jpg","text":"TemporaryFile(/tmp/multipartBody4729561449864473189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178992818,"filename":"image_20042025_19_38_34_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8cada197722b006dd90d825727c1a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody4748051654614973490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178992818,"filename":"image_20042025_19_38_14_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e62d5fd6148391921f117074c3a1950c.jpg","text":"TemporaryFile(/tmp/multipartBody1692392550149615130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178992818,"filename":"image_20042025_19_38_44_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31433fc0e16c38fbb435b0a87a91e76e.jpg","text":"TemporaryFile(/tmp/multipartBody3784987629621932033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178992818,"filename":"image_20042025_19_38_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9699bdd0009c2b0331250a6e20584cd.jpg","text":"TemporaryFile(/tmp/multipartBody3868495150264452396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745178992818,"filename":"image_20042025_19_38_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271210","file1":"1352271207","file0":"1352271200","file4":"1352271216","file5":"1352271218","file3":"1352271213"},"map_files_photo_id_array":[{"photo_id":"1352271218","filename":"file5"},{"photo_id":"1352271210","filename":"file2"},{"photo_id":"1352271216","filename":"file4"},{"photo_id":"1352271207","filename":"file1"},{"photo_id":"1352271200","filename":"file0"},{"photo_id":"1352271213","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271210":["hashtag1","hashtag2"]},{"1352271213":["hashtag1","hashtag2"]},{"1352271207":["hashtag1","hashtag2"]},{"1352271216":["hashtag1","hashtag2"]},{"1352271218":["hashtag1","hashtag2"]},{"1352271200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271210, 1352271213, 1352271207, 1352271216, 1352271218, 1352271200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.832144260406494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:56:32.649805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/38/image_20042025_19_39_04_9376.jpg', '/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_15_10417.jpg', '/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_24_9416.jpg', '/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_34_10378.jpg', '/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_45_10370.jpg', '/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_54_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/38/image_20042025_19_39_04_9376.jpg
/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_15_10417.jpg
/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_24_9416.jpg
/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_34_10378.jpg
/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_45_10370.jpg
/home/pi/Desktop/images/20042025/19/39/image_20042025_19_39_54_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271238","1352271233","1352271230","1352271227","1352271241","1352271235"],"photo_ids_order":["1352271227","1352271230","1352271233","1352271235","1352271238","1352271241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89eb25dc710cee4dbb35317bb2bb3ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4318350333897832650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179053115,"filename":"image_20042025_19_39_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1c1d49c0e04103b4aebe77f46dd7b1e.jpg","text":"TemporaryFile(/tmp/multipartBody183522383720738593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179053115,"filename":"image_20042025_19_39_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca4caaa4bbd6dac0aedea9218004dda7.jpg","text":"TemporaryFile(/tmp/multipartBody2475431097883602375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179053115,"filename":"image_20042025_19_39_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f1d5ec5933760071e3e5b5330e9562d0.jpg","text":"TemporaryFile(/tmp/multipartBody8658084421641668254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179053115,"filename":"image_20042025_19_39_04_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b49121b0850b58f20906354dad04d527.jpg","text":"TemporaryFile(/tmp/multipartBody8628347718568274829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179053115,"filename":"image_20042025_19_39_54_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f3b3489c42847860cdc055073d6e018e.jpg","text":"TemporaryFile(/tmp/multipartBody1290617819384534578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179053115,"filename":"image_20042025_19_39_34_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271233","file1":"1352271230","file0":"1352271227","file4":"1352271238","file5":"1352271241","file3":"1352271235"},"map_files_photo_id_array":[{"photo_id":"1352271241","filename":"file5"},{"photo_id":"1352271233","filename":"file2"},{"photo_id":"1352271238","filename":"file4"},{"photo_id":"1352271230","filename":"file1"},{"photo_id":"1352271227","filename":"file0"},{"photo_id":"1352271235","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352271238":["hashtag1","hashtag2"]},{"1352271233":["hashtag1","hashtag2"]},{"1352271230":["hashtag1","hashtag2"]},{"1352271227":["hashtag1","hashtag2"]},{"1352271241":["hashtag1","hashtag2"]},{"1352271235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352271238, 1352271233, 1352271230, 1352271227, 1352271241, 1352271235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.08803153038025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 21:57:32.846136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/39/image_20042025_19_40_05_10389.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_14_9418.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_24_10445.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_35_10365.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_44_9345.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_55_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/39/image_20042025_19_40_05_10389.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_14_9418.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_24_10445.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_35_10365.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_44_9345.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_55_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 21:59:03.550584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/39/image_20042025_19_40_05_10389.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_14_9418.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_24_10445.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_35_10365.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_44_9345.jpg', '/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_55_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/39/image_20042025_19_40_05_10389.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_14_9418.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_24_10445.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_35_10365.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_44_9345.jpg
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_40_55_10394.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352272083","1352272056","1352272164","1352272112","1352272270","1352272216"],"photo_ids_order":["1352272056","1352272083","1352272112","1352272164","1352272216","1352272270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2db0ef25722474982d15f01a17d7ff8d.jpg","text":"TemporaryFile(/tmp/multipartBody3164719441460819866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179204161,"filename":"image_20042025_19_40_14_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f8e73a97de69e11e0c80f29c63933e93.jpg","text":"TemporaryFile(/tmp/multipartBody3329971215011853308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179204161,"filename":"image_20042025_19_40_05_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a26545429822a0746d76511a3f90f028.jpg","text":"TemporaryFile(/tmp/multipartBody5591076183720418207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179204161,"filename":"image_20042025_19_40_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9786cf59ef102f4a1d9f0574bb0dae98.jpg","text":"TemporaryFile(/tmp/multipartBody3620580118237455451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179204161,"filename":"image_20042025_19_40_24_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b0bb2d9f2de4ee8907ec567a9a8c37a.jpg","text":"TemporaryFile(/tmp/multipartBody6266455998300054653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179204161,"filename":"image_20042025_19_40_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/56489075cf697553ee35e07516f2ec4a.jpg","text":"TemporaryFile(/tmp/multipartBody3567363215023014952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179204161,"filename":"image_20042025_19_40_44_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352272112","file1":"1352272083","file0":"1352272056","file4":"1352272216","file5":"1352272270","file3":"1352272164"},"map_files_photo_id_array":[{"photo_id":"1352272270","filename":"file5"},{"photo_id":"1352272112","filename":"file2"},{"photo_id":"1352272216","filename":"file4"},{"photo_id":"1352272083","filename":"file1"},{"photo_id":"1352272056","filename":"file0"},{"photo_id":"1352272164","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352272083":["hashtag1","hashtag2"]},{"1352272056":["hashtag1","hashtag2"]},{"1352272164":["hashtag1","hashtag2"]},{"1352272112":["hashtag1","hashtag2"]},{"1352272270":["hashtag1","hashtag2"]},{"1352272216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352272083, 1352272056, 1352272164, 1352272112, 1352272270, 1352272216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.43353533744812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 21:59:42.354464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/40/image_20042025_19_41_04_9364.jpg', '/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_14_10355.jpg', '/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_25_10405.jpg', '/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_34_9404.jpg', '/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_44_10365.jpg', '/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/40/image_20042025_19_41_04_9364.jpg
/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_14_10355.jpg
/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_25_10405.jpg
/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_34_9404.jpg
/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_44_10365.jpg
/home/pi/Desktop/images/20042025/19/41/image_20042025_19_41_55_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352272539","1352272431","1352272484","1352272457","1352272565","1352272511"],"photo_ids_order":["1352272431","1352272457","1352272484","1352272511","1352272539","1352272565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db2d2c8e4c8e79b93d2fa642e6d0a8b3.jpg","text":"TemporaryFile(/tmp/multipartBody6832641844113522469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179242844,"filename":"image_20042025_19_41_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfaef7817bb8595af2a8b72c9f613b62.jpg","text":"TemporaryFile(/tmp/multipartBody8547787160238335061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179242844,"filename":"image_20042025_19_41_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39c68358b06921f767435e7c9961146c.jpg","text":"TemporaryFile(/tmp/multipartBody2037662468151153043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179242844,"filename":"image_20042025_19_41_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5f38a9d3df220c28e494ab240a55c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3020904656430298788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179242844,"filename":"image_20042025_19_41_14_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88a0e11e66cffa56111b7056184d5b76.jpg","text":"TemporaryFile(/tmp/multipartBody3524272077103368225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179242844,"filename":"image_20042025_19_41_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3997eb3a38a3e71583efdea379c0961.jpg","text":"TemporaryFile(/tmp/multipartBody7745420560036139699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179242844,"filename":"image_20042025_19_41_34_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352272484","file1":"1352272457","file0":"1352272431","file4":"1352272539","file5":"1352272565","file3":"1352272511"},"map_files_photo_id_array":[{"photo_id":"1352272565","filename":"file5"},{"photo_id":"1352272484","filename":"file2"},{"photo_id":"1352272539","filename":"file4"},{"photo_id":"1352272457","filename":"file1"},{"photo_id":"1352272431","filename":"file0"},{"photo_id":"1352272511","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352272539":["hashtag1","hashtag2"]},{"1352272431":["hashtag1","hashtag2"]},{"1352272484":["hashtag1","hashtag2"]},{"1352272457":["hashtag1","hashtag2"]},{"1352272565":["hashtag1","hashtag2"]},{"1352272511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352272539, 1352272431, 1352272484, 1352272457, 1352272565, 1352272511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.91725492477417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:00:32.533586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/41/image_20042025_19_42_04_9362.jpg', '/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_15_10367.jpg', '/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_24_9478.jpg', '/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_34_10439.jpg', '/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_45_10380.jpg', '/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_54_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/41/image_20042025_19_42_04_9362.jpg
/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_15_10367.jpg
/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_24_9478.jpg
/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_34_10439.jpg
/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_45_10380.jpg
/home/pi/Desktop/images/20042025/19/42/image_20042025_19_42_54_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273502","1352273590","1352273467","1352273562","1352273148","1352273619"],"photo_ids_order":["1352273148","1352273467","1352273502","1352273562","1352273590","1352273619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04a08665d54086eee15460c46c50e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody5729350900447929532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179293012,"filename":"image_20042025_19_42_24_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ad3e64a1371b3691fa2f5ecbff0ced9.jpg","text":"TemporaryFile(/tmp/multipartBody1342002203106609050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179293012,"filename":"image_20042025_19_42_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14bb63f7b8dc3ea76d267c3daa62d7e7.jpg","text":"TemporaryFile(/tmp/multipartBody3502225772401940969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179293012,"filename":"image_20042025_19_42_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5cd9d2de1f7393e2b79d3cd5e4087f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5790570747871949683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179293012,"filename":"image_20042025_19_42_34_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d25b61a16128cc3e02a066cb6da4158f.jpg","text":"TemporaryFile(/tmp/multipartBody989990009429329488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179293012,"filename":"image_20042025_19_42_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5cb2115eb2a3b7a22c8334042221c49.jpg","text":"TemporaryFile(/tmp/multipartBody5812425922699943124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179293012,"filename":"image_20042025_19_42_54_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273502","file1":"1352273467","file0":"1352273148","file4":"1352273590","file5":"1352273619","file3":"1352273562"},"map_files_photo_id_array":[{"photo_id":"1352273619","filename":"file5"},{"photo_id":"1352273502","filename":"file2"},{"photo_id":"1352273590","filename":"file4"},{"photo_id":"1352273467","filename":"file1"},{"photo_id":"1352273148","filename":"file0"},{"photo_id":"1352273562","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352273502":["hashtag1","hashtag2"]},{"1352273590":["hashtag1","hashtag2"]},{"1352273467":["hashtag1","hashtag2"]},{"1352273562":["hashtag1","hashtag2"]},{"1352273148":["hashtag1","hashtag2"]},{"1352273619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352273502, 1352273590, 1352273467, 1352273562, 1352273148, 1352273619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74814796447754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:01:32.741504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/42/image_20042025_19_43_05_10368.jpg', '/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_14_9396.jpg', '/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_24_10381.jpg', '/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_35_10371.jpg', '/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_44_9480.jpg', '/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/42/image_20042025_19_43_05_10368.jpg
/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_14_9396.jpg
/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_24_10381.jpg
/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_35_10371.jpg
/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_44_9480.jpg
/home/pi/Desktop/images/20042025/19/43/image_20042025_19_43_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352274341","1352274410","1352273974","1352273737","1352274476","1352273739"],"photo_ids_order":["1352273737","1352273739","1352273974","1352274341","1352274410","1352274476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2aac25843562dde541ee40b04a380d0b.jpg","text":"TemporaryFile(/tmp/multipartBody372846124033648690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179353211,"filename":"image_20042025_19_43_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66f8b98938da70f040cff974eadcb061.jpg","text":"TemporaryFile(/tmp/multipartBody568643261754073738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179353211,"filename":"image_20042025_19_43_44_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f25cc14debecf3a56758530ce11c7b82.jpg","text":"TemporaryFile(/tmp/multipartBody4742479014068651563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179353211,"filename":"image_20042025_19_43_24_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d311e372161fc064102d6cb5b4e93e73.jpg","text":"TemporaryFile(/tmp/multipartBody6004298847286167538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179353211,"filename":"image_20042025_19_43_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c89252aab92982c2e771e6ba2aaf6262.jpg","text":"TemporaryFile(/tmp/multipartBody1309388327897415165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179353211,"filename":"image_20042025_19_43_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/401aae801f7512d23040d8cb774bde7e.jpg","text":"TemporaryFile(/tmp/multipartBody8635476189229017687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179353211,"filename":"image_20042025_19_43_14_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273974","file1":"1352273739","file0":"1352273737","file4":"1352274410","file5":"1352274476","file3":"1352274341"},"map_files_photo_id_array":[{"photo_id":"1352274476","filename":"file5"},{"photo_id":"1352273974","filename":"file2"},{"photo_id":"1352274410","filename":"file4"},{"photo_id":"1352273739","filename":"file1"},{"photo_id":"1352273737","filename":"file0"},{"photo_id":"1352274341","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352274341":["hashtag1","hashtag2"]},{"1352274410":["hashtag1","hashtag2"]},{"1352273974":["hashtag1","hashtag2"]},{"1352273737":["hashtag1","hashtag2"]},{"1352274476":["hashtag1","hashtag2"]},{"1352273739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352274341, 1352274410, 1352273974, 1352273737, 1352274476, 1352273739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53629446029663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:02:33.006571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/43/image_20042025_19_44_04_9394.jpg', '/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_14_10438.jpg', '/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_24_9359.jpg', '/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_34_10377.jpg', '/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_45_10455.jpg', '/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_54_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/43/image_20042025_19_44_04_9394.jpg
/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_14_10438.jpg
/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_24_9359.jpg
/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_34_10377.jpg
/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_45_10455.jpg
/home/pi/Desktop/images/20042025/19/44/image_20042025_19_44_54_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352275642","1352276133","1352276363","1352275967","1352276266","1352275802"],"photo_ids_order":["1352275642","1352275802","1352275967","1352276133","1352276266","1352276363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f9fb5d5f7194b272f74314060b83611.jpg","text":"TemporaryFile(/tmp/multipartBody6463383445353162508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179413518,"filename":"image_20042025_19_44_04_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2b5258832483df04b76cb28929e5339a.jpg","text":"TemporaryFile(/tmp/multipartBody3783909092244053098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179413518,"filename":"image_20042025_19_44_34_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04d1dc05268be79f8013409d81240665.jpg","text":"TemporaryFile(/tmp/multipartBody813245140545711337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179413518,"filename":"image_20042025_19_44_54_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ce2f18ec5048067592484b775072ced.jpg","text":"TemporaryFile(/tmp/multipartBody6581747237499671707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179413518,"filename":"image_20042025_19_44_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/601f72d9fc4dffb4b022cd72dece96a0.jpg","text":"TemporaryFile(/tmp/multipartBody1749488522236648071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179413518,"filename":"image_20042025_19_44_45_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90e779a46241b1278391d93d7af24d67.jpg","text":"TemporaryFile(/tmp/multipartBody3991359204806039646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179413518,"filename":"image_20042025_19_44_14_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352275967","file1":"1352275802","file0":"1352275642","file4":"1352276266","file5":"1352276363","file3":"1352276133"},"map_files_photo_id_array":[{"photo_id":"1352276363","filename":"file5"},{"photo_id":"1352275967","filename":"file2"},{"photo_id":"1352276266","filename":"file4"},{"photo_id":"1352275802","filename":"file1"},{"photo_id":"1352275642","filename":"file0"},{"photo_id":"1352276133","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352275642":["hashtag1","hashtag2"]},{"1352276133":["hashtag1","hashtag2"]},{"1352276363":["hashtag1","hashtag2"]},{"1352275967":["hashtag1","hashtag2"]},{"1352276266":["hashtag1","hashtag2"]},{"1352275802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352275642, 1352276133, 1352276363, 1352275967, 1352276266, 1352275802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.393142223358154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:03:32.262705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/44/image_20042025_19_45_05_10455.jpg', '/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_14_9456.jpg', '/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_24_10377.jpg', '/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_44_10419.jpg', '/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_55_10368.jpg', '/home/pi/Desktop/images/20042025/19/45/image_20042025_19_46_04_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/44/image_20042025_19_45_05_10455.jpg
/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_14_9456.jpg
/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_24_10377.jpg
/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_44_10419.jpg
/home/pi/Desktop/images/20042025/19/45/image_20042025_19_45_55_10368.jpg
/home/pi/Desktop/images/20042025/19/45/image_20042025_19_46_04_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352277684","1352277842","1352277512","1352278036","1352277931","1352277999"],"photo_ids_order":["1352277512","1352277684","1352277842","1352277931","1352277999","1352278036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aace7fc35e8dd57673595daf38a6c124.jpg","text":"TemporaryFile(/tmp/multipartBody8927724413363977739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179472725,"filename":"image_20042025_19_45_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/556a4bd6a2753e055140d3e4ccb19880.jpg","text":"TemporaryFile(/tmp/multipartBody3194905284730238717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179472725,"filename":"image_20042025_19_45_24_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f928df8e1bf61d0f1837270c1602f489.jpg","text":"TemporaryFile(/tmp/multipartBody3584681789594771943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179472725,"filename":"image_20042025_19_45_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a571bc719804a11b3b52e09796096617.jpg","text":"TemporaryFile(/tmp/multipartBody2313937606093657920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179472725,"filename":"image_20042025_19_46_04_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/511746ae9a0fc7b742456104f2dfb437.jpg","text":"TemporaryFile(/tmp/multipartBody5066659457851046988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179472725,"filename":"image_20042025_19_45_44_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2dec1afb851dee7e496667067871880.jpg","text":"TemporaryFile(/tmp/multipartBody7565113799303066819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179472725,"filename":"image_20042025_19_45_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352277842","file1":"1352277684","file0":"1352277512","file4":"1352277999","file5":"1352278036","file3":"1352277931"},"map_files_photo_id_array":[{"photo_id":"1352278036","filename":"file5"},{"photo_id":"1352277842","filename":"file2"},{"photo_id":"1352277999","filename":"file4"},{"photo_id":"1352277684","filename":"file1"},{"photo_id":"1352277512","filename":"file0"},{"photo_id":"1352277931","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352277684":["hashtag1","hashtag2"]},{"1352277842":["hashtag1","hashtag2"]},{"1352277512":["hashtag1","hashtag2"]},{"1352278036":["hashtag1","hashtag2"]},{"1352277931":["hashtag1","hashtag2"]},{"1352277999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352277684, 1352277842, 1352277512, 1352278036, 1352277931, 1352277999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.27472496032715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:04:32.395842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_14_10362.jpg', '/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_24_9395.jpg', '/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_34_10445.jpg', '/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_45_10438.jpg', '/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_54_9409.jpg', '/home/pi/Desktop/images/20042025/19/46/image_20042025_19_47_05_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_14_10362.jpg
/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_24_9395.jpg
/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_34_10445.jpg
/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_45_10438.jpg
/home/pi/Desktop/images/20042025/19/46/image_20042025_19_46_54_9409.jpg
/home/pi/Desktop/images/20042025/19/46/image_20042025_19_47_05_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352278721","1352278627","1352279178","1352278899","1352278794","1352279022"],"photo_ids_order":["1352278627","1352278721","1352278794","1352278899","1352279022","1352279178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1221f5aaba99a9093bf25182509de77.jpg","text":"TemporaryFile(/tmp/multipartBody590861809384353254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179532864,"filename":"image_20042025_19_46_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/773c99d50bde24a74f4c89a9ca13bac6.jpg","text":"TemporaryFile(/tmp/multipartBody7581083532626394688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179532864,"filename":"image_20042025_19_46_14_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b665963185f96b4badc5ba52795b1388.jpg","text":"TemporaryFile(/tmp/multipartBody8382570017686832989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179532864,"filename":"image_20042025_19_47_05_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d977eb61f3ca88137a1f0b636145ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7695069023288467307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179532864,"filename":"image_20042025_19_46_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8d55d87d16fdfca1e3b0931f9368d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5787055035267144659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179532864,"filename":"image_20042025_19_46_34_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/72024a8fdd3bb0d4e3f3ef096ab9ac9b.jpg","text":"TemporaryFile(/tmp/multipartBody4828733618151608637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179532864,"filename":"image_20042025_19_46_54_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352278794","file1":"1352278721","file0":"1352278627","file4":"1352279022","file5":"1352279178","file3":"1352278899"},"map_files_photo_id_array":[{"photo_id":"1352279178","filename":"file5"},{"photo_id":"1352278794","filename":"file2"},{"photo_id":"1352279022","filename":"file4"},{"photo_id":"1352278721","filename":"file1"},{"photo_id":"1352278627","filename":"file0"},{"photo_id":"1352278899","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352278721":["hashtag1","hashtag2"]},{"1352278627":["hashtag1","hashtag2"]},{"1352279178":["hashtag1","hashtag2"]},{"1352278899":["hashtag1","hashtag2"]},{"1352278794":["hashtag1","hashtag2"]},{"1352279022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352278721, 1352278627, 1352279178, 1352278899, 1352278794, 1352279022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.27007246017456 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:05:32.544465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_14_9447.jpg', '/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_24_10376.jpg', '/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_35_10410.jpg', '/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_44_9425.jpg', '/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_55_10371.jpg', '/home/pi/Desktop/images/20042025/19/47/image_20042025_19_48_04_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_14_9447.jpg
/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_24_10376.jpg
/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_35_10410.jpg
/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_44_9425.jpg
/home/pi/Desktop/images/20042025/19/47/image_20042025_19_47_55_10371.jpg
/home/pi/Desktop/images/20042025/19/47/image_20042025_19_48_04_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280812","1352280940","1352280718","1352281128","1352281077","1352281026"],"photo_ids_order":["1352280718","1352280812","1352280940","1352281026","1352281077","1352281128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25a5415565226ed93ef4d554b8539456.jpg","text":"TemporaryFile(/tmp/multipartBody7658959595788452689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179593004,"filename":"image_20042025_19_47_24_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/69e37d3a75b8e5f76d32a3d930dac16d.jpg","text":"TemporaryFile(/tmp/multipartBody2121912719681895187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179593004,"filename":"image_20042025_19_47_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88a8c611761ab4eb40699fd58952adc1.jpg","text":"TemporaryFile(/tmp/multipartBody5439537472943221166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179593004,"filename":"image_20042025_19_47_14_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3aff17ba00904f2d6817699e3778ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4904726998406963031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179593004,"filename":"image_20042025_19_48_04_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f9b892b8421801dcf245b411197a9a6f.jpg","text":"TemporaryFile(/tmp/multipartBody1861357716985577798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179593004,"filename":"image_20042025_19_47_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c97dcecbdbf5497ca56cfff903fcc5e.jpg","text":"TemporaryFile(/tmp/multipartBody5633456927601793951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179593004,"filename":"image_20042025_19_47_44_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280940","file1":"1352280812","file0":"1352280718","file4":"1352281077","file5":"1352281128","file3":"1352281026"},"map_files_photo_id_array":[{"photo_id":"1352281128","filename":"file5"},{"photo_id":"1352280940","filename":"file2"},{"photo_id":"1352281077","filename":"file4"},{"photo_id":"1352280812","filename":"file1"},{"photo_id":"1352280718","filename":"file0"},{"photo_id":"1352281026","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352280812":["hashtag1","hashtag2"]},{"1352280940":["hashtag1","hashtag2"]},{"1352280718":["hashtag1","hashtag2"]},{"1352281128":["hashtag1","hashtag2"]},{"1352281077":["hashtag1","hashtag2"]},{"1352281026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352280812, 1352280940, 1352280718, 1352281128, 1352281077, 1352281026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24592900276184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:06:32.841676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_14_10402.jpg', '/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_25_10370.jpg', '/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_34_9346.jpg', '/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_45_10448.jpg', '/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_54_9472.jpg', '/home/pi/Desktop/images/20042025/19/48/image_20042025_19_49_05_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_14_10402.jpg
/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_25_10370.jpg
/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_34_9346.jpg
/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_45_10448.jpg
/home/pi/Desktop/images/20042025/19/48/image_20042025_19_48_54_9472.jpg
/home/pi/Desktop/images/20042025/19/48/image_20042025_19_49_05_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352281559","1352281622","1352281508","1352281651","1352281534","1352281583"],"photo_ids_order":["1352281508","1352281534","1352281559","1352281583","1352281622","1352281651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09353a21edc028eb669d66417441d76d.jpg","text":"TemporaryFile(/tmp/multipartBody8070975251620051216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179653313,"filename":"image_20042025_19_48_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0f465295cbdb1f6f21bd3043b3a789a.jpg","text":"TemporaryFile(/tmp/multipartBody547015745757395152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179653313,"filename":"image_20042025_19_48_54_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f136e5e458f5c1536afc2929b04f103.jpg","text":"TemporaryFile(/tmp/multipartBody4348241996399867609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179653313,"filename":"image_20042025_19_48_14_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99cbaef5a0f3468f8f3c84d03e1e86fd.jpg","text":"TemporaryFile(/tmp/multipartBody3101558053562127654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179653313,"filename":"image_20042025_19_49_05_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84561e8134ee2a1804bf21dcaf7f92cb.jpg","text":"TemporaryFile(/tmp/multipartBody3474060487134196712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179653313,"filename":"image_20042025_19_48_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7f551de8cbcdf55fe9a9b3cfba3a8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7848687531932036027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179653313,"filename":"image_20042025_19_48_45_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352281559","file1":"1352281534","file0":"1352281508","file4":"1352281622","file5":"1352281651","file3":"1352281583"},"map_files_photo_id_array":[{"photo_id":"1352281651","filename":"file5"},{"photo_id":"1352281559","filename":"file2"},{"photo_id":"1352281622","filename":"file4"},{"photo_id":"1352281534","filename":"file1"},{"photo_id":"1352281508","filename":"file0"},{"photo_id":"1352281583","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352281559":["hashtag1","hashtag2"]},{"1352281622":["hashtag1","hashtag2"]},{"1352281508":["hashtag1","hashtag2"]},{"1352281651":["hashtag1","hashtag2"]},{"1352281534":["hashtag1","hashtag2"]},{"1352281583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352281559, 1352281622, 1352281508, 1352281651, 1352281534, 1352281583)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.398753881454468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:07:33.016817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_14_9416.jpg', '/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_24_10360.jpg', '/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_35_10434.jpg', '/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_44_9428.jpg', '/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_55_10364.jpg', '/home/pi/Desktop/images/20042025/19/49/image_20042025_19_50_04_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_14_9416.jpg
/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_24_10360.jpg
/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_35_10434.jpg
/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_44_9428.jpg
/home/pi/Desktop/images/20042025/19/49/image_20042025_19_49_55_10364.jpg
/home/pi/Desktop/images/20042025/19/49/image_20042025_19_50_04_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352282225","1352282173","1352282314","1352282017","1352282652","1352282468"],"photo_ids_order":["1352282017","1352282173","1352282225","1352282314","1352282468","1352282652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6b701d708765d995b50333a7e84fe9b.jpg","text":"TemporaryFile(/tmp/multipartBody6334986276588346997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179713477,"filename":"image_20042025_19_49_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ec9fcaa57f3b1dd811c5bc37c1a98aed.jpg","text":"TemporaryFile(/tmp/multipartBody3756756486422604211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179713477,"filename":"image_20042025_19_49_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3252327a44193369148a3432831dac9d.jpg","text":"TemporaryFile(/tmp/multipartBody4187120593882099449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179713477,"filename":"image_20042025_19_49_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/28afaf93c5b5118f4575d5ea06ea97d4.jpg","text":"TemporaryFile(/tmp/multipartBody2626675100910395981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179713477,"filename":"image_20042025_19_49_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7bea645b3cb7d999b97884d7a9397da.jpg","text":"TemporaryFile(/tmp/multipartBody7500401185337834200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179713477,"filename":"image_20042025_19_50_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ac5b95c5e1c435005362321e815b86e.jpg","text":"TemporaryFile(/tmp/multipartBody2508732109197300115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179713477,"filename":"image_20042025_19_49_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352282225","file1":"1352282173","file0":"1352282017","file4":"1352282468","file5":"1352282652","file3":"1352282314"},"map_files_photo_id_array":[{"photo_id":"1352282652","filename":"file5"},{"photo_id":"1352282225","filename":"file2"},{"photo_id":"1352282468","filename":"file4"},{"photo_id":"1352282173","filename":"file1"},{"photo_id":"1352282017","filename":"file0"},{"photo_id":"1352282314","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352282225":["hashtag1","hashtag2"]},{"1352282173":["hashtag1","hashtag2"]},{"1352282314":["hashtag1","hashtag2"]},{"1352282017":["hashtag1","hashtag2"]},{"1352282652":["hashtag1","hashtag2"]},{"1352282468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352282225, 1352282173, 1352282314, 1352282017, 1352282652, 1352282468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5544650554657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:08:32.488316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_14_10365.jpg', '/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_25_10364.jpg', '/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_34_9408.jpg', '/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_45_10417.jpg', '/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_54_9366.jpg', '/home/pi/Desktop/images/20042025/19/50/image_20042025_19_51_04_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_14_10365.jpg
/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_25_10364.jpg
/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_34_9408.jpg
/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_45_10417.jpg
/home/pi/Desktop/images/20042025/19/50/image_20042025_19_50_54_9366.jpg
/home/pi/Desktop/images/20042025/19/50/image_20042025_19_51_04_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284053","1352283858","1352284283","1352284396","1352284483","1352284174"],"photo_ids_order":["1352283858","1352284053","1352284174","1352284283","1352284396","1352284483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40cacc69741fcde494784d3f867ad64c.jpg","text":"TemporaryFile(/tmp/multipartBody371094677235549129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179772954,"filename":"image_20042025_19_50_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f5dfebdc3c58dd893d1b8970b7d2e3a1.jpg","text":"TemporaryFile(/tmp/multipartBody2789701995122064306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179772954,"filename":"image_20042025_19_50_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1c6b4f83edddb4b6e782d8514bf43678.jpg","text":"TemporaryFile(/tmp/multipartBody5317708711266647868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179772954,"filename":"image_20042025_19_50_45_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/03b2291d3f0fab997b586820adb593b6.jpg","text":"TemporaryFile(/tmp/multipartBody8012371442446524666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179772954,"filename":"image_20042025_19_50_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe17b583b841efaa6b8b680c74c7d17c.jpg","text":"TemporaryFile(/tmp/multipartBody7291577663391994372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179772954,"filename":"image_20042025_19_51_04_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22afd8ccb960371c44f31e23a83f4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody7347696563658506976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179772954,"filename":"image_20042025_19_50_34_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284174","file1":"1352284053","file0":"1352283858","file4":"1352284396","file5":"1352284483","file3":"1352284283"},"map_files_photo_id_array":[{"photo_id":"1352284483","filename":"file5"},{"photo_id":"1352284174","filename":"file2"},{"photo_id":"1352284396","filename":"file4"},{"photo_id":"1352284053","filename":"file1"},{"photo_id":"1352283858","filename":"file0"},{"photo_id":"1352284283","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352284053":["hashtag1","hashtag2"]},{"1352283858":["hashtag1","hashtag2"]},{"1352284283":["hashtag1","hashtag2"]},{"1352284396":["hashtag1","hashtag2"]},{"1352284483":["hashtag1","hashtag2"]},{"1352284174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352284053, 1352283858, 1352284283, 1352284396, 1352284483, 1352284174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1974835395813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:09:32.594659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_15_10337.jpg', '/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_24_9501.jpg', '/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_34_10371.jpg', '/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_44_9396.jpg', '/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_54_10376.jpg', '/home/pi/Desktop/images/20042025/19/51/image_20042025_19_52_05_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_15_10337.jpg
/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_24_9501.jpg
/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_34_10371.jpg
/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_44_9396.jpg
/home/pi/Desktop/images/20042025/19/51/image_20042025_19_51_54_10376.jpg
/home/pi/Desktop/images/20042025/19/51/image_20042025_19_52_05_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352286315","1352286884","1352286551","1352285972","1352285842","1352286960"],"photo_ids_order":["1352285842","1352285972","1352286315","1352286551","1352286884","1352286960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8e120b135c97cbd45ac4aac5dfc1d51.jpg","text":"TemporaryFile(/tmp/multipartBody7708905962412471821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179833059,"filename":"image_20042025_19_51_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d70c052aaaac3193b30c8aa7f009708e.jpg","text":"TemporaryFile(/tmp/multipartBody6332399125351414671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179833059,"filename":"image_20042025_19_51_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f6536ed4394280eeb3a4ba6be6d5ec65.jpg","text":"TemporaryFile(/tmp/multipartBody2667559714656329731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179833059,"filename":"image_20042025_19_51_44_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a36053247440ea065b0b0dd7087dfde7.jpg","text":"TemporaryFile(/tmp/multipartBody8898189576696341750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179833059,"filename":"image_20042025_19_51_24_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/59ed12e34646658db53ff2d37b1b08db.jpg","text":"TemporaryFile(/tmp/multipartBody4854816272648315998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179833059,"filename":"image_20042025_19_51_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87a2aeec1d1bd30ae99c9006c0b679f8.jpg","text":"TemporaryFile(/tmp/multipartBody1875998521293736417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179833059,"filename":"image_20042025_19_52_05_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352286315","file1":"1352285972","file0":"1352285842","file4":"1352286884","file5":"1352286960","file3":"1352286551"},"map_files_photo_id_array":[{"photo_id":"1352286960","filename":"file5"},{"photo_id":"1352286315","filename":"file2"},{"photo_id":"1352286884","filename":"file4"},{"photo_id":"1352285972","filename":"file1"},{"photo_id":"1352285842","filename":"file0"},{"photo_id":"1352286551","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352286315":["hashtag1","hashtag2"]},{"1352286884":["hashtag1","hashtag2"]},{"1352286551":["hashtag1","hashtag2"]},{"1352285972":["hashtag1","hashtag2"]},{"1352285842":["hashtag1","hashtag2"]},{"1352286960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352286315, 1352286884, 1352286551, 1352285972, 1352285842, 1352286960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.52976751327515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:10:32.735945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_14_9369.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_24_10400.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_34_9365.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_44_10392.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_55_10381.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_53_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_14_9369.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_24_10400.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_34_9365.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_44_10392.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_55_10381.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_53_04_9418.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4685995578765869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:10:42.707715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_14_9369.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_24_10400.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_34_9365.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_44_10392.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_55_10381.jpg', '/home/pi/Desktop/images/20042025/19/52/image_20042025_19_53_04_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_14_9369.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_24_10400.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_34_9365.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_44_10392.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_52_55_10381.jpg
/home/pi/Desktop/images/20042025/19/52/image_20042025_19_53_04_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352288216","1352287685","1352287899","1352288112","1352288004","1352287800"],"photo_ids_order":["1352287685","1352287800","1352287899","1352288004","1352288112","1352288216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09abfb943ae02f5aa205d3c32aa47bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2095902508680413745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179903171,"filename":"image_20042025_19_53_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ef27867fd6488bf1f5c83c4ce4daeac5.jpg","text":"TemporaryFile(/tmp/multipartBody7325369111669502004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179903171,"filename":"image_20042025_19_52_14_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/422071114562e6c920eb9a2fe4c4eb50.jpg","text":"TemporaryFile(/tmp/multipartBody5789528455510252919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179903171,"filename":"image_20042025_19_52_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df404edfe6d54783735a231ff5dba054.jpg","text":"TemporaryFile(/tmp/multipartBody7913602771861720199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179903171,"filename":"image_20042025_19_52_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d94ef957374df8d20130d273db94db5.jpg","text":"TemporaryFile(/tmp/multipartBody2768783259580711879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179903171,"filename":"image_20042025_19_52_44_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34e4a79dfbe5de29bbe5271a8cc80340.jpg","text":"TemporaryFile(/tmp/multipartBody9126157504975003746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179903171,"filename":"image_20042025_19_52_24_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352287899","file1":"1352287800","file0":"1352287685","file4":"1352288112","file5":"1352288216","file3":"1352288004"},"map_files_photo_id_array":[{"photo_id":"1352288216","filename":"file5"},{"photo_id":"1352287899","filename":"file2"},{"photo_id":"1352288112","filename":"file4"},{"photo_id":"1352287800","filename":"file1"},{"photo_id":"1352287685","filename":"file0"},{"photo_id":"1352288004","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352288216":["hashtag1","hashtag2"]},{"1352287685":["hashtag1","hashtag2"]},{"1352287899":["hashtag1","hashtag2"]},{"1352288112":["hashtag1","hashtag2"]},{"1352288004":["hashtag1","hashtag2"]},{"1352287800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352288216, 1352287685, 1352287899, 1352288112, 1352288004, 1352287800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.355766534805298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:11:32.950252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_14_10431.jpg', '/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_24_9502.jpg', '/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_34_10377.jpg', '/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_54_9452.jpg', '/home/pi/Desktop/images/20042025/19/53/image_20042025_19_54_05_10449.jpg', '/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_14_9529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_14_10431.jpg
/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_24_9502.jpg
/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_34_10377.jpg
/home/pi/Desktop/images/20042025/19/53/image_20042025_19_53_54_9452.jpg
/home/pi/Desktop/images/20042025/19/53/image_20042025_19_54_05_10449.jpg
/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_14_9529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352289468","1352289378","1352289117","1352289059","1352289422","1352289317"],"photo_ids_order":["1352289059","1352289117","1352289317","1352289378","1352289422","1352289468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99398c01970cd5eb35363378afdac18b.jpg","text":"TemporaryFile(/tmp/multipartBody5208543942069628116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179953411,"filename":"image_20042025_19_54_14_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29504c1255b37d7170c766302789c713.jpg","text":"TemporaryFile(/tmp/multipartBody8485138261533812742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179953411,"filename":"image_20042025_19_53_54_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/998239f4bc27cf3793fee461914c1f10.jpg","text":"TemporaryFile(/tmp/multipartBody1317208179590862678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179953411,"filename":"image_20042025_19_53_24_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cc3155eacbbba8fcd4febe5689716b9.jpg","text":"TemporaryFile(/tmp/multipartBody7651192013726303832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179953411,"filename":"image_20042025_19_53_14_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/735063894ac553f60575c387ee7e62b4.jpg","text":"TemporaryFile(/tmp/multipartBody3322094662905323039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179953411,"filename":"image_20042025_19_54_05_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44b87a2b284688c629f575fd9c1c3dc0.jpg","text":"TemporaryFile(/tmp/multipartBody3750926973121101285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745179953411,"filename":"image_20042025_19_53_34_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352289317","file1":"1352289117","file0":"1352289059","file4":"1352289422","file5":"1352289468","file3":"1352289378"},"map_files_photo_id_array":[{"photo_id":"1352289468","filename":"file5"},{"photo_id":"1352289317","filename":"file2"},{"photo_id":"1352289422","filename":"file4"},{"photo_id":"1352289117","filename":"file1"},{"photo_id":"1352289059","filename":"file0"},{"photo_id":"1352289378","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352289468":["hashtag1","hashtag2"]},{"1352289378":["hashtag1","hashtag2"]},{"1352289117":["hashtag1","hashtag2"]},{"1352289059":["hashtag1","hashtag2"]},{"1352289422":["hashtag1","hashtag2"]},{"1352289317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352289468, 1352289378, 1352289117, 1352289059, 1352289422, 1352289317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87544775009155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:12:33.150736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_25_10393.jpg', '/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_34_9481.jpg', '/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_44_10378.jpg', '/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_55_10376.jpg', '/home/pi/Desktop/images/20042025/19/54/image_20042025_19_55_04_9423.jpg', '/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_15_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_25_10393.jpg
/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_34_9481.jpg
/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_44_10378.jpg
/home/pi/Desktop/images/20042025/19/54/image_20042025_19_54_55_10376.jpg
/home/pi/Desktop/images/20042025/19/54/image_20042025_19_55_04_9423.jpg
/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_15_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352290858","1352290627","1352290752","1352290935","1352290701","1352290805"],"photo_ids_order":["1352290627","1352290701","1352290752","1352290805","1352290858","1352290935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/38a5beb6f556e0df327d2937edba46b5.jpg","text":"TemporaryFile(/tmp/multipartBody1750467439288984399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180013619,"filename":"image_20042025_19_55_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c5edaa38f571ae0d41e1fcbafe6171e.jpg","text":"TemporaryFile(/tmp/multipartBody4947065863472857902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180013619,"filename":"image_20042025_19_54_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbed93f4b98d9ac5a4848c02a69a7f0e.jpg","text":"TemporaryFile(/tmp/multipartBody5135492490249967373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180013619,"filename":"image_20042025_19_54_44_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5dfbe17b7bd92a90052161cb39a547d5.jpg","text":"TemporaryFile(/tmp/multipartBody9135953002264139826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180013619,"filename":"image_20042025_19_55_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43dd8cc95449cba86491bd1dbc81f044.jpg","text":"TemporaryFile(/tmp/multipartBody3974706374100454264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180013619,"filename":"image_20042025_19_54_34_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b27d6f384e35143d6d02f3d489b8316e.jpg","text":"TemporaryFile(/tmp/multipartBody7334367977926539770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180013619,"filename":"image_20042025_19_54_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352290752","file1":"1352290701","file0":"1352290627","file4":"1352290858","file5":"1352290935","file3":"1352290805"},"map_files_photo_id_array":[{"photo_id":"1352290935","filename":"file5"},{"photo_id":"1352290752","filename":"file2"},{"photo_id":"1352290858","filename":"file4"},{"photo_id":"1352290701","filename":"file1"},{"photo_id":"1352290627","filename":"file0"},{"photo_id":"1352290805","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352290858":["hashtag1","hashtag2"]},{"1352290627":["hashtag1","hashtag2"]},{"1352290752":["hashtag1","hashtag2"]},{"1352290935":["hashtag1","hashtag2"]},{"1352290701":["hashtag1","hashtag2"]},{"1352290805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352290858, 1352290627, 1352290752, 1352290935, 1352290701, 1352290805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.229889392852783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:13:32.476001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_24_9421.jpg', '/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_34_10374.jpg', '/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_45_10370.jpg', '/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_54_9397.jpg', '/home/pi/Desktop/images/20042025/19/55/image_20042025_19_56_05_10371.jpg', '/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_14_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_24_9421.jpg
/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_34_10374.jpg
/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_45_10370.jpg
/home/pi/Desktop/images/20042025/19/55/image_20042025_19_55_54_9397.jpg
/home/pi/Desktop/images/20042025/19/55/image_20042025_19_56_05_10371.jpg
/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_14_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292096","1352291914","1352291973","1352291806","1352291837","1352291863"],"photo_ids_order":["1352291806","1352291837","1352291863","1352291914","1352291973","1352292096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d0b04247f6b3c515b1bb83dc9688ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5339115332252900605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180072945,"filename":"image_20042025_19_56_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f5e84f64a7da74f2ce3056f1834ba2c.jpg","text":"TemporaryFile(/tmp/multipartBody1707768304150429609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180072945,"filename":"image_20042025_19_55_54_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d5b6dbd68cd78ef2d40d397f644d406.jpg","text":"TemporaryFile(/tmp/multipartBody1700749241638844639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180072945,"filename":"image_20042025_19_56_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da08c0869b866e1097a77d064d5ac015.jpg","text":"TemporaryFile(/tmp/multipartBody3452493996432641581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180072945,"filename":"image_20042025_19_55_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96aa9842fe2315de92c08cc62d684376.jpg","text":"TemporaryFile(/tmp/multipartBody7429560382782592281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180072945,"filename":"image_20042025_19_55_34_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d92ad2aa2815f766515db080e4e18d80.jpg","text":"TemporaryFile(/tmp/multipartBody9181158663564031545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180072945,"filename":"image_20042025_19_55_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352291863","file1":"1352291837","file0":"1352291806","file4":"1352291973","file5":"1352292096","file3":"1352291914"},"map_files_photo_id_array":[{"photo_id":"1352292096","filename":"file5"},{"photo_id":"1352291863","filename":"file2"},{"photo_id":"1352291973","filename":"file4"},{"photo_id":"1352291837","filename":"file1"},{"photo_id":"1352291806","filename":"file0"},{"photo_id":"1352291914","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352292096":["hashtag1","hashtag2"]},{"1352291914":["hashtag1","hashtag2"]},{"1352291973":["hashtag1","hashtag2"]},{"1352291806":["hashtag1","hashtag2"]},{"1352291837":["hashtag1","hashtag2"]},{"1352291863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352292096, 1352291914, 1352291973, 1352291806, 1352291837, 1352291863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329450845718384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:14:32.506411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_24_10456.jpg', '/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_35_10388.jpg', '/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_44_9371.jpg', '/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_55_10428.jpg', '/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_14_10400.jpg', '/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_24_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_24_10456.jpg
/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_35_10388.jpg
/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_44_9371.jpg
/home/pi/Desktop/images/20042025/19/56/image_20042025_19_56_55_10428.jpg
/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_14_10400.jpg
/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_24_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292257","1352292308","1352292292","1352292265","1352292253","1352292301"],"photo_ids_order":["1352292253","1352292257","1352292265","1352292292","1352292301","1352292308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb6703fcf2d160fe2c18ef0839ad256a.jpg","text":"TemporaryFile(/tmp/multipartBody2599995558290934915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180132983,"filename":"image_20042025_19_56_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3b4dc9ebddd616ef3b41994fc3aa0e6.jpg","text":"TemporaryFile(/tmp/multipartBody440129459262705962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180132983,"filename":"image_20042025_19_57_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3dfaf5b602192691146ab1d9d4b19fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2943277345855480815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180132983,"filename":"image_20042025_19_56_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3c3c8151551580bb1a7b4318e1e0611f.jpg","text":"TemporaryFile(/tmp/multipartBody3223178741174974811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180132983,"filename":"image_20042025_19_56_44_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b7f6386998c643edcf29000cb66e08f.jpg","text":"TemporaryFile(/tmp/multipartBody5590918708006597546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180132983,"filename":"image_20042025_19_56_24_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6ad0d779c4f89c32a7671557ea3b3e8.jpg","text":"TemporaryFile(/tmp/multipartBody487474116562380126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180132983,"filename":"image_20042025_19_57_14_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352292265","file1":"1352292257","file0":"1352292253","file4":"1352292301","file5":"1352292308","file3":"1352292292"},"map_files_photo_id_array":[{"photo_id":"1352292308","filename":"file5"},{"photo_id":"1352292265","filename":"file2"},{"photo_id":"1352292301","filename":"file4"},{"photo_id":"1352292257","filename":"file1"},{"photo_id":"1352292253","filename":"file0"},{"photo_id":"1352292292","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352292257":["hashtag1","hashtag2"]},{"1352292308":["hashtag1","hashtag2"]},{"1352292292":["hashtag1","hashtag2"]},{"1352292265":["hashtag1","hashtag2"]},{"1352292253":["hashtag1","hashtag2"]},{"1352292301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352292257, 1352292308, 1352292292, 1352292265, 1352292253, 1352292301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.365110158920288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:15:32.687413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_34_10458.jpg', '/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_45_10435.jpg', '/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_54_9357.jpg', '/home/pi/Desktop/images/20042025/19/57/image_20042025_19_58_04_10360.jpg', '/home/pi/Desktop/images/20042025/19/58/image_20042025_19_58_14_9355.jpg', '/home/pi/Desktop/images/20042025/19/58/image_20042025_19_58_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_34_10458.jpg
/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_45_10435.jpg
/home/pi/Desktop/images/20042025/19/57/image_20042025_19_57_54_9357.jpg
/home/pi/Desktop/images/20042025/19/57/image_20042025_19_58_04_10360.jpg
/home/pi/Desktop/images/20042025/19/58/image_20042025_19_58_14_9355.jpg
/home/pi/Desktop/images/20042025/19/58/image_20042025_19_58_35_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293316","1352293151","1352293016","1352293630","1352292608","1352293488"],"photo_ids_order":["1352292608","1352293016","1352293151","1352293316","1352293488","1352293630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fdae287628592e581d9446c058ade88f.jpg","text":"TemporaryFile(/tmp/multipartBody7182541745213280212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180193151,"filename":"image_20042025_19_58_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f638dd48e26f3745e3ebcfa698204f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2221592990178067229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180193151,"filename":"image_20042025_19_57_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79ef98781b60ae3f9ae92940a541d341.jpg","text":"TemporaryFile(/tmp/multipartBody1330404191048892146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180193151,"filename":"image_20042025_19_57_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39dcfab5d9b9fbcf8e1eb1179c1b8a20.jpg","text":"TemporaryFile(/tmp/multipartBody1844415131518092489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180193151,"filename":"image_20042025_19_58_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79703b7833f2c35af8f5d2fc463a3603.jpg","text":"TemporaryFile(/tmp/multipartBody4719874558501507272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180193151,"filename":"image_20042025_19_57_34_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05f8ab7a149b183c8466df260e363dc4.jpg","text":"TemporaryFile(/tmp/multipartBody351241187214585915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180193151,"filename":"image_20042025_19_58_14_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293151","file1":"1352293016","file0":"1352292608","file4":"1352293488","file5":"1352293630","file3":"1352293316"},"map_files_photo_id_array":[{"photo_id":"1352293630","filename":"file5"},{"photo_id":"1352293151","filename":"file2"},{"photo_id":"1352293488","filename":"file4"},{"photo_id":"1352293016","filename":"file1"},{"photo_id":"1352292608","filename":"file0"},{"photo_id":"1352293316","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352293316":["hashtag1","hashtag2"]},{"1352293151":["hashtag1","hashtag2"]},{"1352293016":["hashtag1","hashtag2"]},{"1352293630":["hashtag1","hashtag2"]},{"1352292608":["hashtag1","hashtag2"]},{"1352293488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352293316, 1352293151, 1352293016, 1352293630, 1352292608, 1352293488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.38034129142761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:16:43.052383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/58/image_20042025_19_58_44_9417.jpg', '/home/pi/Desktop/images/20042025/19/58/image_20042025_19_59_04_9399.jpg', '/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_14_10367.jpg', '/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_25_10411.jpg', '/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_34_9485.jpg', '/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_44_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/58/image_20042025_19_58_44_9417.jpg
/home/pi/Desktop/images/20042025/19/58/image_20042025_19_59_04_9399.jpg
/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_14_10367.jpg
/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_25_10411.jpg
/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_34_9485.jpg
/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_44_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293772","1352293780","1352293774","1352293777","1352293782","1352293776"],"photo_ids_order":["1352293772","1352293774","1352293776","1352293777","1352293780","1352293782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9ca3c63f8a007d14e10b45c22746732d.jpg","text":"TemporaryFile(/tmp/multipartBody4556400563547420424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180263521,"filename":"image_20042025_19_58_44_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50d73d39d64eb15d3200d638e740a9dd.jpg","text":"TemporaryFile(/tmp/multipartBody7989623092473091752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180263521,"filename":"image_20042025_19_59_34_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3612a17f2c39f174cb1021de96ec6892.jpg","text":"TemporaryFile(/tmp/multipartBody8557165520562912373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180263521,"filename":"image_20042025_19_59_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be915498c5da304906899828c321d813.jpg","text":"TemporaryFile(/tmp/multipartBody766682887173966379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180263521,"filename":"image_20042025_19_59_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99d176384fc77c326e6c70c74dd0032a.jpg","text":"TemporaryFile(/tmp/multipartBody5057658794323811155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180263521,"filename":"image_20042025_19_59_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd41386d6f942f85130f1d84690f0ae9.jpg","text":"TemporaryFile(/tmp/multipartBody1443238446365540365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180263521,"filename":"image_20042025_19_59_14_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293776","file1":"1352293774","file0":"1352293772","file4":"1352293780","file5":"1352293782","file3":"1352293777"},"map_files_photo_id_array":[{"photo_id":"1352293782","filename":"file5"},{"photo_id":"1352293776","filename":"file2"},{"photo_id":"1352293780","filename":"file4"},{"photo_id":"1352293774","filename":"file1"},{"photo_id":"1352293772","filename":"file0"},{"photo_id":"1352293777","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352293772":["hashtag1","hashtag2"]},{"1352293780":["hashtag1","hashtag2"]},{"1352293774":["hashtag1","hashtag2"]},{"1352293777":["hashtag1","hashtag2"]},{"1352293782":["hashtag1","hashtag2"]},{"1352293776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352293772, 1352293780, 1352293774, 1352293777, 1352293782, 1352293776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58689641952515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:17:32.302793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_54_9377.jpg', '/home/pi/Desktop/images/20042025/20/00/image_20042025_20_00_16_10078.jpg', '/home/pi/Desktop/images/20042025/20/00/image_20042025_20_00_26_10522.jpg', '/home/pi/Desktop/images/20042025/20/00/image_20042025_20_00_36_10357.jpg', '/home/pi/Desktop/images/20042025/20/00/image_20042025_20_01_06_9372.jpg', '/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_16_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/19/59/image_20042025_19_59_54_9377.jpg
/home/pi/Desktop/images/20042025/20/00/image_20042025_20_00_16_10078.jpg
/home/pi/Desktop/images/20042025/20/00/image_20042025_20_00_26_10522.jpg
/home/pi/Desktop/images/20042025/20/00/image_20042025_20_00_36_10357.jpg
/home/pi/Desktop/images/20042025/20/00/image_20042025_20_01_06_9372.jpg
/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_16_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294034","1352294078","1352293934","1352294111","1352293876","1352293983"],"photo_ids_order":["1352293876","1352293934","1352293983","1352294034","1352294078","1352294111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e627f1e1dd0994eda80edbbea1660b7.jpg","text":"TemporaryFile(/tmp/multipartBody8258717704726238821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180312778,"filename":"image_20042025_20_00_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84232d0a8c0e5ea62a722a62de595692.jpg","text":"TemporaryFile(/tmp/multipartBody1133773579935977780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180312778,"filename":"image_20042025_20_01_06_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/602b61dad6e19d5cf3e0f61437b43c87.jpg","text":"TemporaryFile(/tmp/multipartBody6731087591101041478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180312778,"filename":"image_20042025_20_00_16_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecf1fb8117cc4504dca4c194a64d93eb.jpg","text":"TemporaryFile(/tmp/multipartBody4992974739474265502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180312778,"filename":"image_20042025_20_01_16_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6ff5d876b2081a68c724be4ff4b97b7.jpg","text":"TemporaryFile(/tmp/multipartBody7259126702862355593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180312778,"filename":"image_20042025_19_59_54_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0eaef3097586d3cf372216c3c8fba41.jpg","text":"TemporaryFile(/tmp/multipartBody250434223020155551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180312778,"filename":"image_20042025_20_00_26_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293983","file1":"1352293934","file0":"1352293876","file4":"1352294078","file5":"1352294111","file3":"1352294034"},"map_files_photo_id_array":[{"photo_id":"1352294111","filename":"file5"},{"photo_id":"1352293983","filename":"file2"},{"photo_id":"1352294078","filename":"file4"},{"photo_id":"1352293934","filename":"file1"},{"photo_id":"1352293876","filename":"file0"},{"photo_id":"1352294034","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294034":["hashtag1","hashtag2"]},{"1352294078":["hashtag1","hashtag2"]},{"1352293934":["hashtag1","hashtag2"]},{"1352294111":["hashtag1","hashtag2"]},{"1352293876":["hashtag1","hashtag2"]},{"1352293983":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294034, 1352294078, 1352293934, 1352294111, 1352293876, 1352293983)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.46170425415039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:18:32.477656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_26_10361.jpg', '/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_36_9384.jpg', '/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_46_10362.jpg', '/home/pi/Desktop/images/20042025/20/02/image_20042025_20_02_26_9364.jpg', '/home/pi/Desktop/images/20042025/20/02/image_20042025_20_02_36_10402.jpg', '/home/pi/Desktop/images/20042025/20/02/image_20042025_20_02_56_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_26_10361.jpg
/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_36_9384.jpg
/home/pi/Desktop/images/20042025/20/01/image_20042025_20_01_46_10362.jpg
/home/pi/Desktop/images/20042025/20/02/image_20042025_20_02_26_9364.jpg
/home/pi/Desktop/images/20042025/20/02/image_20042025_20_02_36_10402.jpg
/home/pi/Desktop/images/20042025/20/02/image_20042025_20_02_56_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294258","1352294252","1352294254","1352294247","1352294256","1352294250"],"photo_ids_order":["1352294247","1352294250","1352294252","1352294254","1352294256","1352294258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39ccc5e7ad3a8d0b2b6b8db9f09c2070.jpg","text":"TemporaryFile(/tmp/multipartBody4336512150775816215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180372942,"filename":"image_20042025_20_02_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc4eb2316766fabe66f9c6da4bdfce8c.jpg","text":"TemporaryFile(/tmp/multipartBody1800343341010949331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180372942,"filename":"image_20042025_20_01_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46490b39d88ccc889de4168a8bc4c33f.jpg","text":"TemporaryFile(/tmp/multipartBody2945974610498618744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180372942,"filename":"image_20042025_20_02_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/49c84923aeb728a08fe8cacd30af9395.jpg","text":"TemporaryFile(/tmp/multipartBody9013810818158450704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180372942,"filename":"image_20042025_20_01_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd65a21baeba4206646e8fd84869bed3.jpg","text":"TemporaryFile(/tmp/multipartBody1313028650968927062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180372942,"filename":"image_20042025_20_02_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce44039b3dc1a05360393f68c6245dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4725130748183396670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180372942,"filename":"image_20042025_20_01_36_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294252","file1":"1352294250","file0":"1352294247","file4":"1352294256","file5":"1352294258","file3":"1352294254"},"map_files_photo_id_array":[{"photo_id":"1352294258","filename":"file5"},{"photo_id":"1352294252","filename":"file2"},{"photo_id":"1352294256","filename":"file4"},{"photo_id":"1352294250","filename":"file1"},{"photo_id":"1352294247","filename":"file0"},{"photo_id":"1352294254","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294258":["hashtag1","hashtag2"]},{"1352294252":["hashtag1","hashtag2"]},{"1352294254":["hashtag1","hashtag2"]},{"1352294247":["hashtag1","hashtag2"]},{"1352294256":["hashtag1","hashtag2"]},{"1352294250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294258, 1352294252, 1352294254, 1352294247, 1352294256, 1352294250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.986125230789185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:19:32.721091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/02/image_20042025_20_03_06_10415.jpg', '/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_16_9427.jpg', '/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_26_10489.jpg', '/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_36_9361.jpg', '/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_46_10472.jpg', '/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_56_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/02/image_20042025_20_03_06_10415.jpg
/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_16_9427.jpg
/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_26_10489.jpg
/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_36_9361.jpg
/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_46_10472.jpg
/home/pi/Desktop/images/20042025/20/03/image_20042025_20_03_56_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294276","1352294273","1352294267","1352294269","1352294278","1352294271"],"photo_ids_order":["1352294267","1352294269","1352294271","1352294273","1352294276","1352294278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/046d967339082e826b9496a1f9f6c1f1.jpg","text":"TemporaryFile(/tmp/multipartBody7378696029526262010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180433184,"filename":"image_20042025_20_03_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82b8811443bf09ca89e1a59beea216fe.jpg","text":"TemporaryFile(/tmp/multipartBody3477969524214227301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180433184,"filename":"image_20042025_20_03_36_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/756e72af8bd04d2bbe6ed9084a77be0a.jpg","text":"TemporaryFile(/tmp/multipartBody8508367986384268421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180433184,"filename":"image_20042025_20_03_06_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04dcc63e15e1c49ba9bd61b880a611b2.jpg","text":"TemporaryFile(/tmp/multipartBody6430947051771464023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180433184,"filename":"image_20042025_20_03_16_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bb44e73b5cf7fe3b01fc432f1adf0a5.jpg","text":"TemporaryFile(/tmp/multipartBody4863192366558853632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180433184,"filename":"image_20042025_20_03_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a3eca1cc06e06c9393a06aa9a825f0bb.jpg","text":"TemporaryFile(/tmp/multipartBody6192923823648589752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180433184,"filename":"image_20042025_20_03_26_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294271","file1":"1352294269","file0":"1352294267","file4":"1352294276","file5":"1352294278","file3":"1352294273"},"map_files_photo_id_array":[{"photo_id":"1352294278","filename":"file5"},{"photo_id":"1352294271","filename":"file2"},{"photo_id":"1352294276","filename":"file4"},{"photo_id":"1352294269","filename":"file1"},{"photo_id":"1352294267","filename":"file0"},{"photo_id":"1352294273","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294276":["hashtag1","hashtag2"]},{"1352294273":["hashtag1","hashtag2"]},{"1352294267":["hashtag1","hashtag2"]},{"1352294269":["hashtag1","hashtag2"]},{"1352294278":["hashtag1","hashtag2"]},{"1352294271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294276, 1352294273, 1352294267, 1352294269, 1352294278, 1352294271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9082715511322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:20:32.795733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/03/image_20042025_20_04_06_9362.jpg', '/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_16_10407.jpg', '/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_26_9376.jpg', '/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_36_10473.jpg', '/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_46_10347.jpg', '/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_56_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/03/image_20042025_20_04_06_9362.jpg
/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_16_10407.jpg
/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_26_9376.jpg
/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_36_10473.jpg
/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_46_10347.jpg
/home/pi/Desktop/images/20042025/20/04/image_20042025_20_04_56_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294294","1352294297","1352294299","1352294303","1352294292","1352294301"],"photo_ids_order":["1352294292","1352294294","1352294297","1352294299","1352294301","1352294303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8f6fdda95b178f41be2c9aa635249d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5578175918469536596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180493260,"filename":"image_20042025_20_04_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8529601e0e41431549b55cb46847eda0.jpg","text":"TemporaryFile(/tmp/multipartBody7464834382207266458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180493260,"filename":"image_20042025_20_04_26_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/64bba51929e141473aea41fff96ddeb4.jpg","text":"TemporaryFile(/tmp/multipartBody4733244967528154793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180493260,"filename":"image_20042025_20_04_36_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5860c764e05021f80a0d890c5627aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3357320490659313627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180493260,"filename":"image_20042025_20_04_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e98cff56a0178e3897518292d3dc4e18.jpg","text":"TemporaryFile(/tmp/multipartBody6667405699645498882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180493260,"filename":"image_20042025_20_04_06_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f508b6e39bffa4c62c76f0da7aaa298.jpg","text":"TemporaryFile(/tmp/multipartBody4365758798104937931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180493260,"filename":"image_20042025_20_04_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294297","file1":"1352294294","file0":"1352294292","file4":"1352294301","file5":"1352294303","file3":"1352294299"},"map_files_photo_id_array":[{"photo_id":"1352294303","filename":"file5"},{"photo_id":"1352294297","filename":"file2"},{"photo_id":"1352294301","filename":"file4"},{"photo_id":"1352294294","filename":"file1"},{"photo_id":"1352294292","filename":"file0"},{"photo_id":"1352294299","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294294":["hashtag1","hashtag2"]},{"1352294297":["hashtag1","hashtag2"]},{"1352294299":["hashtag1","hashtag2"]},{"1352294303":["hashtag1","hashtag2"]},{"1352294292":["hashtag1","hashtag2"]},{"1352294301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294294, 1352294297, 1352294299, 1352294303, 1352294292, 1352294301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.47815203666687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:21:33.119833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/04/image_20042025_20_05_06_10444.jpg', '/home/pi/Desktop/images/20042025/20/05/image_20042025_20_05_16_9343.jpg', '/home/pi/Desktop/images/20042025/20/05/image_20042025_20_05_26_10376.jpg', '/home/pi/Desktop/images/20042025/20/05/image_20042025_20_05_46_9359.jpg', '/home/pi/Desktop/images/20042025/20/05/image_20042025_20_06_05_9394.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_16_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/04/image_20042025_20_05_06_10444.jpg
/home/pi/Desktop/images/20042025/20/05/image_20042025_20_05_16_9343.jpg
/home/pi/Desktop/images/20042025/20/05/image_20042025_20_05_26_10376.jpg
/home/pi/Desktop/images/20042025/20/05/image_20042025_20_05_46_9359.jpg
/home/pi/Desktop/images/20042025/20/05/image_20042025_20_06_05_9394.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_16_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294313","1352294315","1352294318","1352294317","1352294314","1352294316"],"photo_ids_order":["1352294313","1352294314","1352294315","1352294316","1352294317","1352294318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c798debada124dbdceb21719725cd32.jpg","text":"TemporaryFile(/tmp/multipartBody8250402564704997067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180553599,"filename":"image_20042025_20_05_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6b69c3c9dfafb40ccbec10cf8009f857.jpg","text":"TemporaryFile(/tmp/multipartBody7812831670820775227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180553599,"filename":"image_20042025_20_05_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dc253fc9d71c564dc7bd87f7bc13026.jpg","text":"TemporaryFile(/tmp/multipartBody2938651575889108559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180553599,"filename":"image_20042025_20_06_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1611d3c0b77260c3b881e360508c1651.jpg","text":"TemporaryFile(/tmp/multipartBody6960345310075170460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180553599,"filename":"image_20042025_20_06_05_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5aed9b4758177f734c4668e50f109ae2.jpg","text":"TemporaryFile(/tmp/multipartBody2220206765995171753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180553599,"filename":"image_20042025_20_05_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/50b233caf20db5ce15b11ef8c6e009ef.jpg","text":"TemporaryFile(/tmp/multipartBody8229044331022617409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180553599,"filename":"image_20042025_20_05_46_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294315","file1":"1352294314","file0":"1352294313","file4":"1352294317","file5":"1352294318","file3":"1352294316"},"map_files_photo_id_array":[{"photo_id":"1352294318","filename":"file5"},{"photo_id":"1352294315","filename":"file2"},{"photo_id":"1352294317","filename":"file4"},{"photo_id":"1352294314","filename":"file1"},{"photo_id":"1352294313","filename":"file0"},{"photo_id":"1352294316","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294313":["hashtag1","hashtag2"]},{"1352294315":["hashtag1","hashtag2"]},{"1352294318":["hashtag1","hashtag2"]},{"1352294317":["hashtag1","hashtag2"]},{"1352294314":["hashtag1","hashtag2"]},{"1352294316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294313, 1352294315, 1352294318, 1352294317, 1352294314, 1352294316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.821655988693237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:22:32.254982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_26_10379.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_36_9345.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_46_10447.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_56_10439.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_07_06_9399.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_16_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_26_10379.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_36_9345.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_46_10447.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_56_10439.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_07_06_9399.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_16_10348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38391542434692383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:22:42.280322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_26_10379.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_36_9345.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_46_10447.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_56_10439.jpg', '/home/pi/Desktop/images/20042025/20/06/image_20042025_20_07_06_9399.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_16_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_26_10379.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_36_9345.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_46_10447.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_06_56_10439.jpg
/home/pi/Desktop/images/20042025/20/06/image_20042025_20_07_06_9399.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_16_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294342","1352294345","1352294339","1352294333","1352294336","1352294334"],"photo_ids_order":["1352294333","1352294334","1352294336","1352294339","1352294342","1352294345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/897c5c226435c93947d22e1adffd6469.jpg","text":"TemporaryFile(/tmp/multipartBody6106345193168615215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180622742,"filename":"image_20042025_20_07_06_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cc2d08cbdb97abe0410b8d1053ee446b.jpg","text":"TemporaryFile(/tmp/multipartBody8795655357550551101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180622742,"filename":"image_20042025_20_07_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e7ea8c4b2697c8463c8304b7727a2506.jpg","text":"TemporaryFile(/tmp/multipartBody3552403660601771841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180622742,"filename":"image_20042025_20_06_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01ed96c840891f80a9deebb533c9ae0f.jpg","text":"TemporaryFile(/tmp/multipartBody8430006563942206946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180622742,"filename":"image_20042025_20_06_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ad09348e0ba75b733030a275dc4304e.jpg","text":"TemporaryFile(/tmp/multipartBody2700360694198472930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180622742,"filename":"image_20042025_20_06_46_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18a5af69ef25be2087322bf84b7c9649.jpg","text":"TemporaryFile(/tmp/multipartBody1496709797008978741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180622742,"filename":"image_20042025_20_06_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294336","file1":"1352294334","file0":"1352294333","file4":"1352294342","file5":"1352294345","file3":"1352294339"},"map_files_photo_id_array":[{"photo_id":"1352294345","filename":"file5"},{"photo_id":"1352294336","filename":"file2"},{"photo_id":"1352294342","filename":"file4"},{"photo_id":"1352294334","filename":"file1"},{"photo_id":"1352294333","filename":"file0"},{"photo_id":"1352294339","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294342":["hashtag1","hashtag2"]},{"1352294345":["hashtag1","hashtag2"]},{"1352294339":["hashtag1","hashtag2"]},{"1352294333":["hashtag1","hashtag2"]},{"1352294336":["hashtag1","hashtag2"]},{"1352294334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294342, 1352294345, 1352294339, 1352294333, 1352294336, 1352294334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.989219665527344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:23:32.446309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_26_9358.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_36_10407.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_46_10354.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_56_9363.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_08_06_10428.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_15_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_26_9358.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_36_10407.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_46_10354.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_56_9363.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_08_06_10428.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_15_9349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37885046005249023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:23:42.465484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_26_9358.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_36_10407.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_46_10354.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_56_9363.jpg', '/home/pi/Desktop/images/20042025/20/07/image_20042025_20_08_06_10428.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_15_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_26_9358.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_36_10407.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_46_10354.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_07_56_9363.jpg
/home/pi/Desktop/images/20042025/20/07/image_20042025_20_08_06_10428.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_15_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294372","1352294371","1352294368","1352294362","1352294365","1352294370"],"photo_ids_order":["1352294362","1352294365","1352294368","1352294370","1352294371","1352294372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dace8b98d67fb5fa9c078054d0e14d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5127580835811693435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180682929,"filename":"image_20042025_20_08_15_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/589976d591ee30d87b709c007e3d868c.jpg","text":"TemporaryFile(/tmp/multipartBody7915951497034441403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180682929,"filename":"image_20042025_20_08_06_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9495ff878b15d5a02b5c999465dcfb9.jpg","text":"TemporaryFile(/tmp/multipartBody1357904577189817223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180682929,"filename":"image_20042025_20_07_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4633a0403e4ab619915b2a65f8fb4af1.jpg","text":"TemporaryFile(/tmp/multipartBody204661062671922602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180682929,"filename":"image_20042025_20_07_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5d12e09b28305be4712eb3f7da599f98.jpg","text":"TemporaryFile(/tmp/multipartBody7092383550496356253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180682929,"filename":"image_20042025_20_07_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7385601e3a6f230a1baa18e14a18c286.jpg","text":"TemporaryFile(/tmp/multipartBody6414957922475224613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180682929,"filename":"image_20042025_20_07_56_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294368","file1":"1352294365","file0":"1352294362","file4":"1352294371","file5":"1352294372","file3":"1352294370"},"map_files_photo_id_array":[{"photo_id":"1352294372","filename":"file5"},{"photo_id":"1352294368","filename":"file2"},{"photo_id":"1352294371","filename":"file4"},{"photo_id":"1352294365","filename":"file1"},{"photo_id":"1352294362","filename":"file0"},{"photo_id":"1352294370","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294372":["hashtag1","hashtag2"]},{"1352294371":["hashtag1","hashtag2"]},{"1352294368":["hashtag1","hashtag2"]},{"1352294362":["hashtag1","hashtag2"]},{"1352294365":["hashtag1","hashtag2"]},{"1352294370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294372, 1352294371, 1352294368, 1352294362, 1352294365, 1352294370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.605950355529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:24:32.732323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_26_10371.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_36_10358.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_46_9418.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_56_10529.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_09_05_9334.jpg', '/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_16_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_26_10371.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_36_10358.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_46_9418.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_56_10529.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_09_05_9334.jpg
/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_16_10444.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3819692134857178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:24:42.689903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_26_10371.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_36_10358.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_46_9418.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_56_10529.jpg', '/home/pi/Desktop/images/20042025/20/08/image_20042025_20_09_05_9334.jpg', '/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_16_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_26_10371.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_36_10358.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_46_9418.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_08_56_10529.jpg
/home/pi/Desktop/images/20042025/20/08/image_20042025_20_09_05_9334.jpg
/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_16_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294393","1352294396","1352294398","1352294389","1352294397","1352294385"],"photo_ids_order":["1352294385","1352294389","1352294393","1352294396","1352294397","1352294398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7dfa9b98d6e13d1f0bc1b029af6e7807.jpg","text":"TemporaryFile(/tmp/multipartBody3081870125382385889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180743158,"filename":"image_20042025_20_08_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/66daa613762e905bc7d941e24b58e3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1760198273706673592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180743158,"filename":"image_20042025_20_08_56_10529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d8dfadc669a6d9f7d805d53bfd09d763.jpg","text":"TemporaryFile(/tmp/multipartBody1912944494895020308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180743158,"filename":"image_20042025_20_09_16_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ad668c7f983429f05fd673322cef150f.jpg","text":"TemporaryFile(/tmp/multipartBody1736567431516222139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180743158,"filename":"image_20042025_20_08_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de01a9bcb51c09a937c01202e9a9397d.jpg","text":"TemporaryFile(/tmp/multipartBody578332700265929377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180743158,"filename":"image_20042025_20_09_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bcf0c23daac4eefa5c72474ab941ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody2615587168512649873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180743158,"filename":"image_20042025_20_08_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294393","file1":"1352294389","file0":"1352294385","file4":"1352294397","file5":"1352294398","file3":"1352294396"},"map_files_photo_id_array":[{"photo_id":"1352294398","filename":"file5"},{"photo_id":"1352294393","filename":"file2"},{"photo_id":"1352294397","filename":"file4"},{"photo_id":"1352294389","filename":"file1"},{"photo_id":"1352294385","filename":"file0"},{"photo_id":"1352294396","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294393":["hashtag1","hashtag2"]},{"1352294396":["hashtag1","hashtag2"]},{"1352294398":["hashtag1","hashtag2"]},{"1352294389":["hashtag1","hashtag2"]},{"1352294397":["hashtag1","hashtag2"]},{"1352294385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294393, 1352294396, 1352294398, 1352294389, 1352294397, 1352294385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.10664677619934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:25:32.822174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_26_10455.jpg', '/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_36_9344.jpg', '/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_46_10362.jpg', '/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_56_10366.jpg', '/home/pi/Desktop/images/20042025/20/09/image_20042025_20_10_06_9423.jpg', '/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_16_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_26_10455.jpg
/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_36_9344.jpg
/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_46_10362.jpg
/home/pi/Desktop/images/20042025/20/09/image_20042025_20_09_56_10366.jpg
/home/pi/Desktop/images/20042025/20/09/image_20042025_20_10_06_9423.jpg
/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_16_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294411","1352294405","1352294413","1352294407","1352294401","1352294409"],"photo_ids_order":["1352294401","1352294405","1352294407","1352294409","1352294411","1352294413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cab9b83042c0eb9ba71e0cbb6e892b33.jpg","text":"TemporaryFile(/tmp/multipartBody4618757666975697830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180793295,"filename":"image_20042025_20_10_06_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43688de04c49086bef0f0623610279f1.jpg","text":"TemporaryFile(/tmp/multipartBody5628962285953911220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180793295,"filename":"image_20042025_20_09_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79051fd383befc75b4d670f6864597bf.jpg","text":"TemporaryFile(/tmp/multipartBody7789415148887339190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180793295,"filename":"image_20042025_20_10_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e8e0e56a7d167fedf9be38653c6f67a.jpg","text":"TemporaryFile(/tmp/multipartBody3377092319923018141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180793295,"filename":"image_20042025_20_09_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4d785cc117d383cc279719df437e5c4b.jpg","text":"TemporaryFile(/tmp/multipartBody1732344055546079876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180793295,"filename":"image_20042025_20_09_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ed06396ac7ec0f1775d655b7d3fffc4.jpg","text":"TemporaryFile(/tmp/multipartBody7976015332230819479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180793295,"filename":"image_20042025_20_09_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294407","file1":"1352294405","file0":"1352294401","file4":"1352294411","file5":"1352294413","file3":"1352294409"},"map_files_photo_id_array":[{"photo_id":"1352294413","filename":"file5"},{"photo_id":"1352294407","filename":"file2"},{"photo_id":"1352294411","filename":"file4"},{"photo_id":"1352294405","filename":"file1"},{"photo_id":"1352294401","filename":"file0"},{"photo_id":"1352294409","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294411":["hashtag1","hashtag2"]},{"1352294405":["hashtag1","hashtag2"]},{"1352294413":["hashtag1","hashtag2"]},{"1352294407":["hashtag1","hashtag2"]},{"1352294401":["hashtag1","hashtag2"]},{"1352294409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294411, 1352294405, 1352294413, 1352294407, 1352294401, 1352294409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.372933387756348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:26:33.059183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_26_9364.jpg', '/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_36_10456.jpg', '/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_45_9418.jpg', '/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_56_10483.jpg', '/home/pi/Desktop/images/20042025/20/10/image_20042025_20_11_06_10363.jpg', '/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_16_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_26_9364.jpg
/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_36_10456.jpg
/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_45_9418.jpg
/home/pi/Desktop/images/20042025/20/10/image_20042025_20_10_56_10483.jpg
/home/pi/Desktop/images/20042025/20/10/image_20042025_20_11_06_10363.jpg
/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_16_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294434","1352294437","1352294431","1352294425","1352294428","1352294436"],"photo_ids_order":["1352294425","1352294428","1352294431","1352294434","1352294436","1352294437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4eb5dbf1994a7e193d841aff4faf7891.jpg","text":"TemporaryFile(/tmp/multipartBody1422079496055031836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180853526,"filename":"image_20042025_20_10_56_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18e2e898d0602f915732fa73d151549c.jpg","text":"TemporaryFile(/tmp/multipartBody7943532860806077206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180853526,"filename":"image_20042025_20_11_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82ae7db7e104ca3515fdf5eb105d84b9.jpg","text":"TemporaryFile(/tmp/multipartBody7263654546378862110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180853526,"filename":"image_20042025_20_10_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd142b74c961f7d221844d77810116f7.jpg","text":"TemporaryFile(/tmp/multipartBody2076311014269158321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180853526,"filename":"image_20042025_20_10_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5c72dee1606c8606d42466409b6f2c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5155007897769224875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180853526,"filename":"image_20042025_20_10_36_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1f204979303ba7b574cbf53f8be342f5.jpg","text":"TemporaryFile(/tmp/multipartBody423604494661654221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180853526,"filename":"image_20042025_20_11_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294431","file1":"1352294428","file0":"1352294425","file4":"1352294436","file5":"1352294437","file3":"1352294434"},"map_files_photo_id_array":[{"photo_id":"1352294437","filename":"file5"},{"photo_id":"1352294431","filename":"file2"},{"photo_id":"1352294436","filename":"file4"},{"photo_id":"1352294428","filename":"file1"},{"photo_id":"1352294425","filename":"file0"},{"photo_id":"1352294434","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294434":["hashtag1","hashtag2"]},{"1352294437":["hashtag1","hashtag2"]},{"1352294431":["hashtag1","hashtag2"]},{"1352294425":["hashtag1","hashtag2"]},{"1352294428":["hashtag1","hashtag2"]},{"1352294436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294434, 1352294437, 1352294431, 1352294425, 1352294428, 1352294436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77420377731323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:27:32.489876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_26_10391.jpg', '/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_36_9352.jpg', '/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_56_10367.jpg', '/home/pi/Desktop/images/20042025/20/11/image_20042025_20_12_06_9354.jpg', '/home/pi/Desktop/images/20042025/20/12/image_20042025_20_12_16_10434.jpg', '/home/pi/Desktop/images/20042025/20/12/image_20042025_20_12_46_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_26_10391.jpg
/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_36_9352.jpg
/home/pi/Desktop/images/20042025/20/11/image_20042025_20_11_56_10367.jpg
/home/pi/Desktop/images/20042025/20/11/image_20042025_20_12_06_9354.jpg
/home/pi/Desktop/images/20042025/20/12/image_20042025_20_12_16_10434.jpg
/home/pi/Desktop/images/20042025/20/12/image_20042025_20_12_46_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294456","1352294450","1352294453","1352294447","1352294455","1352294443"],"photo_ids_order":["1352294443","1352294447","1352294450","1352294453","1352294455","1352294456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3618af75f41a4e10623c67e62ba87c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6041940529350572071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180912960,"filename":"image_20042025_20_12_46_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/223f61c4d4eb29e7f606995bdfcba8dc.jpg","text":"TemporaryFile(/tmp/multipartBody1708517342076284832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180912960,"filename":"image_20042025_20_11_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/313c9a6b4a654845d79b637b2c26ff06.jpg","text":"TemporaryFile(/tmp/multipartBody1308875397360858200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180912960,"filename":"image_20042025_20_12_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/130ec65d4bf0a062a2298db563cc11b6.jpg","text":"TemporaryFile(/tmp/multipartBody2754677782655956510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180912960,"filename":"image_20042025_20_11_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d408eccebb00e004e68e66fb16b6f462.jpg","text":"TemporaryFile(/tmp/multipartBody3936813860230028573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180912960,"filename":"image_20042025_20_12_16_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f77de5465ee1659661edf89ee99519b0.jpg","text":"TemporaryFile(/tmp/multipartBody5440845658236759173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180912960,"filename":"image_20042025_20_11_26_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294450","file1":"1352294447","file0":"1352294443","file4":"1352294455","file5":"1352294456","file3":"1352294453"},"map_files_photo_id_array":[{"photo_id":"1352294456","filename":"file5"},{"photo_id":"1352294450","filename":"file2"},{"photo_id":"1352294455","filename":"file4"},{"photo_id":"1352294447","filename":"file1"},{"photo_id":"1352294443","filename":"file0"},{"photo_id":"1352294453","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294456":["hashtag1","hashtag2"]},{"1352294450":["hashtag1","hashtag2"]},{"1352294453":["hashtag1","hashtag2"]},{"1352294447":["hashtag1","hashtag2"]},{"1352294455":["hashtag1","hashtag2"]},{"1352294443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294456, 1352294450, 1352294453, 1352294447, 1352294455, 1352294443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57944917678833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:28:32.582104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/12/image_20042025_20_13_06_10459.jpg', '/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_16_9339.jpg', '/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_26_10563.jpg', '/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_36_10358.jpg', '/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_46_9361.jpg', '/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_56_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/12/image_20042025_20_13_06_10459.jpg
/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_16_9339.jpg
/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_26_10563.jpg
/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_36_10358.jpg
/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_46_9361.jpg
/home/pi/Desktop/images/20042025/20/13/image_20042025_20_13_56_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294474","1352294468","1352294470","1352294476","1352294472","1352294466"],"photo_ids_order":["1352294466","1352294468","1352294470","1352294472","1352294474","1352294476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab8e4c7961adb2ffaa8957ad91f90cd8.jpg","text":"TemporaryFile(/tmp/multipartBody7712442742665288643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180973045,"filename":"image_20042025_20_13_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97cc6637850eb12cef646f434a5bb2da.jpg","text":"TemporaryFile(/tmp/multipartBody8791635731058521005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180973045,"filename":"image_20042025_20_13_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e228992f44ad34392ad9fbb398fba5f.jpg","text":"TemporaryFile(/tmp/multipartBody6223925854065850819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180973045,"filename":"image_20042025_20_13_26_10563.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f559252114ef92bc0ba785f4d9870aef.jpg","text":"TemporaryFile(/tmp/multipartBody5897012465317626415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180973045,"filename":"image_20042025_20_13_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82679604dd649433490cc447199cb071.jpg","text":"TemporaryFile(/tmp/multipartBody3266418696947216066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180973045,"filename":"image_20042025_20_13_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fae1a7661f829997da6902ae171e5c77.jpg","text":"TemporaryFile(/tmp/multipartBody7785242215072881763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745180973045,"filename":"image_20042025_20_13_06_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294470","file1":"1352294468","file0":"1352294466","file4":"1352294474","file5":"1352294476","file3":"1352294472"},"map_files_photo_id_array":[{"photo_id":"1352294476","filename":"file5"},{"photo_id":"1352294470","filename":"file2"},{"photo_id":"1352294474","filename":"file4"},{"photo_id":"1352294468","filename":"file1"},{"photo_id":"1352294466","filename":"file0"},{"photo_id":"1352294472","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294474":["hashtag1","hashtag2"]},{"1352294468":["hashtag1","hashtag2"]},{"1352294470":["hashtag1","hashtag2"]},{"1352294476":["hashtag1","hashtag2"]},{"1352294472":["hashtag1","hashtag2"]},{"1352294466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294474, 1352294468, 1352294470, 1352294476, 1352294472, 1352294466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.950125694274902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:29:32.925304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/13/image_20042025_20_14_06_9428.jpg', '/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_16_10489.jpg', '/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_26_9457.jpg', '/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_36_10429.jpg', '/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_46_10375.jpg', '/home/pi/Desktop/images/20042025/20/14/image_20042025_20_15_06_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/13/image_20042025_20_14_06_9428.jpg
/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_16_10489.jpg
/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_26_9457.jpg
/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_36_10429.jpg
/home/pi/Desktop/images/20042025/20/14/image_20042025_20_14_46_10375.jpg
/home/pi/Desktop/images/20042025/20/14/image_20042025_20_15_06_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294492","1352294505","1352294507","1352294494","1352294488","1352294503"],"photo_ids_order":["1352294488","1352294492","1352294494","1352294503","1352294505","1352294507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01338d5c346e3e4f8e37cad0e3059eb6.jpg","text":"TemporaryFile(/tmp/multipartBody3135922562236000857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181033394,"filename":"image_20042025_20_14_16_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7d2cf170d70e0bc4b51950a20f4bd14.jpg","text":"TemporaryFile(/tmp/multipartBody4544432175292129244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181033394,"filename":"image_20042025_20_14_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fe0d7100802a7fe3b4e4f554de47c5f1.jpg","text":"TemporaryFile(/tmp/multipartBody3685142085563665537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181033394,"filename":"image_20042025_20_15_06_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24884883d4e469bac11e2954328ac40d.jpg","text":"TemporaryFile(/tmp/multipartBody7169966748328358754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181033394,"filename":"image_20042025_20_14_26_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/508f06302b7f59bc2fdd089b9e1387fe.jpg","text":"TemporaryFile(/tmp/multipartBody1079945742826428228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181033394,"filename":"image_20042025_20_14_06_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1b110a23888cd942a65d825d2dbe3811.jpg","text":"TemporaryFile(/tmp/multipartBody3875516171779120930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181033394,"filename":"image_20042025_20_14_36_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294494","file1":"1352294492","file0":"1352294488","file4":"1352294505","file5":"1352294507","file3":"1352294503"},"map_files_photo_id_array":[{"photo_id":"1352294507","filename":"file5"},{"photo_id":"1352294494","filename":"file2"},{"photo_id":"1352294505","filename":"file4"},{"photo_id":"1352294492","filename":"file1"},{"photo_id":"1352294488","filename":"file0"},{"photo_id":"1352294503","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294492":["hashtag1","hashtag2"]},{"1352294505":["hashtag1","hashtag2"]},{"1352294507":["hashtag1","hashtag2"]},{"1352294494":["hashtag1","hashtag2"]},{"1352294488":["hashtag1","hashtag2"]},{"1352294503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294492, 1352294505, 1352294507, 1352294494, 1352294488, 1352294503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.177445888519287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:30:32.980111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_16_9397.jpg', '/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_26_10512.jpg', '/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_36_9474.jpg', '/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_46_10362.jpg', '/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_56_10458.jpg', '/home/pi/Desktop/images/20042025/20/15/image_20042025_20_16_06_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_16_9397.jpg
/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_26_10512.jpg
/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_36_9474.jpg
/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_46_10362.jpg
/home/pi/Desktop/images/20042025/20/15/image_20042025_20_15_56_10458.jpg
/home/pi/Desktop/images/20042025/20/15/image_20042025_20_16_06_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294522","1352294525","1352294516","1352294524","1352294518","1352294520"],"photo_ids_order":["1352294516","1352294518","1352294520","1352294522","1352294524","1352294525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d453cef671ccf76808c6575ded508897.jpg","text":"TemporaryFile(/tmp/multipartBody7992746554157512427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181093554,"filename":"image_20042025_20_15_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/af66470b3dad8dfaa26320ce34cde22c.jpg","text":"TemporaryFile(/tmp/multipartBody6084252373950068205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181093554,"filename":"image_20042025_20_16_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bbf719ea9afb50d9f0a52ba1fb7d287.jpg","text":"TemporaryFile(/tmp/multipartBody4266926881532537456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181093554,"filename":"image_20042025_20_15_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81de733450b08919d435e53abc777357.jpg","text":"TemporaryFile(/tmp/multipartBody7024853479868092709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181093554,"filename":"image_20042025_20_15_56_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5cf3d83fcbd1bbff8e015e743685437.jpg","text":"TemporaryFile(/tmp/multipartBody7423133681730270578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181093554,"filename":"image_20042025_20_15_26_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/01e335bc7086eaad92596409ffcbb77d.jpg","text":"TemporaryFile(/tmp/multipartBody2072248503152144682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181093554,"filename":"image_20042025_20_15_36_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294520","file1":"1352294518","file0":"1352294516","file4":"1352294524","file5":"1352294525","file3":"1352294522"},"map_files_photo_id_array":[{"photo_id":"1352294525","filename":"file5"},{"photo_id":"1352294520","filename":"file2"},{"photo_id":"1352294524","filename":"file4"},{"photo_id":"1352294518","filename":"file1"},{"photo_id":"1352294516","filename":"file0"},{"photo_id":"1352294522","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294522":["hashtag1","hashtag2"]},{"1352294525":["hashtag1","hashtag2"]},{"1352294516":["hashtag1","hashtag2"]},{"1352294524":["hashtag1","hashtag2"]},{"1352294518":["hashtag1","hashtag2"]},{"1352294520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294522, 1352294525, 1352294516, 1352294524, 1352294518, 1352294520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.437247276306152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:31:32.247913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_16_10447.jpg', '/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_26_9368.jpg', '/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_36_10507.jpg', '/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_46_10366.jpg', '/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_56_9451.jpg', '/home/pi/Desktop/images/20042025/20/16/image_20042025_20_17_06_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_16_10447.jpg
/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_26_9368.jpg
/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_36_10507.jpg
/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_46_10366.jpg
/home/pi/Desktop/images/20042025/20/16/image_20042025_20_16_56_9451.jpg
/home/pi/Desktop/images/20042025/20/16/image_20042025_20_17_06_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294540","1352294537","1352294546","1352294542","1352294539","1352294544"],"photo_ids_order":["1352294537","1352294539","1352294540","1352294542","1352294544","1352294546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d6b5ebdf0a8b52fdcc98ee11701991a.jpg","text":"TemporaryFile(/tmp/multipartBody7694054002453685907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181152724,"filename":"image_20042025_20_16_36_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a7a56c409c0ca1b7cc44fef497b462be.jpg","text":"TemporaryFile(/tmp/multipartBody8826524778291936048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181152724,"filename":"image_20042025_20_16_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a86a5a97f9ab023e0855a2ffafad0e36.jpg","text":"TemporaryFile(/tmp/multipartBody5696197956531998341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181152724,"filename":"image_20042025_20_17_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e91a086fc8ecfb8bf0275464744a143.jpg","text":"TemporaryFile(/tmp/multipartBody3776114890336900619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181152724,"filename":"image_20042025_20_16_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f86318757c4eef03549a2fbf704be87.jpg","text":"TemporaryFile(/tmp/multipartBody644041311193893623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181152724,"filename":"image_20042025_20_16_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d27e5884270f0d5c6eddb274fb79e1d3.jpg","text":"TemporaryFile(/tmp/multipartBody5665782370975021661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181152724,"filename":"image_20042025_20_16_56_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294540","file1":"1352294539","file0":"1352294537","file4":"1352294544","file5":"1352294546","file3":"1352294542"},"map_files_photo_id_array":[{"photo_id":"1352294546","filename":"file5"},{"photo_id":"1352294540","filename":"file2"},{"photo_id":"1352294544","filename":"file4"},{"photo_id":"1352294539","filename":"file1"},{"photo_id":"1352294537","filename":"file0"},{"photo_id":"1352294542","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294540":["hashtag1","hashtag2"]},{"1352294537":["hashtag1","hashtag2"]},{"1352294546":["hashtag1","hashtag2"]},{"1352294542":["hashtag1","hashtag2"]},{"1352294539":["hashtag1","hashtag2"]},{"1352294544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294540, 1352294537, 1352294546, 1352294542, 1352294539, 1352294544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.573147535324097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:32:32.396590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_16_9338.jpg', '/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_26_10441.jpg', '/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_36_10428.jpg', '/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_46_9359.jpg', '/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_56_10446.jpg', '/home/pi/Desktop/images/20042025/20/17/image_20042025_20_18_06_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_16_9338.jpg
/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_26_10441.jpg
/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_36_10428.jpg
/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_46_9359.jpg
/home/pi/Desktop/images/20042025/20/17/image_20042025_20_17_56_10446.jpg
/home/pi/Desktop/images/20042025/20/17/image_20042025_20_18_06_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294567","1352294570","1352294564","1352294560","1352294554","1352294557"],"photo_ids_order":["1352294554","1352294557","1352294560","1352294564","1352294567","1352294570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df2c8829940520bdb6f16ecab3ba4d9a.jpg","text":"TemporaryFile(/tmp/multipartBody1253310611706422201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181212870,"filename":"image_20042025_20_17_56_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/52c2962cf9a9796913109713f328959a.jpg","text":"TemporaryFile(/tmp/multipartBody5880812485918501728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181212870,"filename":"image_20042025_20_18_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/709edc2e12c5da05d08e6182bcde8128.jpg","text":"TemporaryFile(/tmp/multipartBody7490273848761159710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181212870,"filename":"image_20042025_20_17_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/737e14bae0f71f87db9e462a03eff1ee.jpg","text":"TemporaryFile(/tmp/multipartBody2124978849688682077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181212870,"filename":"image_20042025_20_17_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1ba025009fef13de9d67737ffd32b14.jpg","text":"TemporaryFile(/tmp/multipartBody8183694546843856295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181212870,"filename":"image_20042025_20_17_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/688ba32dc7c4c6a2258ec00eb6005368.jpg","text":"TemporaryFile(/tmp/multipartBody2438657670197932202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181212870,"filename":"image_20042025_20_17_26_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294560","file1":"1352294557","file0":"1352294554","file4":"1352294567","file5":"1352294570","file3":"1352294564"},"map_files_photo_id_array":[{"photo_id":"1352294570","filename":"file5"},{"photo_id":"1352294560","filename":"file2"},{"photo_id":"1352294567","filename":"file4"},{"photo_id":"1352294557","filename":"file1"},{"photo_id":"1352294554","filename":"file0"},{"photo_id":"1352294564","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294567":["hashtag1","hashtag2"]},{"1352294570":["hashtag1","hashtag2"]},{"1352294564":["hashtag1","hashtag2"]},{"1352294560":["hashtag1","hashtag2"]},{"1352294554":["hashtag1","hashtag2"]},{"1352294557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294567, 1352294570, 1352294564, 1352294560, 1352294554, 1352294557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57069945335388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:33:32.633305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_16_10448.jpg', '/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_26_10381.jpg', '/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_36_9336.jpg', '/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_46_10361.jpg', '/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_56_10356.jpg', '/home/pi/Desktop/images/20042025/20/18/image_20042025_20_19_06_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_16_10448.jpg
/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_26_10381.jpg
/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_36_9336.jpg
/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_46_10361.jpg
/home/pi/Desktop/images/20042025/20/18/image_20042025_20_18_56_10356.jpg
/home/pi/Desktop/images/20042025/20/18/image_20042025_20_19_06_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294585","1352294579","1352294587","1352294581","1352294580","1352294583"],"photo_ids_order":["1352294579","1352294580","1352294581","1352294583","1352294585","1352294587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58baf8e6e1b5927be329e3e92044d62b.jpg","text":"TemporaryFile(/tmp/multipartBody4732476572368501792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181273109,"filename":"image_20042025_20_18_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be138d98c3c68c1b2b898d0002e0de48.jpg","text":"TemporaryFile(/tmp/multipartBody4474958136677745475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181273109,"filename":"image_20042025_20_18_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfde9d3bc22f2c5423a6679d36a49a18.jpg","text":"TemporaryFile(/tmp/multipartBody6363258750638261251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181273109,"filename":"image_20042025_20_19_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff75d3e799216a18f8843ba6bd640521.jpg","text":"TemporaryFile(/tmp/multipartBody1031223210617624858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181273109,"filename":"image_20042025_20_18_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dc4b5d3ec9c471c379d59cfd121e4bac.jpg","text":"TemporaryFile(/tmp/multipartBody3714118850679365825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181273109,"filename":"image_20042025_20_18_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6783a9dabd7b93662593268a2e7753df.jpg","text":"TemporaryFile(/tmp/multipartBody328520767823633498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181273109,"filename":"image_20042025_20_18_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294581","file1":"1352294580","file0":"1352294579","file4":"1352294585","file5":"1352294587","file3":"1352294583"},"map_files_photo_id_array":[{"photo_id":"1352294587","filename":"file5"},{"photo_id":"1352294581","filename":"file2"},{"photo_id":"1352294585","filename":"file4"},{"photo_id":"1352294580","filename":"file1"},{"photo_id":"1352294579","filename":"file0"},{"photo_id":"1352294583","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294585":["hashtag1","hashtag2"]},{"1352294579":["hashtag1","hashtag2"]},{"1352294587":["hashtag1","hashtag2"]},{"1352294581":["hashtag1","hashtag2"]},{"1352294580":["hashtag1","hashtag2"]},{"1352294583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294585, 1352294579, 1352294587, 1352294581, 1352294580, 1352294583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.215839385986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:34:32.879450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_16_10410.jpg', '/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_26_9365.jpg', '/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_36_10459.jpg', '/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_46_10369.jpg', '/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_56_9361.jpg', '/home/pi/Desktop/images/20042025/20/19/image_20042025_20_20_06_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_16_10410.jpg
/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_26_9365.jpg
/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_36_10459.jpg
/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_46_10369.jpg
/home/pi/Desktop/images/20042025/20/19/image_20042025_20_19_56_9361.jpg
/home/pi/Desktop/images/20042025/20/19/image_20042025_20_20_06_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294601","1352294604","1352294606","1352294608","1352294598","1352294610"],"photo_ids_order":["1352294598","1352294601","1352294604","1352294606","1352294608","1352294610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9278c1efd590e246dc315d69c27fcfb.jpg","text":"TemporaryFile(/tmp/multipartBody6428763782190919694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181333343,"filename":"image_20042025_20_19_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7b0432dd24fefc9ee5163649c547f90e.jpg","text":"TemporaryFile(/tmp/multipartBody4598160111961650469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181333343,"filename":"image_20042025_20_19_36_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/db0b5dfa5168360a90a5b096b2479402.jpg","text":"TemporaryFile(/tmp/multipartBody6645334106313059676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181333343,"filename":"image_20042025_20_19_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e74e0a725943ae65cbf680b571d0037d.jpg","text":"TemporaryFile(/tmp/multipartBody3542093576883629915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181333343,"filename":"image_20042025_20_19_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb38b2fc7521916cd14f19ae61ddb393.jpg","text":"TemporaryFile(/tmp/multipartBody4029141811412402310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181333343,"filename":"image_20042025_20_19_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1634a3169149459aca28ff6b1e06b45c.jpg","text":"TemporaryFile(/tmp/multipartBody1655336187073297558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181333343,"filename":"image_20042025_20_20_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294604","file1":"1352294601","file0":"1352294598","file4":"1352294608","file5":"1352294610","file3":"1352294606"},"map_files_photo_id_array":[{"photo_id":"1352294610","filename":"file5"},{"photo_id":"1352294604","filename":"file2"},{"photo_id":"1352294608","filename":"file4"},{"photo_id":"1352294601","filename":"file1"},{"photo_id":"1352294598","filename":"file0"},{"photo_id":"1352294606","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294601":["hashtag1","hashtag2"]},{"1352294604":["hashtag1","hashtag2"]},{"1352294606":["hashtag1","hashtag2"]},{"1352294608":["hashtag1","hashtag2"]},{"1352294598":["hashtag1","hashtag2"]},{"1352294610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294601, 1352294604, 1352294606, 1352294608, 1352294598, 1352294610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52214694023132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:35:33.220555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_15_9354.jpg', '/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_26_10499.jpg', '/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_36_10356.jpg', '/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_46_9422.jpg', '/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_56_10377.jpg', '/home/pi/Desktop/images/20042025/20/20/image_20042025_20_21_06_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_15_9354.jpg
/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_26_10499.jpg
/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_36_10356.jpg
/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_46_9422.jpg
/home/pi/Desktop/images/20042025/20/20/image_20042025_20_20_56_10377.jpg
/home/pi/Desktop/images/20042025/20/20/image_20042025_20_21_06_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294622","1352294621","1352294630","1352294624","1352294619","1352294628"],"photo_ids_order":["1352294619","1352294621","1352294622","1352294624","1352294628","1352294630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a12b6f7988aa179f95cba3631628624.jpg","text":"TemporaryFile(/tmp/multipartBody2894846572718631283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181393700,"filename":"image_20042025_20_20_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/21d8f5b16abd4ca8811ccef912b4afd7.jpg","text":"TemporaryFile(/tmp/multipartBody9162024509207034860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181393700,"filename":"image_20042025_20_20_26_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6039ad04d5e101eac81652afe9f01693.jpg","text":"TemporaryFile(/tmp/multipartBody4551681473691979009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181393700,"filename":"image_20042025_20_21_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9cd4b692a7441d43a1a8688680a15ec1.jpg","text":"TemporaryFile(/tmp/multipartBody4805087746305471364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181393700,"filename":"image_20042025_20_20_46_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cb912803c30a523778b27de2290c3f9.jpg","text":"TemporaryFile(/tmp/multipartBody5618941650490591979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181393700,"filename":"image_20042025_20_20_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7dd9efc1c3f8bef7db0de10ff420c3d.jpg","text":"TemporaryFile(/tmp/multipartBody2993716016695521826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181393700,"filename":"image_20042025_20_20_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294622","file1":"1352294621","file0":"1352294619","file4":"1352294628","file5":"1352294630","file3":"1352294624"},"map_files_photo_id_array":[{"photo_id":"1352294630","filename":"file5"},{"photo_id":"1352294622","filename":"file2"},{"photo_id":"1352294628","filename":"file4"},{"photo_id":"1352294621","filename":"file1"},{"photo_id":"1352294619","filename":"file0"},{"photo_id":"1352294624","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294622":["hashtag1","hashtag2"]},{"1352294621":["hashtag1","hashtag2"]},{"1352294630":["hashtag1","hashtag2"]},{"1352294624":["hashtag1","hashtag2"]},{"1352294619":["hashtag1","hashtag2"]},{"1352294628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294622, 1352294621, 1352294630, 1352294624, 1352294619, 1352294628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95012068748474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:36:32.367764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_16_10366.jpg', '/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_26_10368.jpg', '/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_36_9352.jpg', '/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_46_10402.jpg', '/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_55_9476.jpg', '/home/pi/Desktop/images/20042025/20/21/image_20042025_20_22_06_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_16_10366.jpg
/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_26_10368.jpg
/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_36_9352.jpg
/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_46_10402.jpg
/home/pi/Desktop/images/20042025/20/21/image_20042025_20_21_55_9476.jpg
/home/pi/Desktop/images/20042025/20/21/image_20042025_20_22_06_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294645","1352294647","1352294643","1352294637","1352294640","1352294634"],"photo_ids_order":["1352294634","1352294637","1352294640","1352294643","1352294645","1352294647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d37aa689bf09eaf7fa189c68620210f9.jpg","text":"TemporaryFile(/tmp/multipartBody2594076034337810585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181452839,"filename":"image_20042025_20_21_55_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c408d9afc2b70f26a1a3a196f6e4eda3.jpg","text":"TemporaryFile(/tmp/multipartBody6981553516875545021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181452839,"filename":"image_20042025_20_22_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/185d0afc8f4e6da26497943bdfa950f7.jpg","text":"TemporaryFile(/tmp/multipartBody781663306055040788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181452839,"filename":"image_20042025_20_21_46_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f36609c254bc83ee8321b75d90a7d4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8072424379125748939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181452839,"filename":"image_20042025_20_21_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e85e72908908a836bac5ff891a670bba.jpg","text":"TemporaryFile(/tmp/multipartBody7080027427051798622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181452839,"filename":"image_20042025_20_21_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acff798172cfe1d16d0a44da66777eba.jpg","text":"TemporaryFile(/tmp/multipartBody5686248307436837798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181452839,"filename":"image_20042025_20_21_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294640","file1":"1352294637","file0":"1352294634","file4":"1352294645","file5":"1352294647","file3":"1352294643"},"map_files_photo_id_array":[{"photo_id":"1352294647","filename":"file5"},{"photo_id":"1352294640","filename":"file2"},{"photo_id":"1352294645","filename":"file4"},{"photo_id":"1352294637","filename":"file1"},{"photo_id":"1352294634","filename":"file0"},{"photo_id":"1352294643","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294645":["hashtag1","hashtag2"]},{"1352294647":["hashtag1","hashtag2"]},{"1352294643":["hashtag1","hashtag2"]},{"1352294637":["hashtag1","hashtag2"]},{"1352294640":["hashtag1","hashtag2"]},{"1352294634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294645, 1352294647, 1352294643, 1352294637, 1352294640, 1352294634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.34683060646057 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:37:32.587159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_16_10436.jpg', '/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_26_9371.jpg', '/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_36_10387.jpg', '/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_46_10363.jpg', '/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_56_9360.jpg', '/home/pi/Desktop/images/20042025/20/22/image_20042025_20_23_06_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_16_10436.jpg
/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_26_9371.jpg
/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_36_10387.jpg
/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_46_10363.jpg
/home/pi/Desktop/images/20042025/20/22/image_20042025_20_22_56_9360.jpg
/home/pi/Desktop/images/20042025/20/22/image_20042025_20_23_06_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294666","1352294660","1352294662","1352294655","1352294664","1352294658"],"photo_ids_order":["1352294655","1352294658","1352294660","1352294662","1352294664","1352294666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9bc4e49b5c8b009af8b57df83cb204c3.jpg","text":"TemporaryFile(/tmp/multipartBody4403065061659009483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181513059,"filename":"image_20042025_20_23_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5479a8b2acba2e33b94a9b890e380174.jpg","text":"TemporaryFile(/tmp/multipartBody3321221889637424685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181513059,"filename":"image_20042025_20_22_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4fe90a66616428df18162b2b88ffcf7.jpg","text":"TemporaryFile(/tmp/multipartBody220690849218774021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181513059,"filename":"image_20042025_20_22_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/423ba1251231156723fe8b0512bcc267.jpg","text":"TemporaryFile(/tmp/multipartBody8657242737489585518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181513059,"filename":"image_20042025_20_22_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da495022e4d93dd137dff9c47f503264.jpg","text":"TemporaryFile(/tmp/multipartBody2629609782403498094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181513059,"filename":"image_20042025_20_22_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d79723a66060270cfe3cf75ecb9d326.jpg","text":"TemporaryFile(/tmp/multipartBody6684448553473736354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181513059,"filename":"image_20042025_20_22_26_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294660","file1":"1352294658","file0":"1352294655","file4":"1352294664","file5":"1352294666","file3":"1352294662"},"map_files_photo_id_array":[{"photo_id":"1352294666","filename":"file5"},{"photo_id":"1352294660","filename":"file2"},{"photo_id":"1352294664","filename":"file4"},{"photo_id":"1352294658","filename":"file1"},{"photo_id":"1352294655","filename":"file0"},{"photo_id":"1352294662","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294666":["hashtag1","hashtag2"]},{"1352294660":["hashtag1","hashtag2"]},{"1352294662":["hashtag1","hashtag2"]},{"1352294655":["hashtag1","hashtag2"]},{"1352294664":["hashtag1","hashtag2"]},{"1352294658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294666, 1352294660, 1352294662, 1352294655, 1352294664, 1352294658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.64575481414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:38:32.709853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_16_9367.jpg', '/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_26_10402.jpg', '/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_46_9356.jpg', '/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_56_10436.jpg', '/home/pi/Desktop/images/20042025/20/23/image_20042025_20_24_05_9361.jpg', '/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_16_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_16_9367.jpg
/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_26_10402.jpg
/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_46_9356.jpg
/home/pi/Desktop/images/20042025/20/23/image_20042025_20_23_56_10436.jpg
/home/pi/Desktop/images/20042025/20/23/image_20042025_20_24_05_9361.jpg
/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_16_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294690","1352294684","1352294686","1352294688","1352294676","1352294679"],"photo_ids_order":["1352294676","1352294679","1352294684","1352294686","1352294688","1352294690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d496a537c74090a7f5693070eaeb5318.jpg","text":"TemporaryFile(/tmp/multipartBody6173339189482371612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181573195,"filename":"image_20042025_20_24_16_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7320aefc37feed0b973a6d00ecc8d4eb.jpg","text":"TemporaryFile(/tmp/multipartBody5818330214649692920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181573195,"filename":"image_20042025_20_23_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d860f71e4e0e16cd2ea3a0e4662ae743.jpg","text":"TemporaryFile(/tmp/multipartBody8510572827418156276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181573195,"filename":"image_20042025_20_23_56_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8dcd2ac8f849ab4f0a1a7b2784f462a4.jpg","text":"TemporaryFile(/tmp/multipartBody961501480388992773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181573195,"filename":"image_20042025_20_24_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cb6e90089f998d1fd630eb1e4e179228.jpg","text":"TemporaryFile(/tmp/multipartBody5313567485665906252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181573195,"filename":"image_20042025_20_23_16_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/62824da8df56dc806f4d0f45de93d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody8903560996902681971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181573195,"filename":"image_20042025_20_23_26_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294684","file1":"1352294679","file0":"1352294676","file4":"1352294688","file5":"1352294690","file3":"1352294686"},"map_files_photo_id_array":[{"photo_id":"1352294690","filename":"file5"},{"photo_id":"1352294684","filename":"file2"},{"photo_id":"1352294688","filename":"file4"},{"photo_id":"1352294679","filename":"file1"},{"photo_id":"1352294676","filename":"file0"},{"photo_id":"1352294686","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294690":["hashtag1","hashtag2"]},{"1352294684":["hashtag1","hashtag2"]},{"1352294686":["hashtag1","hashtag2"]},{"1352294688":["hashtag1","hashtag2"]},{"1352294676":["hashtag1","hashtag2"]},{"1352294679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294690, 1352294684, 1352294686, 1352294688, 1352294676, 1352294679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.353113412857056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:39:32.905454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_26_10432.jpg', '/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_36_9349.jpg', '/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_46_10380.jpg', '/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_56_10374.jpg', '/home/pi/Desktop/images/20042025/20/24/image_20042025_20_25_06_9356.jpg', '/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_16_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_26_10432.jpg
/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_36_9349.jpg
/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_46_10380.jpg
/home/pi/Desktop/images/20042025/20/24/image_20042025_20_24_56_10374.jpg
/home/pi/Desktop/images/20042025/20/24/image_20042025_20_25_06_9356.jpg
/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_16_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294700","1352294702","1352294708","1352294698","1352294704","1352294706"],"photo_ids_order":["1352294698","1352294700","1352294702","1352294704","1352294706","1352294708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd03ad5493e8ac002b4ffdad12cf4144.jpg","text":"TemporaryFile(/tmp/multipartBody1044253282131789654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181633371,"filename":"image_20042025_20_24_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae7d066e9224418814b5f7c7a7ea6b8c.jpg","text":"TemporaryFile(/tmp/multipartBody2319288254024415247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181633371,"filename":"image_20042025_20_24_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26c59d4db87effbebba6e04310428914.jpg","text":"TemporaryFile(/tmp/multipartBody1021576984651781718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181633371,"filename":"image_20042025_20_25_16_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9b825e4e9f4870baea0bcaf32a137b4.jpg","text":"TemporaryFile(/tmp/multipartBody2138566887362845436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181633371,"filename":"image_20042025_20_24_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/41723f7e1d74fa18a1d632be94fdd072.jpg","text":"TemporaryFile(/tmp/multipartBody3874134848183904347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181633371,"filename":"image_20042025_20_24_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2cbe12bceb3a0e51e07bb3d1bc2b7e52.jpg","text":"TemporaryFile(/tmp/multipartBody8034285907688956914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181633371,"filename":"image_20042025_20_25_06_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294702","file1":"1352294700","file0":"1352294698","file4":"1352294706","file5":"1352294708","file3":"1352294704"},"map_files_photo_id_array":[{"photo_id":"1352294708","filename":"file5"},{"photo_id":"1352294702","filename":"file2"},{"photo_id":"1352294706","filename":"file4"},{"photo_id":"1352294700","filename":"file1"},{"photo_id":"1352294698","filename":"file0"},{"photo_id":"1352294704","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294700":["hashtag1","hashtag2"]},{"1352294702":["hashtag1","hashtag2"]},{"1352294708":["hashtag1","hashtag2"]},{"1352294698":["hashtag1","hashtag2"]},{"1352294704":["hashtag1","hashtag2"]},{"1352294706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294700, 1352294702, 1352294708, 1352294698, 1352294704, 1352294706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79408526420593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:40:33.158542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_26_9367.jpg', '/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_36_10493.jpg', '/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_46_9436.jpg', '/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_56_10515.jpg', '/home/pi/Desktop/images/20042025/20/25/image_20042025_20_26_06_10373.jpg', '/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_16_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_26_9367.jpg
/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_36_10493.jpg
/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_46_9436.jpg
/home/pi/Desktop/images/20042025/20/25/image_20042025_20_25_56_10515.jpg
/home/pi/Desktop/images/20042025/20/25/image_20042025_20_26_06_10373.jpg
/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_16_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294723","1352294732","1352294725","1352294728","1352294719","1352294730"],"photo_ids_order":["1352294719","1352294723","1352294725","1352294728","1352294730","1352294732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f6754af24a802c5be7495920f21aaf8.jpg","text":"TemporaryFile(/tmp/multipartBody320672419181358279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181693636,"filename":"image_20042025_20_25_36_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5f9d8dbd2eae44b2e997b15bc50f89a8.jpg","text":"TemporaryFile(/tmp/multipartBody8858026084020286928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181693636,"filename":"image_20042025_20_26_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/451504a63ca97fe9dac437f2105f3d35.jpg","text":"TemporaryFile(/tmp/multipartBody4775850554899129182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181693636,"filename":"image_20042025_20_25_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9436b08b87715e637d8188d2a2af815e.jpg","text":"TemporaryFile(/tmp/multipartBody6619435965851465587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181693636,"filename":"image_20042025_20_25_56_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9a46b56d2cbb9045c416ccf420a5d481.jpg","text":"TemporaryFile(/tmp/multipartBody4083608607050996870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181693636,"filename":"image_20042025_20_25_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11be9cf0362f9e271de7d4b9274e5b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7070478338325136798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181693636,"filename":"image_20042025_20_26_06_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294725","file1":"1352294723","file0":"1352294719","file4":"1352294730","file5":"1352294732","file3":"1352294728"},"map_files_photo_id_array":[{"photo_id":"1352294732","filename":"file5"},{"photo_id":"1352294725","filename":"file2"},{"photo_id":"1352294730","filename":"file4"},{"photo_id":"1352294723","filename":"file1"},{"photo_id":"1352294719","filename":"file0"},{"photo_id":"1352294728","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294723":["hashtag1","hashtag2"]},{"1352294732":["hashtag1","hashtag2"]},{"1352294725":["hashtag1","hashtag2"]},{"1352294728":["hashtag1","hashtag2"]},{"1352294719":["hashtag1","hashtag2"]},{"1352294730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294723, 1352294732, 1352294725, 1352294728, 1352294719, 1352294730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.599674224853516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:41:32.374557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_26_10355.jpg', '/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_36_9368.jpg', '/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_46_10458.jpg', '/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_56_10371.jpg', '/home/pi/Desktop/images/20042025/20/26/image_20042025_20_27_06_9358.jpg', '/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_16_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_26_10355.jpg
/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_36_9368.jpg
/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_46_10458.jpg
/home/pi/Desktop/images/20042025/20/26/image_20042025_20_26_56_10371.jpg
/home/pi/Desktop/images/20042025/20/26/image_20042025_20_27_06_9358.jpg
/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_16_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294741","1352294744","1352294738","1352294752","1352294746","1352294749"],"photo_ids_order":["1352294738","1352294741","1352294744","1352294746","1352294749","1352294752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f48a821ac57eab858d3f32bcd52e795b.jpg","text":"TemporaryFile(/tmp/multipartBody4482364392914477785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181752859,"filename":"image_20042025_20_26_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5410716929d297c4113efc2015a819c8.jpg","text":"TemporaryFile(/tmp/multipartBody8517347272481448765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181752859,"filename":"image_20042025_20_26_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e4e8b770867487e1783263b108cd5a5.jpg","text":"TemporaryFile(/tmp/multipartBody6742560313764759174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181752859,"filename":"image_20042025_20_26_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27acf63e53a801777f0fcaec6a0e5536.jpg","text":"TemporaryFile(/tmp/multipartBody6271440025452099272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181752859,"filename":"image_20042025_20_27_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/620550d444645c4b576bae70dfbe0624.jpg","text":"TemporaryFile(/tmp/multipartBody6303459616574864230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181752859,"filename":"image_20042025_20_26_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1436c3941bf5a3312a78b4a016bd03f3.jpg","text":"TemporaryFile(/tmp/multipartBody6008280325464102490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181752859,"filename":"image_20042025_20_27_06_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294744","file1":"1352294741","file0":"1352294738","file4":"1352294749","file5":"1352294752","file3":"1352294746"},"map_files_photo_id_array":[{"photo_id":"1352294752","filename":"file5"},{"photo_id":"1352294744","filename":"file2"},{"photo_id":"1352294749","filename":"file4"},{"photo_id":"1352294741","filename":"file1"},{"photo_id":"1352294738","filename":"file0"},{"photo_id":"1352294746","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294741":["hashtag1","hashtag2"]},{"1352294744":["hashtag1","hashtag2"]},{"1352294738":["hashtag1","hashtag2"]},{"1352294752":["hashtag1","hashtag2"]},{"1352294746":["hashtag1","hashtag2"]},{"1352294749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294741, 1352294744, 1352294738, 1352294752, 1352294746, 1352294749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.760281324386597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:42:32.598256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_26_9382.jpg', '/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_36_10360.jpg', '/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_46_10412.jpg', '/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_56_9372.jpg', '/home/pi/Desktop/images/20042025/20/27/image_20042025_20_28_06_10388.jpg', '/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_15_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_26_9382.jpg
/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_36_10360.jpg
/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_46_10412.jpg
/home/pi/Desktop/images/20042025/20/27/image_20042025_20_27_56_9372.jpg
/home/pi/Desktop/images/20042025/20/27/image_20042025_20_28_06_10388.jpg
/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_15_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294761","1352294764","1352294767","1352294772","1352294775","1352294769"],"photo_ids_order":["1352294761","1352294764","1352294767","1352294769","1352294772","1352294775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/31f653416a79e582ac4af20ca5c1b878.jpg","text":"TemporaryFile(/tmp/multipartBody174810888522032246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181813071,"filename":"image_20042025_20_27_26_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0a7cd47bedb2b27a82215a5261a48224.jpg","text":"TemporaryFile(/tmp/multipartBody8680264656664834170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181813071,"filename":"image_20042025_20_27_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/336d70c00c6b2b4eeb8546581f48af74.jpg","text":"TemporaryFile(/tmp/multipartBody2937319067852471114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181813071,"filename":"image_20042025_20_27_46_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/43210b53f7d556c34c371824bf7b0e77.jpg","text":"TemporaryFile(/tmp/multipartBody5036916511615289147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181813071,"filename":"image_20042025_20_28_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1824ff7bb04dd8544fbf00f76e5a9ced.jpg","text":"TemporaryFile(/tmp/multipartBody4514448609588071715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181813071,"filename":"image_20042025_20_28_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/89fd10b67cc09087d392a735776f9b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8291423518579663244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181813071,"filename":"image_20042025_20_27_56_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294767","file1":"1352294764","file0":"1352294761","file4":"1352294772","file5":"1352294775","file3":"1352294769"},"map_files_photo_id_array":[{"photo_id":"1352294775","filename":"file5"},{"photo_id":"1352294767","filename":"file2"},{"photo_id":"1352294772","filename":"file4"},{"photo_id":"1352294764","filename":"file1"},{"photo_id":"1352294761","filename":"file0"},{"photo_id":"1352294769","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294761":["hashtag1","hashtag2"]},{"1352294764":["hashtag1","hashtag2"]},{"1352294767":["hashtag1","hashtag2"]},{"1352294772":["hashtag1","hashtag2"]},{"1352294775":["hashtag1","hashtag2"]},{"1352294769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294761, 1352294764, 1352294767, 1352294772, 1352294775, 1352294769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.63790202140808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:43:32.809807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_26_10381.jpg', '/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_36_10379.jpg', '/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_46_9367.jpg', '/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_56_10503.jpg', '/home/pi/Desktop/images/20042025/20/28/image_20042025_20_29_05_9338.jpg', '/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_16_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_26_10381.jpg
/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_36_10379.jpg
/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_46_9367.jpg
/home/pi/Desktop/images/20042025/20/28/image_20042025_20_28_56_10503.jpg
/home/pi/Desktop/images/20042025/20/28/image_20042025_20_29_05_9338.jpg
/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_16_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294798","1352294783","1352294792","1352294790","1352294787","1352294795"],"photo_ids_order":["1352294783","1352294787","1352294790","1352294792","1352294795","1352294798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/902c4a79eeaed193309a29b0c2db7353.jpg","text":"TemporaryFile(/tmp/multipartBody4940551402414409972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181873295,"filename":"image_20042025_20_29_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c992144b9ed0b4b0c4d1296afd2bf900.jpg","text":"TemporaryFile(/tmp/multipartBody6284038299390961735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181873295,"filename":"image_20042025_20_28_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25daa24b868af2ef07a0cdb6bd41a027.jpg","text":"TemporaryFile(/tmp/multipartBody5549472161863942239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181873295,"filename":"image_20042025_20_28_56_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94d39d05780aa2b5b59c662afaf82f47.jpg","text":"TemporaryFile(/tmp/multipartBody4989339265040542257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181873295,"filename":"image_20042025_20_28_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4ea722c2ea697e0838dbedce4400be0.jpg","text":"TemporaryFile(/tmp/multipartBody5563511056841240175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181873295,"filename":"image_20042025_20_28_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/682c1bab73e651e7e3bb8ceaf5205495.jpg","text":"TemporaryFile(/tmp/multipartBody2651262146646055359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181873295,"filename":"image_20042025_20_29_05_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294790","file1":"1352294787","file0":"1352294783","file4":"1352294795","file5":"1352294798","file3":"1352294792"},"map_files_photo_id_array":[{"photo_id":"1352294798","filename":"file5"},{"photo_id":"1352294790","filename":"file2"},{"photo_id":"1352294795","filename":"file4"},{"photo_id":"1352294787","filename":"file1"},{"photo_id":"1352294783","filename":"file0"},{"photo_id":"1352294792","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294798":["hashtag1","hashtag2"]},{"1352294783":["hashtag1","hashtag2"]},{"1352294792":["hashtag1","hashtag2"]},{"1352294790":["hashtag1","hashtag2"]},{"1352294787":["hashtag1","hashtag2"]},{"1352294795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294798, 1352294783, 1352294792, 1352294790, 1352294787, 1352294795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72670221328735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:44:32.974600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_26_10393.jpg', '/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_36_9343.jpg', '/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_46_10522.jpg', '/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_55_9390.jpg', '/home/pi/Desktop/images/20042025/20/29/image_20042025_20_30_06_10361.jpg', '/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_16_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_26_10393.jpg
/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_36_9343.jpg
/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_46_10522.jpg
/home/pi/Desktop/images/20042025/20/29/image_20042025_20_29_55_9390.jpg
/home/pi/Desktop/images/20042025/20/29/image_20042025_20_30_06_10361.jpg
/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_16_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294814","1352294819","1352294824","1352294821","1352294823","1352294817"],"photo_ids_order":["1352294814","1352294817","1352294819","1352294821","1352294823","1352294824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ee180de5787a0184f8b9a24ba73d550.jpg","text":"TemporaryFile(/tmp/multipartBody8648797865933063403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181933448,"filename":"image_20042025_20_29_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d5afdc8749a596218d3a54a1468c5d24.jpg","text":"TemporaryFile(/tmp/multipartBody3066538748888173281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181933448,"filename":"image_20042025_20_29_46_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b82cbf144ea8f36a5b158ecf862b619f.jpg","text":"TemporaryFile(/tmp/multipartBody554513874831445819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181933448,"filename":"image_20042025_20_30_16_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c86f62536c9899b8f2ecf50eb497f520.jpg","text":"TemporaryFile(/tmp/multipartBody3163258648537986704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181933448,"filename":"image_20042025_20_29_55_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8119e0d98059d03b053dc12464bd1352.jpg","text":"TemporaryFile(/tmp/multipartBody8384966436121022669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181933448,"filename":"image_20042025_20_30_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0aa5084f7a1e21dd5b8aed69c041a80.jpg","text":"TemporaryFile(/tmp/multipartBody7230186044521867236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181933448,"filename":"image_20042025_20_29_36_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294819","file1":"1352294817","file0":"1352294814","file4":"1352294823","file5":"1352294824","file3":"1352294821"},"map_files_photo_id_array":[{"photo_id":"1352294824","filename":"file5"},{"photo_id":"1352294819","filename":"file2"},{"photo_id":"1352294823","filename":"file4"},{"photo_id":"1352294817","filename":"file1"},{"photo_id":"1352294814","filename":"file0"},{"photo_id":"1352294821","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294814":["hashtag1","hashtag2"]},{"1352294819":["hashtag1","hashtag2"]},{"1352294824":["hashtag1","hashtag2"]},{"1352294821":["hashtag1","hashtag2"]},{"1352294823":["hashtag1","hashtag2"]},{"1352294817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294814, 1352294819, 1352294824, 1352294821, 1352294823, 1352294817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15367126464844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:45:32.184584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_26_9360.jpg', '/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_46_10390.jpg', '/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_56_9374.jpg', '/home/pi/Desktop/images/20042025/20/30/image_20042025_20_31_06_10432.jpg', '/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_16_9407.jpg', '/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_26_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_26_9360.jpg
/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_46_10390.jpg
/home/pi/Desktop/images/20042025/20/30/image_20042025_20_30_56_9374.jpg
/home/pi/Desktop/images/20042025/20/30/image_20042025_20_31_06_10432.jpg
/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_16_9407.jpg
/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_26_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294829","1352294837","1352294839","1352294841","1352294835","1352294832"],"photo_ids_order":["1352294829","1352294832","1352294835","1352294837","1352294839","1352294841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d0561fc8bab876b141174929b214bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8932949581136354810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181992657,"filename":"image_20042025_20_30_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ca310cf71e2f15ce404ef2892e535b15.jpg","text":"TemporaryFile(/tmp/multipartBody7840118795651398023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181992657,"filename":"image_20042025_20_31_06_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e8ec094f9089026c13dcca5c6814d2f1.jpg","text":"TemporaryFile(/tmp/multipartBody114782856501116358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181992657,"filename":"image_20042025_20_31_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2612d1e0d2f00d45d384bfa7af1fe56e.jpg","text":"TemporaryFile(/tmp/multipartBody1267651377781010075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181992657,"filename":"image_20042025_20_31_26_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e8ce9d31d529661630c7d6f6890969c.jpg","text":"TemporaryFile(/tmp/multipartBody1992649671537386819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181992657,"filename":"image_20042025_20_30_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae613240b9b6269331ec15364249dbff.jpg","text":"TemporaryFile(/tmp/multipartBody5509566387451581485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745181992657,"filename":"image_20042025_20_30_46_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294835","file1":"1352294832","file0":"1352294829","file4":"1352294839","file5":"1352294841","file3":"1352294837"},"map_files_photo_id_array":[{"photo_id":"1352294841","filename":"file5"},{"photo_id":"1352294835","filename":"file2"},{"photo_id":"1352294839","filename":"file4"},{"photo_id":"1352294832","filename":"file1"},{"photo_id":"1352294829","filename":"file0"},{"photo_id":"1352294837","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294829":["hashtag1","hashtag2"]},{"1352294837":["hashtag1","hashtag2"]},{"1352294839":["hashtag1","hashtag2"]},{"1352294841":["hashtag1","hashtag2"]},{"1352294835":["hashtag1","hashtag2"]},{"1352294832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294829, 1352294837, 1352294839, 1352294841, 1352294835, 1352294832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.135884046554565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:46:32.448674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_46_9388.jpg', '/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_56_10392.jpg', '/home/pi/Desktop/images/20042025/20/31/image_20042025_20_32_06_9449.jpg', '/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_16_10443.jpg', '/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_26_9395.jpg', '/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_46_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_46_9388.jpg
/home/pi/Desktop/images/20042025/20/31/image_20042025_20_31_56_10392.jpg
/home/pi/Desktop/images/20042025/20/31/image_20042025_20_32_06_9449.jpg
/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_16_10443.jpg
/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_26_9395.jpg
/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_46_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294852","1352294861","1352294855","1352294849","1352294857","1352294859"],"photo_ids_order":["1352294849","1352294852","1352294855","1352294857","1352294859","1352294861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/402a42ad71701509a5adfbbca5d39aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8748768173884219138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182052919,"filename":"image_20042025_20_31_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/096755c01a57f9baa2ae588c63ef3edd.jpg","text":"TemporaryFile(/tmp/multipartBody4710208988674528478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182052919,"filename":"image_20042025_20_32_46_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de86ae252bb94cd09d86579eb88d83c7.jpg","text":"TemporaryFile(/tmp/multipartBody9193740820094659001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182052919,"filename":"image_20042025_20_32_06_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f8b91903e0b8c99eb11cd735ecf23d8.jpg","text":"TemporaryFile(/tmp/multipartBody7595329393120214729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182052919,"filename":"image_20042025_20_31_46_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81a9bee3cfec42cc1f7c8d2f40a59524.jpg","text":"TemporaryFile(/tmp/multipartBody8538482262018784219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182052919,"filename":"image_20042025_20_32_16_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae9f93c07bbfcb4bca9e89733924cd81.jpg","text":"TemporaryFile(/tmp/multipartBody5066862056798333762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182052919,"filename":"image_20042025_20_32_26_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294855","file1":"1352294852","file0":"1352294849","file4":"1352294859","file5":"1352294861","file3":"1352294857"},"map_files_photo_id_array":[{"photo_id":"1352294861","filename":"file5"},{"photo_id":"1352294855","filename":"file2"},{"photo_id":"1352294859","filename":"file4"},{"photo_id":"1352294852","filename":"file1"},{"photo_id":"1352294849","filename":"file0"},{"photo_id":"1352294857","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294852":["hashtag1","hashtag2"]},{"1352294861":["hashtag1","hashtag2"]},{"1352294855":["hashtag1","hashtag2"]},{"1352294849":["hashtag1","hashtag2"]},{"1352294857":["hashtag1","hashtag2"]},{"1352294859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294852, 1352294861, 1352294855, 1352294849, 1352294857, 1352294859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.958837747573853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:47:32.526332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_56_9372.jpg', '/home/pi/Desktop/images/20042025/20/32/image_20042025_20_33_06_10452.jpg', '/home/pi/Desktop/images/20042025/20/33/image_20042025_20_33_26_10393.jpg', '/home/pi/Desktop/images/20042025/20/33/image_20042025_20_33_46_9382.jpg', '/home/pi/Desktop/images/20042025/20/33/image_20042025_20_33_56_10398.jpg', '/home/pi/Desktop/images/20042025/20/33/image_20042025_20_34_05_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/32/image_20042025_20_32_56_9372.jpg
/home/pi/Desktop/images/20042025/20/32/image_20042025_20_33_06_10452.jpg
/home/pi/Desktop/images/20042025/20/33/image_20042025_20_33_26_10393.jpg
/home/pi/Desktop/images/20042025/20/33/image_20042025_20_33_46_9382.jpg
/home/pi/Desktop/images/20042025/20/33/image_20042025_20_33_56_10398.jpg
/home/pi/Desktop/images/20042025/20/33/image_20042025_20_34_05_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294879","1352294873","1352294881","1352294875","1352294871","1352294877"],"photo_ids_order":["1352294871","1352294873","1352294875","1352294877","1352294879","1352294881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bce6b5adaf8b887f108e3543fbb995b4.jpg","text":"TemporaryFile(/tmp/multipartBody5176811448810588965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182112991,"filename":"image_20042025_20_33_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d53d7ce456177521b86ad866a73b0756.jpg","text":"TemporaryFile(/tmp/multipartBody5006221124846205287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182112991,"filename":"image_20042025_20_33_06_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00ed13c431b1435f4de4f4c799353c9d.jpg","text":"TemporaryFile(/tmp/multipartBody6182631134712239868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182112991,"filename":"image_20042025_20_34_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/09998d01b65a9c39f90160fd5af2afbc.jpg","text":"TemporaryFile(/tmp/multipartBody6007843733085367142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182112991,"filename":"image_20042025_20_33_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eb1490fd0eaf26bb9d7667fd89ff8db8.jpg","text":"TemporaryFile(/tmp/multipartBody197637317514606205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182112991,"filename":"image_20042025_20_32_56_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f7a9ed00f3177cc992f8bbb3fd50000.jpg","text":"TemporaryFile(/tmp/multipartBody3564676391985248673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182112991,"filename":"image_20042025_20_33_46_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294875","file1":"1352294873","file0":"1352294871","file4":"1352294879","file5":"1352294881","file3":"1352294877"},"map_files_photo_id_array":[{"photo_id":"1352294881","filename":"file5"},{"photo_id":"1352294875","filename":"file2"},{"photo_id":"1352294879","filename":"file4"},{"photo_id":"1352294873","filename":"file1"},{"photo_id":"1352294871","filename":"file0"},{"photo_id":"1352294877","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294879":["hashtag1","hashtag2"]},{"1352294873":["hashtag1","hashtag2"]},{"1352294881":["hashtag1","hashtag2"]},{"1352294875":["hashtag1","hashtag2"]},{"1352294871":["hashtag1","hashtag2"]},{"1352294877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294879, 1352294873, 1352294881, 1352294875, 1352294871, 1352294877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.37282419204712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:48:32.610576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_16_10511.jpg', '/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_26_10388.jpg', '/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_36_9380.jpg', '/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_46_10478.jpg', '/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_56_9446.jpg', '/home/pi/Desktop/images/20042025/20/34/image_20042025_20_35_06_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_16_10511.jpg
/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_26_10388.jpg
/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_36_9380.jpg
/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_46_10478.jpg
/home/pi/Desktop/images/20042025/20/34/image_20042025_20_34_56_9446.jpg
/home/pi/Desktop/images/20042025/20/34/image_20042025_20_35_06_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294887","1352294896","1352294890","1352294898","1352294892","1352294894"],"photo_ids_order":["1352294887","1352294890","1352294892","1352294894","1352294896","1352294898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3e5ead1571541e1c46480d7287cb7baa.jpg","text":"TemporaryFile(/tmp/multipartBody6139503603840586188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182173074,"filename":"image_20042025_20_34_16_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d0e80ecae9d311285adcde3bf82172b9.jpg","text":"TemporaryFile(/tmp/multipartBody3047287866875624038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182173074,"filename":"image_20042025_20_34_56_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/147e2be6f30e38244968af1ba69c51b1.jpg","text":"TemporaryFile(/tmp/multipartBody8576596935342334301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182173074,"filename":"image_20042025_20_34_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e564885de9bae923ed53f755249a8c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7627479395563290302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182173074,"filename":"image_20042025_20_35_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/315f8282e3858a36196597053f0e86c1.jpg","text":"TemporaryFile(/tmp/multipartBody3183185711420917114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182173074,"filename":"image_20042025_20_34_36_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a9f61e8a2037a0891e5186299fd8aa5e.jpg","text":"TemporaryFile(/tmp/multipartBody2155355938795106633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182173074,"filename":"image_20042025_20_34_46_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294892","file1":"1352294890","file0":"1352294887","file4":"1352294896","file5":"1352294898","file3":"1352294894"},"map_files_photo_id_array":[{"photo_id":"1352294898","filename":"file5"},{"photo_id":"1352294892","filename":"file2"},{"photo_id":"1352294896","filename":"file4"},{"photo_id":"1352294890","filename":"file1"},{"photo_id":"1352294887","filename":"file0"},{"photo_id":"1352294894","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294887":["hashtag1","hashtag2"]},{"1352294896":["hashtag1","hashtag2"]},{"1352294890":["hashtag1","hashtag2"]},{"1352294898":["hashtag1","hashtag2"]},{"1352294892":["hashtag1","hashtag2"]},{"1352294894":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294887, 1352294896, 1352294890, 1352294898, 1352294892, 1352294894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.729365348815918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:49:33.086444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_16_10369.jpg', '/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_26_9752.jpg', '/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_36_9329.jpg', '/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_46_10405.jpg', '/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_56_10420.jpg', '/home/pi/Desktop/images/20042025/20/35/image_20042025_20_36_06_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_16_10369.jpg
/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_26_9752.jpg
/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_36_9329.jpg
/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_46_10405.jpg
/home/pi/Desktop/images/20042025/20/35/image_20042025_20_35_56_10420.jpg
/home/pi/Desktop/images/20042025/20/35/image_20042025_20_36_06_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294927","1352294921","1352294918","1352294905","1352294925","1352294910"],"photo_ids_order":["1352294905","1352294910","1352294918","1352294921","1352294925","1352294927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f7028810a6651be9fe61cf71934b2e6.jpg","text":"TemporaryFile(/tmp/multipartBody36100125403410309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182233550,"filename":"image_20042025_20_36_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a50dde104ae54ae2c287aa2a6f467d75.jpg","text":"TemporaryFile(/tmp/multipartBody3567640307924938640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182233550,"filename":"image_20042025_20_35_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00c9b4ccc1613e55ed6747d4a8c03636.jpg","text":"TemporaryFile(/tmp/multipartBody3648750764151686512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182233550,"filename":"image_20042025_20_35_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/777666b84bb5751f3bba1d0e3f3d2a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7066930775762246957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182233550,"filename":"image_20042025_20_35_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f40ce75d6b33510f9e3272a4594a589.jpg","text":"TemporaryFile(/tmp/multipartBody3222554815242379852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182233550,"filename":"image_20042025_20_35_56_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be7b549b787495d5e4e4c4f225461a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3996670355576402026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182233550,"filename":"image_20042025_20_35_26_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294918","file1":"1352294910","file0":"1352294905","file4":"1352294925","file5":"1352294927","file3":"1352294921"},"map_files_photo_id_array":[{"photo_id":"1352294927","filename":"file5"},{"photo_id":"1352294918","filename":"file2"},{"photo_id":"1352294925","filename":"file4"},{"photo_id":"1352294910","filename":"file1"},{"photo_id":"1352294905","filename":"file0"},{"photo_id":"1352294921","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294927":["hashtag1","hashtag2"]},{"1352294921":["hashtag1","hashtag2"]},{"1352294918":["hashtag1","hashtag2"]},{"1352294905":["hashtag1","hashtag2"]},{"1352294925":["hashtag1","hashtag2"]},{"1352294910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294927, 1352294921, 1352294918, 1352294905, 1352294925, 1352294910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59829139709473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:50:33.241670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_16_10405.jpg', '/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_25_9358.jpg', '/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_36_10533.jpg', '/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_46_10365.jpg', '/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_56_9365.jpg', '/home/pi/Desktop/images/20042025/20/36/image_20042025_20_37_06_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_16_10405.jpg
/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_25_9358.jpg
/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_36_10533.jpg
/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_46_10365.jpg
/home/pi/Desktop/images/20042025/20/36/image_20042025_20_36_56_9365.jpg
/home/pi/Desktop/images/20042025/20/36/image_20042025_20_37_06_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294942","1352294944","1352294938","1352294932","1352294935","1352294940"],"photo_ids_order":["1352294932","1352294935","1352294938","1352294940","1352294942","1352294944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7319cc0672980ff723b142ba2264431c.jpg","text":"TemporaryFile(/tmp/multipartBody5371847828553579035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182293710,"filename":"image_20042025_20_36_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/802d423017bdfd42130be70369eb757d.jpg","text":"TemporaryFile(/tmp/multipartBody2755663224622067916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182293710,"filename":"image_20042025_20_37_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ca4bc9b817e7e0e23db914b07ad4be9.jpg","text":"TemporaryFile(/tmp/multipartBody146881041827389881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182293710,"filename":"image_20042025_20_36_36_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/218c26975b28a647ed1b3bf1834a1da9.jpg","text":"TemporaryFile(/tmp/multipartBody8372226894954116153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182293710,"filename":"image_20042025_20_36_16_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e3fd45d684204085614a1891006a4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4460619628183857734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182293710,"filename":"image_20042025_20_36_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35d9a185fc8676d1952be968c5b301d1.jpg","text":"TemporaryFile(/tmp/multipartBody1623263982464093345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182293710,"filename":"image_20042025_20_36_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294938","file1":"1352294935","file0":"1352294932","file4":"1352294942","file5":"1352294944","file3":"1352294940"},"map_files_photo_id_array":[{"photo_id":"1352294944","filename":"file5"},{"photo_id":"1352294938","filename":"file2"},{"photo_id":"1352294942","filename":"file4"},{"photo_id":"1352294935","filename":"file1"},{"photo_id":"1352294932","filename":"file0"},{"photo_id":"1352294940","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294942":["hashtag1","hashtag2"]},{"1352294944":["hashtag1","hashtag2"]},{"1352294938":["hashtag1","hashtag2"]},{"1352294932":["hashtag1","hashtag2"]},{"1352294935":["hashtag1","hashtag2"]},{"1352294940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294942, 1352294944, 1352294938, 1352294932, 1352294935, 1352294940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.57930874824524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:51:32.517349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_15_9385.jpg', '/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_26_10424.jpg', '/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_36_10396.jpg', '/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_46_9370.jpg', '/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_56_10434.jpg', '/home/pi/Desktop/images/20042025/20/37/image_20042025_20_38_05_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_15_9385.jpg
/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_26_10424.jpg
/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_36_10396.jpg
/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_46_9370.jpg
/home/pi/Desktop/images/20042025/20/37/image_20042025_20_37_56_10434.jpg
/home/pi/Desktop/images/20042025/20/37/image_20042025_20_38_05_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294960","1352294962","1352294956","1352294953","1352294964","1352294958"],"photo_ids_order":["1352294953","1352294956","1352294958","1352294960","1352294962","1352294964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e32025c5c7814e24254fa113840e2d29.jpg","text":"TemporaryFile(/tmp/multipartBody747916915201825230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182352988,"filename":"image_20042025_20_37_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/80188f2f39bc855b2931f36145e83d91.jpg","text":"TemporaryFile(/tmp/multipartBody4834835581469221219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182352988,"filename":"image_20042025_20_37_56_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bbcea1ec4700a98a894448d71cac23b6.jpg","text":"TemporaryFile(/tmp/multipartBody5402181874292638009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182352988,"filename":"image_20042025_20_37_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/47dce761e9813dfabd4e6a1dd769ca86.jpg","text":"TemporaryFile(/tmp/multipartBody5866952021458627664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182352988,"filename":"image_20042025_20_37_15_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff1a6245158c29a5e3f0cd93b17f7d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7719518202588097329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182352988,"filename":"image_20042025_20_38_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/18630bbf362db4988d9af547ba3e2913.jpg","text":"TemporaryFile(/tmp/multipartBody4111652243035890980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182352988,"filename":"image_20042025_20_37_36_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294958","file1":"1352294956","file0":"1352294953","file4":"1352294962","file5":"1352294964","file3":"1352294960"},"map_files_photo_id_array":[{"photo_id":"1352294964","filename":"file5"},{"photo_id":"1352294958","filename":"file2"},{"photo_id":"1352294962","filename":"file4"},{"photo_id":"1352294956","filename":"file1"},{"photo_id":"1352294953","filename":"file0"},{"photo_id":"1352294960","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294960":["hashtag1","hashtag2"]},{"1352294962":["hashtag1","hashtag2"]},{"1352294956":["hashtag1","hashtag2"]},{"1352294953":["hashtag1","hashtag2"]},{"1352294964":["hashtag1","hashtag2"]},{"1352294958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294960, 1352294962, 1352294956, 1352294953, 1352294964, 1352294958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.766361713409424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:52:03.122646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_16_10370.jpg', '/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_26_10437.jpg', '/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_36_9351.jpg', '/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_46_10407.jpg', '/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_56_10379.jpg', '/home/pi/Desktop/images/20042025/20/38/image_20042025_20_39_06_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_16_10370.jpg
/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_26_10437.jpg
/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_36_9351.jpg
/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_46_10407.jpg
/home/pi/Desktop/images/20042025/20/38/image_20042025_20_38_56_10379.jpg
/home/pi/Desktop/images/20042025/20/38/image_20042025_20_39_06_9359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294975","1352294966","1352294969","1352294974","1352294977","1352294971"],"photo_ids_order":["1352294966","1352294969","1352294971","1352294974","1352294975","1352294977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d12e5d1da41b21982bc9636f194aacc.jpg","text":"TemporaryFile(/tmp/multipartBody2223354591264034755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182383642,"filename":"image_20042025_20_38_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9d48072c221eb9cfdabbb0fe02bb0fa.jpg","text":"TemporaryFile(/tmp/multipartBody3940236102278773528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182383642,"filename":"image_20042025_20_38_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e9ce97d8a5cf7f3efb796af930b9dd6.jpg","text":"TemporaryFile(/tmp/multipartBody8147009069045387994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182383642,"filename":"image_20042025_20_38_26_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/35caed5969d0875ac11ecd5b4a42095b.jpg","text":"TemporaryFile(/tmp/multipartBody904292702452274322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182383642,"filename":"image_20042025_20_38_46_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d98857186a85814aa643b01f661ca475.jpg","text":"TemporaryFile(/tmp/multipartBody9143643020246389091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182383642,"filename":"image_20042025_20_39_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c6f28d582b79b7b36d73be2fbfe9ff34.jpg","text":"TemporaryFile(/tmp/multipartBody7851716891558650093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182383642,"filename":"image_20042025_20_38_36_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294971","file1":"1352294969","file0":"1352294966","file4":"1352294975","file5":"1352294977","file3":"1352294974"},"map_files_photo_id_array":[{"photo_id":"1352294977","filename":"file5"},{"photo_id":"1352294971","filename":"file2"},{"photo_id":"1352294975","filename":"file4"},{"photo_id":"1352294969","filename":"file1"},{"photo_id":"1352294966","filename":"file0"},{"photo_id":"1352294974","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294975":["hashtag1","hashtag2"]},{"1352294966":["hashtag1","hashtag2"]},{"1352294969":["hashtag1","hashtag2"]},{"1352294974":["hashtag1","hashtag2"]},{"1352294977":["hashtag1","hashtag2"]},{"1352294971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294975, 1352294966, 1352294969, 1352294974, 1352294977, 1352294971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13663125038147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:52:42.550572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/39/image_20042025_20_39_16_10382.jpg', '/home/pi/Desktop/images/20042025/20/40/image_20042025_20_40_36_10397.jpg', '/home/pi/Desktop/images/20042025/20/40/image_20042025_20_40_46_9383.jpg', '/home/pi/Desktop/images/20042025/20/40/image_20042025_20_40_56_10469.jpg', '/home/pi/Desktop/images/20042025/20/40/image_20042025_20_41_06_9387.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_16_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/39/image_20042025_20_39_16_10382.jpg
/home/pi/Desktop/images/20042025/20/40/image_20042025_20_40_36_10397.jpg
/home/pi/Desktop/images/20042025/20/40/image_20042025_20_40_46_9383.jpg
/home/pi/Desktop/images/20042025/20/40/image_20042025_20_40_56_10469.jpg
/home/pi/Desktop/images/20042025/20/40/image_20042025_20_41_06_9387.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_16_10537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294984","1352294987","1352294992","1352294989","1352294991","1352294994"],"photo_ids_order":["1352294984","1352294987","1352294989","1352294991","1352294992","1352294994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/05d752d73becda6bf4d0de7fbc165983.jpg","text":"TemporaryFile(/tmp/multipartBody833785611079493788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182423016,"filename":"image_20042025_20_39_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de4a8e56fd57d2de3898cd4ae76e6f87.jpg","text":"TemporaryFile(/tmp/multipartBody7636722268579337729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182423016,"filename":"image_20042025_20_40_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dfdd7979adb7b590de67a7aa32d12fcb.jpg","text":"TemporaryFile(/tmp/multipartBody1728139302184271444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182423016,"filename":"image_20042025_20_41_06_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/584242fa63cb1de869287c62275c8a6b.jpg","text":"TemporaryFile(/tmp/multipartBody1424697359652550327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182423016,"filename":"image_20042025_20_40_46_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e804410214e50feb3db43c4c6649edaf.jpg","text":"TemporaryFile(/tmp/multipartBody6611991318726337889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182423016,"filename":"image_20042025_20_40_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e58cb4435d85c02eea109f1cf85f745b.jpg","text":"TemporaryFile(/tmp/multipartBody2695211220953816516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182423016,"filename":"image_20042025_20_41_16_10537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294989","file1":"1352294987","file0":"1352294984","file4":"1352294992","file5":"1352294994","file3":"1352294991"},"map_files_photo_id_array":[{"photo_id":"1352294994","filename":"file5"},{"photo_id":"1352294989","filename":"file2"},{"photo_id":"1352294992","filename":"file4"},{"photo_id":"1352294987","filename":"file1"},{"photo_id":"1352294984","filename":"file0"},{"photo_id":"1352294991","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352294984":["hashtag1","hashtag2"]},{"1352294987":["hashtag1","hashtag2"]},{"1352294992":["hashtag1","hashtag2"]},{"1352294989":["hashtag1","hashtag2"]},{"1352294991":["hashtag1","hashtag2"]},{"1352294994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352294984, 1352294987, 1352294992, 1352294989, 1352294991, 1352294994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.322490215301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:53:32.804685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_26_9370.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_36_10487.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_46_10398.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_56_9366.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_42_06_10360.jpg', '/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_16_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_26_9370.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_36_10487.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_46_10398.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_56_9366.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_42_06_10360.jpg
/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_16_9361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.390855073928833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:53:42.717014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_26_9370.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_36_10487.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_46_10398.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_56_9366.jpg', '/home/pi/Desktop/images/20042025/20/41/image_20042025_20_42_06_10360.jpg', '/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_16_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_26_9370.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_36_10487.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_46_10398.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_41_56_9366.jpg
/home/pi/Desktop/images/20042025/20/41/image_20042025_20_42_06_10360.jpg
/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_16_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295017","1352295010","1352295013","1352295007","1352295016","1352295015"],"photo_ids_order":["1352295007","1352295010","1352295013","1352295015","1352295016","1352295017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f98be34de933f2e4157ea61b9f856f39.jpg","text":"TemporaryFile(/tmp/multipartBody984326958470951347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182483186,"filename":"image_20042025_20_42_16_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8eda4107bf5e8393e4017eb7fbdcdb08.jpg","text":"TemporaryFile(/tmp/multipartBody8565569755923924478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182483186,"filename":"image_20042025_20_41_36_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9d3396c64f92b83f7f3899784359a474.jpg","text":"TemporaryFile(/tmp/multipartBody6733111088945528926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182483186,"filename":"image_20042025_20_41_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/73fd2d042adf67f48bda65ef568c63cf.jpg","text":"TemporaryFile(/tmp/multipartBody1214918333904860081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182483186,"filename":"image_20042025_20_41_26_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ea3ed2d51f5459cc60a707c52296277.jpg","text":"TemporaryFile(/tmp/multipartBody3168724084426754935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182483186,"filename":"image_20042025_20_42_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b0ec1d24e82eba430823076d95880505.jpg","text":"TemporaryFile(/tmp/multipartBody2292793214134049288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182483186,"filename":"image_20042025_20_41_56_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295013","file1":"1352295010","file0":"1352295007","file4":"1352295016","file5":"1352295017","file3":"1352295015"},"map_files_photo_id_array":[{"photo_id":"1352295017","filename":"file5"},{"photo_id":"1352295013","filename":"file2"},{"photo_id":"1352295016","filename":"file4"},{"photo_id":"1352295010","filename":"file1"},{"photo_id":"1352295007","filename":"file0"},{"photo_id":"1352295015","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352295017":["hashtag1","hashtag2"]},{"1352295010":["hashtag1","hashtag2"]},{"1352295013":["hashtag1","hashtag2"]},{"1352295007":["hashtag1","hashtag2"]},{"1352295016":["hashtag1","hashtag2"]},{"1352295015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352295017, 1352295010, 1352295013, 1352295007, 1352295016, 1352295015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.412649393081665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:54:32.868447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_26_10522.jpg', '/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_36_10378.jpg', '/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_46_9460.jpg', '/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_56_10383.jpg', '/home/pi/Desktop/images/20042025/20/42/image_20042025_20_43_06_9454.jpg', '/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_16_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_26_10522.jpg
/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_36_10378.jpg
/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_46_9460.jpg
/home/pi/Desktop/images/20042025/20/42/image_20042025_20_42_56_10383.jpg
/home/pi/Desktop/images/20042025/20/42/image_20042025_20_43_06_9454.jpg
/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_16_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295035","1352295029","1352295031","1352295033","1352295030","1352295027"],"photo_ids_order":["1352295027","1352295029","1352295030","1352295031","1352295033","1352295035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0947aabb0918ddc3276ec804bcb2cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6928903004001913926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182533342,"filename":"image_20042025_20_43_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a8fcddce615cef7644a0a661c94e55d0.jpg","text":"TemporaryFile(/tmp/multipartBody5129723692597932138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182533342,"filename":"image_20042025_20_42_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40f86fea303a4cb3cb261be678128d43.jpg","text":"TemporaryFile(/tmp/multipartBody8314501743360354044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182533342,"filename":"image_20042025_20_42_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e20279bae37507735fec2eafd0e4d4dd.jpg","text":"TemporaryFile(/tmp/multipartBody2628064956182728863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182533342,"filename":"image_20042025_20_43_06_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a1c133ec3c687e61ea0f4b1478f26791.jpg","text":"TemporaryFile(/tmp/multipartBody4247787755968194068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182533342,"filename":"image_20042025_20_42_46_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e4a1af1f6738a8cac27fea9ce101caa.jpg","text":"TemporaryFile(/tmp/multipartBody3724781125556118455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182533342,"filename":"image_20042025_20_42_26_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295030","file1":"1352295029","file0":"1352295027","file4":"1352295033","file5":"1352295035","file3":"1352295031"},"map_files_photo_id_array":[{"photo_id":"1352295035","filename":"file5"},{"photo_id":"1352295030","filename":"file2"},{"photo_id":"1352295033","filename":"file4"},{"photo_id":"1352295029","filename":"file1"},{"photo_id":"1352295027","filename":"file0"},{"photo_id":"1352295031","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352295035":["hashtag1","hashtag2"]},{"1352295029":["hashtag1","hashtag2"]},{"1352295031":["hashtag1","hashtag2"]},{"1352295033":["hashtag1","hashtag2"]},{"1352295030":["hashtag1","hashtag2"]},{"1352295027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352295035, 1352295029, 1352295031, 1352295033, 1352295030, 1352295027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.402186155319214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:55:33.096247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_25_9361.jpg', '/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_36_10363.jpg', '/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_46_10426.jpg', '/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_56_9387.jpg', '/home/pi/Desktop/images/20042025/20/43/image_20042025_20_44_06_10485.jpg', '/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_16_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_25_9361.jpg
/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_36_10363.jpg
/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_46_10426.jpg
/home/pi/Desktop/images/20042025/20/43/image_20042025_20_43_56_9387.jpg
/home/pi/Desktop/images/20042025/20/43/image_20042025_20_44_06_10485.jpg
/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_16_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295053","1352295055","1352295052","1352295051","1352295054","1352295056"],"photo_ids_order":["1352295051","1352295052","1352295053","1352295054","1352295055","1352295056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d3b873ab5a5415fa285013a1a872ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2918742787194214030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182593560,"filename":"image_20042025_20_43_46_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/524a7e872e145834cf96ba4186c4cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody2907255395473402619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182593560,"filename":"image_20042025_20_44_06_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/87f14d1b2b1a4ec35b0b6a93b59c4e92.jpg","text":"TemporaryFile(/tmp/multipartBody2019044693455279206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182593560,"filename":"image_20042025_20_43_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/272488d38317c2a80d016618d18de281.jpg","text":"TemporaryFile(/tmp/multipartBody2591901054653753615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182593560,"filename":"image_20042025_20_43_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff9e1a7e19529b06f691ad5619237263.jpg","text":"TemporaryFile(/tmp/multipartBody1007014444205800197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182593560,"filename":"image_20042025_20_43_56_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ced5e0188752bd08908d497fde102a43.jpg","text":"TemporaryFile(/tmp/multipartBody5567066870857988032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182593560,"filename":"image_20042025_20_44_16_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295053","file1":"1352295052","file0":"1352295051","file4":"1352295055","file5":"1352295056","file3":"1352295054"},"map_files_photo_id_array":[{"photo_id":"1352295056","filename":"file5"},{"photo_id":"1352295053","filename":"file2"},{"photo_id":"1352295055","filename":"file4"},{"photo_id":"1352295052","filename":"file1"},{"photo_id":"1352295051","filename":"file0"},{"photo_id":"1352295054","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352295053":["hashtag1","hashtag2"]},{"1352295055":["hashtag1","hashtag2"]},{"1352295052":["hashtag1","hashtag2"]},{"1352295051":["hashtag1","hashtag2"]},{"1352295054":["hashtag1","hashtag2"]},{"1352295056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352295053, 1352295055, 1352295052, 1352295051, 1352295054, 1352295056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.24962091445923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:56:32.301325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_26_10492.jpg', '/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_35_9433.jpg', '/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_46_10369.jpg', '/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_56_10439.jpg', '/home/pi/Desktop/images/20042025/20/44/image_20042025_20_45_06_9348.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_16_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_26_10492.jpg
/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_35_9433.jpg
/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_46_10369.jpg
/home/pi/Desktop/images/20042025/20/44/image_20042025_20_44_56_10439.jpg
/home/pi/Desktop/images/20042025/20/44/image_20042025_20_45_06_9348.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_16_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295394","1352295413","1352295391","1352295412","1352295415","1352295417"],"photo_ids_order":["1352295391","1352295394","1352295412","1352295413","1352295415","1352295417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9753beded187ad3f58dc88ad2b522390.jpg","text":"TemporaryFile(/tmp/multipartBody9151300123920804656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182652767,"filename":"image_20042025_20_44_35_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c92a13ca04d1c4cfbbaae52bced9a01.jpg","text":"TemporaryFile(/tmp/multipartBody3607430401856598630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182652767,"filename":"image_20042025_20_44_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/88f5a8870f01f73dae4498585c8ebb41.jpg","text":"TemporaryFile(/tmp/multipartBody6718251913889116821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182652767,"filename":"image_20042025_20_44_26_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d92f5dd63e629f3401b00e8c5106997.jpg","text":"TemporaryFile(/tmp/multipartBody2587587832097578396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182652767,"filename":"image_20042025_20_44_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/54828a83b13297f2270e92d8997bf955.jpg","text":"TemporaryFile(/tmp/multipartBody6246096086273781984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182652767,"filename":"image_20042025_20_45_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ecebe951fc43acb036a3261d7595c6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5386838712247999283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182652767,"filename":"image_20042025_20_45_16_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295412","file1":"1352295394","file0":"1352295391","file4":"1352295415","file5":"1352295417","file3":"1352295413"},"map_files_photo_id_array":[{"photo_id":"1352295417","filename":"file5"},{"photo_id":"1352295412","filename":"file2"},{"photo_id":"1352295415","filename":"file4"},{"photo_id":"1352295394","filename":"file1"},{"photo_id":"1352295391","filename":"file0"},{"photo_id":"1352295413","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352295394":["hashtag1","hashtag2"]},{"1352295413":["hashtag1","hashtag2"]},{"1352295391":["hashtag1","hashtag2"]},{"1352295412":["hashtag1","hashtag2"]},{"1352295415":["hashtag1","hashtag2"]},{"1352295417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352295394, 1352295413, 1352295391, 1352295412, 1352295415, 1352295417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84456181526184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 22:57:32.585227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_26_10370.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_36_9357.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_46_10442.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_56_9365.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_46_06_10421.jpg', '/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_26_10370.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_36_9357.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_46_10442.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_56_9365.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_46_06_10421.jpg
/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_16_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:59:04.001324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_26_10370.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_36_9357.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_46_10442.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_56_9365.jpg', '/home/pi/Desktop/images/20042025/20/45/image_20042025_20_46_06_10421.jpg', '/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_26_10370.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_36_9357.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_46_10442.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_45_56_9365.jpg
/home/pi/Desktop/images/20042025/20/45/image_20042025_20_46_06_10421.jpg
/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_16_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352297602","1352297439","1352297301","1352297492","1352297360","1352297543"],"photo_ids_order":["1352297301","1352297360","1352297439","1352297492","1352297543","1352297602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b648006b3252d3de33e6ddd9d02e5515.jpg","text":"TemporaryFile(/tmp/multipartBody9020669600309558279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182804637,"filename":"image_20042025_20_46_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/635f0c8708109d8edcadc03a5e3ddac3.jpg","text":"TemporaryFile(/tmp/multipartBody8245842666004431627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182804637,"filename":"image_20042025_20_45_46_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/236c265fbb2ce932c39bdce36739c780.jpg","text":"TemporaryFile(/tmp/multipartBody4744908781029256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182804637,"filename":"image_20042025_20_45_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5774940368e29f85db1a6c4a79368262.jpg","text":"TemporaryFile(/tmp/multipartBody5525283473261963172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182804637,"filename":"image_20042025_20_45_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/154edae7d2f34e527df8a01ea2d8a3cb.jpg","text":"TemporaryFile(/tmp/multipartBody8751503757689778199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182804637,"filename":"image_20042025_20_45_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/862bef9aeeb9f8465abafbdb693bc8af.jpg","text":"TemporaryFile(/tmp/multipartBody5232920574321846715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182804637,"filename":"image_20042025_20_46_06_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352297439","file1":"1352297360","file0":"1352297301","file4":"1352297543","file5":"1352297602","file3":"1352297492"},"map_files_photo_id_array":[{"photo_id":"1352297602","filename":"file5"},{"photo_id":"1352297439","filename":"file2"},{"photo_id":"1352297543","filename":"file4"},{"photo_id":"1352297360","filename":"file1"},{"photo_id":"1352297301","filename":"file0"},{"photo_id":"1352297492","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352297602":["hashtag1","hashtag2"]},{"1352297439":["hashtag1","hashtag2"]},{"1352297301":["hashtag1","hashtag2"]},{"1352297492":["hashtag1","hashtag2"]},{"1352297360":["hashtag1","hashtag2"]},{"1352297543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352297602, 1352297439, 1352297301, 1352297492, 1352297360, 1352297543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45381021499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 22:59:42.345283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_26_9449.jpg', '/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_36_10360.jpg', '/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_46_9360.jpg', '/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_56_10446.jpg', '/home/pi/Desktop/images/20042025/20/46/image_20042025_20_47_06_10367.jpg', '/home/pi/Desktop/images/20042025/20/47/image_20042025_20_47_16_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_26_9449.jpg
/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_36_10360.jpg
/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_46_9360.jpg
/home/pi/Desktop/images/20042025/20/46/image_20042025_20_46_56_10446.jpg
/home/pi/Desktop/images/20042025/20/46/image_20042025_20_47_06_10367.jpg
/home/pi/Desktop/images/20042025/20/47/image_20042025_20_47_16_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352298106","1352297856","1352298176","1352297805","1352298044","1352297755"],"photo_ids_order":["1352297755","1352297805","1352297856","1352298044","1352298106","1352298176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d36c10c97ca0bcf52452be30ae99ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6261963694973613327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182842819,"filename":"image_20042025_20_47_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9eb08dd6f7ca89c61aeaa89a75656d3f.jpg","text":"TemporaryFile(/tmp/multipartBody6161045609352662602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182842819,"filename":"image_20042025_20_46_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75bd24840366887b82eeadf7540c39a2.jpg","text":"TemporaryFile(/tmp/multipartBody8530772465246798058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182842819,"filename":"image_20042025_20_47_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/da45a4983334134554d45529931ca423.jpg","text":"TemporaryFile(/tmp/multipartBody4753156827179911415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182842819,"filename":"image_20042025_20_46_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58e4c8fd606d5c6dab773c42bac9e160.jpg","text":"TemporaryFile(/tmp/multipartBody8803496976140628527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182842819,"filename":"image_20042025_20_46_56_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ffefd3206f13e0dc07f2573a158eaec1.jpg","text":"TemporaryFile(/tmp/multipartBody4235378762004392194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182842819,"filename":"image_20042025_20_46_26_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352297856","file1":"1352297805","file0":"1352297755","file4":"1352298106","file5":"1352298176","file3":"1352298044"},"map_files_photo_id_array":[{"photo_id":"1352298176","filename":"file5"},{"photo_id":"1352297856","filename":"file2"},{"photo_id":"1352298106","filename":"file4"},{"photo_id":"1352297805","filename":"file1"},{"photo_id":"1352297755","filename":"file0"},{"photo_id":"1352298044","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352298106":["hashtag1","hashtag2"]},{"1352297856":["hashtag1","hashtag2"]},{"1352298176":["hashtag1","hashtag2"]},{"1352297805":["hashtag1","hashtag2"]},{"1352298044":["hashtag1","hashtag2"]},{"1352297755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352298106, 1352297856, 1352298176, 1352297805, 1352298044, 1352297755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.578245878219604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:00:32.497130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/47/image_20042025_20_47_26_10463.jpg', '/home/pi/Desktop/images/20042025/20/47/image_20042025_20_47_55_9356.jpg', '/home/pi/Desktop/images/20042025/20/47/image_20042025_20_48_06_10368.jpg', '/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_16_10341.jpg', '/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_26_9361.jpg', '/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_36_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/47/image_20042025_20_47_26_10463.jpg
/home/pi/Desktop/images/20042025/20/47/image_20042025_20_47_55_9356.jpg
/home/pi/Desktop/images/20042025/20/47/image_20042025_20_48_06_10368.jpg
/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_16_10341.jpg
/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_26_9361.jpg
/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_36_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352298477","1352298621","1352298546","1352298584","1352298425","1352298514"],"photo_ids_order":["1352298425","1352298477","1352298514","1352298546","1352298584","1352298621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a6b5339769d46ee28f5719574281c85.jpg","text":"TemporaryFile(/tmp/multipartBody5926689979678218270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182892967,"filename":"image_20042025_20_47_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f46f42a734158052bea3e15bf308f04d.jpg","text":"TemporaryFile(/tmp/multipartBody6143591351505022943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182892967,"filename":"image_20042025_20_48_36_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7d90a3e357e90bb4e557df7cc1dbb131.jpg","text":"TemporaryFile(/tmp/multipartBody1317386874052471066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182892967,"filename":"image_20042025_20_48_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4755c391b2cf4a9d2ebb7149a0790e01.jpg","text":"TemporaryFile(/tmp/multipartBody2497082904969008865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182892967,"filename":"image_20042025_20_48_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a555fe8c56f073baff362e2ad0ccf96b.jpg","text":"TemporaryFile(/tmp/multipartBody5507239910656958627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182892967,"filename":"image_20042025_20_47_26_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84e22781fe5cbeb05314666b4f60a018.jpg","text":"TemporaryFile(/tmp/multipartBody1487877400888898649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182892967,"filename":"image_20042025_20_48_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352298514","file1":"1352298477","file0":"1352298425","file4":"1352298584","file5":"1352298621","file3":"1352298546"},"map_files_photo_id_array":[{"photo_id":"1352298621","filename":"file5"},{"photo_id":"1352298514","filename":"file2"},{"photo_id":"1352298584","filename":"file4"},{"photo_id":"1352298477","filename":"file1"},{"photo_id":"1352298425","filename":"file0"},{"photo_id":"1352298546","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352298477":["hashtag1","hashtag2"]},{"1352298621":["hashtag1","hashtag2"]},{"1352298546":["hashtag1","hashtag2"]},{"1352298584":["hashtag1","hashtag2"]},{"1352298425":["hashtag1","hashtag2"]},{"1352298514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352298477, 1352298621, 1352298546, 1352298584, 1352298425, 1352298514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8679575920105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:01:32.602646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_46_10360.jpg', '/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_56_9372.jpg', '/home/pi/Desktop/images/20042025/20/48/image_20042025_20_49_06_10444.jpg', '/home/pi/Desktop/images/20042025/20/49/image_20042025_20_49_16_9351.jpg', '/home/pi/Desktop/images/20042025/20/49/image_20042025_20_49_26_10371.jpg', '/home/pi/Desktop/images/20042025/20/49/image_20042025_20_49_56_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_46_10360.jpg
/home/pi/Desktop/images/20042025/20/48/image_20042025_20_48_56_9372.jpg
/home/pi/Desktop/images/20042025/20/48/image_20042025_20_49_06_10444.jpg
/home/pi/Desktop/images/20042025/20/49/image_20042025_20_49_16_9351.jpg
/home/pi/Desktop/images/20042025/20/49/image_20042025_20_49_26_10371.jpg
/home/pi/Desktop/images/20042025/20/49/image_20042025_20_49_56_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352299005","1352298840","1352298909","1352298980","1352298956","1352299009"],"photo_ids_order":["1352298840","1352298909","1352298956","1352298980","1352299005","1352299009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/890955d8bb55ea46544b558fd34526b6.jpg","text":"TemporaryFile(/tmp/multipartBody4360649198107137021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182953084,"filename":"image_20042025_20_49_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5542b79fda9ad0b37e2e0229121faf85.jpg","text":"TemporaryFile(/tmp/multipartBody2995834421720194056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182953084,"filename":"image_20042025_20_48_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/debd723668433a86f12938de022c1032.jpg","text":"TemporaryFile(/tmp/multipartBody2308763914173474756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182953084,"filename":"image_20042025_20_48_56_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2b7e1214620486ab15c631b8d6fe517.jpg","text":"TemporaryFile(/tmp/multipartBody2737366324836235808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182953084,"filename":"image_20042025_20_49_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e87728eb083592aac37feadfed2c9ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1116330143202035971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182953084,"filename":"image_20042025_20_49_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4c50a53268c335c06a232d34ed11b0d0.jpg","text":"TemporaryFile(/tmp/multipartBody5952420981456536169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745182953084,"filename":"image_20042025_20_49_56_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352298956","file1":"1352298909","file0":"1352298840","file4":"1352299005","file5":"1352299009","file3":"1352298980"},"map_files_photo_id_array":[{"photo_id":"1352299009","filename":"file5"},{"photo_id":"1352298956","filename":"file2"},{"photo_id":"1352299005","filename":"file4"},{"photo_id":"1352298909","filename":"file1"},{"photo_id":"1352298840","filename":"file0"},{"photo_id":"1352298980","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352299005":["hashtag1","hashtag2"]},{"1352298840":["hashtag1","hashtag2"]},{"1352298909":["hashtag1","hashtag2"]},{"1352298980":["hashtag1","hashtag2"]},{"1352298956":["hashtag1","hashtag2"]},{"1352299009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352299005, 1352298840, 1352298909, 1352298980, 1352298956, 1352299009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33104085922241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:02:32.908247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/50/image_20042025_20_50_36_10356.jpg', '/home/pi/Desktop/images/20042025/20/50/image_20042025_20_50_56_9360.jpg', '/home/pi/Desktop/images/20042025/20/50/image_20042025_20_51_06_10516.jpg', '/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_16_9448.jpg', '/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_26_10492.jpg', '/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/50/image_20042025_20_50_36_10356.jpg
/home/pi/Desktop/images/20042025/20/50/image_20042025_20_50_56_9360.jpg
/home/pi/Desktop/images/20042025/20/50/image_20042025_20_51_06_10516.jpg
/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_16_9448.jpg
/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_26_10492.jpg
/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_36_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352299221","1352299164","1352299305","1352299193","1352299247","1352299275"],"photo_ids_order":["1352299164","1352299193","1352299221","1352299247","1352299275","1352299305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55c98f87291995c658b25246d3ca3e86.jpg","text":"TemporaryFile(/tmp/multipartBody7060513871976294793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183013504,"filename":"image_20042025_20_51_06_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79bb35b8c649ec14aabca6e98839febf.jpg","text":"TemporaryFile(/tmp/multipartBody8495094999877659182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183013504,"filename":"image_20042025_20_50_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c7c482df12fe646aa5c9965d995488de.jpg","text":"TemporaryFile(/tmp/multipartBody5695442702022180508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183013504,"filename":"image_20042025_20_51_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d23c8e0c86059a10f15682c24cdff4fc.jpg","text":"TemporaryFile(/tmp/multipartBody243904854482172104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183013504,"filename":"image_20042025_20_50_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/019ffa1a7ca852d00b4c1ec82bbccf20.jpg","text":"TemporaryFile(/tmp/multipartBody5837402195880226149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183013504,"filename":"image_20042025_20_51_16_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf97abf731458dde3b515543fce3dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5277660817584997986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183013504,"filename":"image_20042025_20_51_26_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352299221","file1":"1352299193","file0":"1352299164","file4":"1352299275","file5":"1352299305","file3":"1352299247"},"map_files_photo_id_array":[{"photo_id":"1352299305","filename":"file5"},{"photo_id":"1352299221","filename":"file2"},{"photo_id":"1352299275","filename":"file4"},{"photo_id":"1352299193","filename":"file1"},{"photo_id":"1352299164","filename":"file0"},{"photo_id":"1352299247","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352299221":["hashtag1","hashtag2"]},{"1352299164":["hashtag1","hashtag2"]},{"1352299305":["hashtag1","hashtag2"]},{"1352299193":["hashtag1","hashtag2"]},{"1352299247":["hashtag1","hashtag2"]},{"1352299275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352299221, 1352299164, 1352299305, 1352299193, 1352299247, 1352299275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20393347740173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:03:33.061822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_46_9350.jpg', '/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_56_10396.jpg', '/home/pi/Desktop/images/20042025/20/51/image_20042025_20_52_06_9364.jpg', '/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_16_10457.jpg', '/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_26_10406.jpg', '/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_36_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_46_9350.jpg
/home/pi/Desktop/images/20042025/20/51/image_20042025_20_51_56_10396.jpg
/home/pi/Desktop/images/20042025/20/51/image_20042025_20_52_06_9364.jpg
/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_16_10457.jpg
/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_26_10406.jpg
/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_36_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300315","1352300345","1352299640","1352300370","1352300238","1352299992"],"photo_ids_order":["1352299640","1352299992","1352300238","1352300315","1352300345","1352300370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/065493cc4a540e8eeb5f617cbd3a26cf.jpg","text":"TemporaryFile(/tmp/multipartBody2173330207904339500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183073530,"filename":"image_20042025_20_52_16_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e6c8e1fab99a02506cc8d179a16b4baa.jpg","text":"TemporaryFile(/tmp/multipartBody690658597379837220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183073530,"filename":"image_20042025_20_52_26_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ce620c90085ce2ff2a1e54e285a4b26.jpg","text":"TemporaryFile(/tmp/multipartBody7185247876643123954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183073530,"filename":"image_20042025_20_51_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3557587ab7df8c0b6e93ac2a6cd2e46d.jpg","text":"TemporaryFile(/tmp/multipartBody6978932169786844348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183073530,"filename":"image_20042025_20_52_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5d93ee2583a8552f12a4e286f6b064e.jpg","text":"TemporaryFile(/tmp/multipartBody7909432740198400032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183073530,"filename":"image_20042025_20_52_06_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/08797283e3264e3406fa53cb1f7afef4.jpg","text":"TemporaryFile(/tmp/multipartBody2857510827114880715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183073530,"filename":"image_20042025_20_51_56_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300238","file1":"1352299992","file0":"1352299640","file4":"1352300345","file5":"1352300370","file3":"1352300315"},"map_files_photo_id_array":[{"photo_id":"1352300370","filename":"file5"},{"photo_id":"1352300238","filename":"file2"},{"photo_id":"1352300345","filename":"file4"},{"photo_id":"1352299992","filename":"file1"},{"photo_id":"1352299640","filename":"file0"},{"photo_id":"1352300315","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352300315":["hashtag1","hashtag2"]},{"1352300345":["hashtag1","hashtag2"]},{"1352299640":["hashtag1","hashtag2"]},{"1352300370":["hashtag1","hashtag2"]},{"1352300238":["hashtag1","hashtag2"]},{"1352299992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352300315, 1352300345, 1352299640, 1352300370, 1352300238, 1352299992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14258575439453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:04:32.366725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_46_10366.jpg', '/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_56_9413.jpg', '/home/pi/Desktop/images/20042025/20/52/image_20042025_20_53_06_10345.jpg', '/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_16_10407.jpg', '/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_26_9377.jpg', '/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_36_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_46_10366.jpg
/home/pi/Desktop/images/20042025/20/52/image_20042025_20_52_56_9413.jpg
/home/pi/Desktop/images/20042025/20/52/image_20042025_20_53_06_10345.jpg
/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_16_10407.jpg
/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_26_9377.jpg
/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_36_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301874","1352301235","1352301849","1352301903","1352301818","1352301527"],"photo_ids_order":["1352301235","1352301527","1352301818","1352301849","1352301874","1352301903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e01a085981c25ada6fdb4980c181e80.jpg","text":"TemporaryFile(/tmp/multipartBody5719490699077467078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183132834,"filename":"image_20042025_20_53_26_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0db1ca21f148d2709b603c560591d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6703405056478251230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183132834,"filename":"image_20042025_20_52_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9f2f2bef2d457c644769c5d1d51ec54d.jpg","text":"TemporaryFile(/tmp/multipartBody5806911542613162399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183132834,"filename":"image_20042025_20_53_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/572b3e874da7aa51a45f7222a31f897c.jpg","text":"TemporaryFile(/tmp/multipartBody7465287044140838296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183132834,"filename":"image_20042025_20_53_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd6847655111b91e1de917160300c972.jpg","text":"TemporaryFile(/tmp/multipartBody4449026629546921015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183132834,"filename":"image_20042025_20_53_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4cb4e87c2b5fb0f181e6897c5dd74843.jpg","text":"TemporaryFile(/tmp/multipartBody8689198656718430384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183132834,"filename":"image_20042025_20_52_56_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301818","file1":"1352301527","file0":"1352301235","file4":"1352301874","file5":"1352301903","file3":"1352301849"},"map_files_photo_id_array":[{"photo_id":"1352301903","filename":"file5"},{"photo_id":"1352301818","filename":"file2"},{"photo_id":"1352301874","filename":"file4"},{"photo_id":"1352301527","filename":"file1"},{"photo_id":"1352301235","filename":"file0"},{"photo_id":"1352301849","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352301874":["hashtag1","hashtag2"]},{"1352301235":["hashtag1","hashtag2"]},{"1352301849":["hashtag1","hashtag2"]},{"1352301903":["hashtag1","hashtag2"]},{"1352301818":["hashtag1","hashtag2"]},{"1352301527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352301874, 1352301235, 1352301849, 1352301903, 1352301818, 1352301527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.50285243988037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:05:32.549377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_46_10364.jpg', '/home/pi/Desktop/images/20042025/20/53/image_20042025_20_54_06_10356.jpg', '/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_26_10435.jpg', '/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_36_10371.jpg', '/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_46_9381.jpg', '/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_56_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/53/image_20042025_20_53_46_10364.jpg
/home/pi/Desktop/images/20042025/20/53/image_20042025_20_54_06_10356.jpg
/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_26_10435.jpg
/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_36_10371.jpg
/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_46_9381.jpg
/home/pi/Desktop/images/20042025/20/54/image_20042025_20_54_56_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302651","1352302719","1352302512","1352302745","1352302786","1352302585"],"photo_ids_order":["1352302512","1352302585","1352302651","1352302719","1352302745","1352302786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1582ef967bec72fba6331f8f37c53fe.jpg","text":"TemporaryFile(/tmp/multipartBody4460538209036556170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183193037,"filename":"image_20042025_20_54_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7c0a9f9da4620f05ab0c03aca9b21855.jpg","text":"TemporaryFile(/tmp/multipartBody39863529308094776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183193037,"filename":"image_20042025_20_54_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a0c5ef7294f0d17a23144d95cdbaa658.jpg","text":"TemporaryFile(/tmp/multipartBody7335906054182826629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183193037,"filename":"image_20042025_20_53_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc24d57c0342f20cd12e6f2a02181243.jpg","text":"TemporaryFile(/tmp/multipartBody5777127152129462895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183193037,"filename":"image_20042025_20_54_46_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/97077edf5dda57df0b6501bf187937a4.jpg","text":"TemporaryFile(/tmp/multipartBody6396322986446556123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183193037,"filename":"image_20042025_20_54_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/22c6412d62f7be4e13751e0529e61503.jpg","text":"TemporaryFile(/tmp/multipartBody4085600415231138587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183193037,"filename":"image_20042025_20_54_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302651","file1":"1352302585","file0":"1352302512","file4":"1352302745","file5":"1352302786","file3":"1352302719"},"map_files_photo_id_array":[{"photo_id":"1352302786","filename":"file5"},{"photo_id":"1352302651","filename":"file2"},{"photo_id":"1352302745","filename":"file4"},{"photo_id":"1352302585","filename":"file1"},{"photo_id":"1352302512","filename":"file0"},{"photo_id":"1352302719","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352302651":["hashtag1","hashtag2"]},{"1352302719":["hashtag1","hashtag2"]},{"1352302512":["hashtag1","hashtag2"]},{"1352302745":["hashtag1","hashtag2"]},{"1352302786":["hashtag1","hashtag2"]},{"1352302585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352302651, 1352302719, 1352302512, 1352302745, 1352302786, 1352302585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08121705055237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:06:32.689751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/54/image_20042025_20_55_06_9378.jpg', '/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_16_10471.jpg', '/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_26_9423.jpg', '/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_36_10377.jpg', '/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_46_10421.jpg', '/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_56_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/54/image_20042025_20_55_06_9378.jpg
/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_16_10471.jpg
/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_26_9423.jpg
/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_36_10377.jpg
/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_46_10421.jpg
/home/pi/Desktop/images/20042025/20/55/image_20042025_20_55_56_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352304048","1352303688","1352303798","1352304074","1352304100","1352303914"],"photo_ids_order":["1352303688","1352303798","1352303914","1352304048","1352304074","1352304100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ddaea1024e57664a228a796aec3f83e7.jpg","text":"TemporaryFile(/tmp/multipartBody7335973385665499889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183253160,"filename":"image_20042025_20_55_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/822d70d8f677882f42351fc51b3b704d.jpg","text":"TemporaryFile(/tmp/multipartBody186070099105534865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183253160,"filename":"image_20042025_20_55_06_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/19c2f82eb65f9295e29e2864db61491a.jpg","text":"TemporaryFile(/tmp/multipartBody5845385367424837967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183253160,"filename":"image_20042025_20_55_16_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36b1ad05613f560a5a79ef4e8b157303.jpg","text":"TemporaryFile(/tmp/multipartBody266313621996100392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183253160,"filename":"image_20042025_20_55_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/987f164c9ebb6e84f615242434fc4bcd.jpg","text":"TemporaryFile(/tmp/multipartBody7624716816264247432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183253160,"filename":"image_20042025_20_55_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23b68f05f7ac44562bea6a0c5918f2e1.jpg","text":"TemporaryFile(/tmp/multipartBody2404846265951314051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183253160,"filename":"image_20042025_20_55_26_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352303914","file1":"1352303798","file0":"1352303688","file4":"1352304074","file5":"1352304100","file3":"1352304048"},"map_files_photo_id_array":[{"photo_id":"1352304100","filename":"file5"},{"photo_id":"1352303914","filename":"file2"},{"photo_id":"1352304074","filename":"file4"},{"photo_id":"1352303798","filename":"file1"},{"photo_id":"1352303688","filename":"file0"},{"photo_id":"1352304048","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352304048":["hashtag1","hashtag2"]},{"1352303688":["hashtag1","hashtag2"]},{"1352303798":["hashtag1","hashtag2"]},{"1352304074":["hashtag1","hashtag2"]},{"1352304100":["hashtag1","hashtag2"]},{"1352303914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352304048, 1352303688, 1352303798, 1352304074, 1352304100, 1352303914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.862062215805054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:07:32.892812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/55/image_20042025_20_56_06_10521.jpg', '/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_16_9359.jpg', '/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_26_10436.jpg', '/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_36_10372.jpg', '/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_46_9353.jpg', '/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_56_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/55/image_20042025_20_56_06_10521.jpg
/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_16_9359.jpg
/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_26_10436.jpg
/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_36_10372.jpg
/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_46_9353.jpg
/home/pi/Desktop/images/20042025/20/56/image_20042025_20_56_56_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352304732","1352304609","1352304731","1352304547","1352304693","1352304690"],"photo_ids_order":["1352304547","1352304609","1352304690","1352304693","1352304731","1352304732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0454c2f0be4323434e058fc2e2518efb.jpg","text":"TemporaryFile(/tmp/multipartBody9047361057716015318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183313354,"filename":"image_20042025_20_56_56_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/806206d649a6f13ff8a0695c2c9f4a77.jpg","text":"TemporaryFile(/tmp/multipartBody5833539750010631216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183313354,"filename":"image_20042025_20_56_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ae5d53234c3d25027bbb34f6c4536155.jpg","text":"TemporaryFile(/tmp/multipartBody3598360566663877149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183313354,"filename":"image_20042025_20_56_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/10477ee28baab8340f37b713957f19bc.jpg","text":"TemporaryFile(/tmp/multipartBody3184640396110417895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183313354,"filename":"image_20042025_20_56_06_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6d8d0d451a19bfa151a3475bec4c0e97.jpg","text":"TemporaryFile(/tmp/multipartBody5449879770839926470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183313354,"filename":"image_20042025_20_56_36_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36a54cae3a9267a07359673e44180a10.jpg","text":"TemporaryFile(/tmp/multipartBody1983195362383707514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183313354,"filename":"image_20042025_20_56_26_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352304690","file1":"1352304609","file0":"1352304547","file4":"1352304731","file5":"1352304732","file3":"1352304693"},"map_files_photo_id_array":[{"photo_id":"1352304732","filename":"file5"},{"photo_id":"1352304690","filename":"file2"},{"photo_id":"1352304731","filename":"file4"},{"photo_id":"1352304609","filename":"file1"},{"photo_id":"1352304547","filename":"file0"},{"photo_id":"1352304693","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352304732":["hashtag1","hashtag2"]},{"1352304609":["hashtag1","hashtag2"]},{"1352304731":["hashtag1","hashtag2"]},{"1352304547":["hashtag1","hashtag2"]},{"1352304693":["hashtag1","hashtag2"]},{"1352304690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352304732, 1352304609, 1352304731, 1352304547, 1352304693, 1352304690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78516602516174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:08:32.169981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/56/image_20042025_20_57_05_9358.jpg', '/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_16_10350.jpg', '/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_26_10381.jpg', '/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_46_10430.jpg', '/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_56_10390.jpg', '/home/pi/Desktop/images/20042025/20/57/image_20042025_20_58_06_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/56/image_20042025_20_57_05_9358.jpg
/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_16_10350.jpg
/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_26_10381.jpg
/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_46_10430.jpg
/home/pi/Desktop/images/20042025/20/57/image_20042025_20_57_56_10390.jpg
/home/pi/Desktop/images/20042025/20/57/image_20042025_20_58_06_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352304801","1352304773","1352304752","1352304757","1352304760","1352304754"],"photo_ids_order":["1352304752","1352304754","1352304757","1352304760","1352304773","1352304801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/befa8ca905210cec1dabb9f87faf3e75.jpg","text":"TemporaryFile(/tmp/multipartBody463659347223785126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183372717,"filename":"image_20042025_20_58_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e4536a4ae8a6a8a3495476127987e53a.jpg","text":"TemporaryFile(/tmp/multipartBody3773605258100721607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183372717,"filename":"image_20042025_20_57_56_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8ae4d6774c481db7aad8d120a7950bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4946309616006993985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183372717,"filename":"image_20042025_20_57_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ef871d2c85d40694cd1d9bddc791eda.jpg","text":"TemporaryFile(/tmp/multipartBody2708786421553448700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183372717,"filename":"image_20042025_20_57_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/23d2eee3a298151a9cc65f120ec800f6.jpg","text":"TemporaryFile(/tmp/multipartBody8493632826044995074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183372717,"filename":"image_20042025_20_57_46_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7754f7e10103f4e60b2ec214c40a36b.jpg","text":"TemporaryFile(/tmp/multipartBody2335376016329886576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183372717,"filename":"image_20042025_20_57_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352304757","file1":"1352304754","file0":"1352304752","file4":"1352304773","file5":"1352304801","file3":"1352304760"},"map_files_photo_id_array":[{"photo_id":"1352304801","filename":"file5"},{"photo_id":"1352304757","filename":"file2"},{"photo_id":"1352304773","filename":"file4"},{"photo_id":"1352304754","filename":"file1"},{"photo_id":"1352304752","filename":"file0"},{"photo_id":"1352304760","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352304801":["hashtag1","hashtag2"]},{"1352304773":["hashtag1","hashtag2"]},{"1352304752":["hashtag1","hashtag2"]},{"1352304757":["hashtag1","hashtag2"]},{"1352304760":["hashtag1","hashtag2"]},{"1352304754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352304801, 1352304773, 1352304752, 1352304757, 1352304760, 1352304754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.011582851409912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:09:32.381378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/20/58/image_20042025_20_58_16_10350.jpg', '/home/pi/Desktop/images/20042025/20/58/image_20042025_20_58_25_9386.jpg', '/home/pi/Desktop/images/20042025/20/58/image_20042025_20_58_36_10370.jpg', '/home/pi/Desktop/images/20042025/20/59/image_20042025_20_59_16_10363.jpg', '/home/pi/Desktop/images/20042025/20/59/image_20042025_20_59_26_9361.jpg', '/home/pi/Desktop/images/20042025/20/59/image_20042025_20_59_36_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/20/58/image_20042025_20_58_16_10350.jpg
/home/pi/Desktop/images/20042025/20/58/image_20042025_20_58_25_9386.jpg
/home/pi/Desktop/images/20042025/20/58/image_20042025_20_58_36_10370.jpg
/home/pi/Desktop/images/20042025/20/59/image_20042025_20_59_16_10363.jpg
/home/pi/Desktop/images/20042025/20/59/image_20042025_20_59_26_9361.jpg
/home/pi/Desktop/images/20042025/20/59/image_20042025_20_59_36_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305084","1352305012","1352305062","1352305041","1352305035","1352305038"],"photo_ids_order":["1352305012","1352305035","1352305038","1352305041","1352305062","1352305084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c912c9de166d3cd8608f180d55d23c98.jpg","text":"TemporaryFile(/tmp/multipartBody9018102594790072569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183432848,"filename":"image_20042025_20_59_36_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fb88318feb097c62aafe63bfd49eddf8.jpg","text":"TemporaryFile(/tmp/multipartBody3618720699253652008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183432848,"filename":"image_20042025_20_58_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b3eeff14ba49eb2156344b743d91ffa3.jpg","text":"TemporaryFile(/tmp/multipartBody5867149727017841686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183432848,"filename":"image_20042025_20_59_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84e98d909adfb21c29991d9c85000de8.jpg","text":"TemporaryFile(/tmp/multipartBody2442700487934954757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183432848,"filename":"image_20042025_20_59_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f85ef692df7946498b374cb18a8a960.jpg","text":"TemporaryFile(/tmp/multipartBody5996162335386969450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183432848,"filename":"image_20042025_20_58_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0fe338666dcc3c12aa4469aafe2a0795.jpg","text":"TemporaryFile(/tmp/multipartBody5319325355782005212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183432848,"filename":"image_20042025_20_58_36_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305038","file1":"1352305035","file0":"1352305012","file4":"1352305062","file5":"1352305084","file3":"1352305041"},"map_files_photo_id_array":[{"photo_id":"1352305084","filename":"file5"},{"photo_id":"1352305038","filename":"file2"},{"photo_id":"1352305062","filename":"file4"},{"photo_id":"1352305035","filename":"file1"},{"photo_id":"1352305012","filename":"file0"},{"photo_id":"1352305041","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305084":["hashtag1","hashtag2"]},{"1352305012":["hashtag1","hashtag2"]},{"1352305062":["hashtag1","hashtag2"]},{"1352305041":["hashtag1","hashtag2"]},{"1352305035":["hashtag1","hashtag2"]},{"1352305038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305084, 1352305012, 1352305062, 1352305041, 1352305035, 1352305038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.120282649993896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:10:32.580487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_14_10079.jpg', '/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_35_10362.jpg', '/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_44_9351.jpg', '/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_54_10376.jpg', '/home/pi/Desktop/images/20042025/21/01/image_20042025_21_02_05_10358.jpg', '/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_14_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_14_10079.jpg
/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_35_10362.jpg
/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_44_9351.jpg
/home/pi/Desktop/images/20042025/21/01/image_20042025_21_01_54_10376.jpg
/home/pi/Desktop/images/20042025/21/01/image_20042025_21_02_05_10358.jpg
/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_14_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305110","1352305112","1352305106","1352305115","1352305108","1352305116"],"photo_ids_order":["1352305106","1352305108","1352305110","1352305112","1352305115","1352305116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d22d6e4ff1d5f97bde7af7c8e48e0c92.jpg","text":"TemporaryFile(/tmp/multipartBody8689263748547381140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183493043,"filename":"image_20042025_21_01_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f78fe9f441ec842fb664d0f7ca32986.jpg","text":"TemporaryFile(/tmp/multipartBody797074088382195230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183493043,"filename":"image_20042025_21_01_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b973a2523e38b62869be0a41a2de9cac.jpg","text":"TemporaryFile(/tmp/multipartBody3516021216335532202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183493043,"filename":"image_20042025_21_01_14_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/943bba1fac6a155d0df7cc977b9055a9.jpg","text":"TemporaryFile(/tmp/multipartBody3898860184562858555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183493043,"filename":"image_20042025_21_02_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfcad13cb9f73dec0ad59f70df31218f.jpg","text":"TemporaryFile(/tmp/multipartBody6224402417746474573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183493043,"filename":"image_20042025_21_01_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a8ce9cf9309ea9588ce5ec8b7312ed7.jpg","text":"TemporaryFile(/tmp/multipartBody409805272103001820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183493043,"filename":"image_20042025_21_02_14_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305110","file1":"1352305108","file0":"1352305106","file4":"1352305115","file5":"1352305116","file3":"1352305112"},"map_files_photo_id_array":[{"photo_id":"1352305116","filename":"file5"},{"photo_id":"1352305110","filename":"file2"},{"photo_id":"1352305115","filename":"file4"},{"photo_id":"1352305108","filename":"file1"},{"photo_id":"1352305106","filename":"file0"},{"photo_id":"1352305112","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305110":["hashtag1","hashtag2"]},{"1352305112":["hashtag1","hashtag2"]},{"1352305106":["hashtag1","hashtag2"]},{"1352305115":["hashtag1","hashtag2"]},{"1352305108":["hashtag1","hashtag2"]},{"1352305116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305110, 1352305112, 1352305106, 1352305115, 1352305108, 1352305116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83372640609741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:11:32.925365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_25_10369.jpg', '/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_34_9423.jpg', '/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_44_10396.jpg', '/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_55_10371.jpg', '/home/pi/Desktop/images/20042025/21/02/image_20042025_21_03_04_9435.jpg', '/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_15_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_25_10369.jpg
/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_34_9423.jpg
/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_44_10396.jpg
/home/pi/Desktop/images/20042025/21/02/image_20042025_21_02_55_10371.jpg
/home/pi/Desktop/images/20042025/21/02/image_20042025_21_03_04_9435.jpg
/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_15_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305125","1352305136","1352305138","1352305131","1352305134","1352305128"],"photo_ids_order":["1352305125","1352305128","1352305131","1352305134","1352305136","1352305138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7515dc538673c0f2c36b3351791708ef.jpg","text":"TemporaryFile(/tmp/multipartBody6203819418958172303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183553411,"filename":"image_20042025_21_02_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd8356a20ad7d67ec396fb308df9bf11.jpg","text":"TemporaryFile(/tmp/multipartBody4135503028443041547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183553411,"filename":"image_20042025_21_03_04_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8bf113ea20beb12a22425d1b6ba25173.jpg","text":"TemporaryFile(/tmp/multipartBody3788639057456106293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183553411,"filename":"image_20042025_21_03_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/26c064975fdb37ef3d83a44ba49a18a1.jpg","text":"TemporaryFile(/tmp/multipartBody1154359702148069241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183553411,"filename":"image_20042025_21_02_44_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/542fba22af3e46961fcd52c53c90bf15.jpg","text":"TemporaryFile(/tmp/multipartBody8830555369828544759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183553411,"filename":"image_20042025_21_02_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f7d1e263ad51aa941819dabc8ec958f.jpg","text":"TemporaryFile(/tmp/multipartBody8041803023743123931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183553411,"filename":"image_20042025_21_02_34_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305131","file1":"1352305128","file0":"1352305125","file4":"1352305136","file5":"1352305138","file3":"1352305134"},"map_files_photo_id_array":[{"photo_id":"1352305138","filename":"file5"},{"photo_id":"1352305131","filename":"file2"},{"photo_id":"1352305136","filename":"file4"},{"photo_id":"1352305128","filename":"file1"},{"photo_id":"1352305125","filename":"file0"},{"photo_id":"1352305134","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305125":["hashtag1","hashtag2"]},{"1352305136":["hashtag1","hashtag2"]},{"1352305138":["hashtag1","hashtag2"]},{"1352305131":["hashtag1","hashtag2"]},{"1352305134":["hashtag1","hashtag2"]},{"1352305128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305125, 1352305136, 1352305138, 1352305131, 1352305134, 1352305128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74335265159607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:12:32.223929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_24_9414.jpg', '/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_34_10479.jpg', '/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_45_10278.jpg', '/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_54_9370.jpg', '/home/pi/Desktop/images/20042025/21/03/image_20042025_21_04_04_10386.jpg', '/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_15_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_24_9414.jpg
/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_34_10479.jpg
/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_45_10278.jpg
/home/pi/Desktop/images/20042025/21/03/image_20042025_21_03_54_9370.jpg
/home/pi/Desktop/images/20042025/21/03/image_20042025_21_04_04_10386.jpg
/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_15_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305151","1352305148","1352305153","1352305156","1352305146","1352305155"],"photo_ids_order":["1352305146","1352305148","1352305151","1352305153","1352305155","1352305156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a18b37a3b92242c56e9c0c5559f21bc2.jpg","text":"TemporaryFile(/tmp/multipartBody7428538537649725821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183612688,"filename":"image_20042025_21_03_45_10278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/55df1ca9dd55fcf0e94a81a418dc0614.jpg","text":"TemporaryFile(/tmp/multipartBody2052319665436948349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183612688,"filename":"image_20042025_21_03_34_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cfab637f0a036b2f56874ded8036e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody8963260325339399182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183612688,"filename":"image_20042025_21_03_54_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4758b731323a32e822d065e10d37cebb.jpg","text":"TemporaryFile(/tmp/multipartBody5908482900636838304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183612688,"filename":"image_20042025_21_04_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3ec13036fc9885ffb3908512f77b3bb5.jpg","text":"TemporaryFile(/tmp/multipartBody4922456838020921867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183612688,"filename":"image_20042025_21_03_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b7e5c01dffec21dd32aca922b6efb7d3.jpg","text":"TemporaryFile(/tmp/multipartBody6902698711852265493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183612688,"filename":"image_20042025_21_04_04_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305151","file1":"1352305148","file0":"1352305146","file4":"1352305155","file5":"1352305156","file3":"1352305153"},"map_files_photo_id_array":[{"photo_id":"1352305156","filename":"file5"},{"photo_id":"1352305151","filename":"file2"},{"photo_id":"1352305155","filename":"file4"},{"photo_id":"1352305148","filename":"file1"},{"photo_id":"1352305146","filename":"file0"},{"photo_id":"1352305153","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305151":["hashtag1","hashtag2"]},{"1352305148":["hashtag1","hashtag2"]},{"1352305153":["hashtag1","hashtag2"]},{"1352305156":["hashtag1","hashtag2"]},{"1352305146":["hashtag1","hashtag2"]},{"1352305155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305151, 1352305148, 1352305153, 1352305156, 1352305146, 1352305155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.666612148284912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:13:32.305180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_24_9440.jpg', '/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_35_10380.jpg', '/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_44_9408.jpg', '/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_54_10368.jpg', '/home/pi/Desktop/images/20042025/21/04/image_20042025_21_05_05_10365.jpg', '/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_14_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_24_9440.jpg
/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_35_10380.jpg
/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_44_9408.jpg
/home/pi/Desktop/images/20042025/21/04/image_20042025_21_04_54_10368.jpg
/home/pi/Desktop/images/20042025/21/04/image_20042025_21_05_05_10365.jpg
/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_14_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305175","1352305171","1352305165","1352305168","1352305177","1352305162"],"photo_ids_order":["1352305162","1352305165","1352305168","1352305171","1352305175","1352305177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/497529c8a927a95325592536049fad7d.jpg","text":"TemporaryFile(/tmp/multipartBody5508423205569469700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183672780,"filename":"image_20042025_21_05_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0e8086a3a2930b8ea8cf2af1fefebca4.jpg","text":"TemporaryFile(/tmp/multipartBody6098896031322212328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183672780,"filename":"image_20042025_21_04_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c1f9f48cf1a55b9aa4b2ca3bac749e21.jpg","text":"TemporaryFile(/tmp/multipartBody7039171161961752684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183672780,"filename":"image_20042025_21_04_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34ec310dd9c36d6ac3b35e5266c13786.jpg","text":"TemporaryFile(/tmp/multipartBody5330024558630821385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183672780,"filename":"image_20042025_21_04_44_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/83edc9137643cdbf7ec24e393de1ae8d.jpg","text":"TemporaryFile(/tmp/multipartBody5874543953639917111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183672780,"filename":"image_20042025_21_05_14_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ed97024f53c0f1291171cf5cc503bce.jpg","text":"TemporaryFile(/tmp/multipartBody5185906826484303506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183672780,"filename":"image_20042025_21_04_24_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305168","file1":"1352305165","file0":"1352305162","file4":"1352305175","file5":"1352305177","file3":"1352305171"},"map_files_photo_id_array":[{"photo_id":"1352305177","filename":"file5"},{"photo_id":"1352305168","filename":"file2"},{"photo_id":"1352305175","filename":"file4"},{"photo_id":"1352305165","filename":"file1"},{"photo_id":"1352305162","filename":"file0"},{"photo_id":"1352305171","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305175":["hashtag1","hashtag2"]},{"1352305171":["hashtag1","hashtag2"]},{"1352305165":["hashtag1","hashtag2"]},{"1352305168":["hashtag1","hashtag2"]},{"1352305177":["hashtag1","hashtag2"]},{"1352305162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305175, 1352305171, 1352305165, 1352305168, 1352305177, 1352305162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.052658557891846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:14:32.529809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_25_10380.jpg', '/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_34_9465.jpg', '/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_44_10384.jpg', '/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_55_10372.jpg', '/home/pi/Desktop/images/20042025/21/05/image_20042025_21_06_04_9434.jpg', '/home/pi/Desktop/images/20042025/21/07/image_20042025_21_07_14_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_25_10380.jpg
/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_34_9465.jpg
/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_44_10384.jpg
/home/pi/Desktop/images/20042025/21/05/image_20042025_21_05_55_10372.jpg
/home/pi/Desktop/images/20042025/21/05/image_20042025_21_06_04_9434.jpg
/home/pi/Desktop/images/20042025/21/07/image_20042025_21_07_14_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305193","1352305192","1352305195","1352305201","1352305197","1352305199"],"photo_ids_order":["1352305192","1352305193","1352305195","1352305197","1352305199","1352305201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1878f2726c38b26f3a318d196238fc3.jpg","text":"TemporaryFile(/tmp/multipartBody6093011068937681256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183732996,"filename":"image_20042025_21_05_34_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/53200d43e41a2c0b07d620a48bc7b51e.jpg","text":"TemporaryFile(/tmp/multipartBody3551075639925194220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183732996,"filename":"image_20042025_21_05_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/74cd1f45891a144afaca579171adb616.jpg","text":"TemporaryFile(/tmp/multipartBody8806907667539609191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183732996,"filename":"image_20042025_21_05_44_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de35c446e72ebe6a7bc2255cf1d489d4.jpg","text":"TemporaryFile(/tmp/multipartBody5730023795103373153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183732996,"filename":"image_20042025_21_07_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e67d31d864b17e2fe80f18471577ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8993885807380801033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183732996,"filename":"image_20042025_21_05_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4bc1d31f29a99159ea462eef91636c65.jpg","text":"TemporaryFile(/tmp/multipartBody7217028335597658871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183732996,"filename":"image_20042025_21_06_04_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305195","file1":"1352305193","file0":"1352305192","file4":"1352305199","file5":"1352305201","file3":"1352305197"},"map_files_photo_id_array":[{"photo_id":"1352305201","filename":"file5"},{"photo_id":"1352305195","filename":"file2"},{"photo_id":"1352305199","filename":"file4"},{"photo_id":"1352305193","filename":"file1"},{"photo_id":"1352305192","filename":"file0"},{"photo_id":"1352305197","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305193":["hashtag1","hashtag2"]},{"1352305192":["hashtag1","hashtag2"]},{"1352305195":["hashtag1","hashtag2"]},{"1352305201":["hashtag1","hashtag2"]},{"1352305197":["hashtag1","hashtag2"]},{"1352305199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305193, 1352305192, 1352305195, 1352305201, 1352305197, 1352305199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.312846899032593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:15:32.679850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/07/image_20042025_21_07_25_10490.jpg', '/home/pi/Desktop/images/20042025/21/07/image_20042025_21_07_44_10483.jpg', '/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_24_9468.jpg', '/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_34_10457.jpg', '/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_45_10368.jpg', '/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_54_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/07/image_20042025_21_07_25_10490.jpg
/home/pi/Desktop/images/20042025/21/07/image_20042025_21_07_44_10483.jpg
/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_24_9468.jpg
/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_34_10457.jpg
/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_45_10368.jpg
/home/pi/Desktop/images/20042025/21/08/image_20042025_21_08_54_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305211","1352305214","1352305216","1352305213","1352305215","1352305209"],"photo_ids_order":["1352305209","1352305211","1352305213","1352305214","1352305215","1352305216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5732b6de8b6bc61aea0b656ca03d13e.jpg","text":"TemporaryFile(/tmp/multipartBody889162684450428581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183793144,"filename":"image_20042025_21_07_44_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/42b16dbc2652ebc570fcd2a8aaae4680.jpg","text":"TemporaryFile(/tmp/multipartBody8689618573250119019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183793144,"filename":"image_20042025_21_08_34_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be5b691b54feadb613556892925aaf61.jpg","text":"TemporaryFile(/tmp/multipartBody648995203801454775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183793144,"filename":"image_20042025_21_08_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/990cc502a64ec3e4be9fa1b4c1534f35.jpg","text":"TemporaryFile(/tmp/multipartBody4078048025766002758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183793144,"filename":"image_20042025_21_08_24_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70b16984af57ac3581a27a3d9855a8a2.jpg","text":"TemporaryFile(/tmp/multipartBody1846474271424184496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183793144,"filename":"image_20042025_21_08_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6fa3669b6455fed308ac4a8f17e18599.jpg","text":"TemporaryFile(/tmp/multipartBody2862108942944316086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183793144,"filename":"image_20042025_21_07_25_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305213","file1":"1352305211","file0":"1352305209","file4":"1352305215","file5":"1352305216","file3":"1352305214"},"map_files_photo_id_array":[{"photo_id":"1352305216","filename":"file5"},{"photo_id":"1352305213","filename":"file2"},{"photo_id":"1352305215","filename":"file4"},{"photo_id":"1352305211","filename":"file1"},{"photo_id":"1352305209","filename":"file0"},{"photo_id":"1352305214","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305211":["hashtag1","hashtag2"]},{"1352305214":["hashtag1","hashtag2"]},{"1352305216":["hashtag1","hashtag2"]},{"1352305213":["hashtag1","hashtag2"]},{"1352305215":["hashtag1","hashtag2"]},{"1352305209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305211, 1352305214, 1352305216, 1352305213, 1352305215, 1352305209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.50121831893921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:16:32.897277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/08/image_20042025_21_09_04_10360.jpg', '/home/pi/Desktop/images/20042025/21/09/image_20042025_21_09_15_10346.jpg', '/home/pi/Desktop/images/20042025/21/09/image_20042025_21_09_24_9450.jpg', '/home/pi/Desktop/images/20042025/21/09/image_20042025_21_10_04_9449.jpg', '/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_14_10396.jpg', '/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_25_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/08/image_20042025_21_09_04_10360.jpg
/home/pi/Desktop/images/20042025/21/09/image_20042025_21_09_15_10346.jpg
/home/pi/Desktop/images/20042025/21/09/image_20042025_21_09_24_9450.jpg
/home/pi/Desktop/images/20042025/21/09/image_20042025_21_10_04_9449.jpg
/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_14_10396.jpg
/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_25_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305223","1352305226","1352305220","1352305228","1352305230","1352305233"],"photo_ids_order":["1352305220","1352305223","1352305226","1352305228","1352305230","1352305233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/677dcd0e4ca1af373b6b57675172b677.jpg","text":"TemporaryFile(/tmp/multipartBody5761824260647382192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183853375,"filename":"image_20042025_21_09_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b4058c70c8b6b6054bf0fd5d2bff30a9.jpg","text":"TemporaryFile(/tmp/multipartBody723335765309738662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183853375,"filename":"image_20042025_21_09_24_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6df681da2e367721c0e814ce73e131ab.jpg","text":"TemporaryFile(/tmp/multipartBody7873572420898066783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183853375,"filename":"image_20042025_21_09_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/46f873a6da6fd26011b66f78201a908f.jpg","text":"TemporaryFile(/tmp/multipartBody7226042939632504614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183853375,"filename":"image_20042025_21_10_04_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2e8152989cd6efe5f43c19e13e0cb4f5.jpg","text":"TemporaryFile(/tmp/multipartBody41725084413739718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183853375,"filename":"image_20042025_21_10_14_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b379c09cfdca13a50c15db5f5e1cb2b7.jpg","text":"TemporaryFile(/tmp/multipartBody2334061912426760788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183853375,"filename":"image_20042025_21_10_25_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305226","file1":"1352305223","file0":"1352305220","file4":"1352305230","file5":"1352305233","file3":"1352305228"},"map_files_photo_id_array":[{"photo_id":"1352305233","filename":"file5"},{"photo_id":"1352305226","filename":"file2"},{"photo_id":"1352305230","filename":"file4"},{"photo_id":"1352305223","filename":"file1"},{"photo_id":"1352305220","filename":"file0"},{"photo_id":"1352305228","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305223":["hashtag1","hashtag2"]},{"1352305226":["hashtag1","hashtag2"]},{"1352305220":["hashtag1","hashtag2"]},{"1352305228":["hashtag1","hashtag2"]},{"1352305230":["hashtag1","hashtag2"]},{"1352305233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305223, 1352305226, 1352305220, 1352305228, 1352305230, 1352305233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.07969880104065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:17:33.218604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_34_9386.jpg', '/home/pi/Desktop/images/20042025/21/11/image_20042025_21_11_24_9510.jpg', '/home/pi/Desktop/images/20042025/21/11/image_20042025_21_12_05_10440.jpg', '/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_24_10390.jpg', '/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_35_10358.jpg', '/home/pi/Desktop/images/20042025/21/12/image_20042025_21_13_04_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_34_9386.jpg
/home/pi/Desktop/images/20042025/21/11/image_20042025_21_11_24_9510.jpg
/home/pi/Desktop/images/20042025/21/11/image_20042025_21_12_05_10440.jpg
/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_24_10390.jpg
/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_35_10358.jpg
/home/pi/Desktop/images/20042025/21/12/image_20042025_21_13_04_9387.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3826782703399658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 23:17:43.106983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_34_9386.jpg', '/home/pi/Desktop/images/20042025/21/11/image_20042025_21_11_24_9510.jpg', '/home/pi/Desktop/images/20042025/21/11/image_20042025_21_12_05_10440.jpg', '/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_24_10390.jpg', '/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_35_10358.jpg', '/home/pi/Desktop/images/20042025/21/12/image_20042025_21_13_04_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/10/image_20042025_21_10_34_9386.jpg
/home/pi/Desktop/images/20042025/21/11/image_20042025_21_11_24_9510.jpg
/home/pi/Desktop/images/20042025/21/11/image_20042025_21_12_05_10440.jpg
/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_24_10390.jpg
/home/pi/Desktop/images/20042025/21/12/image_20042025_21_12_35_10358.jpg
/home/pi/Desktop/images/20042025/21/12/image_20042025_21_13_04_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305253","1352305256","1352305259","1352305250","1352305261","1352305260"],"photo_ids_order":["1352305250","1352305253","1352305256","1352305259","1352305260","1352305261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1cb6e86da75035b1b4ca8a7fc5ea694f.jpg","text":"TemporaryFile(/tmp/multipartBody2920417415787770873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183923601,"filename":"image_20042025_21_11_24_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f860302a45389e8f5568d3287f64c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6625359064762150387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183923601,"filename":"image_20042025_21_12_05_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cd8a571ab8877b9ef135fb082f50b830.jpg","text":"TemporaryFile(/tmp/multipartBody7774602993701755773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183923601,"filename":"image_20042025_21_12_24_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77427688ce047b798ee13d1f381522a9.jpg","text":"TemporaryFile(/tmp/multipartBody4293357164121832593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183923601,"filename":"image_20042025_21_10_34_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/249b3244e3da424e743220a077330761.jpg","text":"TemporaryFile(/tmp/multipartBody3612178682423799871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183923601,"filename":"image_20042025_21_13_04_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4ec833ef0f890613af99ea5813584797.jpg","text":"TemporaryFile(/tmp/multipartBody2606275736943686976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183923601,"filename":"image_20042025_21_12_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305256","file1":"1352305253","file0":"1352305250","file4":"1352305260","file5":"1352305261","file3":"1352305259"},"map_files_photo_id_array":[{"photo_id":"1352305261","filename":"file5"},{"photo_id":"1352305256","filename":"file2"},{"photo_id":"1352305260","filename":"file4"},{"photo_id":"1352305253","filename":"file1"},{"photo_id":"1352305250","filename":"file0"},{"photo_id":"1352305259","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305253":["hashtag1","hashtag2"]},{"1352305256":["hashtag1","hashtag2"]},{"1352305259":["hashtag1","hashtag2"]},{"1352305250":["hashtag1","hashtag2"]},{"1352305261":["hashtag1","hashtag2"]},{"1352305260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305253, 1352305256, 1352305259, 1352305250, 1352305261, 1352305260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0671272277832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:18:32.345889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_24_9439.jpg', '/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_35_10439.jpg', '/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_44_9437.jpg', '/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_54_10366.jpg', '/home/pi/Desktop/images/20042025/21/14/image_20042025_21_15_05_10364.jpg', '/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_14_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_24_9439.jpg
/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_35_10439.jpg
/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_44_9437.jpg
/home/pi/Desktop/images/20042025/21/14/image_20042025_21_14_54_10366.jpg
/home/pi/Desktop/images/20042025/21/14/image_20042025_21_15_05_10364.jpg
/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_14_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305271","1352305274","1352305268","1352305283","1352305277","1352305281"],"photo_ids_order":["1352305268","1352305271","1352305274","1352305277","1352305281","1352305283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12cf3ee93d0b625138cff04b88138018.jpg","text":"TemporaryFile(/tmp/multipartBody3008664034582255311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183972818,"filename":"image_20042025_21_14_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/57dc2392434ba0ad08ef110e01726a9a.jpg","text":"TemporaryFile(/tmp/multipartBody8976301378268463218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183972818,"filename":"image_20042025_21_14_44_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7379047976f5b6c912fd35f23e30f94d.jpg","text":"TemporaryFile(/tmp/multipartBody4394054540638102543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183972818,"filename":"image_20042025_21_14_24_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/607613519c6fed74125f8f4ff3f2fdb9.jpg","text":"TemporaryFile(/tmp/multipartBody2434618370321907418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183972818,"filename":"image_20042025_21_15_14_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d38d4aa12dea64fcdf20c74973a511bb.jpg","text":"TemporaryFile(/tmp/multipartBody6556898974196032150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183972818,"filename":"image_20042025_21_14_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7fd99583b613028fc69709c6f7c74968.jpg","text":"TemporaryFile(/tmp/multipartBody8829070971640987838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745183972818,"filename":"image_20042025_21_15_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305274","file1":"1352305271","file0":"1352305268","file4":"1352305281","file5":"1352305283","file3":"1352305277"},"map_files_photo_id_array":[{"photo_id":"1352305283","filename":"file5"},{"photo_id":"1352305274","filename":"file2"},{"photo_id":"1352305281","filename":"file4"},{"photo_id":"1352305271","filename":"file1"},{"photo_id":"1352305268","filename":"file0"},{"photo_id":"1352305277","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305271":["hashtag1","hashtag2"]},{"1352305274":["hashtag1","hashtag2"]},{"1352305268":["hashtag1","hashtag2"]},{"1352305283":["hashtag1","hashtag2"]},{"1352305277":["hashtag1","hashtag2"]},{"1352305281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305271, 1352305274, 1352305268, 1352305283, 1352305277, 1352305281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73806619644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:19:32.644108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_25_10441.jpg', '/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_34_9457.jpg', '/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_45_10377.jpg', '/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_54_9521.jpg', '/home/pi/Desktop/images/20042025/21/15/image_20042025_21_16_04_10375.jpg', '/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_24_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_25_10441.jpg
/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_34_9457.jpg
/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_45_10377.jpg
/home/pi/Desktop/images/20042025/21/15/image_20042025_21_15_54_9521.jpg
/home/pi/Desktop/images/20042025/21/15/image_20042025_21_16_04_10375.jpg
/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_24_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305292","1352305301","1352305294","1352305296","1352305299","1352305298"],"photo_ids_order":["1352305292","1352305294","1352305296","1352305298","1352305299","1352305301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/de1b7ecb707ba1174a1ebbe54c1a7fe7.jpg","text":"TemporaryFile(/tmp/multipartBody9027410957966071238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184033110,"filename":"image_20042025_21_15_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d844e20c91a33583d0fbd48ce0d86d7.jpg","text":"TemporaryFile(/tmp/multipartBody97728868549932621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184033110,"filename":"image_20042025_21_16_24_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b07347414fcf332a09b0823e2389e208.jpg","text":"TemporaryFile(/tmp/multipartBody7989575061192890977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184033110,"filename":"image_20042025_21_15_34_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9b2b956c835b6218f0a96e70650ba4cd.jpg","text":"TemporaryFile(/tmp/multipartBody8646588405328309375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184033110,"filename":"image_20042025_21_15_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/413096f2f66bc81e532785ede9abf990.jpg","text":"TemporaryFile(/tmp/multipartBody5976881098597019370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184033110,"filename":"image_20042025_21_16_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ce15cbd6a0ec0bd7c580078918587ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2546444132189857537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184033110,"filename":"image_20042025_21_15_54_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305296","file1":"1352305294","file0":"1352305292","file4":"1352305299","file5":"1352305301","file3":"1352305298"},"map_files_photo_id_array":[{"photo_id":"1352305301","filename":"file5"},{"photo_id":"1352305296","filename":"file2"},{"photo_id":"1352305299","filename":"file4"},{"photo_id":"1352305294","filename":"file1"},{"photo_id":"1352305292","filename":"file0"},{"photo_id":"1352305298","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305292":["hashtag1","hashtag2"]},{"1352305301":["hashtag1","hashtag2"]},{"1352305294":["hashtag1","hashtag2"]},{"1352305296":["hashtag1","hashtag2"]},{"1352305299":["hashtag1","hashtag2"]},{"1352305298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305292, 1352305301, 1352305294, 1352305296, 1352305299, 1352305298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.003535509109497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:20:32.739860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_35_10364.jpg', '/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_44_9353.jpg', '/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_54_10378.jpg', '/home/pi/Desktop/images/20042025/21/16/image_20042025_21_17_05_10385.jpg', '/home/pi/Desktop/images/20042025/21/17/image_20042025_21_17_25_10387.jpg', '/home/pi/Desktop/images/20042025/21/17/image_20042025_21_17_34_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_35_10364.jpg
/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_44_9353.jpg
/home/pi/Desktop/images/20042025/21/16/image_20042025_21_16_54_10378.jpg
/home/pi/Desktop/images/20042025/21/16/image_20042025_21_17_05_10385.jpg
/home/pi/Desktop/images/20042025/21/17/image_20042025_21_17_25_10387.jpg
/home/pi/Desktop/images/20042025/21/17/image_20042025_21_17_34_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305323","1352305325","1352305321","1352305315","1352305318","1352305312"],"photo_ids_order":["1352305312","1352305315","1352305318","1352305321","1352305323","1352305325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/98f126bff1eb12864024e622e9cb2e2c.jpg","text":"TemporaryFile(/tmp/multipartBody4449608844038883196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184093220,"filename":"image_20042025_21_17_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9c92fd59da79dbca819b832ec5775e21.jpg","text":"TemporaryFile(/tmp/multipartBody370989773435991132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184093220,"filename":"image_20042025_21_17_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e49ca0cf4fd7bc5e86b51fce0448582.jpg","text":"TemporaryFile(/tmp/multipartBody5134807890125512779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184093220,"filename":"image_20042025_21_17_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7ec16c44fa2c80da3ca9b50e952efe4e.jpg","text":"TemporaryFile(/tmp/multipartBody9079477673654216724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184093220,"filename":"image_20042025_21_16_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a56a67d9e4d694c4af41e695bb55402.jpg","text":"TemporaryFile(/tmp/multipartBody2640303431939871378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184093220,"filename":"image_20042025_21_16_54_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/deda1c250bf7c1e13bd73f5a15c2ebca.jpg","text":"TemporaryFile(/tmp/multipartBody5809628599250169987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184093220,"filename":"image_20042025_21_16_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305318","file1":"1352305315","file0":"1352305312","file4":"1352305323","file5":"1352305325","file3":"1352305321"},"map_files_photo_id_array":[{"photo_id":"1352305325","filename":"file5"},{"photo_id":"1352305318","filename":"file2"},{"photo_id":"1352305323","filename":"file4"},{"photo_id":"1352305315","filename":"file1"},{"photo_id":"1352305312","filename":"file0"},{"photo_id":"1352305321","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305323":["hashtag1","hashtag2"]},{"1352305325":["hashtag1","hashtag2"]},{"1352305321":["hashtag1","hashtag2"]},{"1352305315":["hashtag1","hashtag2"]},{"1352305318":["hashtag1","hashtag2"]},{"1352305312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305323, 1352305325, 1352305321, 1352305315, 1352305318, 1352305312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1382954120636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:21:32.948751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/17/image_20042025_21_17_55_10373.jpg', '/home/pi/Desktop/images/20042025/21/18/image_20042025_21_18_34_9436.jpg', '/home/pi/Desktop/images/20042025/21/18/image_20042025_21_18_45_10380.jpg', '/home/pi/Desktop/images/20042025/21/18/image_20042025_21_18_54_9360.jpg', '/home/pi/Desktop/images/20042025/21/18/image_20042025_21_19_04_10410.jpg', '/home/pi/Desktop/images/20042025/21/19/image_20042025_21_19_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/17/image_20042025_21_17_55_10373.jpg
/home/pi/Desktop/images/20042025/21/18/image_20042025_21_18_34_9436.jpg
/home/pi/Desktop/images/20042025/21/18/image_20042025_21_18_45_10380.jpg
/home/pi/Desktop/images/20042025/21/18/image_20042025_21_18_54_9360.jpg
/home/pi/Desktop/images/20042025/21/18/image_20042025_21_19_04_10410.jpg
/home/pi/Desktop/images/20042025/21/19/image_20042025_21_19_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305334","1352305337","1352305333","1352305336","1352305332","1352305335"],"photo_ids_order":["1352305332","1352305333","1352305334","1352305335","1352305336","1352305337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cec2cdca67b4c7eeb3c8e2c34843720d.jpg","text":"TemporaryFile(/tmp/multipartBody8779002718942831140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184153415,"filename":"image_20042025_21_18_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e291147b6b88a9ae33663fb0a03726e5.jpg","text":"TemporaryFile(/tmp/multipartBody5656796434631247703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184153415,"filename":"image_20042025_21_19_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/811148548a6ed335ff79e7004819ce3c.jpg","text":"TemporaryFile(/tmp/multipartBody347062903983971243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184153415,"filename":"image_20042025_21_18_34_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0b72ca3e760915ae55ed93f6bc80d7de.jpg","text":"TemporaryFile(/tmp/multipartBody1318869414621420540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184153415,"filename":"image_20042025_21_19_04_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/578b4cfac3ecb746a19b9732774e0cce.jpg","text":"TemporaryFile(/tmp/multipartBody4943118003110736324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184153415,"filename":"image_20042025_21_17_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/70d37ce1543eef17183f75ef1c0bc2a2.jpg","text":"TemporaryFile(/tmp/multipartBody4975986088417960572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184153415,"filename":"image_20042025_21_18_54_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305334","file1":"1352305333","file0":"1352305332","file4":"1352305336","file5":"1352305337","file3":"1352305335"},"map_files_photo_id_array":[{"photo_id":"1352305337","filename":"file5"},{"photo_id":"1352305334","filename":"file2"},{"photo_id":"1352305336","filename":"file4"},{"photo_id":"1352305333","filename":"file1"},{"photo_id":"1352305332","filename":"file0"},{"photo_id":"1352305335","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305334":["hashtag1","hashtag2"]},{"1352305337":["hashtag1","hashtag2"]},{"1352305333":["hashtag1","hashtag2"]},{"1352305336":["hashtag1","hashtag2"]},{"1352305332":["hashtag1","hashtag2"]},{"1352305335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305334, 1352305337, 1352305333, 1352305336, 1352305332, 1352305335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.094727993011475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:22:32.264115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/19/image_20042025_21_19_54_10387.jpg', '/home/pi/Desktop/images/20042025/21/20/image_20042025_21_20_55_10370.jpg', '/home/pi/Desktop/images/20042025/21/20/image_20042025_21_21_04_9360.jpg', '/home/pi/Desktop/images/20042025/21/21/image_20042025_21_21_25_10363.jpg', '/home/pi/Desktop/images/20042025/21/21/image_20042025_21_21_45_10437.jpg', '/home/pi/Desktop/images/20042025/21/21/image_20042025_21_21_54_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/19/image_20042025_21_19_54_10387.jpg
/home/pi/Desktop/images/20042025/21/20/image_20042025_21_20_55_10370.jpg
/home/pi/Desktop/images/20042025/21/20/image_20042025_21_21_04_9360.jpg
/home/pi/Desktop/images/20042025/21/21/image_20042025_21_21_25_10363.jpg
/home/pi/Desktop/images/20042025/21/21/image_20042025_21_21_45_10437.jpg
/home/pi/Desktop/images/20042025/21/21/image_20042025_21_21_54_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305355","1352305349","1352305351","1352305345","1352305353","1352305347"],"photo_ids_order":["1352305345","1352305347","1352305349","1352305351","1352305353","1352305355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c52934d0e5e225d620a582b7a01faec.jpg","text":"TemporaryFile(/tmp/multipartBody1183898186690175216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184212742,"filename":"image_20042025_21_21_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/cf322c5b6b8cac0bf712232923b895dc.jpg","text":"TemporaryFile(/tmp/multipartBody6905039188183691536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184212742,"filename":"image_20042025_21_21_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1984d9f76ad5d737ee7b0464a2c9aad5.jpg","text":"TemporaryFile(/tmp/multipartBody797586578238092101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184212742,"filename":"image_20042025_21_21_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e32ffbfcf97012aaaf0e0b1aa801da1e.jpg","text":"TemporaryFile(/tmp/multipartBody3308592758687719794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184212742,"filename":"image_20042025_21_19_54_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1e338d54687bd12cb517aed3632f0ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5507406362865440775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184212742,"filename":"image_20042025_21_21_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/48298193c8047edf9119c5c979a21efa.jpg","text":"TemporaryFile(/tmp/multipartBody4783321761848160058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184212742,"filename":"image_20042025_21_20_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305349","file1":"1352305347","file0":"1352305345","file4":"1352305353","file5":"1352305355","file3":"1352305351"},"map_files_photo_id_array":[{"photo_id":"1352305355","filename":"file5"},{"photo_id":"1352305349","filename":"file2"},{"photo_id":"1352305353","filename":"file4"},{"photo_id":"1352305347","filename":"file1"},{"photo_id":"1352305345","filename":"file0"},{"photo_id":"1352305351","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305355":["hashtag1","hashtag2"]},{"1352305349":["hashtag1","hashtag2"]},{"1352305351":["hashtag1","hashtag2"]},{"1352305345":["hashtag1","hashtag2"]},{"1352305353":["hashtag1","hashtag2"]},{"1352305347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305355, 1352305349, 1352305351, 1352305345, 1352305353, 1352305347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53195548057556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:23:32.319417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/21/image_20042025_21_22_04_10369.jpg', '/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_15_10351.jpg', '/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_24_9422.jpg', '/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_34_10408.jpg', '/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_45_10360.jpg', '/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_54_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/21/image_20042025_21_22_04_10369.jpg
/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_15_10351.jpg
/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_24_9422.jpg
/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_34_10408.jpg
/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_45_10360.jpg
/home/pi/Desktop/images/20042025/21/22/image_20042025_21_22_54_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305376","1352305361","1352305372","1352305374","1352305368","1352305365"],"photo_ids_order":["1352305361","1352305365","1352305368","1352305372","1352305374","1352305376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/700856a372f3a9caab2493be6bb9a769.jpg","text":"TemporaryFile(/tmp/multipartBody2638559565982033411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184272783,"filename":"image_20042025_21_22_54_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1af3e282184b83805f0a1173bff5b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody674207621869065981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184272783,"filename":"image_20042025_21_22_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/202006260c76439df9920f283743042f.jpg","text":"TemporaryFile(/tmp/multipartBody7301373200824030363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184272783,"filename":"image_20042025_21_22_34_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9c4a9ae9617c2a6aed7e829cb1251f1.jpg","text":"TemporaryFile(/tmp/multipartBody6794665743808946854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184272783,"filename":"image_20042025_21_22_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2ec6b00c4ea59a2a95c7f7961ab1a479.jpg","text":"TemporaryFile(/tmp/multipartBody2151674108956618303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184272783,"filename":"image_20042025_21_22_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac621b27d0a51254d311397217bc810c.jpg","text":"TemporaryFile(/tmp/multipartBody121137467814973148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184272783,"filename":"image_20042025_21_22_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305368","file1":"1352305365","file0":"1352305361","file4":"1352305374","file5":"1352305376","file3":"1352305372"},"map_files_photo_id_array":[{"photo_id":"1352305376","filename":"file5"},{"photo_id":"1352305368","filename":"file2"},{"photo_id":"1352305374","filename":"file4"},{"photo_id":"1352305365","filename":"file1"},{"photo_id":"1352305361","filename":"file0"},{"photo_id":"1352305372","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305376":["hashtag1","hashtag2"]},{"1352305361":["hashtag1","hashtag2"]},{"1352305372":["hashtag1","hashtag2"]},{"1352305374":["hashtag1","hashtag2"]},{"1352305368":["hashtag1","hashtag2"]},{"1352305365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305376, 1352305361, 1352305372, 1352305374, 1352305368, 1352305365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4268057346344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:24:32.450423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/22/image_20042025_21_23_05_10361.jpg', '/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_14_9366.jpg', '/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_24_10385.jpg', '/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_35_10359.jpg', '/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_44_9401.jpg', '/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_54_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/22/image_20042025_21_23_05_10361.jpg
/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_14_9366.jpg
/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_24_10385.jpg
/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_35_10359.jpg
/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_44_9401.jpg
/home/pi/Desktop/images/20042025/21/23/image_20042025_21_23_54_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305394","1352305388","1352305396","1352305390","1352305392","1352305386"],"photo_ids_order":["1352305386","1352305388","1352305390","1352305392","1352305394","1352305396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c75b5ff7d5df223e91c6399559dda683.jpg","text":"TemporaryFile(/tmp/multipartBody836251937804101413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184332924,"filename":"image_20042025_21_23_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2c10ade69e70a7b56b5109409124a01a.jpg","text":"TemporaryFile(/tmp/multipartBody8658466015188600313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184332924,"filename":"image_20042025_21_23_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/85cc12016bd70339bbab19e73a5655d4.jpg","text":"TemporaryFile(/tmp/multipartBody1021017920234659773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184332924,"filename":"image_20042025_21_23_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24ab20479f872c232522ac8e9b685bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2435830378871123513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184332924,"filename":"image_20042025_21_23_24_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ad12e1b182a48d607aa9d358150b5cd.jpg","text":"TemporaryFile(/tmp/multipartBody6095860977760696448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184332924,"filename":"image_20042025_21_23_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5ce9c0666c0e80bd9ad2a4cba0eaf0ce.jpg","text":"TemporaryFile(/tmp/multipartBody4637240642777877569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184332924,"filename":"image_20042025_21_23_05_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305390","file1":"1352305388","file0":"1352305386","file4":"1352305394","file5":"1352305396","file3":"1352305392"},"map_files_photo_id_array":[{"photo_id":"1352305396","filename":"file5"},{"photo_id":"1352305390","filename":"file2"},{"photo_id":"1352305394","filename":"file4"},{"photo_id":"1352305388","filename":"file1"},{"photo_id":"1352305386","filename":"file0"},{"photo_id":"1352305392","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305394":["hashtag1","hashtag2"]},{"1352305388":["hashtag1","hashtag2"]},{"1352305396":["hashtag1","hashtag2"]},{"1352305390":["hashtag1","hashtag2"]},{"1352305392":["hashtag1","hashtag2"]},{"1352305386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305394, 1352305388, 1352305396, 1352305390, 1352305392, 1352305386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.47887396812439 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:25:32.849973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/23/image_20042025_21_24_05_10367.jpg', '/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_14_9422.jpg', '/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_25_10375.jpg', '/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_34_9416.jpg', '/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_44_10476.jpg', '/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_55_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/23/image_20042025_21_24_05_10367.jpg
/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_14_9422.jpg
/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_25_10375.jpg
/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_34_9416.jpg
/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_44_10476.jpg
/home/pi/Desktop/images/20042025/21/24/image_20042025_21_24_55_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305416","1352305415","1352305409","1352305414","1352305411","1352305413"],"photo_ids_order":["1352305409","1352305411","1352305413","1352305414","1352305415","1352305416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/37634068eea658ba8c66eae7af744f2f.jpg","text":"TemporaryFile(/tmp/multipartBody803021001976614511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184393313,"filename":"image_20042025_21_24_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/320a06b65ba88b72e5de0fd3ac233dcb.jpg","text":"TemporaryFile(/tmp/multipartBody7685930421885262129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184393313,"filename":"image_20042025_21_24_44_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df31dbf4161caa553f3eaa40fc796f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2259499950492456240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184393313,"filename":"image_20042025_21_24_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c4c84544908dfc70d59c0f781b62520b.jpg","text":"TemporaryFile(/tmp/multipartBody5050000562795358583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184393313,"filename":"image_20042025_21_24_34_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e0f4fb14c1c14581ac67c2f9a6017a62.jpg","text":"TemporaryFile(/tmp/multipartBody562608997543910029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184393313,"filename":"image_20042025_21_24_14_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f67267b3884d7035f4be6cedabd025a5.jpg","text":"TemporaryFile(/tmp/multipartBody7388643198081436360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184393313,"filename":"image_20042025_21_24_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305413","file1":"1352305411","file0":"1352305409","file4":"1352305415","file5":"1352305416","file3":"1352305414"},"map_files_photo_id_array":[{"photo_id":"1352305416","filename":"file5"},{"photo_id":"1352305413","filename":"file2"},{"photo_id":"1352305415","filename":"file4"},{"photo_id":"1352305411","filename":"file1"},{"photo_id":"1352305409","filename":"file0"},{"photo_id":"1352305414","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305416":["hashtag1","hashtag2"]},{"1352305415":["hashtag1","hashtag2"]},{"1352305409":["hashtag1","hashtag2"]},{"1352305414":["hashtag1","hashtag2"]},{"1352305411":["hashtag1","hashtag2"]},{"1352305413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305416, 1352305415, 1352305409, 1352305414, 1352305411, 1352305413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.9259831905365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:26:33.049127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/24/image_20042025_21_25_04_9347.jpg', '/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_15_10359.jpg', '/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_24_9410.jpg', '/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_34_10404.jpg', '/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_45_10377.jpg', '/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_54_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/24/image_20042025_21_25_04_9347.jpg
/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_15_10359.jpg
/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_24_9410.jpg
/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_34_10404.jpg
/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_45_10377.jpg
/home/pi/Desktop/images/20042025/21/25/image_20042025_21_25_54_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305424","1352305427","1352305426","1352305429","1352305431","1352305425"],"photo_ids_order":["1352305424","1352305425","1352305426","1352305427","1352305429","1352305431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2bc47c75a00b4a2613047e517260c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4959911543063748182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184453523,"filename":"image_20042025_21_25_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d1bc97f4f977e2281ad1d47d2a7f5e43.jpg","text":"TemporaryFile(/tmp/multipartBody2994816779226263097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184453523,"filename":"image_20042025_21_25_34_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/81678c5ec9c2746512027a0690ce2be6.jpg","text":"TemporaryFile(/tmp/multipartBody8432118201992433037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184453523,"filename":"image_20042025_21_25_24_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e679de57aa8322681e4dfd1a9eca15e1.jpg","text":"TemporaryFile(/tmp/multipartBody4452904695766881401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184453523,"filename":"image_20042025_21_25_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ebc987fdac2a6e154ce348c0e893dfdf.jpg","text":"TemporaryFile(/tmp/multipartBody4971422084258279589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184453523,"filename":"image_20042025_21_25_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d3bed7fec5715dc61959752b6eb3e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3422357898102999356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184453523,"filename":"image_20042025_21_25_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305426","file1":"1352305425","file0":"1352305424","file4":"1352305429","file5":"1352305431","file3":"1352305427"},"map_files_photo_id_array":[{"photo_id":"1352305431","filename":"file5"},{"photo_id":"1352305426","filename":"file2"},{"photo_id":"1352305429","filename":"file4"},{"photo_id":"1352305425","filename":"file1"},{"photo_id":"1352305424","filename":"file0"},{"photo_id":"1352305427","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305424":["hashtag1","hashtag2"]},{"1352305427":["hashtag1","hashtag2"]},{"1352305426":["hashtag1","hashtag2"]},{"1352305429":["hashtag1","hashtag2"]},{"1352305431":["hashtag1","hashtag2"]},{"1352305425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305424, 1352305427, 1352305426, 1352305429, 1352305431, 1352305425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.937785148620605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:27:32.363967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/25/image_20042025_21_26_04_10366.jpg', '/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_15_10372.jpg', '/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_24_9366.jpg', '/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_35_10357.jpg', '/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_54_10369.jpg', '/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_24_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/25/image_20042025_21_26_04_10366.jpg
/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_15_10372.jpg
/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_24_9366.jpg
/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_35_10357.jpg
/home/pi/Desktop/images/20042025/21/26/image_20042025_21_26_54_10369.jpg
/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_24_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305451","1352305442","1352305445","1352305453","1352305447","1352305449"],"photo_ids_order":["1352305442","1352305445","1352305447","1352305449","1352305451","1352305453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5283b8dacb2e50dcc129ba1ca9a4d874.jpg","text":"TemporaryFile(/tmp/multipartBody4979710165973007104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184512843,"filename":"image_20042025_21_26_54_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7344e7be60696881ac28d7328a153ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5622234027894429117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184512843,"filename":"image_20042025_21_26_04_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a11da2f10d3a93058c3af0584c411c94.jpg","text":"TemporaryFile(/tmp/multipartBody1588532505291294905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184512843,"filename":"image_20042025_21_26_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8fdaebcf48f93f03e0e9b35f74ce09af.jpg","text":"TemporaryFile(/tmp/multipartBody7576850712946645886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184512843,"filename":"image_20042025_21_27_24_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6cef68aa4ad126713418699661e4da83.jpg","text":"TemporaryFile(/tmp/multipartBody3532382649550924295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184512843,"filename":"image_20042025_21_26_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e64db18f2beb42c92c360f9decf972ed.jpg","text":"TemporaryFile(/tmp/multipartBody1857776980369818286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184512843,"filename":"image_20042025_21_26_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305447","file1":"1352305445","file0":"1352305442","file4":"1352305451","file5":"1352305453","file3":"1352305449"},"map_files_photo_id_array":[{"photo_id":"1352305453","filename":"file5"},{"photo_id":"1352305447","filename":"file2"},{"photo_id":"1352305451","filename":"file4"},{"photo_id":"1352305445","filename":"file1"},{"photo_id":"1352305442","filename":"file0"},{"photo_id":"1352305449","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305451":["hashtag1","hashtag2"]},{"1352305442":["hashtag1","hashtag2"]},{"1352305445":["hashtag1","hashtag2"]},{"1352305453":["hashtag1","hashtag2"]},{"1352305447":["hashtag1","hashtag2"]},{"1352305449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305451, 1352305442, 1352305445, 1352305453, 1352305447, 1352305449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.052577257156372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:28:32.497440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_35_10355.jpg', '/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_44_9409.jpg', '/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_55_10353.jpg', '/home/pi/Desktop/images/20042025/21/27/image_20042025_21_28_04_9464.jpg', '/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_14_10375.jpg', '/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_34_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_35_10355.jpg
/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_44_9409.jpg
/home/pi/Desktop/images/20042025/21/27/image_20042025_21_27_55_10353.jpg
/home/pi/Desktop/images/20042025/21/27/image_20042025_21_28_04_9464.jpg
/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_14_10375.jpg
/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_34_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305472","1352305466","1352305462","1352305468","1352305470","1352305464"],"photo_ids_order":["1352305462","1352305464","1352305466","1352305468","1352305470","1352305472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f6c5d738f9e08d5de17b1995be84e0a.jpg","text":"TemporaryFile(/tmp/multipartBody5053716998354217045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184572976,"filename":"image_20042025_21_28_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5e0576251a3b01a362b43a4e5217c7b.jpg","text":"TemporaryFile(/tmp/multipartBody36597938333391181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184572976,"filename":"image_20042025_21_27_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fa98870d7bfd18222e15852939bb3eec.jpg","text":"TemporaryFile(/tmp/multipartBody4662102613267470407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184572976,"filename":"image_20042025_21_27_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3bbd66a40dd5216a858220ae70f92c76.jpg","text":"TemporaryFile(/tmp/multipartBody6254336408095485748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184572976,"filename":"image_20042025_21_28_04_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a591fdfee4758ca115a1acbecc707b0.jpg","text":"TemporaryFile(/tmp/multipartBody1026320751418021485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184572976,"filename":"image_20042025_21_28_14_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f35c22ac9df5c606cad438fd6e1872ea.jpg","text":"TemporaryFile(/tmp/multipartBody3744823733715218373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184572976,"filename":"image_20042025_21_27_44_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305466","file1":"1352305464","file0":"1352305462","file4":"1352305470","file5":"1352305472","file3":"1352305468"},"map_files_photo_id_array":[{"photo_id":"1352305472","filename":"file5"},{"photo_id":"1352305466","filename":"file2"},{"photo_id":"1352305470","filename":"file4"},{"photo_id":"1352305464","filename":"file1"},{"photo_id":"1352305462","filename":"file0"},{"photo_id":"1352305468","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305472":["hashtag1","hashtag2"]},{"1352305466":["hashtag1","hashtag2"]},{"1352305462":["hashtag1","hashtag2"]},{"1352305468":["hashtag1","hashtag2"]},{"1352305470":["hashtag1","hashtag2"]},{"1352305464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305472, 1352305466, 1352305462, 1352305468, 1352305470, 1352305464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.010777473449707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:29:32.636436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_45_10372.jpg', '/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_54_9438.jpg', '/home/pi/Desktop/images/20042025/21/28/image_20042025_21_29_04_10366.jpg', '/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_15_10359.jpg', '/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_24_9475.jpg', '/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_35_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_45_10372.jpg
/home/pi/Desktop/images/20042025/21/28/image_20042025_21_28_54_9438.jpg
/home/pi/Desktop/images/20042025/21/28/image_20042025_21_29_04_10366.jpg
/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_15_10359.jpg
/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_24_9475.jpg
/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_35_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305499","1352305484","1352305487","1352305481","1352305502","1352305496"],"photo_ids_order":["1352305481","1352305484","1352305487","1352305496","1352305499","1352305502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5e066689188e34ef6f8da751d696fe34.jpg","text":"TemporaryFile(/tmp/multipartBody1922197327572553095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184633100,"filename":"image_20042025_21_29_24_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9567db6d3a748c5813a890dbbc155598.jpg","text":"TemporaryFile(/tmp/multipartBody6190236348718146658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184633100,"filename":"image_20042025_21_28_54_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6c5ae06d3cb0bef3e2ac97bc98cd244c.jpg","text":"TemporaryFile(/tmp/multipartBody5226310738382529737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184633100,"filename":"image_20042025_21_29_04_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b5f38a9486e21c45f89f650ce044622.jpg","text":"TemporaryFile(/tmp/multipartBody6993747716089356587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184633100,"filename":"image_20042025_21_28_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/058b586e1499c3f5db7d37e41d38300a.jpg","text":"TemporaryFile(/tmp/multipartBody1141683945021119556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184633100,"filename":"image_20042025_21_29_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df8e302641178f6522337e6d9743d202.jpg","text":"TemporaryFile(/tmp/multipartBody8565609545651685602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184633100,"filename":"image_20042025_21_29_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305487","file1":"1352305484","file0":"1352305481","file4":"1352305499","file5":"1352305502","file3":"1352305496"},"map_files_photo_id_array":[{"photo_id":"1352305502","filename":"file5"},{"photo_id":"1352305487","filename":"file2"},{"photo_id":"1352305499","filename":"file4"},{"photo_id":"1352305484","filename":"file1"},{"photo_id":"1352305481","filename":"file0"},{"photo_id":"1352305496","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305499":["hashtag1","hashtag2"]},{"1352305484":["hashtag1","hashtag2"]},{"1352305487":["hashtag1","hashtag2"]},{"1352305481":["hashtag1","hashtag2"]},{"1352305502":["hashtag1","hashtag2"]},{"1352305496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305499, 1352305484, 1352305487, 1352305481, 1352305502, 1352305496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.36542272567749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:30:32.733425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_44_9473.jpg', '/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_55_10373.jpg', '/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_14_9346.jpg', '/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_25_10380.jpg', '/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_34_9484.jpg', '/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_44_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_44_9473.jpg
/home/pi/Desktop/images/20042025/21/29/image_20042025_21_29_55_10373.jpg
/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_14_9346.jpg
/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_25_10380.jpg
/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_34_9484.jpg
/home/pi/Desktop/images/20042025/21/30/image_20042025_21_30_44_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305511","1352305508","1352305513","1352305516","1352305521","1352305518"],"photo_ids_order":["1352305508","1352305511","1352305513","1352305516","1352305518","1352305521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8a269c0f3d37971ba8a913ce131083b0.jpg","text":"TemporaryFile(/tmp/multipartBody5082405534329675787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184693225,"filename":"image_20042025_21_29_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/24a7f9734f8b6843f3e678b974c34671.jpg","text":"TemporaryFile(/tmp/multipartBody1211423651637009888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184693225,"filename":"image_20042025_21_29_44_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edd9ae39839900ebb3dbaa40b38d0614.jpg","text":"TemporaryFile(/tmp/multipartBody2165439928283418861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184693225,"filename":"image_20042025_21_30_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7de70aabbfe1981f8562199682cb7911.jpg","text":"TemporaryFile(/tmp/multipartBody8833648974705810786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184693225,"filename":"image_20042025_21_30_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/75b3ad46a4f2e982ba18ccb714a3e0a5.jpg","text":"TemporaryFile(/tmp/multipartBody1156065890302530208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184693225,"filename":"image_20042025_21_30_44_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e9199238628868904446331f4a51174e.jpg","text":"TemporaryFile(/tmp/multipartBody1325346404839920019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184693225,"filename":"image_20042025_21_30_34_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305513","file1":"1352305511","file0":"1352305508","file4":"1352305518","file5":"1352305521","file3":"1352305516"},"map_files_photo_id_array":[{"photo_id":"1352305521","filename":"file5"},{"photo_id":"1352305513","filename":"file2"},{"photo_id":"1352305518","filename":"file4"},{"photo_id":"1352305511","filename":"file1"},{"photo_id":"1352305508","filename":"file0"},{"photo_id":"1352305516","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305511":["hashtag1","hashtag2"]},{"1352305508":["hashtag1","hashtag2"]},{"1352305513":["hashtag1","hashtag2"]},{"1352305516":["hashtag1","hashtag2"]},{"1352305521":["hashtag1","hashtag2"]},{"1352305518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305511, 1352305508, 1352305513, 1352305516, 1352305521, 1352305518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.989432334899902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 23:31:04.321401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_15_10381.jpg', '/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_35_10367.jpg', '/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_44_9404.jpg', '/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_54_10430.jpg', '/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_14_9407.jpg', '/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_24_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_15_10381.jpg
/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_35_10367.jpg
/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_44_9404.jpg
/home/pi/Desktop/images/20042025/21/31/image_20042025_21_31_54_10430.jpg
/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_14_9407.jpg
/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_24_10355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305529","1352305523","1352305526","1352305528","1352305530","1352305527"],"photo_ids_order":["1352305523","1352305526","1352305527","1352305528","1352305529","1352305530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04ce83f2968d39fa3629be4990dc2a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7344963045229019518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184724969,"filename":"image_20042025_21_32_14_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/515ce456ccc1a131ce8cfa3cb86e8ee4.jpg","text":"TemporaryFile(/tmp/multipartBody1730223870959912383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184724969,"filename":"image_20042025_21_31_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3d01af2f86aaec0f7b43366882a52ce2.jpg","text":"TemporaryFile(/tmp/multipartBody5063607478384777188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184724969,"filename":"image_20042025_21_31_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d52a813ffff5922b5b0209fa3c3760a.jpg","text":"TemporaryFile(/tmp/multipartBody1627966897203476662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184724969,"filename":"image_20042025_21_31_54_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa136e5d800a0cb73439f0d61ff1521c.jpg","text":"TemporaryFile(/tmp/multipartBody61096230308054377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184724969,"filename":"image_20042025_21_32_24_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8af2e1d8e2be0db575be5d0c0b0d27f6.jpg","text":"TemporaryFile(/tmp/multipartBody8608016106505147452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184724969,"filename":"image_20042025_21_31_44_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305527","file1":"1352305526","file0":"1352305523","file4":"1352305529","file5":"1352305530","file3":"1352305528"},"map_files_photo_id_array":[{"photo_id":"1352305530","filename":"file5"},{"photo_id":"1352305527","filename":"file2"},{"photo_id":"1352305529","filename":"file4"},{"photo_id":"1352305526","filename":"file1"},{"photo_id":"1352305523","filename":"file0"},{"photo_id":"1352305528","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305529":["hashtag1","hashtag2"]},{"1352305523":["hashtag1","hashtag2"]},{"1352305526":["hashtag1","hashtag2"]},{"1352305528":["hashtag1","hashtag2"]},{"1352305530":["hashtag1","hashtag2"]},{"1352305527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305529, 1352305523, 1352305526, 1352305528, 1352305530, 1352305527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.167171955108643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 23:31:42.960004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_34_9420.jpg', '/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_44_10451.jpg', '/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_55_10429.jpg', '/home/pi/Desktop/images/20042025/21/32/image_20042025_21_33_04_9375.jpg', '/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_14_10354.jpg', '/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_25_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_34_9420.jpg
/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_44_10451.jpg
/home/pi/Desktop/images/20042025/21/32/image_20042025_21_32_55_10429.jpg
/home/pi/Desktop/images/20042025/21/32/image_20042025_21_33_04_9375.jpg
/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_14_10354.jpg
/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_25_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305550","1352305541","1352305544","1352305538","1352305546","1352305548"],"photo_ids_order":["1352305538","1352305541","1352305544","1352305546","1352305548","1352305550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc7f3672e7a72e149bd7ef931621b1ae.jpg","text":"TemporaryFile(/tmp/multipartBody5436662487080501242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184763427,"filename":"image_20042025_21_33_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/60af52bc5abf4bf0e90440d78e69a243.jpg","text":"TemporaryFile(/tmp/multipartBody8657251965528546743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184763427,"filename":"image_20042025_21_32_44_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c8c2bfde632af607b5eb87ac1b7475ea.jpg","text":"TemporaryFile(/tmp/multipartBody8896336333710153085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184763427,"filename":"image_20042025_21_32_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/94a45a7e6ec7fd117067df07fb4daff2.jpg","text":"TemporaryFile(/tmp/multipartBody4981510401710774656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184763427,"filename":"image_20042025_21_32_34_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2a12a3bb78e15978dc2976ad009cd68f.jpg","text":"TemporaryFile(/tmp/multipartBody8293972262856797837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184763427,"filename":"image_20042025_21_33_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3872bc8381733ccc4801a4fa5ae4512b.jpg","text":"TemporaryFile(/tmp/multipartBody3620159880079756105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184763427,"filename":"image_20042025_21_33_14_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305544","file1":"1352305541","file0":"1352305538","file4":"1352305548","file5":"1352305550","file3":"1352305546"},"map_files_photo_id_array":[{"photo_id":"1352305550","filename":"file5"},{"photo_id":"1352305544","filename":"file2"},{"photo_id":"1352305548","filename":"file4"},{"photo_id":"1352305541","filename":"file1"},{"photo_id":"1352305538","filename":"file0"},{"photo_id":"1352305546","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305550":["hashtag1","hashtag2"]},{"1352305541":["hashtag1","hashtag2"]},{"1352305544":["hashtag1","hashtag2"]},{"1352305538":["hashtag1","hashtag2"]},{"1352305546":["hashtag1","hashtag2"]},{"1352305548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305550, 1352305541, 1352305544, 1352305538, 1352305546, 1352305548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.750890016555786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:32:33.101810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_45_10380.jpg', '/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_54_9394.jpg', '/home/pi/Desktop/images/20042025/21/33/image_20042025_21_34_04_10365.jpg', '/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_15_10354.jpg', '/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_24_9359.jpg', '/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_35_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_45_10380.jpg
/home/pi/Desktop/images/20042025/21/33/image_20042025_21_33_54_9394.jpg
/home/pi/Desktop/images/20042025/21/33/image_20042025_21_34_04_10365.jpg
/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_15_10354.jpg
/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_24_9359.jpg
/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_35_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305556","1352305561","1352305570","1352305567","1352305560","1352305563"],"photo_ids_order":["1352305556","1352305560","1352305561","1352305563","1352305567","1352305570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1a427edf8b54ff2c5504ad795a56ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8569240392121431630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184813576,"filename":"image_20042025_21_33_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2de6824b8676c6247ed7c35ad5a72066.jpg","text":"TemporaryFile(/tmp/multipartBody6921831570785925840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184813576,"filename":"image_20042025_21_34_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0d9f925221f13aa7710c6be712dbbb1d.jpg","text":"TemporaryFile(/tmp/multipartBody5182439599665814645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184813576,"filename":"image_20042025_21_34_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d4792a299befa4b8c518aa56be237202.jpg","text":"TemporaryFile(/tmp/multipartBody8760486675313630402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184813576,"filename":"image_20042025_21_34_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e90677e5f3ef1bc7336fa0c55182175b.jpg","text":"TemporaryFile(/tmp/multipartBody996992876271033679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184813576,"filename":"image_20042025_21_33_54_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c89e36fd2bffd3c46f8ec2cbde8645d7.jpg","text":"TemporaryFile(/tmp/multipartBody6386327187523423525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184813576,"filename":"image_20042025_21_34_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305561","file1":"1352305560","file0":"1352305556","file4":"1352305567","file5":"1352305570","file3":"1352305563"},"map_files_photo_id_array":[{"photo_id":"1352305570","filename":"file5"},{"photo_id":"1352305561","filename":"file2"},{"photo_id":"1352305567","filename":"file4"},{"photo_id":"1352305560","filename":"file1"},{"photo_id":"1352305556","filename":"file0"},{"photo_id":"1352305563","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305556":["hashtag1","hashtag2"]},{"1352305561":["hashtag1","hashtag2"]},{"1352305570":["hashtag1","hashtag2"]},{"1352305567":["hashtag1","hashtag2"]},{"1352305560":["hashtag1","hashtag2"]},{"1352305563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305556, 1352305561, 1352305570, 1352305567, 1352305560, 1352305563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02718186378479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:33:32.371502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_44_9411.jpg', '/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_54_10375.jpg', '/home/pi/Desktop/images/20042025/21/34/image_20042025_21_35_05_10419.jpg', '/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_14_9349.jpg', '/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_24_10371.jpg', '/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_35_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_44_9411.jpg
/home/pi/Desktop/images/20042025/21/34/image_20042025_21_34_54_10375.jpg
/home/pi/Desktop/images/20042025/21/34/image_20042025_21_35_05_10419.jpg
/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_14_9349.jpg
/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_24_10371.jpg
/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_35_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305577","1352305588","1352305585","1352305579","1352305581","1352305575"],"photo_ids_order":["1352305575","1352305577","1352305579","1352305581","1352305585","1352305588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/20d2eb427fdb9e7d1e11a408bca3c479.jpg","text":"TemporaryFile(/tmp/multipartBody7631084852556433363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184872850,"filename":"image_20042025_21_34_54_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/780b779e26dc45f1486b719b4b6f8ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2864691444383927430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184872850,"filename":"image_20042025_21_35_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d5d60cfba1874efe53f572844e20eb5.jpg","text":"TemporaryFile(/tmp/multipartBody2336591168011902577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184872850,"filename":"image_20042025_21_35_24_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f206d3668e0555381c0f5213761b8e31.jpg","text":"TemporaryFile(/tmp/multipartBody5926670244652880382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184872850,"filename":"image_20042025_21_35_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2aa3ff4fe2526ccde5186c68946a5eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7776879641086967089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184872850,"filename":"image_20042025_21_35_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d3ef298dacbbd1b2300b4cab0b49ba93.jpg","text":"TemporaryFile(/tmp/multipartBody2894810107167661626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184872850,"filename":"image_20042025_21_34_44_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305579","file1":"1352305577","file0":"1352305575","file4":"1352305585","file5":"1352305588","file3":"1352305581"},"map_files_photo_id_array":[{"photo_id":"1352305588","filename":"file5"},{"photo_id":"1352305579","filename":"file2"},{"photo_id":"1352305585","filename":"file4"},{"photo_id":"1352305577","filename":"file1"},{"photo_id":"1352305575","filename":"file0"},{"photo_id":"1352305581","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305577":["hashtag1","hashtag2"]},{"1352305588":["hashtag1","hashtag2"]},{"1352305585":["hashtag1","hashtag2"]},{"1352305579":["hashtag1","hashtag2"]},{"1352305581":["hashtag1","hashtag2"]},{"1352305575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305577, 1352305588, 1352305585, 1352305579, 1352305581, 1352305575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.36005663871765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:34:32.549050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_44_9407.jpg', '/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_55_10366.jpg', '/home/pi/Desktop/images/20042025/21/35/image_20042025_21_36_04_9445.jpg', '/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_14_10366.jpg', '/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_25_10405.jpg', '/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_34_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_44_9407.jpg
/home/pi/Desktop/images/20042025/21/35/image_20042025_21_35_55_10366.jpg
/home/pi/Desktop/images/20042025/21/35/image_20042025_21_36_04_9445.jpg
/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_14_10366.jpg
/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_25_10405.jpg
/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_34_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305601","1352305606","1352305609","1352305599","1352305603","1352305596"],"photo_ids_order":["1352305596","1352305599","1352305601","1352305603","1352305606","1352305609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/14f738777624f8c985ef3e274cf1ec79.jpg","text":"TemporaryFile(/tmp/multipartBody8147592066606482418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184933021,"filename":"image_20042025_21_36_04_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/761eb6bf7e07c76022bd8c01601f1721.jpg","text":"TemporaryFile(/tmp/multipartBody5211458754335422747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184933021,"filename":"image_20042025_21_36_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/99c85366e36ade2d5d639059ce975671.jpg","text":"TemporaryFile(/tmp/multipartBody6664674123042688540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184933021,"filename":"image_20042025_21_36_34_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12aab0e8a81d5a5b84dff9b416dfb98b.jpg","text":"TemporaryFile(/tmp/multipartBody6760609455276420112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184933021,"filename":"image_20042025_21_35_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a988e3324a9ac7cbd1fbf9f490b85845.jpg","text":"TemporaryFile(/tmp/multipartBody5621893534060879267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184933021,"filename":"image_20042025_21_36_14_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bc36589107e778cac516d52a4db32ded.jpg","text":"TemporaryFile(/tmp/multipartBody3982215267477703426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184933021,"filename":"image_20042025_21_35_44_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305601","file1":"1352305599","file0":"1352305596","file4":"1352305606","file5":"1352305609","file3":"1352305603"},"map_files_photo_id_array":[{"photo_id":"1352305609","filename":"file5"},{"photo_id":"1352305601","filename":"file2"},{"photo_id":"1352305606","filename":"file4"},{"photo_id":"1352305599","filename":"file1"},{"photo_id":"1352305596","filename":"file0"},{"photo_id":"1352305603","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305601":["hashtag1","hashtag2"]},{"1352305606":["hashtag1","hashtag2"]},{"1352305609":["hashtag1","hashtag2"]},{"1352305599":["hashtag1","hashtag2"]},{"1352305603":["hashtag1","hashtag2"]},{"1352305596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305601, 1352305606, 1352305609, 1352305599, 1352305603, 1352305596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49532079696655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:35:32.787097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_45_10371.jpg', '/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_54_9439.jpg', '/home/pi/Desktop/images/20042025/21/36/image_20042025_21_37_04_10445.jpg', '/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_15_10347.jpg', '/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_24_9434.jpg', '/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_35_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_45_10371.jpg
/home/pi/Desktop/images/20042025/21/36/image_20042025_21_36_54_9439.jpg
/home/pi/Desktop/images/20042025/21/36/image_20042025_21_37_04_10445.jpg
/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_15_10347.jpg
/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_24_9434.jpg
/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_35_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305616","1352305619","1352305618","1352305621","1352305620","1352305617"],"photo_ids_order":["1352305616","1352305617","1352305618","1352305619","1352305620","1352305621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3eccf8d3a71ed2d28f456b657ca88f6c.jpg","text":"TemporaryFile(/tmp/multipartBody9131589244869158847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184993254,"filename":"image_20042025_21_36_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/aa7d17da0173b16794d9b408ad2e9e11.jpg","text":"TemporaryFile(/tmp/multipartBody1207476163893733920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184993254,"filename":"image_20042025_21_37_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bed455f87119fecae2f4694525c726d5.jpg","text":"TemporaryFile(/tmp/multipartBody8541508507957762614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184993254,"filename":"image_20042025_21_37_04_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b597004217bbcd805a2ea8906c94ad0b.jpg","text":"TemporaryFile(/tmp/multipartBody3776028245567043057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184993254,"filename":"image_20042025_21_37_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8109d410fc3313355aa149917668bc14.jpg","text":"TemporaryFile(/tmp/multipartBody5502401702699911407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184993254,"filename":"image_20042025_21_37_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/79c83d0e64811afe877dd09d545ac115.jpg","text":"TemporaryFile(/tmp/multipartBody4905555403065855854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745184993254,"filename":"image_20042025_21_36_54_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305618","file1":"1352305617","file0":"1352305616","file4":"1352305620","file5":"1352305621","file3":"1352305619"},"map_files_photo_id_array":[{"photo_id":"1352305621","filename":"file5"},{"photo_id":"1352305618","filename":"file2"},{"photo_id":"1352305620","filename":"file4"},{"photo_id":"1352305617","filename":"file1"},{"photo_id":"1352305616","filename":"file0"},{"photo_id":"1352305619","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305616":["hashtag1","hashtag2"]},{"1352305619":["hashtag1","hashtag2"]},{"1352305618":["hashtag1","hashtag2"]},{"1352305621":["hashtag1","hashtag2"]},{"1352305620":["hashtag1","hashtag2"]},{"1352305617":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305616, 1352305619, 1352305618, 1352305621, 1352305620, 1352305617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.566301107406616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:36:33.046270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_44_9423.jpg', '/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_54_10368.jpg', '/home/pi/Desktop/images/20042025/21/37/image_20042025_21_38_05_10370.jpg', '/home/pi/Desktop/images/20042025/21/38/image_20042025_21_38_14_9418.jpg', '/home/pi/Desktop/images/20042025/21/38/image_20042025_21_38_34_9444.jpg', '/home/pi/Desktop/images/20042025/21/39/image_20042025_21_39_34_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_44_9423.jpg
/home/pi/Desktop/images/20042025/21/37/image_20042025_21_37_54_10368.jpg
/home/pi/Desktop/images/20042025/21/37/image_20042025_21_38_05_10370.jpg
/home/pi/Desktop/images/20042025/21/38/image_20042025_21_38_14_9418.jpg
/home/pi/Desktop/images/20042025/21/38/image_20042025_21_38_34_9444.jpg
/home/pi/Desktop/images/20042025/21/39/image_20042025_21_39_34_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305631","1352305625","1352305633","1352305627","1352305629","1352305623"],"photo_ids_order":["1352305623","1352305625","1352305627","1352305629","1352305631","1352305633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/44cfac7988cbf11ebbbfdf1cc22c022e.jpg","text":"TemporaryFile(/tmp/multipartBody2833763587610422381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185053527,"filename":"image_20042025_21_38_34_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d0cec884b17abaffe98f6d033ae03fd.jpg","text":"TemporaryFile(/tmp/multipartBody2790737140711089031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185053527,"filename":"image_20042025_21_37_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2d8498cf0a0a676322b7ca3522f86806.jpg","text":"TemporaryFile(/tmp/multipartBody7050422660664275453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185053527,"filename":"image_20042025_21_39_34_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/84a2158d1afffeb63df71fe60d3a5c27.jpg","text":"TemporaryFile(/tmp/multipartBody4296857053561999272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185053527,"filename":"image_20042025_21_38_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7f3538fcae106b0d9ca93aa03f3407c0.jpg","text":"TemporaryFile(/tmp/multipartBody463451560301123973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185053527,"filename":"image_20042025_21_38_14_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d94be835db53010eab836a1a97ff58a3.jpg","text":"TemporaryFile(/tmp/multipartBody4532955364359759780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185053527,"filename":"image_20042025_21_37_44_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305627","file1":"1352305625","file0":"1352305623","file4":"1352305631","file5":"1352305633","file3":"1352305629"},"map_files_photo_id_array":[{"photo_id":"1352305633","filename":"file5"},{"photo_id":"1352305627","filename":"file2"},{"photo_id":"1352305631","filename":"file4"},{"photo_id":"1352305625","filename":"file1"},{"photo_id":"1352305623","filename":"file0"},{"photo_id":"1352305629","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305631":["hashtag1","hashtag2"]},{"1352305625":["hashtag1","hashtag2"]},{"1352305633":["hashtag1","hashtag2"]},{"1352305627":["hashtag1","hashtag2"]},{"1352305629":["hashtag1","hashtag2"]},{"1352305623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305631, 1352305625, 1352305633, 1352305627, 1352305629, 1352305623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.21846914291382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:37:32.208238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/39/image_20042025_21_39_44_9532.jpg', '/home/pi/Desktop/images/20042025/21/40/image_20042025_21_40_44_10360.jpg', '/home/pi/Desktop/images/20042025/21/40/image_20042025_21_41_04_9360.jpg', '/home/pi/Desktop/images/20042025/21/42/image_20042025_21_42_35_10363.jpg', '/home/pi/Desktop/images/20042025/21/42/image_20042025_21_42_44_9358.jpg', '/home/pi/Desktop/images/20042025/21/42/image_20042025_21_42_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/39/image_20042025_21_39_44_9532.jpg
/home/pi/Desktop/images/20042025/21/40/image_20042025_21_40_44_10360.jpg
/home/pi/Desktop/images/20042025/21/40/image_20042025_21_41_04_9360.jpg
/home/pi/Desktop/images/20042025/21/42/image_20042025_21_42_35_10363.jpg
/home/pi/Desktop/images/20042025/21/42/image_20042025_21_42_44_9358.jpg
/home/pi/Desktop/images/20042025/21/42/image_20042025_21_42_55_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305646","1352305640","1352305637","1352305647","1352305641","1352305644"],"photo_ids_order":["1352305637","1352305640","1352305641","1352305644","1352305646","1352305647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0f86a61c900210788f81b3a8edfc137e.jpg","text":"TemporaryFile(/tmp/multipartBody4795579142174896957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185112760,"filename":"image_20042025_21_42_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/898d255895d3be1338b2e2294a6ff692.jpg","text":"TemporaryFile(/tmp/multipartBody7943012735371695161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185112760,"filename":"image_20042025_21_40_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/928e1bf3c586d069600861df7aaafc64.jpg","text":"TemporaryFile(/tmp/multipartBody8566040458415118247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185112760,"filename":"image_20042025_21_39_44_9532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c5101ab65819e323a6720d77fde1b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody5199318741344735497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185112760,"filename":"image_20042025_21_42_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1bca2eaf1e9f462f96842e47a4d7bae7.jpg","text":"TemporaryFile(/tmp/multipartBody1611961318304297936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185112760,"filename":"image_20042025_21_41_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1169d5ca3c8be728afe684b22e9e2524.jpg","text":"TemporaryFile(/tmp/multipartBody8191042868685402945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185112760,"filename":"image_20042025_21_42_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305641","file1":"1352305640","file0":"1352305637","file4":"1352305646","file5":"1352305647","file3":"1352305644"},"map_files_photo_id_array":[{"photo_id":"1352305647","filename":"file5"},{"photo_id":"1352305641","filename":"file2"},{"photo_id":"1352305646","filename":"file4"},{"photo_id":"1352305640","filename":"file1"},{"photo_id":"1352305637","filename":"file0"},{"photo_id":"1352305644","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305646":["hashtag1","hashtag2"]},{"1352305640":["hashtag1","hashtag2"]},{"1352305637":["hashtag1","hashtag2"]},{"1352305647":["hashtag1","hashtag2"]},{"1352305641":["hashtag1","hashtag2"]},{"1352305644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305646, 1352305640, 1352305637, 1352305647, 1352305641, 1352305644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.768967390060425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:38:32.377100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/42/image_20042025_21_43_04_9445.jpg', '/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_14_10463.jpg', '/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_25_10386.jpg', '/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_34_9462.jpg', '/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_45_10368.jpg', '/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_54_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/42/image_20042025_21_43_04_9445.jpg
/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_14_10463.jpg
/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_25_10386.jpg
/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_34_9462.jpg
/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_45_10368.jpg
/home/pi/Desktop/images/20042025/21/43/image_20042025_21_43_54_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305652","1352305661","1352305655","1352305657","1352305659","1352305650"],"photo_ids_order":["1352305650","1352305652","1352305655","1352305657","1352305659","1352305661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f3685a454ddfa9d4cb0804c0e4b3fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8757915039814261642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185172850,"filename":"image_20042025_21_43_14_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2cbfd9a87669de531b91cb47760b981f.jpg","text":"TemporaryFile(/tmp/multipartBody5503279142994581824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185172850,"filename":"image_20042025_21_43_54_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/584a6a2673f628de8b7a2e89c8aec618.jpg","text":"TemporaryFile(/tmp/multipartBody6306402304509314931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185172850,"filename":"image_20042025_21_43_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/11164acbc23b94cf55a49dcdf8b5317c.jpg","text":"TemporaryFile(/tmp/multipartBody4978516914886747653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185172850,"filename":"image_20042025_21_43_34_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6832a35c7e367e20fcc1d86598cf944b.jpg","text":"TemporaryFile(/tmp/multipartBody2044540525888779738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185172850,"filename":"image_20042025_21_43_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b697ab5ed8ffee97ec063f0796eba6af.jpg","text":"TemporaryFile(/tmp/multipartBody3674695035076470366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185172850,"filename":"image_20042025_21_43_04_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305655","file1":"1352305652","file0":"1352305650","file4":"1352305659","file5":"1352305661","file3":"1352305657"},"map_files_photo_id_array":[{"photo_id":"1352305661","filename":"file5"},{"photo_id":"1352305655","filename":"file2"},{"photo_id":"1352305659","filename":"file4"},{"photo_id":"1352305652","filename":"file1"},{"photo_id":"1352305650","filename":"file0"},{"photo_id":"1352305657","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305652":["hashtag1","hashtag2"]},{"1352305661":["hashtag1","hashtag2"]},{"1352305655":["hashtag1","hashtag2"]},{"1352305657":["hashtag1","hashtag2"]},{"1352305659":["hashtag1","hashtag2"]},{"1352305650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305652, 1352305661, 1352305655, 1352305657, 1352305659, 1352305650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78488302230835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:39:32.508472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/43/image_20042025_21_44_05_10369.jpg', '/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_24_10373.jpg', '/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_35_10364.jpg', '/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_44_9390.jpg', '/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_54_10401.jpg', '/home/pi/Desktop/images/20042025/21/44/image_20042025_21_45_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/43/image_20042025_21_44_05_10369.jpg
/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_24_10373.jpg
/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_35_10364.jpg
/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_44_9390.jpg
/home/pi/Desktop/images/20042025/21/44/image_20042025_21_44_54_10401.jpg
/home/pi/Desktop/images/20042025/21/44/image_20042025_21_45_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305670","1352305664","1352305672","1352305666","1352305668","1352305662"],"photo_ids_order":["1352305662","1352305664","1352305666","1352305668","1352305670","1352305672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f14a8c7dedfae39e8a766e726214a489.jpg","text":"TemporaryFile(/tmp/multipartBody5604118853509296020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185232979,"filename":"image_20042025_21_44_54_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/36613694f61e19c14492e72bd1e1e573.jpg","text":"TemporaryFile(/tmp/multipartBody3347696036905183677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185232979,"filename":"image_20042025_21_44_24_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c9c0a73388ddc757c3fa72d77b28a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8776189309452795127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185232979,"filename":"image_20042025_21_45_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bdf2a35f4f9010cc78c050f5b8cbbca.jpg","text":"TemporaryFile(/tmp/multipartBody4059550643502615327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185232979,"filename":"image_20042025_21_44_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d51c7fb538385f7f67b1c531cb19ca3c.jpg","text":"TemporaryFile(/tmp/multipartBody8130034674157621485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185232979,"filename":"image_20042025_21_44_44_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/12c796db3a4c94d08e75bfe1e73ad2ae.jpg","text":"TemporaryFile(/tmp/multipartBody595704112961443695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185232979,"filename":"image_20042025_21_44_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305666","file1":"1352305664","file0":"1352305662","file4":"1352305670","file5":"1352305672","file3":"1352305668"},"map_files_photo_id_array":[{"photo_id":"1352305672","filename":"file5"},{"photo_id":"1352305666","filename":"file2"},{"photo_id":"1352305670","filename":"file4"},{"photo_id":"1352305664","filename":"file1"},{"photo_id":"1352305662","filename":"file0"},{"photo_id":"1352305668","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305670":["hashtag1","hashtag2"]},{"1352305664":["hashtag1","hashtag2"]},{"1352305672":["hashtag1","hashtag2"]},{"1352305666":["hashtag1","hashtag2"]},{"1352305668":["hashtag1","hashtag2"]},{"1352305662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305670, 1352305664, 1352305672, 1352305666, 1352305668, 1352305662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.826164722442627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:40:32.657888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_14_9476.jpg', '/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_25_10377.jpg', '/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_34_9417.jpg', '/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_44_10368.jpg', '/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_55_10438.jpg', '/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_15_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_14_9476.jpg
/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_25_10377.jpg
/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_34_9417.jpg
/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_44_10368.jpg
/home/pi/Desktop/images/20042025/21/45/image_20042025_21_45_55_10438.jpg
/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_15_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305682","1352305679","1352305684","1352305686","1352305680","1352305677"],"photo_ids_order":["1352305677","1352305679","1352305680","1352305682","1352305684","1352305686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff9910368a0f5abe47cfe1d3055b116c.jpg","text":"TemporaryFile(/tmp/multipartBody2843727119923234184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185293133,"filename":"image_20042025_21_45_44_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/901de0d82a36f12de3b8ad14a4c60c85.jpg","text":"TemporaryFile(/tmp/multipartBody821596258586284570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185293133,"filename":"image_20042025_21_45_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/895176a4a56027c198e8220fab9cb4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7082208019200079314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185293133,"filename":"image_20042025_21_45_55_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1c522c3ff7fbaca7b2e53dfce676b66.jpg","text":"TemporaryFile(/tmp/multipartBody5870588558394896003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185293133,"filename":"image_20042025_21_46_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e5b764442d5be1375591cd314826db77.jpg","text":"TemporaryFile(/tmp/multipartBody2218298057297509766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185293133,"filename":"image_20042025_21_45_34_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7a2c570410c3c9e88dfea8eb9a06466b.jpg","text":"TemporaryFile(/tmp/multipartBody4229674106040514014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185293133,"filename":"image_20042025_21_45_14_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305680","file1":"1352305679","file0":"1352305677","file4":"1352305684","file5":"1352305686","file3":"1352305682"},"map_files_photo_id_array":[{"photo_id":"1352305686","filename":"file5"},{"photo_id":"1352305680","filename":"file2"},{"photo_id":"1352305684","filename":"file4"},{"photo_id":"1352305679","filename":"file1"},{"photo_id":"1352305677","filename":"file0"},{"photo_id":"1352305682","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305682":["hashtag1","hashtag2"]},{"1352305679":["hashtag1","hashtag2"]},{"1352305684":["hashtag1","hashtag2"]},{"1352305686":["hashtag1","hashtag2"]},{"1352305680":["hashtag1","hashtag2"]},{"1352305677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305682, 1352305679, 1352305684, 1352305686, 1352305680, 1352305677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.183722019195557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:41:32.910564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_24_9445.jpg', '/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_44_9450.jpg', '/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_54_10416.jpg', '/home/pi/Desktop/images/20042025/21/47/image_20042025_21_47_54_9470.jpg', '/home/pi/Desktop/images/20042025/21/47/image_20042025_21_48_04_10381.jpg', '/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_24_9445.jpg
/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_44_9450.jpg
/home/pi/Desktop/images/20042025/21/46/image_20042025_21_46_54_10416.jpg
/home/pi/Desktop/images/20042025/21/47/image_20042025_21_47_54_9470.jpg
/home/pi/Desktop/images/20042025/21/47/image_20042025_21_48_04_10381.jpg
/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_15_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305700","1352305693","1352305696","1352305698","1352305702","1352305694"],"photo_ids_order":["1352305693","1352305694","1352305696","1352305698","1352305700","1352305702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/63d652512e9fde18021b6c3e5398ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody4547147051181638481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185353400,"filename":"image_20042025_21_48_04_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/387f79acdb6f3c982852d3778e0fd433.jpg","text":"TemporaryFile(/tmp/multipartBody7397621120342922701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185353400,"filename":"image_20042025_21_46_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8563538a8067103be8352cc488c071aa.jpg","text":"TemporaryFile(/tmp/multipartBody7154524936684731459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185353400,"filename":"image_20042025_21_46_54_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/7730d4fda2bf6c07c1bfd300ed964b31.jpg","text":"TemporaryFile(/tmp/multipartBody8162254811677958197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185353400,"filename":"image_20042025_21_47_54_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bf672ca8fdf9960df7590cb468fd8c21.jpg","text":"TemporaryFile(/tmp/multipartBody4734610444428293996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185353400,"filename":"image_20042025_21_48_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e82663d4bace6fda11bd57c4e65c0afe.jpg","text":"TemporaryFile(/tmp/multipartBody4734513265488903635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185353400,"filename":"image_20042025_21_46_44_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305696","file1":"1352305694","file0":"1352305693","file4":"1352305700","file5":"1352305702","file3":"1352305698"},"map_files_photo_id_array":[{"photo_id":"1352305702","filename":"file5"},{"photo_id":"1352305696","filename":"file2"},{"photo_id":"1352305700","filename":"file4"},{"photo_id":"1352305694","filename":"file1"},{"photo_id":"1352305693","filename":"file0"},{"photo_id":"1352305698","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305700":["hashtag1","hashtag2"]},{"1352305693":["hashtag1","hashtag2"]},{"1352305696":["hashtag1","hashtag2"]},{"1352305698":["hashtag1","hashtag2"]},{"1352305702":["hashtag1","hashtag2"]},{"1352305694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305700, 1352305693, 1352305696, 1352305698, 1352305702, 1352305694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39496350288391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:42:33.223146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_35_10364.jpg', '/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_44_9361.jpg', '/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_54_10415.jpg', '/home/pi/Desktop/images/20042025/21/48/image_20042025_21_49_05_10346.jpg', '/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_14_9434.jpg', '/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_35_10364.jpg
/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_44_9361.jpg
/home/pi/Desktop/images/20042025/21/48/image_20042025_21_48_54_10415.jpg
/home/pi/Desktop/images/20042025/21/48/image_20042025_21_49_05_10346.jpg
/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_14_9434.jpg
/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305712","1352305706","1352305714","1352305708","1352305716","1352305710"],"photo_ids_order":["1352305706","1352305708","1352305710","1352305712","1352305714","1352305716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a338e986303e196ec70f7643e7c00cb1.jpg","text":"TemporaryFile(/tmp/multipartBody580008748268656551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185413692,"filename":"image_20042025_21_49_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fc69dd2f1a70aabd53a49d8cbc86fb23.jpg","text":"TemporaryFile(/tmp/multipartBody1706986565868674479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185413692,"filename":"image_20042025_21_48_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/837a9be27c24a3ffe684b548db3dd622.jpg","text":"TemporaryFile(/tmp/multipartBody5191147657893104299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185413692,"filename":"image_20042025_21_49_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a66feee1409a24e8c68ff901040530e2.jpg","text":"TemporaryFile(/tmp/multipartBody2694211542961189397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185413692,"filename":"image_20042025_21_48_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/07cdb8aba2d7bc41955de9333c866876.jpg","text":"TemporaryFile(/tmp/multipartBody1264529691379810854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185413692,"filename":"image_20042025_21_49_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/9e36b71d60ffdd27595e3c76c5dcfae1.jpg","text":"TemporaryFile(/tmp/multipartBody5521532011475952983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185413692,"filename":"image_20042025_21_48_54_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305710","file1":"1352305708","file0":"1352305706","file4":"1352305714","file5":"1352305716","file3":"1352305712"},"map_files_photo_id_array":[{"photo_id":"1352305716","filename":"file5"},{"photo_id":"1352305710","filename":"file2"},{"photo_id":"1352305714","filename":"file4"},{"photo_id":"1352305708","filename":"file1"},{"photo_id":"1352305706","filename":"file0"},{"photo_id":"1352305712","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305712":["hashtag1","hashtag2"]},{"1352305706":["hashtag1","hashtag2"]},{"1352305714":["hashtag1","hashtag2"]},{"1352305708":["hashtag1","hashtag2"]},{"1352305716":["hashtag1","hashtag2"]},{"1352305710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305712, 1352305706, 1352305714, 1352305708, 1352305716, 1352305710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49099779129028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:43:32.479825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_44_9423.jpg', '/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_55_10375.jpg', '/home/pi/Desktop/images/20042025/21/49/image_20042025_21_50_04_9421.jpg', '/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_15_10462.jpg', '/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_24_9468.jpg', '/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_34_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_44_9423.jpg
/home/pi/Desktop/images/20042025/21/49/image_20042025_21_49_55_10375.jpg
/home/pi/Desktop/images/20042025/21/49/image_20042025_21_50_04_9421.jpg
/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_15_10462.jpg
/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_24_9468.jpg
/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_34_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305733","1352305727","1352305723","1352305729","1352305731","1352305725"],"photo_ids_order":["1352305723","1352305725","1352305727","1352305729","1352305731","1352305733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d6deb56ea458e35efd6796a4eb18f5d5.jpg","text":"TemporaryFile(/tmp/multipartBody198023693472990191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185472952,"filename":"image_20042025_21_50_34_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1dcca3a9c1c35402ec59e5770698a43e.jpg","text":"TemporaryFile(/tmp/multipartBody3093819665290717565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185472952,"filename":"image_20042025_21_50_04_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/34c7eb953d97d056733eeb5632e849ea.jpg","text":"TemporaryFile(/tmp/multipartBody3852330145974886967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185472952,"filename":"image_20042025_21_49_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a52ed78a37a6a346b8cbad715578a2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5360104799444242415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185472952,"filename":"image_20042025_21_50_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/96a4a2c6f056930dae8ecb6cc8a89b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1349124957671466452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185472952,"filename":"image_20042025_21_50_24_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/955ed7e221b58435b0c3fcccb596e1b1.jpg","text":"TemporaryFile(/tmp/multipartBody3061174124992903253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185472952,"filename":"image_20042025_21_49_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305727","file1":"1352305725","file0":"1352305723","file4":"1352305731","file5":"1352305733","file3":"1352305729"},"map_files_photo_id_array":[{"photo_id":"1352305733","filename":"file5"},{"photo_id":"1352305727","filename":"file2"},{"photo_id":"1352305731","filename":"file4"},{"photo_id":"1352305725","filename":"file1"},{"photo_id":"1352305723","filename":"file0"},{"photo_id":"1352305729","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305733":["hashtag1","hashtag2"]},{"1352305727":["hashtag1","hashtag2"]},{"1352305723":["hashtag1","hashtag2"]},{"1352305729":["hashtag1","hashtag2"]},{"1352305731":["hashtag1","hashtag2"]},{"1352305725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305733, 1352305727, 1352305723, 1352305729, 1352305731, 1352305725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42043876647949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:44:32.744060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_45_10480.jpg', '/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_54_9432.jpg', '/home/pi/Desktop/images/20042025/21/50/image_20042025_21_51_05_10355.jpg', '/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_14_9396.jpg', '/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_24_10381.jpg', '/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_45_10480.jpg
/home/pi/Desktop/images/20042025/21/50/image_20042025_21_50_54_9432.jpg
/home/pi/Desktop/images/20042025/21/50/image_20042025_21_51_05_10355.jpg
/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_14_9396.jpg
/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_24_10381.jpg
/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305748","1352305742","1352305744","1352305746","1352305740","1352305737"],"photo_ids_order":["1352305737","1352305740","1352305742","1352305744","1352305746","1352305748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/25d4bdc221775571cfe64fb696be48ec.jpg","text":"TemporaryFile(/tmp/multipartBody2677229451664542723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185533225,"filename":"image_20042025_21_51_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/acf5f729a5bf9352d16a16cf3849b31a.jpg","text":"TemporaryFile(/tmp/multipartBody32031159026289817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185533225,"filename":"image_20042025_21_51_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/965113c4ab024d9bd246c21bf8b48d56.jpg","text":"TemporaryFile(/tmp/multipartBody2572631192716685601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185533225,"filename":"image_20042025_21_51_14_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a5c6d9ce95b0592d9cfb7dcd30ba698e.jpg","text":"TemporaryFile(/tmp/multipartBody5260734717735527720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185533225,"filename":"image_20042025_21_51_24_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d74cf97be5d646d746138f8503011792.jpg","text":"TemporaryFile(/tmp/multipartBody6888430720715630204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185533225,"filename":"image_20042025_21_50_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ab618fd43f149a3e6973a53927bb2a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1867209310401370330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185533225,"filename":"image_20042025_21_50_45_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305742","file1":"1352305740","file0":"1352305737","file4":"1352305746","file5":"1352305748","file3":"1352305744"},"map_files_photo_id_array":[{"photo_id":"1352305748","filename":"file5"},{"photo_id":"1352305742","filename":"file2"},{"photo_id":"1352305746","filename":"file4"},{"photo_id":"1352305740","filename":"file1"},{"photo_id":"1352305737","filename":"file0"},{"photo_id":"1352305744","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305748":["hashtag1","hashtag2"]},{"1352305742":["hashtag1","hashtag2"]},{"1352305744":["hashtag1","hashtag2"]},{"1352305746":["hashtag1","hashtag2"]},{"1352305740":["hashtag1","hashtag2"]},{"1352305737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305748, 1352305742, 1352305744, 1352305746, 1352305740, 1352305737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34340524673462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:45:32.998373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_44_9352.jpg', '/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_55_10369.jpg', '/home/pi/Desktop/images/20042025/21/52/image_20042025_21_52_34_9470.jpg', '/home/pi/Desktop/images/20042025/21/52/image_20042025_21_52_44_10363.jpg', '/home/pi/Desktop/images/20042025/21/52/image_20042025_21_52_55_10372.jpg', '/home/pi/Desktop/images/20042025/21/52/image_20042025_21_53_04_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_44_9352.jpg
/home/pi/Desktop/images/20042025/21/51/image_20042025_21_51_55_10369.jpg
/home/pi/Desktop/images/20042025/21/52/image_20042025_21_52_34_9470.jpg
/home/pi/Desktop/images/20042025/21/52/image_20042025_21_52_44_10363.jpg
/home/pi/Desktop/images/20042025/21/52/image_20042025_21_52_55_10372.jpg
/home/pi/Desktop/images/20042025/21/52/image_20042025_21_53_04_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305757","1352305753","1352305762","1352305759","1352305761","1352305755"],"photo_ids_order":["1352305753","1352305755","1352305757","1352305759","1352305761","1352305762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4307a87138e5ae124e438f391158536b.jpg","text":"TemporaryFile(/tmp/multipartBody5012295816479005589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185593464,"filename":"image_20042025_21_52_34_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/2054f444df28c5242e02173fa3df1ae0.jpg","text":"TemporaryFile(/tmp/multipartBody9172366105478242915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185593464,"filename":"image_20042025_21_51_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a547c75f96b5bca76bb2f816859a48fd.jpg","text":"TemporaryFile(/tmp/multipartBody8724138638687693074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185593464,"filename":"image_20042025_21_53_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a6524b8b286ea3cf8c6e9974d0bd3966.jpg","text":"TemporaryFile(/tmp/multipartBody4462105744242966130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185593464,"filename":"image_20042025_21_52_44_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/29e4c3ab4daf8b6b399e52d8fbc13f89.jpg","text":"TemporaryFile(/tmp/multipartBody5146376365157281223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185593464,"filename":"image_20042025_21_52_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/58e397e64043cd377db2cd7261207e04.jpg","text":"TemporaryFile(/tmp/multipartBody4887975814157766156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185593464,"filename":"image_20042025_21_51_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305757","file1":"1352305755","file0":"1352305753","file4":"1352305761","file5":"1352305762","file3":"1352305759"},"map_files_photo_id_array":[{"photo_id":"1352305762","filename":"file5"},{"photo_id":"1352305757","filename":"file2"},{"photo_id":"1352305761","filename":"file4"},{"photo_id":"1352305755","filename":"file1"},{"photo_id":"1352305753","filename":"file0"},{"photo_id":"1352305759","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305757":["hashtag1","hashtag2"]},{"1352305753":["hashtag1","hashtag2"]},{"1352305762":["hashtag1","hashtag2"]},{"1352305759":["hashtag1","hashtag2"]},{"1352305761":["hashtag1","hashtag2"]},{"1352305755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305757, 1352305753, 1352305762, 1352305759, 1352305761, 1352305755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.71692991256714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:46:32.276155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_15_10345.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_24_9434.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_34_10389.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_45_10426.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_54_9445.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_54_05_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_15_10345.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_24_9434.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_34_10389.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_45_10426.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_54_9445.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_54_05_10424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38341641426086426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-20 23:46:42.205884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_15_10345.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_24_9434.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_34_10389.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_45_10426.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_54_9445.jpg', '/home/pi/Desktop/images/20042025/21/53/image_20042025_21_54_05_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_15_10345.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_24_9434.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_34_10389.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_45_10426.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_53_54_9445.jpg
/home/pi/Desktop/images/20042025/21/53/image_20042025_21_54_05_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305781","1352305775","1352305784","1352305778","1352305783","1352305785"],"photo_ids_order":["1352305775","1352305778","1352305781","1352305783","1352305784","1352305785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b9aa959ba4ac6546ed45b5f17895076a.jpg","text":"TemporaryFile(/tmp/multipartBody943757342302043326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185662685,"filename":"image_20042025_21_53_34_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/418edfb75017e831504b15f3ecb03600.jpg","text":"TemporaryFile(/tmp/multipartBody4672212074188065106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185662685,"filename":"image_20042025_21_53_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e52e12fb0149b28e53fecfccf214b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1997734703333608329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185662685,"filename":"image_20042025_21_53_54_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ac0ca313f02fc297286d089c1b3dc2ff.jpg","text":"TemporaryFile(/tmp/multipartBody9095670086567546618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185662685,"filename":"image_20042025_21_53_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/df29115af7eee600bee8ce67f8c687e2.jpg","text":"TemporaryFile(/tmp/multipartBody9043158018891560133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185662685,"filename":"image_20042025_21_53_45_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4016c5ee12e57df66265334ece99c1c7.jpg","text":"TemporaryFile(/tmp/multipartBody4070967264379652948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185662685,"filename":"image_20042025_21_54_05_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305781","file1":"1352305778","file0":"1352305775","file4":"1352305784","file5":"1352305785","file3":"1352305783"},"map_files_photo_id_array":[{"photo_id":"1352305785","filename":"file5"},{"photo_id":"1352305781","filename":"file2"},{"photo_id":"1352305784","filename":"file4"},{"photo_id":"1352305778","filename":"file1"},{"photo_id":"1352305775","filename":"file0"},{"photo_id":"1352305783","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305781":["hashtag1","hashtag2"]},{"1352305775":["hashtag1","hashtag2"]},{"1352305784":["hashtag1","hashtag2"]},{"1352305778":["hashtag1","hashtag2"]},{"1352305783":["hashtag1","hashtag2"]},{"1352305785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305781, 1352305775, 1352305784, 1352305778, 1352305783, 1352305785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57955503463745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:47:32.482194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/54/image_20042025_21_54_14_9396.jpg', '/home/pi/Desktop/images/20042025/21/54/image_20042025_21_54_35_10368.jpg', '/home/pi/Desktop/images/20042025/21/54/image_20042025_21_54_55_10445.jpg', '/home/pi/Desktop/images/20042025/21/55/image_20042025_21_55_15_10435.jpg', '/home/pi/Desktop/images/20042025/21/55/image_20042025_21_55_54_9354.jpg', '/home/pi/Desktop/images/20042025/21/55/image_20042025_21_56_05_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/54/image_20042025_21_54_14_9396.jpg
/home/pi/Desktop/images/20042025/21/54/image_20042025_21_54_35_10368.jpg
/home/pi/Desktop/images/20042025/21/54/image_20042025_21_54_55_10445.jpg
/home/pi/Desktop/images/20042025/21/55/image_20042025_21_55_15_10435.jpg
/home/pi/Desktop/images/20042025/21/55/image_20042025_21_55_54_9354.jpg
/home/pi/Desktop/images/20042025/21/55/image_20042025_21_56_05_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305796","1352305798","1352305792","1352305789","1352305791","1352305794"],"photo_ids_order":["1352305789","1352305791","1352305792","1352305794","1352305796","1352305798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b86e370b4979c1b16e27e820d7f20e13.jpg","text":"TemporaryFile(/tmp/multipartBody7329397222119177893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185712947,"filename":"image_20042025_21_55_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3b42bc3f74b6b4e7c2ac832634634017.jpg","text":"TemporaryFile(/tmp/multipartBody2920966504476657486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185712947,"filename":"image_20042025_21_56_05_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/78474526c36f8dc397f2737405fa429e.jpg","text":"TemporaryFile(/tmp/multipartBody3109386302509202140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185712947,"filename":"image_20042025_21_54_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/00919ebfeac117d909e87e903bfdc416.jpg","text":"TemporaryFile(/tmp/multipartBody6303718854342420612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185712947,"filename":"image_20042025_21_54_14_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c2de6e201f27d6df9220d887c063ea1d.jpg","text":"TemporaryFile(/tmp/multipartBody7509590034293195828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185712947,"filename":"image_20042025_21_54_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/90472b13a5070298fa5ae9888787274c.jpg","text":"TemporaryFile(/tmp/multipartBody8926520722820131611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185712947,"filename":"image_20042025_21_55_15_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305792","file1":"1352305791","file0":"1352305789","file4":"1352305796","file5":"1352305798","file3":"1352305794"},"map_files_photo_id_array":[{"photo_id":"1352305798","filename":"file5"},{"photo_id":"1352305792","filename":"file2"},{"photo_id":"1352305796","filename":"file4"},{"photo_id":"1352305791","filename":"file1"},{"photo_id":"1352305789","filename":"file0"},{"photo_id":"1352305794","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305796":["hashtag1","hashtag2"]},{"1352305798":["hashtag1","hashtag2"]},{"1352305792":["hashtag1","hashtag2"]},{"1352305789":["hashtag1","hashtag2"]},{"1352305791":["hashtag1","hashtag2"]},{"1352305794":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305796, 1352305798, 1352305792, 1352305789, 1352305791, 1352305794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.788330793380737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:48:32.594738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_14_9364.jpg', '/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_24_10400.jpg', '/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_35_10429.jpg', '/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_44_9429.jpg', '/home/pi/Desktop/images/20042025/21/56/image_20042025_21_57_04_9350.jpg', '/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_14_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_14_9364.jpg
/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_24_10400.jpg
/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_35_10429.jpg
/home/pi/Desktop/images/20042025/21/56/image_20042025_21_56_44_9429.jpg
/home/pi/Desktop/images/20042025/21/56/image_20042025_21_57_04_9350.jpg
/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_14_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305811","1352305805","1352305807","1352305801","1352305809","1352305803"],"photo_ids_order":["1352305801","1352305803","1352305805","1352305807","1352305809","1352305811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a876bf14fae34b09ce31b388f429e415.jpg","text":"TemporaryFile(/tmp/multipartBody6249609475235764874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185773063,"filename":"image_20042025_21_57_14_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ea0870c71544af41cbbcc230667e984c.jpg","text":"TemporaryFile(/tmp/multipartBody918227205407404687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185773063,"filename":"image_20042025_21_56_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39a9e923685b10a002e720ae81b7fbf1.jpg","text":"TemporaryFile(/tmp/multipartBody6046393467462750580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185773063,"filename":"image_20042025_21_56_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/411f245fcfaa4b893df6828c76a77f1a.jpg","text":"TemporaryFile(/tmp/multipartBody2666470033936570215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185773063,"filename":"image_20042025_21_56_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a0918abd26fb79b863a31b15e049011.jpg","text":"TemporaryFile(/tmp/multipartBody8911975026524084209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185773063,"filename":"image_20042025_21_57_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3f6d9b4ddf462f948aedd2bfd1d1b4ba.jpg","text":"TemporaryFile(/tmp/multipartBody6308336093672697704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185773063,"filename":"image_20042025_21_56_24_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305805","file1":"1352305803","file0":"1352305801","file4":"1352305809","file5":"1352305811","file3":"1352305807"},"map_files_photo_id_array":[{"photo_id":"1352305811","filename":"file5"},{"photo_id":"1352305805","filename":"file2"},{"photo_id":"1352305809","filename":"file4"},{"photo_id":"1352305803","filename":"file1"},{"photo_id":"1352305801","filename":"file0"},{"photo_id":"1352305807","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305811":["hashtag1","hashtag2"]},{"1352305805":["hashtag1","hashtag2"]},{"1352305807":["hashtag1","hashtag2"]},{"1352305801":["hashtag1","hashtag2"]},{"1352305809":["hashtag1","hashtag2"]},{"1352305803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305811, 1352305805, 1352305807, 1352305801, 1352305809, 1352305803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.89031171798706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:49:32.935108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_25_10449.jpg', '/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_34_9356.jpg', '/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_45_10439.jpg', '/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_54_9438.jpg', '/home/pi/Desktop/images/20042025/21/57/image_20042025_21_58_04_10364.jpg', '/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_15_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_25_10449.jpg
/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_34_9356.jpg
/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_45_10439.jpg
/home/pi/Desktop/images/20042025/21/57/image_20042025_21_57_54_9438.jpg
/home/pi/Desktop/images/20042025/21/57/image_20042025_21_58_04_10364.jpg
/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_15_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305826","1352305820","1352305816","1352305828","1352305830","1352305818"],"photo_ids_order":["1352305816","1352305818","1352305820","1352305826","1352305828","1352305830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a2d75bac54634f85e0b3ca7f176c02ae.jpg","text":"TemporaryFile(/tmp/multipartBody790533280729453162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185833399,"filename":"image_20042025_21_57_54_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/40769053c66aabaff394000df014dac5.jpg","text":"TemporaryFile(/tmp/multipartBody6508623347064920902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185833399,"filename":"image_20042025_21_57_45_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c00bd2dce765bd3a868cc6e7fd326fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5920039159682990672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185833399,"filename":"image_20042025_21_57_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b1eb7340314f43c34986363dbfe470cf.jpg","text":"TemporaryFile(/tmp/multipartBody8988125721892944271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185833399,"filename":"image_20042025_21_58_04_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f7b370751754f02df6f6d4bfcae9b904.jpg","text":"TemporaryFile(/tmp/multipartBody4814282306510427529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185833399,"filename":"image_20042025_21_58_15_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/324b88b117b52dc573d9b50897b1cb31.jpg","text":"TemporaryFile(/tmp/multipartBody5854640692977221093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185833399,"filename":"image_20042025_21_57_34_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305820","file1":"1352305818","file0":"1352305816","file4":"1352305828","file5":"1352305830","file3":"1352305826"},"map_files_photo_id_array":[{"photo_id":"1352305830","filename":"file5"},{"photo_id":"1352305820","filename":"file2"},{"photo_id":"1352305828","filename":"file4"},{"photo_id":"1352305818","filename":"file1"},{"photo_id":"1352305816","filename":"file0"},{"photo_id":"1352305826","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305826":["hashtag1","hashtag2"]},{"1352305820":["hashtag1","hashtag2"]},{"1352305816":["hashtag1","hashtag2"]},{"1352305828":["hashtag1","hashtag2"]},{"1352305830":["hashtag1","hashtag2"]},{"1352305818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305826, 1352305820, 1352305816, 1352305828, 1352305830, 1352305818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.02013850212097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:50:33.164028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_35_10467.jpg', '/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_44_9365.jpg', '/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_54_10366.jpg', '/home/pi/Desktop/images/20042025/21/58/image_20042025_21_59_05_10362.jpg', '/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_14_9346.jpg', '/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_25_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_35_10467.jpg
/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_44_9365.jpg
/home/pi/Desktop/images/20042025/21/58/image_20042025_21_58_54_10366.jpg
/home/pi/Desktop/images/20042025/21/58/image_20042025_21_59_05_10362.jpg
/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_14_9346.jpg
/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_25_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305841","1352305847","1352305843","1352305837","1352305845","1352305839"],"photo_ids_order":["1352305837","1352305839","1352305841","1352305843","1352305845","1352305847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/887b57310616508b926899bda5ee5004.jpg","text":"TemporaryFile(/tmp/multipartBody7035128184331080101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185893635,"filename":"image_20042025_21_58_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/3df6409d3f54bf71f64b5c5f47c4f365.jpg","text":"TemporaryFile(/tmp/multipartBody5948245500357235264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185893635,"filename":"image_20042025_21_59_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/172e1bb6a073c99b7f1ed355e92b918b.jpg","text":"TemporaryFile(/tmp/multipartBody4186202663489621398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185893635,"filename":"image_20042025_21_59_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e1787dac9fe3f22185eb6c099086f7ac.jpg","text":"TemporaryFile(/tmp/multipartBody5858945030677937164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185893635,"filename":"image_20042025_21_58_35_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6faf0715b09fb15e37fb83e707a5e935.jpg","text":"TemporaryFile(/tmp/multipartBody4449217597215313031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185893635,"filename":"image_20042025_21_59_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/c91a0affef29f04d203b448628591c31.jpg","text":"TemporaryFile(/tmp/multipartBody7633961985221422950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185893635,"filename":"image_20042025_21_58_44_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305841","file1":"1352305839","file0":"1352305837","file4":"1352305845","file5":"1352305847","file3":"1352305843"},"map_files_photo_id_array":[{"photo_id":"1352305847","filename":"file5"},{"photo_id":"1352305841","filename":"file2"},{"photo_id":"1352305845","filename":"file4"},{"photo_id":"1352305839","filename":"file1"},{"photo_id":"1352305837","filename":"file0"},{"photo_id":"1352305843","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305841":["hashtag1","hashtag2"]},{"1352305847":["hashtag1","hashtag2"]},{"1352305843":["hashtag1","hashtag2"]},{"1352305837":["hashtag1","hashtag2"]},{"1352305845":["hashtag1","hashtag2"]},{"1352305839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305841, 1352305847, 1352305843, 1352305837, 1352305845, 1352305839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.07931637763977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:51:32.367138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_34_9428.jpg', '/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_44_10367.jpg', '/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_55_10385.jpg', '/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_14_10073.jpg', '/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_25_10388.jpg', '/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_35_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_34_9428.jpg
/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_44_10367.jpg
/home/pi/Desktop/images/20042025/21/59/image_20042025_21_59_55_10385.jpg
/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_14_10073.jpg
/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_25_10388.jpg
/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_35_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305856","1352305859","1352305853","1352305855","1352305851","1352305857"],"photo_ids_order":["1352305851","1352305853","1352305855","1352305856","1352305857","1352305859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ee25e7b0bd75294a20df577f821a90ad.jpg","text":"TemporaryFile(/tmp/multipartBody8782102298450241057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185952831,"filename":"image_20042025_22_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/afcb321486c9b9e83093a8d22d43e97b.jpg","text":"TemporaryFile(/tmp/multipartBody6848770383643374851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185952831,"filename":"image_20042025_22_01_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/395283aa145b2c3912e74a5712f5e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody3897226942523321934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185952831,"filename":"image_20042025_21_59_44_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/182f6dbc5fe5630c9631aa26e92100f3.jpg","text":"TemporaryFile(/tmp/multipartBody6859196860117535446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185952831,"filename":"image_20042025_21_59_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/04e998fb8c0329768a77e43ae8102947.jpg","text":"TemporaryFile(/tmp/multipartBody7146370260501678864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185952831,"filename":"image_20042025_21_59_34_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8b9bc233ef7b325f07c86ff3a6c1e33c.jpg","text":"TemporaryFile(/tmp/multipartBody8700583102895949626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745185952831,"filename":"image_20042025_22_01_25_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305855","file1":"1352305853","file0":"1352305851","file4":"1352305857","file5":"1352305859","file3":"1352305856"},"map_files_photo_id_array":[{"photo_id":"1352305859","filename":"file5"},{"photo_id":"1352305855","filename":"file2"},{"photo_id":"1352305857","filename":"file4"},{"photo_id":"1352305853","filename":"file1"},{"photo_id":"1352305851","filename":"file0"},{"photo_id":"1352305856","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305856":["hashtag1","hashtag2"]},{"1352305859":["hashtag1","hashtag2"]},{"1352305853":["hashtag1","hashtag2"]},{"1352305855":["hashtag1","hashtag2"]},{"1352305851":["hashtag1","hashtag2"]},{"1352305857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305856, 1352305859, 1352305853, 1352305855, 1352305851, 1352305857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.694950580596924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:52:32.515872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_44_9354.jpg', '/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_55_10383.jpg', '/home/pi/Desktop/images/20042025/22/01/image_20042025_22_02_05_10363.jpg', '/home/pi/Desktop/images/20042025/22/02/image_20042025_22_02_14_9345.jpg', '/home/pi/Desktop/images/20042025/22/02/image_20042025_22_02_34_9354.jpg', '/home/pi/Desktop/images/20042025/22/02/image_20042025_22_02_55_10505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_44_9354.jpg
/home/pi/Desktop/images/20042025/22/01/image_20042025_22_01_55_10383.jpg
/home/pi/Desktop/images/20042025/22/01/image_20042025_22_02_05_10363.jpg
/home/pi/Desktop/images/20042025/22/02/image_20042025_22_02_14_9345.jpg
/home/pi/Desktop/images/20042025/22/02/image_20042025_22_02_34_9354.jpg
/home/pi/Desktop/images/20042025/22/02/image_20042025_22_02_55_10505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305874","1352305868","1352305870","1352305867","1352305876","1352305872"],"photo_ids_order":["1352305867","1352305868","1352305870","1352305872","1352305874","1352305876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d55505ab394d428dd6e927d9bc9192da.jpg","text":"TemporaryFile(/tmp/multipartBody4445023600927255885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186013620,"filename":"image_20042025_22_02_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/6f69c79555a952ee1bc05ffd65b3eee4.jpg","text":"TemporaryFile(/tmp/multipartBody7882329569037084429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186013620,"filename":"image_20042025_22_01_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f70f4f0a47e7e8f312b732312d2bd478.jpg","text":"TemporaryFile(/tmp/multipartBody3247033326413596771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186013620,"filename":"image_20042025_22_02_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/ff246efe07fa45030bad441cced3440b.jpg","text":"TemporaryFile(/tmp/multipartBody4653695944346057218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186013620,"filename":"image_20042025_22_01_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4a0142658e5ba93886c1f50d4a576669.jpg","text":"TemporaryFile(/tmp/multipartBody6597965844372236925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186013620,"filename":"image_20042025_22_02_55_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/39edb42943edc5554424835322bbda1c.jpg","text":"TemporaryFile(/tmp/multipartBody7646781361389805751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186013620,"filename":"image_20042025_22_02_14_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305870","file1":"1352305868","file0":"1352305867","file4":"1352305874","file5":"1352305876","file3":"1352305872"},"map_files_photo_id_array":[{"photo_id":"1352305876","filename":"file5"},{"photo_id":"1352305870","filename":"file2"},{"photo_id":"1352305874","filename":"file4"},{"photo_id":"1352305868","filename":"file1"},{"photo_id":"1352305867","filename":"file0"},{"photo_id":"1352305872","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305874":["hashtag1","hashtag2"]},{"1352305868":["hashtag1","hashtag2"]},{"1352305870":["hashtag1","hashtag2"]},{"1352305867":["hashtag1","hashtag2"]},{"1352305876":["hashtag1","hashtag2"]},{"1352305872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305874, 1352305868, 1352305870, 1352305867, 1352305876, 1352305872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.744462251663208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:53:32.747254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/22/02/image_20042025_22_03_05_9420.jpg', '/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_15_10374.jpg', '/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_24_9375.jpg', '/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_45_10442.jpg', '/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_55_9369.jpg', '/home/pi/Desktop/images/20042025/22/03/image_20042025_22_04_05_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/22/02/image_20042025_22_03_05_9420.jpg
/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_15_10374.jpg
/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_24_9375.jpg
/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_45_10442.jpg
/home/pi/Desktop/images/20042025/22/03/image_20042025_22_03_55_9369.jpg
/home/pi/Desktop/images/20042025/22/03/image_20042025_22_04_05_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305889","1352305883","1352305891","1352305885","1352305881","1352305887"],"photo_ids_order":["1352305881","1352305883","1352305885","1352305887","1352305889","1352305891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/eba695aa2ccf716db429a9393a4f793a.jpg","text":"TemporaryFile(/tmp/multipartBody4764766571846967587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186073224,"filename":"image_20042025_22_03_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/edb8b086193b157cf1ab2f553e4b8b66.jpg","text":"TemporaryFile(/tmp/multipartBody6300643897334291794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186073224,"filename":"image_20042025_22_03_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/d2ceb71915640c0414b657521e08203c.jpg","text":"TemporaryFile(/tmp/multipartBody8690976642278062470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186073224,"filename":"image_20042025_22_04_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/82c064585c3b993eeaa31d71da6a8d93.jpg","text":"TemporaryFile(/tmp/multipartBody8469948150110488573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186073224,"filename":"image_20042025_22_03_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/095f5f67840ca56ddc4f025881771a03.jpg","text":"TemporaryFile(/tmp/multipartBody9135849257606459119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186073224,"filename":"image_20042025_22_03_05_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/4159aa4a3d1943ad1ff5c564e5152555.jpg","text":"TemporaryFile(/tmp/multipartBody3586898985144029101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186073224,"filename":"image_20042025_22_03_45_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305885","file1":"1352305883","file0":"1352305881","file4":"1352305889","file5":"1352305891","file3":"1352305887"},"map_files_photo_id_array":[{"photo_id":"1352305891","filename":"file5"},{"photo_id":"1352305885","filename":"file2"},{"photo_id":"1352305889","filename":"file4"},{"photo_id":"1352305883","filename":"file1"},{"photo_id":"1352305881","filename":"file0"},{"photo_id":"1352305887","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305889":["hashtag1","hashtag2"]},{"1352305883":["hashtag1","hashtag2"]},{"1352305891":["hashtag1","hashtag2"]},{"1352305885":["hashtag1","hashtag2"]},{"1352305881":["hashtag1","hashtag2"]},{"1352305887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305889, 1352305883, 1352305891, 1352305885, 1352305881, 1352305887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.946211338043213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:54:33.072062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_14_9397.jpg', '/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_25_10381.jpg', '/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_35_10418.jpg', '/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_45_9423.jpg', '/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_55_10380.jpg', '/home/pi/Desktop/images/20042025/22/04/image_20042025_22_05_04_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_14_9397.jpg
/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_25_10381.jpg
/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_35_10418.jpg
/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_45_9423.jpg
/home/pi/Desktop/images/20042025/22/04/image_20042025_22_04_55_10380.jpg
/home/pi/Desktop/images/20042025/22/04/image_20042025_22_05_04_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305898","1352305904","1352305906","1352305896","1352305900","1352305902"],"photo_ids_order":["1352305896","1352305898","1352305900","1352305902","1352305904","1352305906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/038200b558391577f4d245ef6e4fea2d.jpg","text":"TemporaryFile(/tmp/multipartBody4339473303339208058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186133551,"filename":"image_20042025_22_04_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/dd09084001eaf645ddd8dc6f0d295ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7794418586103674191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186133551,"filename":"image_20042025_22_04_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/b8c76dcf7565bc790e6e02b21851c0df.jpg","text":"TemporaryFile(/tmp/multipartBody8397578614018149506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186133551,"filename":"image_20042025_22_05_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/0919a998db15a94a0e6a077228bf632e.jpg","text":"TemporaryFile(/tmp/multipartBody29661511618213702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186133551,"filename":"image_20042025_22_04_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/1d99e0ab72ee161a2797838dbd2f9440.jpg","text":"TemporaryFile(/tmp/multipartBody7227821196534331509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186133551,"filename":"image_20042025_22_04_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5fc3d88d110100d62d76030fa4aff82d.jpg","text":"TemporaryFile(/tmp/multipartBody3204912533684266791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186133551,"filename":"image_20042025_22_04_45_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305900","file1":"1352305898","file0":"1352305896","file4":"1352305904","file5":"1352305906","file3":"1352305902"},"map_files_photo_id_array":[{"photo_id":"1352305906","filename":"file5"},{"photo_id":"1352305900","filename":"file2"},{"photo_id":"1352305904","filename":"file4"},{"photo_id":"1352305898","filename":"file1"},{"photo_id":"1352305896","filename":"file0"},{"photo_id":"1352305902","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305898":["hashtag1","hashtag2"]},{"1352305904":["hashtag1","hashtag2"]},{"1352305906":["hashtag1","hashtag2"]},{"1352305896":["hashtag1","hashtag2"]},{"1352305900":["hashtag1","hashtag2"]},{"1352305902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305898, 1352305904, 1352305906, 1352305896, 1352305900, 1352305902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.969568252563477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:55:32.269147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/22/05/image_20042025_22_05_34_9372.jpg', '/home/pi/Desktop/images/20042025/22/05/image_20042025_22_05_54_9381.jpg', '/home/pi/Desktop/images/20042025/22/05/image_20042025_22_06_05_10350.jpg', '/home/pi/Desktop/images/20042025/22/06/image_20042025_22_06_35_10368.jpg', '/home/pi/Desktop/images/20042025/22/06/image_20042025_22_06_45_10420.jpg', '/home/pi/Desktop/images/20042025/22/06/image_20042025_22_06_54_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/22/05/image_20042025_22_05_34_9372.jpg
/home/pi/Desktop/images/20042025/22/05/image_20042025_22_05_54_9381.jpg
/home/pi/Desktop/images/20042025/22/05/image_20042025_22_06_05_10350.jpg
/home/pi/Desktop/images/20042025/22/06/image_20042025_22_06_35_10368.jpg
/home/pi/Desktop/images/20042025/22/06/image_20042025_22_06_45_10420.jpg
/home/pi/Desktop/images/20042025/22/06/image_20042025_22_06_54_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305919","1352305916","1352305912","1352305909","1352305914","1352305917"],"photo_ids_order":["1352305909","1352305912","1352305914","1352305916","1352305917","1352305919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/e59baa8e90c050551132f278ac9a450d.jpg","text":"TemporaryFile(/tmp/multipartBody4953865272175768009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186192746,"filename":"image_20042025_22_06_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/bb8271884cf3b4747b7c7bcd09c25f2b.jpg","text":"TemporaryFile(/tmp/multipartBody7975260925714851902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186192746,"filename":"image_20042025_22_06_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f414e3ea0c726b611bc4654b3c5ed52d.jpg","text":"TemporaryFile(/tmp/multipartBody2468165129878025588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186192746,"filename":"image_20042025_22_05_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/27ddcc8807e216a5e1884746924f3f8f.jpg","text":"TemporaryFile(/tmp/multipartBody297096513393630875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186192746,"filename":"image_20042025_22_05_34_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/8e44606d5c2faa6c9df13398bb33ac0a.jpg","text":"TemporaryFile(/tmp/multipartBody389981578203283251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186192746,"filename":"image_20042025_22_06_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/be2374659e2d131df2960254500e3b92.jpg","text":"TemporaryFile(/tmp/multipartBody6665861674354026937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186192746,"filename":"image_20042025_22_06_45_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305914","file1":"1352305912","file0":"1352305909","file4":"1352305917","file5":"1352305919","file3":"1352305916"},"map_files_photo_id_array":[{"photo_id":"1352305919","filename":"file5"},{"photo_id":"1352305914","filename":"file2"},{"photo_id":"1352305917","filename":"file4"},{"photo_id":"1352305912","filename":"file1"},{"photo_id":"1352305909","filename":"file0"},{"photo_id":"1352305916","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352305919":["hashtag1","hashtag2"]},{"1352305916":["hashtag1","hashtag2"]},{"1352305912":["hashtag1","hashtag2"]},{"1352305909":["hashtag1","hashtag2"]},{"1352305914":["hashtag1","hashtag2"]},{"1352305917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352305919, 1352305916, 1352305912, 1352305909, 1352305914, 1352305917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.5422043800354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:56:32.463183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_14_9388.jpg', '/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_25_10382.jpg', '/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_35_10434.jpg', '/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_44_9403.jpg', '/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_55_10376.jpg', '/home/pi/Desktop/images/20042025/22/07/image_20042025_22_08_04_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_14_9388.jpg
/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_25_10382.jpg
/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_35_10434.jpg
/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_44_9403.jpg
/home/pi/Desktop/images/20042025/22/07/image_20042025_22_07_55_10376.jpg
/home/pi/Desktop/images/20042025/22/07/image_20042025_22_08_04_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352306204","1352306194","1352306200","1352306206","1352306198","1352306202"],"photo_ids_order":["1352306194","1352306198","1352306200","1352306202","1352306204","1352306206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/f2436e661ec5308ac80c6a4a14b5318d.jpg","text":"TemporaryFile(/tmp/multipartBody4536690298898897560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186252927,"filename":"image_20042025_22_07_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/fd7c9838d2943c9c691678dc8b7dc240.jpg","text":"TemporaryFile(/tmp/multipartBody2489737861398007182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186252927,"filename":"image_20042025_22_07_14_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/77e60aa855af1dda3f1a27ab3faa0bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8815254859502181409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186252927,"filename":"image_20042025_22_07_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/45cd2754fad73e72f28d578614fb378a.jpg","text":"TemporaryFile(/tmp/multipartBody9047633190748895867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186252927,"filename":"image_20042025_22_08_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/a693b16fb7c7c53f7433b4a8798aae82.jpg","text":"TemporaryFile(/tmp/multipartBody8732794239872545429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186252927,"filename":"image_20042025_22_07_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/20/5bd79870596cb2760a6778f5cc241a00.jpg","text":"TemporaryFile(/tmp/multipartBody2588516637234744640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745186252927,"filename":"image_20042025_22_07_44_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352306200","file1":"1352306198","file0":"1352306194","file4":"1352306204","file5":"1352306206","file3":"1352306202"},"map_files_photo_id_array":[{"photo_id":"1352306206","filename":"file5"},{"photo_id":"1352306200","filename":"file2"},{"photo_id":"1352306204","filename":"file4"},{"photo_id":"1352306198","filename":"file1"},{"photo_id":"1352306194","filename":"file0"},{"photo_id":"1352306202","filename":"file3"}],"portfolio_id":22258396,"hashtag_by_photo_ids":[{"1352306204":["hashtag1","hashtag2"]},{"1352306194":["hashtag1","hashtag2"]},{"1352306200":["hashtag1","hashtag2"]},{"1352306206":["hashtag1","hashtag2"]},{"1352306198":["hashtag1","hashtag2"]},{"1352306202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22258396 used, photo_id : ArrayBuffer(1352306204, 1352306194, 1352306200, 1352306206, 1352306198, 1352306202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.829461336135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-20 23:57:32.532690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
  port_id : 22258396
  datou_current_id : 2742525
in upload_from_sqlite, uploading in 22258396
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_15_10389.jpg', '/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_25_10377.jpg', '/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_34_9430.jpg', '/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_45_10372.jpg', '/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_54_9436.jpg', '/home/pi/Desktop/images/20042025/22/08/image_20042025_22_09_05_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2742525&datou=0
/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_15_10389.jpg
/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_25_10377.jpg
/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_34_9430.jpg
/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_45_10372.jpg
/home/pi/Desktop/images/20042025/22/08/image_20042025_22_08_54_9436.jpg
/home/pi/Desktop/images/20042025/22/08/image_20042025_22_09_05_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
